Segmentation fault on SuSE 10.0 x86_64

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Segmentation fault on SuSE 10.0 x86_64

Stefan Gerlach-2
Hi,

I compiled xmakemol 5.15 on SuSE 10.0 x86_64 but can not start it.
It always has a Segmentation fault.

Here the strace and backtrace :

...
writev(3, [{"5 \4\0\4\0\200\5@\0\0\0\r\0\30\0007\30\4\0\5\0\200\5\4"..., 1372}, {"XFree86-Bigfont", 15}, {"\0", 1}], 3) = 1388
read(3, 0x7fffffe654f0, 32)             = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
read(3, "\1\351q\0\0\0\0\0\1\230\0\0\0\0\0\0\0\0\0\0\0\0\0\0\24"..., 32) = 32
write(3, "\230\0\1\0", 4)               = 4
read(3, 0x7fffffe65580, 32)             = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
read(3, "\1\1r\0\0\0\0\0\1\0\1\0\0\0\0\0\0\0\0\0\264tE\6p\262\27"..., 32) = 32
write(3, "-\0\5\0\10\0\200\5\5\0\0\0fixed\30\4\0\230\1\3\0\10\0\200"..., 32) = 32
read(3, 0x7fffffe654c0, 32)             = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
read(3, "\1\243t\0j\1\0\0\0\0\0\0\6\0\377\377\366\377\0\0\206\222"..., 32) = 32
read(3, "\2\0\0\0\225\243\251\377\0\0\377\0\0\0\26\0\0\0\0\0\v\0"..., 40) = 40
read(3, "\335\0\0\0\336\0\0\0\311\0\0\0\337\0\0\0@\0\0\0\340\0\0"..., 176) = 176
read(3, "\0\0\5\0\6\0\t\0\0\0\0\0\0\0\5\0\6\0\7\0\376\377\0\0\0"..., 1232) = 1232
write(3, "5\1\4\0\t\0\200\5@\0\0\0\20\0\20\0007\30\6\0\n\0\200\5"..., 140) = 140
read(3, 0x7fffffe67410, 32)             = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
read(3, "\1\0x\0\0\0\0\0@\0@\0\0\0\0\0 \351\377\377\377\177\0\0"..., 32) = 32
write(3, "\24\0\6\0@\0\0\0w\0\0\0w\0\0\0\0\0\0\0\2\0\0\0", 24) = 24
read(3, 0x7fffffe67370, 32)             = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
read(3, "\1\0y\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\322\206"..., 32) = 32
open("/usr/X11R6/lib/X11/XKeysymDB", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0444, st_size=8298, ...}) = 0
read(4, "! $Xorg: XKeysymDB,v 1.3 2000/08"..., 8298) = 8298
close(4)                                = 0
write(3, "T\0\4\0 \0\0\0\0\0\0\0\0\0\0\0", 16) = 16
read(3, 0x7fffffe66070, 32)             = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
read(3, "\1\0z\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\377\177\0\0p\262"..., 32) = 32
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

(gdb) bt
#0  0x000000000055fc68 in _Xm_Stub_Pointer_ ()
#1  0x00002aaaab50f5c6 in _XtCreateIndirectionTable () from /usr/X11R6/lib64/libXt.so.6
#2  0x00002aaaab50f989 in _XtGetResources () from /usr/X11R6/lib64/libXt.so.6
#3  0x00002aaaab4f95f9 in XtInitializeWidgetClass () from /usr/X11R6/lib64/libXt.so.6
#4  0x00002aaaab4f9b41 in _XtCreateWidget () from /usr/X11R6/lib64/libXt.so.6
#5  0x00002aaaab5275f9 in XtOverrideTranslations () from /usr/X11R6/lib64/libXt.so.6
#6  0x00002aaaab5278d6 in XtVaCreateManagedWidget () from /usr/X11R6/lib64/libXt.so.6
#7  0x000000000041fa3f in main (argc=1, argv=0x7ffffff7aba8) at xmakemol.c:179


any ideas?

Thanks,
Stefan Gerlach

_______________________________________________
XMakemol-bugs mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/xmakemol-bugs

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Segmentation fault on SuSE 10.0 x86_64

Matt Hodges-2
>>>>> Stefan Gerlach writes:

 > I compiled xmakemol 5.15 on SuSE 10.0 x86_64 but can not start it.
 > It always has a Segmentation fault.

[...]

 > any ideas?

Hi Stefan,

Thanks for the detailed bug report.

My guess is that there is a font-related problem.  In xmakemol.c,
there is a fallback resource specified: "xmakemol*fontList: fixed".

Do other Xt/Motif applications work with a "-fn fixed" argument?  You
can override this in ~/.Xdefaults by adding something like:

xmakemol*fontList: variable

or a font that you know does work; then update with `xrdb
~/.Xdefaults'.  Does this make any difference?

Thanks,

Matt


_______________________________________________
XMakemol-bugs mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/xmakemol-bugs
Reply | Threaded
Open this post in threaded view
|

Re: Segmentation fault on SuSE 10.0 x86_64

Stefan Gerlach-2
Hi Matt,

No, this makes no difference. Even replacing the fallback font in xmakemol.c
doesn't change anything.
Other applications do work with "-fn fixed".

any ideas?

Thanks,
Stefan

>
> Hi Stefan,
>
> Thanks for the detailed bug report.
>
> My guess is that there is a font-related problem.  In xmakemol.c,
> there is a fallback resource specified: "xmakemol*fontList: fixed".
>
> Do other Xt/Motif applications work with a "-fn fixed" argument?  You
> can override this in ~/.Xdefaults by adding something like:
>
> xmakemol*fontList: variable
>
> or a font that you know does work; then update with `xrdb
> ~/.Xdefaults'.  Does this make any difference?
>
> Thanks,
>
> Matt

_______________________________________________
XMakemol-bugs mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/xmakemol-bugs

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Segmentation fault on SuSE 10.0 x86_64

Matt Hodges-2
>>>>> Stefan Gerlach writes:

 > No, this makes no difference. Even replacing the fallback font in
 > xmakemol.c doesn't change anything.  Other applications do work
 > with "-fn fixed".

 > any ideas?

Hi Stefan,

It looks like the crash is in libXm, so there may be a bug in that
library.  There may also be a bug in XMakemol.

Have you tried a 32-bit build, and are the other applications that
work 32-bit or 64-bit builds?

Thanks,

Matt


_______________________________________________
XMakemol-bugs mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/xmakemol-bugs
Reply | Threaded
Open this post in threaded view
|

Re: Segmentation fault on SuSE 10.0 x86_64

Stefan Gerlach-2
Hi Matt,

The 32-bit build has the same problem (on SuSE 10.0 x86).
It might be a bug in libXm of SuSE 10.0.
The other applications (I use xmgrace for testing) is working on 32 and 64 bit.

hope this helps.

--
Stefan

On Thursday 02 November 2006 10:26, Matt Hodges wrote:

> >>>>> Stefan Gerlach writes:
>
>  > No, this makes no difference. Even replacing the fallback font in
>  > xmakemol.c doesn't change anything.  Other applications do work
>  > with "-fn fixed".
>
>  > any ideas?
>
> Hi Stefan,
>
> It looks like the crash is in libXm, so there may be a bug in that
> library.  There may also be a bug in XMakemol.
>
> Have you tried a 32-bit build, and are the other applications that
> work 32-bit or 64-bit builds?
>
> Thanks,
>
> Matt

_______________________________________________
XMakemol-bugs mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/xmakemol-bugs

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Segmentation fault on SuSE 10.0 x86_64

Matt Hodges-2
>>>>> Stefan Gerlach writes:

 > The 32-bit build has the same problem (on SuSE 10.0 x86).  It might
 > be a bug in libXm of SuSE 10.0.  The other applications (I use
 > xmgrace for testing) is working on 32 and 64 bit.

 > hope this helps.

Could you send the entire `strace -f' and `ltrace -f' output (perhaps
off list)?

Thanks,

Matt


_______________________________________________
XMakemol-bugs mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/xmakemol-bugs