...and cause a core dump at startup preventing xfce from starting. gdb xfce4-session GNU gdb 6.4-debian Copyright 2005 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 "x86_64-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/bin/xfce4-session *** glibc detected *** free(): invalid next size (fast): 0x00000000008f5f80 *** Program received signal SIGABRT, Aborted. 0x00002b3f3bae611d in raise () from /lib/libc.so.6 (gdb) bt #0 0x00002b3f3bae611d in raise () from /lib/libc.so.6 #1 0x00002b3f3bae784e in abort () from /lib/libc.so.6 #2 0x00002b3f3bb1ae41 in __fsetlocking () from /lib/libc.so.6 #3 0x00002b3f3bb2090e in malloc_usable_size () from /lib/libc.so.6 #4 0x00002b3f3bb20c56 in free () from /lib/libc.so.6 #5 0x0000000000411228 in xfsm_startup_continue_session (previous_id=<value optimized out>) at xfsm-startup.c:538 #6 0x0000000000411375 in xfsm_startup_continue (previous_id=0x7df6 <Address 0x7df6 out of bounds>) at xfsm-startup.c:441 #7 0x000000000040dd65 in xfsm_manager_startup_continue (previous_id=0x0) at xfsm-manager.c:457 #8 0x000000000040dfc8 in xfsm_manager_startup () at xfsm-manager.c:94 #9 0x00002b3f3b809bfd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #10 0x00002b3f3b80cec5 in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #11 0x00002b3f3b80d18a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #12 0x00002b3f39cfd582 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #13 0x00000000004097f9 in main (argc=1, argv=0x7fff71569208) at main.c:247
Created attachment 796 Fix Indeed, makes sense. I wonder why it doesn't crash here. Anyway, please verify that this patch fixes the crash.
It does fix the crash.
Committed with revision 23146. 2006-09-13 Benedikt Meurer <benny@xfce.org> * xfce4-session/xfsm-startup.c(xfsm_startup_continue_session): Fix argv array allocation. Bug #2315.