Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#24239 - [sk1] not starting (segfault)
Attached to Project:
Community Packages
Opened by Fabio Zanini (iosonofabio) - Thursday, 12 May 2011, 08:52 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 12 July 2011, 09:25 GMT
Opened by Fabio Zanini (iosonofabio) - Thursday, 12 May 2011, 08:52 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 12 July 2011, 09:25 GMT
|
DetailsDescription:
When I start sk1 from the command line, I get a segfault error in the main program line, and no window opens at all. See the attached traceback ("errore di segmentazione" is the italian translation of "segmentation fault"). Additional info: * package version: sk1 0.9.1-6 * config and/or log files etc.: see traceback in attach. * system info: Linux X200 2.6.38-ARCH #1 SMP PREEMPT Tue May 10 08:05:04 CEST 2011 x86_64 Intel(R) Core(TM)2 Duo CPU L9400 @ 1.86GHz GenuineIntel GNU/Linux * graphic card: intel * python2 version: 2.7.1-9 Steps to reproduce: * Install sk1: pacman -S sk1 * Start it: sk1 |
This task depends upon
tb.txt
Maybe a missing dependency?
[fabio@X200 ~]$ whereis sk1
sk1: /usr/bin/sk1
[fabio@X200 ~]$
as it should be.
add
print "D"+dark+" L"+light+"\n";
into /usr/lib/python2.7/site-packages/sk1/app/managers/uimanager.py 102th line:
def recalc(self, dark, light, factor):
print "D"+dark+" L"+light+"\n";
r=int(string.atoi(dark[1:3], 0x10)+string.atoi(light[1:3], 0x10))*factor
g=int(string.atoi(dark[3:5], 0x10)+string.atoi(light[3:5], 0x10))*factor
b=int(string.atoi(dark[5:], 0x10)+string.atoi(light[5:], 0x10))*factor
return '#%02X%02X%02X'%(r,g,b)
it should print hex values like:
D#000000 L#ffffff
Drgb:ef/ef/ef Lrgb:00/00/00
and the usual error message. Evidently, my 'dark' and 'light' are RGB values.
edit: I had a look at my .Xdefaults. There I set indeed:
*background: rgb:00/00/00
*foreground: rgb:ef/ef/ef
However, I do not see why sk1 is not compatible with these settings. All other programs work normally.
please report upstream.