synapse chrashes when started

Bug #1523279 reported by Nalim Bictu
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Synapse
New
Undecided
Unassigned

Bug Description

When Sypnase is started, it crashes imediatelly, this is the output from the terminal.

I'm running Ubuntu MATE 15.10, it was running fine until now.

$ synapse
[INFO 20:17:44.716588] [synapse-main:268] Starting up...
[INFO 20:17:44.917841] [synapse-main:211] Binding activation to <Control>space
[INFO 20:17:44.966326] [view-base:251] Screen is composited.
[INFO 20:17:44.968628] [controller:59] Using xim input method.
*** Error in `synapse': free(): invalid next size (normal): 0x00007f1fc0060a0 ***
Aborted (core dumped)

EDIT: see last comment for solution

Tags: crash on-start
Revision history for this message
Jérémy Munsch (jeremy-munsch) wrote :

Try to start it with
GTK_IM_MODULE='' synapse

Revision history for this message
Renaud Levesque (releve1403) wrote :

Since a recent Lubuntu 15.10 update, I had the same bug (crash when trying to type after Synapse activated). It looks related to bug #1514104, as the change :
Exec=bash -c 'GTK_IM_MODULE="" synapse'
in /usr/share/applications/synapse.desktop solve my problem.
Simply calling "GTK_IM_MODULE='' synapse" was working only from the terminal.

Revision history for this message
Nalim Bictu (i2061845) wrote :

Oh, I'm sorry, I didn't see the comments before.

I looked at the bug you linked, and adding

GTK_IM_MODULE='' synapse

to usr/share/applications/synapse.desktop solved it! I didn't need to add the bash part.

Thanks a lot!

Revision history for this message
Nalim Bictu (i2061845) wrote :

Actually, I didn't add it, but replaced

Exec=synapse

with

Exec=GTK_IM_MODULE='' synapse

in /usr/share/applications/synapse.desktop

description: updated
Revision history for this message
Nalim Bictu (i2061845) wrote :

After a few days it started crashing again.

I replaced

Exec=synapse

with

Exec=bash -c 'GTK_IM_MODULE="" synapse'

and it works now.

Note: if want synapse to open at login you have to add

bash -c 'GTK_IM_MODULE="" synapse'

as a command in Startup Applications.

Revision history for this message
Milan Pavkovic (pauk960) wrote :

I have the same problem on my Debian jessie with XFCE 4.10. Compiled synapse from source.

[INFO 16:16:19.769823] [synapse-main:266] Starting up...
[INFO 16:16:19.889493] [synapse-main:208] Binding activation to <Control><Alt>space
[INFO 16:16:19.906803] [view-base:251] Screen is composited.
[INFO 16:16:19.908350] [controller:57] Using gtk-im-context-simple input method.
*** Error in `synapse': free(): invalid next size (fast): 0x00007f3e440024b0 ***
Aborted

Revision history for this message
Rico Tzschichholz (ricotz) wrote :

@pauk960: What do you mean with compiled from source? Did you use the latest bzr trunk or git master of synapse?

This commit should fix this bug as well:
https://git.launchpad.net/synapse-project/commit/?id=0edcc48d033ef442018d158189b5620d5d15b8a7

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.