Public bug reported:
[I tried submitting this via reportbug(1), but it appears to have been
bitbucketed.]
Xmbdfed on amd64 segfaults when one attempts to bring up the "Other
Options" dialog. GDB gives some interesting telemetry:
----
Program received signal SIGSEGV, Segmentation fault.
0x000000000046efd1 in DoOtherOptions (w=0x655670, client_data=0x0,
call_data=0x7fffffaac660) at setup.c:890
890 XtSetArg(av[0], XmNmenuHistory,
other.psizes[xmbdfed_opts.pixel_size - 2]);
(gdb) p xmbdfed_opts.pixel_size
$1 = 4294967295
(gdb)
----
Where does xmbdfed_opts.pixel_size get set to such a ridiculous value?
----
(gdb) b xmbdfed.c:5373
Breakpoint 1 at 0x480596: file xmbdfed.c, line 5373.
(gdb) r
Starting program: /tmp/xmbdfed-4.7patch1/xmbdfed
Breakpoint 1, main (argc=1, argv=0x7fffff892af8) at xmbdfed.c:5373
5373 XtGetApplicationResources(top, (XtPointer) &xmbdfed_opts, cmdres,
(gdb) p xmbdfed_opts.pixel_size
$1 = 10
(gdb) n
5376 XtGetApplicationNameAndClass(d, &app_name, &app_class);
(gdb) p xmbdfed_opts.pixel_size
$2 = 4294967295
(gdb)
----
Something fishy's going on in the XtGetApplicationResources() call. I'd
wager it's a 64-bit-unclean-ism in either Xmbdfed (the xmbdfed_opts
struct) or libXt, but since Xmbdfed seems to be working fine otherwise,
I'm filing the bug against it.
** Affects: xmbdfed (Ubuntu)
Importance: Untriaged
Status: Unconfirmed
--
Edit -> Setup -> Other Options: instant segfault on amd64
https://launchpad.net/bugs/49538
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs