User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20070914 Mandriva/2.0.0.11-2mdv2008.1 (2008.1) Firefox/2.0.0.11 Build Identifier: Squeeze crashesh when i want to open any archive file, no matter if this tar.gz/bz2, rar or zip. Here is the backtrace : [tpg@localhost ~]$ gdb GNU gdb 6.6-3mdv2008.0 (Mandriva Linux release 2008.0) 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 "i586-mandriva-linux-gnu". (gdb) file squeeze Reading symbols from /usr/bin/squeeze...Reading symbols from /usr/lib/debug/usr/bin/squeeze.debug...done. Using host libthread_db library "/lib/i686/libthread_db.so.1". done. (gdb) run Starting program: /usr/bin/squeeze [Thread debugging using libthread_db enabled] [New Thread -1223046960 (LWP 6512)] [New Thread -1289479280 (LWP 6516)] (squeeze:6512): GLib-GObject-CRITICAL **: g_value_get_pointer: assertion `G_VALUE_HOLDS_POINTER (value)' failed Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1223046960 (LWP 6512)] lsq_archive_get_status (archive=0x0) at archive.c:353 353 if(archive->command) (gdb) bt #0 lsq_archive_get_status (archive=0x0) at archive.c:353 #1 0x08051bb7 in cb_sq_main_window_notebook_state_changed (notebook=0x80df010, archive=0x0, userdata=0x80b3080) at main_window.c:1300 #2 0xb742a13e in g_cclosure_marshal_VOID__POINTER () from /usr/lib/libgobject-2.0.so.0 #3 0xb741bf1d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #4 0xb743228f in gtk_notebook_next_page () from /usr/lib/libgobject-2.0.so.0 #5 0xb7433f28 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #6 0xb743426b in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #7 0x0805402d in cb_notebook_archive_state_changed (archive=0x8280060, notebook=0x80df010) at notebook.c:647 #8 0xb742a075 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 #9 0xb741bf1d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #10 0xb743228f in gtk_notebook_next_page () from /usr/lib/libgobject-2.0.so.0 #11 0xb7433f28 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #12 0xb743426b in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #13 0xb7ed060c in lsq_archive_state_changed (archive=0x8280060) at archive.c:492 #14 0xb7ed089b in lsq_archive_refresh (archive=0x8280060) at archive.c:451 #15 0x0804fca0 in sq_main_window_open_archive (window=0x80b3080, path=0x81c6210 "/home/tpg/10de0181.tar.bz2", replace=0) at main_window.c:1217 #16 0x0804f91c in sq_application_open_archive (app=0x808d648, window=0x80b3080, path=0x81c6210 "/home/tpg/10de0181.tar.bz2") at application.c:291 #17 0x08052d6c in cb_sq_main_open_archive (widget=0x808a688, userdata=0x80b3080) at main_window.c:742 #18 0xb742a075 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 #19 0xb741bf1d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #20 0xb743228f in gtk_notebook_next_page () from /usr/lib/libgobject-2.0.so.0 #21 0xb7433f28 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #22 0xb743426b in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #23 0xb7c08ec6 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0 #24 0xb7aeb2f1 in gtk_menu_shell_activate_item () from /usr/lib/libgtk-x11-2.0.so.0 #25 0xb7aecec9 in gtk_notebook_next_page () from /usr/lib/libgtk-x11-2.0.so.0 #26 0xb7ae3a9e in gtk_notebook_next_page () from /usr/lib/libgtk-x11-2.0.so.0 #27 0xb7add60c in gtk_notebook_next_page () from /usr/lib/libgtk-x11-2.0.so.0 #28 0xb741a74e in gtk_notebook_next_page () from /usr/lib/libgobject-2.0.so.0 #29 0xb741bf1d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #30 0xb7432429 in gtk_notebook_next_page () from /usr/lib/libgobject-2.0.so.0 #31 0xb7433c0e in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #32 0xb743426b in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #33 0xb7c04123 in gtk_notebook_next_page () from /usr/lib/libgtk-x11-2.0.so.0 #34 0xb7ad6399 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0 #35 0xb7ad763c in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0 #36 0xb7937d88 in gtk_notebook_next_page () from /usr/lib/libgdk-x11-2.0.so.0 #37 0xb7365f1e in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #38 0xb736938a in gtk_notebook_next_page () from /usr/lib/libglib-2.0.so.0 #39 0xb73696d8 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #40 0xb7ad7a9f in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #41 0x0804f18a in main (argc=1, argv=0xbf918b44) at main.c:192 #42 0xb7205f90 in __libc_start_main () from /lib/i686/libc.so.6 #43 0x0804ede1 in _start () (gdb) kill System libraries: libglib2.0_0-2.15.0-2mdv2008.1 libgtk+-x11-2.0_0-2.12.3-2mdv2008.1 glibc-2.6.1-5mdv2008.1 I think this is caused by glib-2.15.0 . Reproducible: Always Steps to Reproduce: 1. Run squeeze 2. open any archive file 3. see the crash
This was confirmed by a user on forum.ubuntu-fr, with the same error message.
Same goes to the latest 0.2.2 release.
After some testing this seems to happen only on systems using glib >= 2.15 and gtk > 2.12.0. Please ask me if you need something else to be tested.
Created attachment 1513 Fix against glib-2.15
Seems to be working, at least for Mandriva ;)
Thanks, Fixed in revision 26637