lsb-xpaint 2.7.0-1.lsb3 segfaults after getting a screenshot
Jiri Dluhos <[email protected]>
| Newsgroups | gmane.linux.lsb.test-suite |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I have observed a segfault in lsb-xpaint 2.7.0-1.lsb3 (32-bit x86 executable)
when running on an x86-64 machine. The OS used was SuSE Linux 10 Beta3.
The segfault occurs sometimes after taking a screenshot, saving it in JPEG
format and then trying to create a new canvas or to take another screenshot
(sometimes it occurs after multiple tries).
I have tried to compile the same version of xpaint from source, and it happens
as well. With GDB, I have obtained this backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x00002aaaab54c428 in XtWidgetToApplicationContext ()
from /usr/X11R6/lib64/libXt.so.6
(gdb) bt
#0 0x00002aaaab54c428 in XtWidgetToApplicationContext ()
from /usr/X11R6/lib64/libXt.so.6
#1 0x00002aaaab565687 in XtSetValues () from /usr/X11R6/lib64/libXt.so.6
#2 0x00002aaaab577cff in XtVaSetValues () from /usr/X11R6/lib64/libXt.so.6
#3 0x000000000042d09a in MenuCheckItem (w=0x646a80, flag=0 '\0') at
menu.c:362
#4 0x0000000000417bf0 in setGridMenu (paint=0x65edf0, ptr=<value optimized
out>)
at graphic.c:954
#5 0x0000000000417760 in GraphicAll (func=0x417b90 <setGridMenu>, data=0x0)
at graphic.c:743
#6 0x000000000042034e in graphicCreate (shell=0x6455d0, width=602,
height=344,
zoom=-1, pix=60817969, cmap=<value optimized out>) at graphic.c:3465
#7 0x000000000043ade1 in SnapshotImage (w=0x601ac0, paintArg=0x0,
flag=<value optimized out>) at snapshot.c:446
#8 0x000000000042e106 in takeSnapshot (w=0x617b00, junk=0x0,
junk2=<value optimized out>) at operation.c:429
#9 0x00002aaaab541d60 in XtCallCallbacks () from /usr/X11R6/lib64/libXt.so.6
#10 0x00002aaaab5746d6 in _XtMatchAtom () from /usr/X11R6/lib64/libXt.so.6
#11 0x00002aaaab574c89 in _XtMatchAtom () from /usr/X11R6/lib64/libXt.so.6
#12 0x00002aaaab575380 in _XtTranslateEvent ()
from /usr/X11R6/lib64/libXt.so.6
#13 0x00002aaaab54f08f in XtDispatchEventToWidget ()
from /usr/X11R6/lib64/libXt.so.6
#14 0x00002aaaab54f861 in _XtOnGrabList () from /usr/X11R6/lib64/libXt.so.6
#15 0x00002aaaab54f9ce in XtDispatchEvent () from /usr/X11R6/lib64/libXt.so.6
#16 0x000000000042bf32 in main (argc=1, argv=0x7fffffb55958) at main.c:841
Please, does someone know what could cause this? I think it could be simply a
bug in XPaint sources, but also it could be some kind of mismatch on the
transition between 64-bit and 32-bit mode...
Best regards,
Jiri Dluhos