Seems to be caused by session_name being NULL and used in a strcmp in
lxsession/autostart.c
Debug build backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x00007fd626d7ca90 in strcmp () from /lib/libc.so.6
(gdb) bt
#0 0x00007fd626d7ca90 in strcmp () from /lib/libc.so.6
#1 0x000000000040204b in launch_autostart_file (
desktop_id=0xfd74f0 "beagled.desktop",
desktop_file=0xfd74a0
"/home/gem/.config/autostart/beagled.desktop",
kf=0xfd5450) at autostart.c:192
#2 0x00007fd627080a3d in g_hash_table_foreach ()
from /usr/lib/libglib-2.0.so.0
#3 0x000000000040232e in handle_autostart (session_name=0x0)
at autostart.c:299
#4 0x0000000000401c7e in start_session () at lxsession.c:244
#5 0x0000000000401f67 in main (argc=1, argv=0x7fff2f533988) at
lxsession.c:348
(gdb) print session_name
$1 = 0x0
(gdb)
Who knows... maybe this is the correct fix... atleast it avoids the
segfault:
--- lxsession-lite-0.3.6/lxsession/lxsession.c 2008-06-08 15:43:07.000000000
+0200
+++ lxsession-lite-0.3.6-fixed/lxsession/lxsession.c 2008-12-26
14:37:05.000000000 +0100
@@ -340,7 +340,7 @@
register_signals();
- if ( session_name )
+ if ( !session_name )
session_name = "LXDE";
g_setenv( "DESKTOP_SESSION", session_name, TRUE );
--
Regards,
Andreas Henriksson
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]