Occasional segfault at startup when using Cinnamon on LMDE
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Synapse |
New
|
Undecided
|
Unassigned |
Bug Description
This bug seems to occur at random: sometimes I find that when I first launch synapse I get a segfault, sometimes not. I managed to catch the segfault with GDB today, though the crash caused my entire desktop UI to halt, so I wasn't able to get a proper backtrace. Anyway, here's the output from GDB in case it's any use:
Reading symbols from synapse...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/synapse
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
[INFO 09:55:00.522265] [synapse-main:266] Starting up...
[New Thread 0x7fffed712700 (LWP 11746)]
[New Thread 0x7fffecf11700 (LWP 11747)]
[New Thread 0x7fffe7fff700 (LWP 11748)]
[New Thread 0x7fffe77fe700 (LWP 11749)]
[New Thread 0x7fffe6ffd700 (LWP 11750)]
[New Thread 0x7fffe67fc700 (LWP 11751)]
[INFO 09:55:00.705177] [synapse-main:208] Binding activation to <Control>space
[INFO 09:55:00.729128] [view-base:251] Screen is composited.
[INFO 09:55:00.730334] [controller:57] Using gtk-im-
[WARN 09:55:00.860537] [desktop-
[WARN 09:55:00.864087] [desktop-
[WARN 09:55:00.872694] [desktop-
[WARN 09:55:00.882466] [desktop-
[WARN 09:55:00.919441] [desktop-
[WARN 09:55:00.923078] [desktop-
[WARN 09:55:00.927012] [desktop-
[New Thread 0x7fffe5fe4700 (LWP 11752)]
[INFO 09:55:01.037511] [gnome-
[WARN 09:55:01.064011] [ssh-plugin:114] /home/matthew/
[New Thread 0x7fffe57e3700 (LWP 11753)]
[New Thread 0x7fffe4fe2700 (LWP 11754)]
[New Thread 0x7fffd3fff700 (LWP 11755)]
[New Thread 0x7fffd37fe700 (LWP 11756)]
[New Thread 0x7fffd2ffd700 (LWP 11759)]
[New Thread 0x7fffd27fc700 (LWP 11760)]
[New Thread 0x7fffd1ffb700 (LWP 11763)]
[New Thread 0x7fffd17fa700 (LWP 11767)]
*** Error in `/usr/bin/synapse': double free or corruption (fasttop): 0x00000000009a2f20 ***
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffe67fc700 (LWP 11751)]
0x00007ffff3d84067 in __GI_raise (sig=sig@entry=6) at ../nptl/
56 ../nptl/
This bug relates to synapse 0.2.99.2.
My plan is to install the latest development branch with debug flags and see if I can get a core dump next time. Hopefully then I'll be able to get a backtrace if the bug is still there.
Here's a the output from the terminal and associated backtrace extracted from the core dump (this is now the development version, the head of the bazaar repo):
[INFO 12:00:09.597109] [synapse-main:267] Starting up... context- simple input method. yncOnce' (as 'ZeitgeistSymbo lInfo') able) type '<invalid>'
[INFO 12:00:10.260367] [synapse-main:209] Binding activation to <Control>space
[INFO 12:00:10.321076] [view-base:251] Screen is composited.
[INFO 12:00:10.322796] [controller:56] Using gtk-im-
[WARN 12:00:10.518649] [GLib-GObject] cannot register existing fundamental type 'SynapseUtilsAs
[FATAL 12:00:10.521401] [GLib] g_once_init_leave: assertion 'result != 0' failed
[WARN 12:00:10.521471] [GLib-GObject] cannot create new instance of invalid (non-instantiat
Trace/breakpoint trap (core dumped)
Reading symbols from synapse...done. 64-linux- gnu/libthread_ db.so.1" . 64-linux- gnu/libglib- 2.0.so. 0 64-linux- gnu/libglib- 2.0.so. 0 64-linux- gnu/libglib- 2.0.so. 0 create_ instance () from /usr/lib/ x86_64- linux-gnu/ libgobject- 2.0.so. 0 symbol_ info_register () from /usr/lib/ x86_64- linux-gnu/ libzeitgeist- 2.0.so. 0 symbol_ initialize_ symbols () from /usr/lib/ x86_64- linux-gnu/ libzeitgeist- 2.0.so. 0 symbol_ get_all_ children () from /usr/lib/ x86_64- linux-gnu/ libzeitgeist- 2.0.so. 0 db_reader_ get_where_ clause_ for_symbol () from /usr/lib/ x86_64- linux-gnu/ libzeitgeist- 2.0.so. 0 db_reader_ get_where_ clause_ from_event_ templates () from /usr/lib/ x86_64- linux-gnu/ libzeitgeist- 2.0.so. 0 db_reader_ get_where_ clause_ for_query () from /usr/lib/ x86_64- linux-gnu/ libzeitgeist- 2.0.so. 0 db_reader_ find_event_ ids () from /usr/lib/ x86_64- linux-gnu/ libzeitgeist- 2.0.so. 0 db_reader_ find_events () from /usr/lib/ x86_64- linux-gnu/ libzeitgeist- 2.0.so. 0 x86_64- linux-gnu/ libzeitgeist- 2.0.so. 0 x86_64- linux-gnu/ libzeitgeist- 2.0.so. 0 64-linux- gnu/libglib- 2.0.so. 0 64-linux- gnu/libglib- 2.0.so. 0 9700) at pthread_ create. c:309 unix/sysv/ linux/x86_ 64/clone. S:111
[New LWP 4739]
[New LWP 4741]
[New LWP 4740]
[New LWP 4737]
[New LWP 4742]
[New LWP 4735]
[New LWP 4738]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
Core was generated by `synapse'.
Program terminated with signal SIGTRAP, Trace/breakpoint trap.
#0 0x00007efebee30d30 in g_logv () from /lib/x86_
(gdb) bt
#0 0x00007efebee30d30 in g_logv () from /lib/x86_
#1 0x00007efebee30f6f in g_log () from /lib/x86_
#2 0x00007efebf6ecefd in g_type_
#3 0x00007efebf11b8f7 in zeitgeist_
#4 0x00007efebf11bc15 in zeitgeist_
#5 0x00007efebf122ec1 in zeitgeist_
#6 0x00007efebf12654a in zeitgeist_
#7 0x00007efebf127159 in zeitgeist_
#8 0x00007efebf127a6b in zeitgeist_
#9 0x00007efebf127cae in zeitgeist_
#10 0x00007efebf127ece in zeitgeist_
#11 0x00007efebf1094e9 in ?? () from /usr/lib/
#12 0x00007efebf10aaa3 in ?? () from /usr/lib/
#13 0x00007efebee511d8 in ?? () from /lib/x86_
#14 0x00007efebee50845 in ?? () from /lib/x86_
#15 0x00007efebebcb0a4 in start_thread (arg=0x7efeb71d
#16 0x00007efebe90087d in clone () at ../sysdeps/
Hope this helps.