[Bug 1759] New: XtVaGetValues core dump on x86_64
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Nov 1 15:12:03 PST 2004
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://freedesktop.org/bugzilla/show_bug.cgi?id=1759
Summary: XtVaGetValues core dump on x86_64
Product: xorg
Version: 6.7.0
Platform: PC
OS/Version: Linux
Status: NEW
Severity: critical
Priority: P2
Component: Lib/Xt
AssignedTo: xorg-bugzilla-noise at freedesktop.org
ReportedBy: cjnygard at fast.net
I'm having curious problems with XtVaGetValues (and also by extension
XtVaCreatePopupShell) on x86_64, it keeps core dumping. Here's a stacktrace:
(gdb) where#0 0x00000037c3f48c43 in _XtCountVaList () from
/usr/X11R6/lib64/libXt.so.6#1 0x00000037c3f48746 in XtVaGetValues () from
/usr/X11R6/lib64/libXt.so.6#2 0x0000000000400dd4 in main (argc=1,
argv=0x7fbffff768) at motifbug.cxx:26
(gdb)
packages come from Fedora Core2:
[mwsadm at fims64 hdfloader]$ rpm -qa "xorg*"
xorg-x11-tools-6.7.0-2
xorg-x11-xauth-6.7.0-2
xorg-x11-75dpi-fonts-6.7.0-2
xorg-x11-Mesa-libGL-6.7.0-2
xorg-x11-font-utils-6.7.0-2
xorg-x11-base-fonts-6.7.0-2
xorg-x11-libs-6.7.0-2
xorg-x11-Mesa-libGL-6.7.0-2
xorg-x11-xfs-6.7.0-2
xorg-x11-6.7.0-2
xorg-x11-libs-data-6.7.0-2
xorg-x11-libs-6.7.0-2
xorg-x11-100dpi-fonts-6.7.0-2
xorg-x11-Mesa-libGLU-6.7.0-2
xorg-x11-twm-6.7.0-2
xorg-x11-devel-6.7.0-2
xorg-x11-Mesa-libGLU-6.7.0-2
Attached is the code to reproduce the bug in a simple pure-X/Motif test code,
compiled via:
g++ -g -o motifbug motifbug.cxx -L /usr/X11R6/lib64 -lXm -lXt
This generates an X warning. Whatever. Add -DDUMP to the cmd line and it will
coredump on the XtVaGetValues function. What gives? #ifdef'ing a function that
comes *after* the location of the core matters? I know X is asynchronous but
that seems to indicate a compiler problem???
I don't rule out user error, like improper compiler flags, but the example is
really simple, so I don't see how.
--
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the xorg-bugzilla-noise
mailing list