[Breezy Colony 5]scim refuses to start, scim-setup segfaults

Bug #2565 reported by rngadam
32
Affects Status Importance Assigned to Milestone
scim (Ubuntu)
Fix Released
Critical
MOTU

Bug Description

rngadam@ubuntu:~$ scim-setup
Loading Config Module simple
Loading Config Module socket
Loading Setup Module hangul-imengine-setup
Segmentation fault

rngadam@ubuntu:~$ scim
Smart Common Input Method 1.0.2

Launching a SCIM daemon with Socket FrontEnd...
Launching a SCIM process with x11...
SCIM has exited abnormally.

I tried following the instructions here:

http://www.mrbass.org/linux/ubuntu/scim/

Changed in scim:
assignee: nobody → motu
Revision history for this message
Ante Karamatić (ivoks) wrote :

Please update breezy and try again. It works fine here.

Revision history for this message
Ante Karamatić (ivoks) wrote :

I forgot to mention that I didn't follow any instructions, just install scim. I run scim-setup and scim without problems.

Revision history for this message
rngadam (rngadam) wrote :

I had/have the latest updates from Breezy... And it still manages to crash. I think it is specific to some engines (maybe Korean) but can't isolate yet which one is causing trouble. I desinstalled all packages and reinstalled by selecting from synaptic - including some IMEngine for Chinese and Japanese and I at least get the setup screen. Are you actually using it for CJK languages??

When you say you didn't do anything special, how exactly do you get it working? I installed it, the icon is in the icon tray but when I press CTRL-SPACE in gedit it doesn't do anything. I'd expect it to popup the list of languages...

Revision history for this message
rngadam (rngadam) wrote :

I think there is actually more than one plugin causing trouble: scim-config-gconf, scim-m17n and scim-uim at least...

Revision history for this message
Herman Bos (hbos) wrote :

Problem still there on breezy with all updates (2 Oct).

Revision history for this message
David Oftedal (rounin) wrote :

I've also experied the problem with Breezy in the last few days. Both scim-setup and scim itself crashes, and there are errors in several of the modules.

Revision history for this message
David Mandelberg (dseomn) wrote :

I can also verify this on breezy updated 2005 Oct 11.

david@helicon:~$ dpkg -l | grep scim
ii scim 1.0.2-3 Smart Common Input Method platform
ii scim-config-socket 1.0.2-3 Socket configure module for SCIM
ii scim-frontend-socket 1.0.2-3 Socket front end module for SCIM
ii scim-gtk2-immodule 1.0.2-3 GTK2 IMModule with SCIM as backend
ii scim-m17n 0.1.3-1build1 M17N Input Method Engine for SCIM
ii scim-server-socket 1.0.2-3 Socket IM engine module for SCIM
david@helicon:~$ scim-setup
Loading Config Module simple
Loading Config Module socket
Loading Setup Module panel-gtk-setup
Loading Setup Module table-imengine-setup
Segmentation fault

Revision history for this message
David Mandelberg (dseomn) wrote : scim-setup gdb output

It looks like an allocation problem, but IDK.

Revision history for this message
David Oftedal (rounin) wrote :

At any rate, surely it must be fixed by rebuilding all the packages? It's a bit scary that they're planning to release Ubuntu with one of the major multilingual IM systems nonfunctional.

Revision history for this message
David Mandelberg (dseomn) wrote :

Majorly off topic, but...
AFAICT, Breezy isn't exactly the paragon of stability, it's really a preparation for the the "real" release, Drapper Drake. Breezy had all the major transitions and huge feature additions, so there wasn't as much time for ironing out smaller bugs. At least Drapper should be stable.

Revision history for this message
David Oftedal (rounin) wrote :

Hi, fellow David! :)

Thanks for the explanation. And sorry for derailing the bugzilla, hehe :D

Revision history for this message
David Oftedal (rounin) wrote :

I take back what I said about recompiling the packages though. I just recompiled the offending packages from source, and I get the same segfault error. In other words, there might also be an issue with SCIM itself.

Revision history for this message
Douglas Anderson (douglas-anderson) wrote :

Any work being done on this?
I'm having same problems... can't input anything, all programs hang before loading, setup program segaults... etc. (all on clean install of Breezy)
Like was mentioned above, it's crazy Breezy released with the #1 language IM segfaulting. This should be a critical... obviously everyone here can get by writing English, but we DO have Japanese, Chinese, Korean (etc) users that need this functionality, not in a couple weeks or in the next release... now. I suggest a severity level increase.
Seems to me the lack of a working IM really undermines the good work done for Breezy, especially considering Ubuntu totes itself as distro for all walks of people.... as long as you speak English, right?
Just my 2 cents.

Revision history for this message
David Mandelberg (dseomn) wrote :

I went to #ubuntu-motu and freeflying told me about his/her updated scim debs at http://svn.ubuntu.org.cn/ubuntu-cn/dists/breezy/main/binary-i386/scim/ . I haven't tried yet, but they work for him/her.

Revision history for this message
David Oftedal (rounin) wrote :

And in relation to what you said, Douglas, UIM, which is currently the only alternative, also has a bug which makes it crash from time to time when you switch input methods. IIIMF appears to have very little functionality in Ubuntu at all, which leaves us with more or less nothing, except perhaps for some single-language XIM input methods. It's not a good day for multilingual Ubuntu users. Those updated debs look promising, though. I know a bug has been filed to update SCIM as well.

Revision history for this message
Douglas Anderson (douglas-anderson) wrote :

I haven't installed the new .debs mentioned by David M. but just took a quick look at the package list and noticed no updated 'scim-uim'. A few days ago I narrowed down the package that causes the hangs and scim-setup segfault by uninstalling that package, and it gives me SCIM and access to setup, but of course no input. hmm... Maybe I'll be adventurous and try those .debs out later.

Revision history for this message
David Mandelberg (dseomn) wrote :

There's no one package that causes problems, here's a list of packages and problems:

scim-chewing: works for me
scim-chinese: works for me
scim-config-gconf: works for me
scim-config-simple: works for me
scim-config-socket: works for me
scim-frontend-socket: works for me
scim-frontend-x11: works for me
scim-gtk2-immodule: works for me
scim-hangul: works for me
scim-m17n: scim-setup fails for me
scim-server-socket: works for me
scim-uim: scim-setup and input fails for Douglas Anderson and me

Please make any additions/corrections as necessary.

Revision history for this message
David Oftedal (rounin) wrote :

I wish I could say scim-anthy worked, but it seems to have been removed from the repository altogether... Anyone know what that's all about?

Revision history for this message
rngadam (rngadam) wrote :

I found this thread here:
http://archives.free.net.ph/message/20050825.040513.b5086449.en.html

I still haven't got it to work for both Chinese and Japanese on Breezy. In fact, even French input is a pain compared to Windows.

On Windows, it is quite easy: I use the control panel to add both keyboard layouts and IME and get a nice little icon in the taskbar to switch between Japanese, Chinese (pinyin and bopomofo), French and US English. This seems to be difficult to impossible on Breezy!

Part of the problem seems to be that Japaneses are developing their own thing and Chineses their own thing and both can't be bothered to make it work together... As usual!

As it stand, Ubuntu is practically useless for a third of the planet (excluding the developers of the Linux IME themselves of course...). This needs to be solved at the core of the distro and should be the number one priority for the next Ubuntu...

In the meantime, if anyone could point out to a step by step procedure to get it to work on Breezy I'd appreciate it!

Revision history for this message
David Oftedal (rounin) wrote :

Well, mainly you'd have to stop it form segfaulting... And then usually it works by itself... Just hit Ctrl-Space and you're good to go, at least in GTK+2-based applications. We'll just have to wait and see, I guess.

Revision history for this message
Douglas Anderson (douglas-anderson) wrote :

rngadam, you're right, UIM is developed by Japanese, while SCIM is developed by Chinese, but I think that lately a lot of work has been done to integrate Japanese naturally into SCIM (not so much work done to get Chinese working nice in UIM, which is why many people prefer SCIM). I don't know about getting Chinese to work or what, but this link will get you working Japanese, and even has something about inputting in a French environment, not sure if that'll help you at all, but:
https://wiki.ubuntu.com/JapaneseInputHowToInBreezy

Also you could be one of the brave ones and try out those new .deb files linked to by David Mandelberg and let us know how they work. I'm not sure how to go about installing those or if you need to mix repository files with those or what... does anyone want to say how we might go about testing those files?

Revision history for this message
David Mandelberg (dseomn) wrote :

I don't know if it's possible to just add a sources.list line, but the manual way to install them is to download the .debs you want and run "sudo dpkg --install file.deb".

Revision history for this message
David Oftedal (rounin) wrote :

I tried installing them earlier today, and although they worked, it wasn't possible to install any of the necessary input modules, because... they requied the older version of SCIM.

If someone made debs for all the modules as well, then that might actually work, though.

Revision history for this message
HPNadig (hpnadig) wrote :

any updates on this, folks? I'm having a tough time here trying to reach the scim debs and at the same time scim-m17n debs to replace the buggy ones on breezy.

Revision history for this message
David Oftedal (rounin) wrote :

The problem's being addressed in the development branch of Dapper, and currently only a few modules are non-functional in Dapper. Unfortunately some of these are rather important: Hangul, tables, and the one that contains setup, for instance.

Revision history for this message
Shreevatsa R (shreevatsa) wrote :

I need to get scim and scim-m17n working (Kannada input). So can I get a patched version somewhere (the http://svn.ubuntu.org.cn/ubuntu-cn/dists/breezy/main/binary-i386/scim/ link above does not include scim-m17n), or do you suggest I take the risk and try upgrading to Dapper?

Revision history for this message
David Oftedal (rounin) wrote :

No. I did that and it worked for a while, but at one point when I rebooted, gnome or X had ceased to function altogether. There are other SCIM repositories in existence though, both a Chinese one and a Japanese one, and perhaps one of them has scim-m17n. I haven't tried combining packages from all of them yet, but it might work.

Revision history for this message
David Mandelberg (dseomn) wrote :

You can get Kannada input without an input method. In System > Preferences > Keyboard, go to the Layouts tab and add the Kannada layout. Then go to the Layout Options tab and under Group Shift/Lock behavior, pick a key combination(s) to switch between your current layout and Kannada.

Revision history for this message
HPNadig (hpnadig) wrote :

Nope. That Layout is a different one than the one we get on SCIM. The one on SCIM-m17n is based on transliteration scheme.

For anything, I have uploaded the debs that worked for me, <a href="http://sampada.net/kannada-l10n/pub/"> here </a>. You might need to compile scim-m17n from source, though.

Revision history for this message
Phil Bull (philbull) wrote :

Does anyone still have this issue with a recent Dapper?

Changed in scim:
status: Unconfirmed → Needs Info
Revision history for this message
David Mandelberg (dseomn) wrote :

scim 1.4.4-0ubuntu1 with scim-m17n 0.1.3-2 works for me in dapper

Revision history for this message
Phil Bull (philbull) wrote :

scim works for me in Dapper.

I'm going to close this bug as fixed, please re-open it if you still get the problem on latest Dapper.

Thanks

Changed in scim:
status: Needs Info → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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