GNOME Bugzilla – Bug 495594
Gnumeric crashes on selecting Format/Preferences
Last modified: 2007-11-10 21:11:13 UTC
Steps to reproduce: Open Format/Preferences It crashes, nothing appears in the command line. Stack trace: GNU gdb 6.6-debian Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i486-linux-gnu"... Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (gdb) handle SIG33 pass nostop noprint Signal Stop Print Pass to program Description SIG33 No No Yes Real-time event 33 (gdb) set pagination 0 (gdb) run Starting program: /usr/bin/gnumeric [Thread debugging using libthread_db enabled] [New Thread -1224612176 (LWP 4985)] ** (/usr/bin/gnumeric:4985): WARNING **: Using default value '1' Program received signal SIGSEGV, Segmentation fault.
+ Trace 176799
Thread NaN (LWP 4985)
Thread 1 (Thread -1224612176 (LWP 4985))
The program is running. Exit anyway? (y or n) A valgrind log was also attached: ==5075== Address 0x560C595 is 13,605 bytes inside a block of size 16,384 alloc'd ==5075== at 0x4021AA4: calloc (vg_replace_malloc.c:279) ==5075== by 0x4E7F326: XOpenDisplay (in /usr/lib/libX11.so.6.2.0) ==5075== by 0x49C10E1: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1200.0) ==5075== by 0x499E82E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1200.0) ==5075== by 0x4757194: (within /usr/lib/libgtk-x11-2.0.so.0.1200.0) ==5075== by 0x4BAB8B0: g_option_context_parse (in /usr/lib/libglib-2.0.so.0.1400.1) ==5075== by 0x4A6F4D4: gnome_program_parse_args (in /usr/lib/libgnome-2.so.0.2000.0) ==5075== by 0x4A7081C: (within /usr/lib/libgnome-2.so.0.2000.0) ==5075== by 0x4A70B50: gnome_program_init (in /usr/lib/libgnome-2.so.0.2000.0) ==5075== by 0x804BEFC: main (main-application.c:255) ==5075== Warning: invalid file descriptor 2345678 in syscall write() ==5075== ==5075== Syscall param write(buf) points to uninitialised byte(s) ==5075== at 0x40007F2: (within /lib/ld-2.6.1.so) ==5075== by 0x4E9967E: _X11TransWrite (in /usr/lib/libX11.so.6.2.0) ==5075== by 0x4E914D6: (within /usr/lib/libX11.so.6.2.0) ==5075== by 0x4E70890: XFlush (in /usr/lib/libX11.so.6.2.0) ==5075== by 0x49C070D: gdk_display_flush (in /usr/lib/libgdk-x11-2.0.so.0.1200.0) ==5075== by 0x49B876B: gdk_window_process_all_updates (in /usr/lib/libgdk-x11-2.0.so.0.1200.0) ==5075== by 0x46BED8E: (within /usr/lib/libgtk-x11-2.0.so.0.1200.0) ==5075== by 0x499E5E7: (within /usr/lib/libgdk-x11-2.0.so.0.1200.0) ==5075== by 0x4B9C550: (within /usr/lib/libglib-2.0.so.0.1400.1) ==5075== by 0x4B9E11B: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.1400.1) ==5075== by 0x4BA155E: (within /usr/lib/libglib-2.0.so.0.1400.1) ==5075== by 0x4BA1908: g_main_loop_run (in /usr/lib/libglib-2.0.so.0.1400.1) ==5075== Address 0x5609231 is 449 bytes inside a block of size 16,384 alloc'd ==5075== at 0x4021AA4: calloc (vg_replace_malloc.c:279) ==5075== by 0x4E7F326: XOpenDisplay (in /usr/lib/libX11.so.6.2.0) ==5075== by 0x49C10E1: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.1200.0) ==5075== by 0x499E82E: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.1200.0) ==5075== by 0x4757194: (within /usr/lib/libgtk-x11-2.0.so.0.1200.0) ==5075== by 0x4BAB8B0: g_option_context_parse (in /usr/lib/libglib-2.0.so.0.1400.1) ==5075== by 0x4A6F4D4: gnome_program_parse_args (in /usr/lib/libgnome-2.so.0.2000.0) ==5075== by 0x4A7081C: (within /usr/lib/libgnome-2.so.0.2000.0) ==5075== by 0x4A70B50: gnome_program_init (in /usr/lib/libgnome-2.so.0.2000.0) ==5075== by 0x804BEFC: main (main-application.c:255) ==5075== Warning: invalid file descriptor 2345678 in syscall write() ==5075== Warning: invalid file descriptor 2345678 in syscall write() Other information: This was reported on Launchpad: https://bugs.launchpad.net/ubuntu/+source/gnumeric/+bug/152587 by: https://bugs.launchpad.net/~raa-lkml
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 462906 ***
Sorry but are those bugs really duplicates ? The one you linked to appears with the Win32 version and when accessing Tools -> Preferences, and this one on Linux when accessing Format -> Prefenrences. Sorry for the trouble.
You probably mean "Format -> Prefenrences" vs "File -> Prefenrences". "Tools" does not have such a menu item, at least in my version. In any case, yes I am sure. The crash occurs in dialog-preferences.c which is where things got fixed. See also bug 490984 which is a Linux version of the same crash.
Ok great, thank you !