Hello:

x11/xfm file manager segfaults on OpenBSD 4.6-stable/amd64 due to many
vararg libXt calls (XtVa...) being terminated with 0 instead of with
NULL. A backtrace of the problem follows. A fixed port is attached (I
would have sent it as a patch, but there are new files in the port). I
sent a patch to the author as well.

I'm not a member of this list so pleace CC me in your responses.

-Nima

Program received signal SIGSEGV, Segmentation fault.
0x0000000202eb0a03 in _XtCountVaList () from /usr/X11R6/lib/libXt.so.10.0
(gdb) bt
#0  0x0000000202eb0a03 in _XtCountVaList () from /usr/X11R6/lib/libXt.so.10.0
#1  0x0000000202eaf241 in XtVaCreateManagedWidget ()
   from /usr/X11R6/lib/libXt.so.10.0
#2  0x0000000000428806 in FmCreateLog (parent=0x20aeac400, font=0x20aeab300)
    at FmLog.c:190
#3  0x0000000000405c84 in main (argc=1, argv=0x7f7ffffc58e8) at FmMain.c:542

(Note this backtrace was produced from a modified port disabling gcc
optimization and symbol stripping and enabling the gcc -g debug
flag. The original port produced a bus error instead.)

Attachment: xfm.fix-XtVa.tar.gz
Description: application/gzip

Reply via email to