Occasional segfault at startup when using Cinnamon on LMDE

Bug #1585661 reported by Matthew Spraggs
6
This bug affects 1 person
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_64-linux-gnu/libthread_db.so.1".
[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-context-simple input method.
[WARN 09:55:00.860537] [desktop-file-service:197] Unable to create AppInfo for /usr/share/gnome/applications/vim.desktop
[WARN 09:55:00.864087] [desktop-file-service:197] Key file contains key 'Terminal' which has a value that cannot be interpreted.
[WARN 09:55:00.872694] [desktop-file-service:197] Unable to create AppInfo for /usr/share/applications/mintinstall-kde.desktop
[WARN 09:55:00.882466] [desktop-file-service:197] Unable to create AppInfo for /usr/share/applications/vim.desktop
[WARN 09:55:00.919441] [desktop-file-service:197] Unable to create AppInfo for /usr/share/applications/brasero-nautilus.desktop
[WARN 09:55:00.923078] [desktop-file-service:197] Unable to create AppInfo for /usr/share/applications/kde4/knetattach.desktop
[WARN 09:55:00.927012] [desktop-file-service:197] Unable to create AppInfo for /usr/share/applications/Monogame Pipeline.desktop
[New Thread 0x7fffe5fe4700 (LWP 11752)]
[INFO 09:55:01.037511] [gnome-session-plugin:158] org.gnome.SessionManager is available
[WARN 09:55:01.064011] [ssh-plugin:114] /home/matthew/.ssh/config: Error opening file: No such file or directory
[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/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.

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.

Revision history for this message
Matthew Spraggs (matthew-spraggs) wrote :

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...
[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-context-simple input method.
[WARN 12:00:10.518649] [GLib-GObject] cannot register existing fundamental type 'SynapseUtilsAsyncOnce' (as 'ZeitgeistSymbolInfo')
[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-instantiatable) type '<invalid>'
Trace/breakpoint trap (core dumped)

Reading symbols from synapse...done.
[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_64-linux-gnu/libthread_db.so.1".
Core was generated by `synapse'.
Program terminated with signal SIGTRAP, Trace/breakpoint trap.
#0 0x00007efebee30d30 in g_logv () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
(gdb) bt
#0 0x00007efebee30d30 in g_logv () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x00007efebee30f6f in g_log () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007efebf6ecefd in g_type_create_instance () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#3 0x00007efebf11b8f7 in zeitgeist_symbol_info_register () from /usr/lib/x86_64-linux-gnu/libzeitgeist-2.0.so.0
#4 0x00007efebf11bc15 in zeitgeist_symbol_initialize_symbols () from /usr/lib/x86_64-linux-gnu/libzeitgeist-2.0.so.0
#5 0x00007efebf122ec1 in zeitgeist_symbol_get_all_children () from /usr/lib/x86_64-linux-gnu/libzeitgeist-2.0.so.0
#6 0x00007efebf12654a in zeitgeist_db_reader_get_where_clause_for_symbol () from /usr/lib/x86_64-linux-gnu/libzeitgeist-2.0.so.0
#7 0x00007efebf127159 in zeitgeist_db_reader_get_where_clause_from_event_templates () from /usr/lib/x86_64-linux-gnu/libzeitgeist-2.0.so.0
#8 0x00007efebf127a6b in zeitgeist_db_reader_get_where_clause_for_query () from /usr/lib/x86_64-linux-gnu/libzeitgeist-2.0.so.0
#9 0x00007efebf127cae in zeitgeist_db_reader_find_event_ids () from /usr/lib/x86_64-linux-gnu/libzeitgeist-2.0.so.0
#10 0x00007efebf127ece in zeitgeist_db_reader_find_events () from /usr/lib/x86_64-linux-gnu/libzeitgeist-2.0.so.0
#11 0x00007efebf1094e9 in ?? () from /usr/lib/x86_64-linux-gnu/libzeitgeist-2.0.so.0
#12 0x00007efebf10aaa3 in ?? () from /usr/lib/x86_64-linux-gnu/libzeitgeist-2.0.so.0
#13 0x00007efebee511d8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007efebee50845 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007efebebcb0a4 in start_thread (arg=0x7efeb71d9700) at pthread_create.c:309
#16 0x00007efebe90087d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Hope this helps.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.