Fixed in svn head, I guess. Haven't test it seriously, but I think the bug is obvious enough. So I believe that this fix should work.
Greetings On Thu, Dec 10, 2009 at 3:52 PM, Cheng Renquan <[email protected]> wrote: > I am running and testing the latest lxterminal trunk version, > > $ svn info lxterminal/ > Path: lxterminal > URL: http://lxde.svn.sourceforge.net/svnroot/lxde/trunk/lxterminal > Repository Root: http://lxde.svn.sourceforge.net/svnroot/lxde > Repository UUID: 3baf7735-d320-0410-8b56-b11ef3703fae > Revision: 2182 > Node Kind: directory > Schedule: normal > Last Changed Author: majkl82 > Last Changed Rev: 2182 > Last Changed Date: 2009-12-10 01:35:16 +0800 (Thu, 10 Dec 2009) > > the lxterminal will eventually crash with SIGSEGV, Segmentation fault. > but reason is unknown, and reproducibility is also random, especially > when using Alt+number to switch tab, it will randomly crash, but before > crash need how many times of switching tab is also unknown, > only crashing happens when switching tab is determined, other conditions > seem randomly, it may need several hours, or several days; > > Who met this before? or is someone already addressing this problem? > > then I recompiled it with "-ggdb" and try to debug it, found it seemed happen > on term_switchtab (term=0x7dcb10) at lxterminal.c:209, > > $ gdb lxterminal/src/lxterminal > (gdb) run > Starting program: /home/gektop/src/lxde-trunk/lxterminal/src/lxterminal > [Thread debugging using libthread_db enabled] > > [... many hours later] > > Program received signal SIGSEGV, Segmentation fault. > 0x00007ffff578f8bc in g_type_check_instance_cast () from > /usr/lib/libgobject-2.0.so.0 > (gdb) bt > #0 0x00007ffff578f8bc in g_type_check_instance_cast () from > /usr/lib/libgobject-2.0.so.0 > #1 0x0000000000407588 in term_switchtab (term=0x7dcb10) at lxterminal.c:209 > #2 0x00007ffff71fe292 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 > #3 0x00007ffff577211d in g_closure_invoke () from > /usr/lib/libgobject-2.0.so.0 > #4 0x00007ffff578569a in ?? () from /usr/lib/libgobject-2.0.so.0 > #5 0x00007ffff57868f5 in g_signal_emit_valist () from > /usr/lib/libgobject-2.0.so.0 > #6 0x00007ffff5786f33 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 > #7 0x00007ffff7139065 in gtk_accel_group_activate () from > /usr/lib/libgtk-x11-2.0.so.0 > #8 0x00007ffff713916e in gtk_accel_groups_activate () from > /usr/lib/libgtk-x11-2.0.so.0 > #9 0x00007ffff731610d in gtk_window_activate_key () from > /usr/lib/libgtk-x11-2.0.so.0 > #10 0x00007ffff7316189 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 > #11 0x00007ffff71fe958 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 > #12 0x00007ffff577211d in g_closure_invoke () from > /usr/lib/libgobject-2.0.so.0 > #13 0x00007ffff5785366 in ?? () from /usr/lib/libgobject-2.0.so.0 > #14 0x00007ffff57868f5 in g_signal_emit_valist () from > /usr/lib/libgobject-2.0.so.0 > #15 0x00007ffff5786f33 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 > #16 0x00007ffff7300f76 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 > #17 0x00007ffff71f76f5 in gtk_propagate_event () from > /usr/lib/libgtk-x11-2.0.so.0 > #18 0x00007ffff71f871b in gtk_main_do_event () from > /usr/lib/libgtk-x11-2.0.so.0 > #19 0x00007ffff6e77c8c in ?? () from /usr/lib/libgdk-x11-2.0.so.0 > #20 0x00007ffff52b76b0 in g_main_context_dispatch () from > /usr/lib/libglib-2.0.so.0 > #21 0x00007ffff52bad48 in ?? () from /usr/lib/libglib-2.0.so.0 > #22 0x00007ffff52bb235 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 > #23 0x00007ffff71f8b17 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 > #24 0x0000000000409f76 in main (argc=1, argv=0x7fffffffe268) at > lxterminal.c:1146 > (gdb) list lxterminal.c:209 > 204 } > 205 > 206 static gboolean term_switchtab(Term *term) > 207 { > 208 LXTerminal *terminal = term->parent; > 209 > gtk_notebook_set_current_page(GTK_NOTEBOOK(terminal->notebook), > term->index); > 210 return TRUE; > 211 } > 212 > 213 static gboolean terminal_copy(GtkAction *action, gpointer data) > > Thanks, > > -- > Cheng Renquan > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > _______________________________________________ > Lxde-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/lxde-list > ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Lxde-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lxde-list
