Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564802 - gnome-extra/synapse-0.2.99.1: Segmentation fault when typing
Summary: gnome-extra/synapse-0.2.99.1: Segmentation fault when typing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-03 13:19 UTC by Jelte Fennema
Modified: 2018-10-14 13:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jelte Fennema 2015-11-03 13:19:50 UTC
There is a bug in this version of synapse that causes a segfault when used with xim.

See these reports:
- https://bugs.launchpad.net/synapse-project/+bug/1401909
- https://bugs.launchpad.net/synapse-project/+bug/1219314

This should most certainly not be the stable version of synapse. https://bugs.gentoo.org/show_bug.cgi?id=563924

Reproducible: Always

Steps to Reproduce:
1. Start synapse
2. Type a letter

Actual Results:  
Synapse crashes

Expected Results:  
Synapse searches programs
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2015-11-04 06:59:55 UTC
@gnome,

the upstream report suggest to start with

GTK_IM_MODULE='' synapse

as a workaround. What do you think?

BTW, I am heavily using this and never had any problems.
Comment 2 Jelte Fennema 2015-11-04 08:18:09 UTC
I tried the workaround and it works. However, it has the nasty side effect that my custom .XCompose file isn't used in programs spawned using synapse. Which is pretty annoying.

Furthermore, I'm not sure what causes the bug. It might be that I'm not using a very basic X setup, with Awesome WM as my window manager.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2015-11-04 08:34:00 UTC
I am using it on a full blown GNOME3 setup and on XFCE.
Comment 4 Pacho Ramos gentoo-dev 2015-11-05 19:39:35 UTC
(In reply to Justin Lecher from comment #1)
> @gnome,
> 
> the upstream report suggest to start with
> 
> GTK_IM_MODULE='' synapse
> 
> as a workaround. What do you think?
> 
> BTW, I am heavily using this and never had any problems.

Do you mean by using it only for synapse or setting that globally with an environment file? I would disagree with that last approach, well, at least, we would need to investigate more about what values can that variable have and how could it interact with other programs :/
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2015-11-05 20:31:26 UTC
No, of course not global, just for synapse. So far upstream has no clue what is going on and I personally never saw it. So it would be a workaround until it has been investigated properly.
Comment 6 Pacho Ramos gentoo-dev 2015-11-05 21:30:38 UTC
Well, only for synapse I wouldn't see any problem. I see that bug also occurs on other distributions and the same workaround is suggested. Maybe it would be interesting to know what module is causing this problem :/

I have this:
$ ls -l /usr/lib/gtk-3.0/3.0.0/immodules/
total 228
-rwxr-xr-x 1 root root 23552 sep 20 20:25 im-am-et.so
-rwxr-xr-x 1 root root 10320 sep 20 20:25 im-cedilla.so
-rwxr-xr-x 1 root root 11864 sep 20 20:25 im-cyrillic-translit.so
-rwxr-xr-x 1 root root 31568 sep  5 09:59 im-ibus.so
-rwxr-xr-x 1 root root 12288 sep 20 20:25 im-inuktitut.so
-rwxr-xr-x 1 root root 10960 sep 20 20:25 im-ipa.so
-rwxr-xr-x 1 root root 14560 sep 20 20:25 im-multipress.so
-rwxr-xr-x 1 root root 14400 sep 20 20:25 im-thai.so
-rwxr-xr-x 1 root root 23536 sep 20 20:25 im-ti-er.so
-rwxr-xr-x 1 root root 23536 sep 20 20:25 im-ti-et.so
-rwxr-xr-x 1 root root 12184 sep 20 20:25 im-viqr.so
-rwxr-xr-x 1 root root 31432 sep 20 20:25 im-xim.so

I think ibus was preferred but I am unsure now :/
Comment 7 Pacho Ramos gentoo-dev 2015-11-05 21:40:11 UTC
With that list of immodules, it works for me without any workaround
Comment 8 Justin Lecher (RETIRED) gentoo-dev 2015-11-06 08:54:53 UTC
 ls -l /usr/lib/gtk-3.0/3.0.0/immodules/
total 200
-rwxr-xr-x 1 root root 23616 Sep 21 09:45 im-am-et.so*
-rwxr-xr-x 1 root root 10384 Sep 21 09:45 im-cedilla.so*
-rwxr-xr-x 1 root root 11928 Sep 21 09:45 im-cyrillic-translit.so*
-rwxr-xr-x 1 root root 12352 Sep 21 09:45 im-inuktitut.so*
-rwxr-xr-x 1 root root 11024 Sep 21 09:45 im-ipa.so*
-rwxr-xr-x 1 root root 14560 Sep 21 09:45 im-multipress.so*
-rwxr-xr-x 1 root root 14400 Sep 21 09:45 im-thai.so*
-rwxr-xr-x 1 root root 23600 Sep 21 09:45 im-ti-er.so*
-rwxr-xr-x 1 root root 23600 Sep 21 09:45 im-ti-et.so*
-rwxr-xr-x 1 root root 12248 Sep 21 09:45 im-viqr.so*
-rwxr-xr-x 1 root root 31432 Sep 21 09:45 im-xim.so*

I also tried to install ibus, but it didn't crash.
Comment 9 Jelte Fennema 2016-01-13 19:21:26 UTC
I forgot to comment back to this. The workaround works, but as I said it ignores my custom .XCompose file in any program that is spawned by synapse. The immodules I have installed are these:

$ ls -l /usr/lib/gtk-3.0/3.0.0/immodules/
total 164
-rwxr-xr-x 1 root root 19416  4 jan 21:57 im-am-et.so*
-rwxr-xr-x 1 root root  6184  4 jan 21:57 im-cedilla.so*
-rwxr-xr-x 1 root root  7720  4 jan 21:57 im-cyrillic-translit.so*
-rwxr-xr-x 1 root root  8152  4 jan 21:57 im-inuktitut.so*
-rwxr-xr-x 1 root root  6832  4 jan 21:57 im-ipa.so*
-rwxr-xr-x 1 root root 14456  4 jan 21:57 im-multipress.so*
-rwxr-xr-x 1 root root 14296  4 jan 21:57 im-thai.so*
-rwxr-xr-x 1 root root 19400  4 jan 21:57 im-ti-er.so*
-rwxr-xr-x 1 root root 19400  4 jan 21:57 im-ti-et.so*
-rwxr-xr-x 1 root root  8048  4 jan 21:57 im-viqr.so*
-rwxr-xr-x 1 root root 31336  4 jan 21:57 im-xim.so*



Why was the old ebuild removed from th tree? That one was not causing problems for me and this one has a bug that makes it unusable. 

Could the old version be added back to the tree until this issue is resolved upstream?
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2018-10-14 13:06:31 UTC
[0] says it was fixed on 4 February 2018, and that was when 0.2.99.3 was released. 0.2.99.4 is in the tree now.



[0] https://bugs.launchpad.net/synapse-project/+bug/1219314