Bug#402869: scim: scim-setup dies at start-up

2006-12-13 Thread Roland Mas
Package: scim
Version: 1.4.4-5
Severity: important

$ scim-setup  /tmp/foo
[Nothing happens for a few seconds, then I get my prompt back]
$ less -N /tmp/foo
  1
  2 (scim-setup:11573): Gtk-CRITICAL **: gtk_widget_set_sensitive: 
assertion `GTK_IS  2 _WIDGET (widget)' failed
  3
  4 (scim-setup:11573): Gtk-CRITICAL **: gtk_widget_set_sensitive: 
assertion `GTK_IS  4 _WIDGET (widget)' failed
  5 ERROR: could not open init.scm (see errobj)
  6
  7 *backtrace*
  8 (require init.scm)
  9 (*catch (quote errobj) (require init.scm))
 10 (eq? (quote *init.scm-loaded*) (*catch (quote errobj) (require 
init.scm)))
 11
 12 ERROR: unbound variable (errobj create-context)
 13
 14 *backtrace*
 15 (create-context 0 (quote ()) (quote ()))
 16
 17 ERROR: unbound variable (errobj release-context)
 18
 19 *backtrace*
 20 (release-context 0)
 21 ERROR: type number out of range
 22
 23 *backtrace*
 24 (release-context 0)
 25 ERROR: type number out of range
[...]
   5959 *backtrace*
   5960 (release-context 0)
   5961 ERROR: type number out of range
   5962
   5963 *backtrace*
   5964 (release-context 0)
   5965 ERROR: type number out of range
   5966
   5967 *backtrace*
   5968 ERROR: the currently assigned stack limit has been exceeded
   5969
   5970 *backtrace*
   5971 ERROR: the currently assigned stack limit has been exceeded
   5972
   5973 *backtrace*
   5974 ERROR: the currently assigned stack limit has been exceeded
[...]
 174759 *backtrace*
 174760 ERROR: the currently assigned stack limit has been exceeded
 174761
 174762 *backtrace*
 174763 ERROR: the currently assigned stack limit has been exceeded
 174764
 174765 *backtrace*
 174766 /usr/bin/scim-setup: line 32: 11573 Erreur de segmentation  
${exec_prefix}/lib 174766 /scim-1.0/scim-helper-launcher setup 
8034d025-bdfc-4a10-86a4-82b9461b32b0 $*

It's a good thing SCIM is already configured on this account, because
I apparently can't get the configurator to run.  The bug also exists
on a freshly created account (like my guest account, whose home
directory gets wiped at each boot).  If that helps, here's the list of
installed methods:

$ LANG=C dpkg -l scim* | cat
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
ii  scim   1.4.4-5smart common input method platform
ii  scim-anthy 1.2.1-1SCIM IMEngine module for Anthy
un  scim-canna none (no description available)
un  scim-chewing   none (no description available)
un  scim-chinese   none (no description available)
un  scim-config-gconf  none (no description available)
pn  scim-config-socket none (no description available)
pn  scim-frontend-socket   none (no description available)
ii  scim-gtk2-immodule 1.4.4-5GTK+2 input method module with SCIM 
as backe
un  scim-hangulnone (no description available)
ii  scim-m17n  0.1.3-2M17N Input Method Engine for SCIM
ii  scim-modules-socket1.4.4-5socket modules for SCIM platform
ii  scim-modules-table 0.5.6-2generic tables IM engine module for 
SCIM pla
un  scim-pinyinnone (no description available)
un  scim-prime none (no description available)
pn  scim-server-socket none (no description available)
ii  scim-skk   0.5.2-4SCIM IMEngine module like SKK input 
method
ii  scim-tables-additional 0.5.6-2miscellaneous input method data 
tables for S
ii  scim-tables-ja 0.5.6-2Japanese input method data tables for 
SCIM p
un  scim-tables-ko none (no description available)
ii  scim-tables-zh 0.5.6-2Chinese input method data tables for 
SCIM pl
ii  scim-uim   0.1.4-1+b2 UIM IM engine module for SCIM platform


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-xen-k7
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages scim depends on:
ii  libatk1.0-0  1.12.3-1The ATK accessibility toolkit
ii  libc62.3.6.ds1-9 GNU C Library: Shared libraries
ii  libcairo21.2.4-4 The Cairo 2D vector graphics libra
ii  libfontconfig1   2.4.2-1 generic font configuration library
ii  libgcc1  1:4.1.1-21  GCC support library
ii  libglib2.0-0 2.12.4-2The GLib library of C routines
ii  libgtk2.0-0 

Bug#402869: scim: scim-setup dies at start-up

2006-12-13 Thread Ming Hua
Hi Roland,

Thanks for the report.

On Wed, Dec 13, 2006 at 10:05:38AM +0100, Roland Mas wrote:
 
 $ scim-setup  /tmp/foo
 [Nothing happens for a few seconds, then I get my prompt back]
 $ less -N /tmp/foo
[...]
   5 ERROR: could not open init.scm (see errobj)

This looks like UIM stuff.  Can you please remove scim-uim and test
again?

[...]
  174765 *backtrace*
  174766 /usr/bin/scim-setup: line 32: 11573 Erreur de segmentation  
 ${exec_prefix}/lib 174766 /scim-1.0/scim-helper-launcher setup 
 8034d025-bdfc-4a10-86a4-82b9461b32b0 $*

Of course, scim-setup segfaults when scim-uim goes wrong is probably
still a bug in scim itself.

 If that helps, here's the list of installed methods:

Yes, that helped.  But I wonder why there is no scim reportbug script
output in your report, while you apparently use reportbug.

Ming
2006.12.13


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#402869: scim: scim-setup dies at start-up

2006-12-13 Thread Roland Mas
Ming Hua, 2006-12-13 03:58:26 -0600 :

 On Wed, Dec 13, 2006 at 10:05:38AM +0100, Roland Mas wrote:
 
 $ scim-setup  /tmp/foo
 [Nothing happens for a few seconds, then I get my prompt back]
 $ less -N /tmp/foo
 [...]
   5 ERROR: could not open init.scm (see errobj)

 This looks like UIM stuff.  Can you please remove scim-uim and test
 again?

You're right.  Removing scim-uim fixed the problem.

 [...]
  174765 *backtrace*
  174766 /usr/bin/scim-setup: line 32: 11573 Erreur de segmentation  
 ${exec_prefix}/lib 174766 /scim-1.0/scim-helper-launcher setup 
 8034d025-bdfc-4a10-86a4-82b9461b32b0 $*

 Of course, scim-setup segfaults when scim-uim goes wrong is probably
 still a bug in scim itself.

  Yes, but I can live with that since I don't use UIM (I think :-)

 If that helps, here's the list of installed methods:

 Yes, that helped.  But I wonder why there is no scim reportbug script
 output in your report, while you apparently use reportbug.

  Ah, it's because I didn't really use reportbug.  I used
M-x debian-bug under Emacs (provided by the package debian-el), and
apparently it doesn't run the hook scripts.  Here's the relevant info
(after removing scim-uim -- libuim3 and libuim-data were removed
automagically by aptitude):

$ dpkg-query -l *scim* | grep ^ii
ii  libscim8c2a1.4.4-5library for SCIM platform
ii  scim   1.4.4-5smart common input method platform
ii  scim-anthy 1.2.1-1SCIM IMEngine module for Anthy
ii  scim-gtk2-immodule 1.4.4-5GTK+2 input method module with SCIM 
as backe
ii  scim-m17n  0.1.3-2M17N Input Method Engine for SCIM
ii  scim-modules-socket1.4.4-5socket modules for SCIM platform
ii  scim-modules-table 0.5.6-2generic tables IM engine module for 
SCIM pla
ii  scim-skk   0.5.2-4SCIM IMEngine module like SKK input 
method
ii  scim-tables-additional 0.5.6-2miscellaneous input method data 
tables for S
ii  scim-tables-ja 0.5.6-2Japanese input method data tables for 
SCIM p
ii  scim-tables-zh 0.5.6-2Chinese input method data tables for 
SCIM pl
$ echo \$XMODIFIERS=$XMODIFIERS
$XMODIFIERS=
$ echo \$GTK_IM_MODULE=$GTK_IM_MODULE
$GTK_IM_MODULE=scim
$ ls -R /usr/lib/scim-1.0
/usr/lib/scim-1.0:
1.4.0  scim-helper-launcher  scim-helper-manager  scim-launcher  scim-panel-gtk

/usr/lib/scim-1.0/1.4.0:
Config  Filter  FrontEnd  Helper  IMEngine  SetupUI

/usr/lib/scim-1.0/1.4.0/Config:
simple.so  socket.so

/usr/lib/scim-1.0/1.4.0/Filter:
sctc.so

/usr/lib/scim-1.0/1.4.0/FrontEnd:
socket.so  x11.so

/usr/lib/scim-1.0/1.4.0/Helper:
anthy-imengine-helper.a  anthy-imengine-helper.la  anthy-imengine-helper.so  
setup.so

/usr/lib/scim-1.0/1.4.0/IMEngine:
anthy.la  libanthy.a  m17n.so skk.la  socket.so
anthy.so  libskk.arawcode.so  skk.so  table.so

/usr/lib/scim-1.0/1.4.0/SetupUI:
aaa-frontend-setup.solibanthy-imengine-setup.a  skk-imengine-setup.so
aaa-imengine-setup.solibskk-imengine-setup.atable-imengine-setup.so
anthy-imengine-setup.la  panel-gtk-setup.so
anthy-imengine-setup.so  skk-imengine-setup.la

Roland.
-- 
Roland Mas

La tradition orale, c'est comme un vieux fromage [...] -- Le Blaire
  -- Signatures à collectionner, série n°2, partie 1/3.




Bug#402869: scim: scim-setup dies at start-up

2006-12-13 Thread Osamu Aoki
Hi,

On Wed, Dec 13, 2006 at 10:05:38AM +0100, Roland Mas wrote:
 Package: scim
 Version: 1.4.4-5
 Severity: important
 
 $ scim-setup  /tmp/foo
 [Nothing happens for a few seconds, then I get my prompt back]

Are you in X or in the plain linux console.

Here with the same command line, I get set-up dialogue screen from my
gnome-terminal. (sid)

(I closed it and I got prompt.)

 $ less -N /tmp/foo
   1
   2 (scim-setup:11573): Gtk-CRITICAL **: gtk_widget_set_sensitive: 
 assertion `GTK_IS  2 _WIDGET (widget)' failed
   3
   4 (scim-setup:11573): Gtk-CRITICAL **: gtk_widget_set_sensitive: 
 assertion `GTK_IS  4 _WIDGET (widget)' failed

These 2 lines I get the too but nothing more.

...
 $ LANG=C dpkg -l scim* | cat
...
[EMAIL PROTECTED]:~$ dpkg -l scim\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version  Description
+++---
ii  scim 1.4.4-5  smart common input method 
platform
ii  scim-anthy   1.2.1-1  SCIM IMEngine module for 
Anthy
ii  scim-bridge  0.2.4-1  Yet another gtk-immodule 
for SCIM
ii  scim-canna   1.0.0-2  SCIM IMEngine module for 
Canna
ii  scim-chewing 0.3.1-1  Chewing IM engine module 
for SCIM
ii  scim-chinese 0.5.0-2  smart pinyin IM engine 
for SCIM (transitional package)
un  scim-config-gconfnone   (no description available)
un  scim-config-socket   none   (no description available)
ii  scim-dev 1.4.4-5  development files for 
SCIM platform
ii  scim-dev-doc 1.4.4-5  development documentation 
for SCIM platform
un  scim-frontend-socket none   (no description available)
ii  scim-gtk2-immodule   1.4.4-5  GTK+2 input method module 
with SCIM as backend
ii  scim-hangul  0.2.2-1  Hangul Input Method 
Engine for SCIM
ii  scim-m17n0.1.3-2  M17N Input Method Engine 
for SCIM
ii  scim-modules-socket  1.4.4-5  socket modules for SCIM 
platform
ii  scim-modules-table   0.5.6-2  generic tables IM engine 
module for SCIM platform
ii  scim-pinyin  0.5.0-2  smart pinyin IM engine 
for SCIM platform
ii  scim-prime   1.0.0-2  SCIM IMEngine module for 
PRIME
un  scim-server-socket   none   (no description available)
ii  scim-skk 0.5.2-4  SCIM IMEngine module like 
SKK input method
ii  scim-tables-additional   0.5.6-2  miscellaneous input 
method data tables for SCIM platform
ii  scim-tables-ja   0.5.6-2  Japanese input method 
data tables for SCIM platform
ii  scim-tables-ko   0.5.6-2  Korean input method data 
tables for SCIM platform
ii  scim-tables-zh   0.5.6-2  Chinese input method data 
tables for SCIM platform
ii  scim-thai0.1.0-1  Thai Input Method Engine 
for SCIM
ii  scim-uim 0.1.4-1+b2   UIM IM engine module for 
SCIM platform
[EMAIL PROTECTED]:~$ type scim-setup
scim-setup is /usr/bin/scim-setup
[EMAIL PROTECTED]:~$ dpkg -S scim-setup
scim: /usr/share/control-center-2.0/capplets/scim-setup.desktop
scim: /usr/share/doc/scim/zh_CN/figures/scim-setup-engines.png
scim: /usr/share/doc/scim/zh_CN/figures/scim-setup-panel-gtk.png
scim: /usr/share/pixmaps/scim-setup.png
scim: /usr/bin/scim-setup
scim: /usr/share/doc/scim/zh_CN/figures/scim-setup-frontend-x11.png
scim: /usr/share/doc/scim/zh_CN/figures/scim-setup-splash.png



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#402869: scim: scim-setup dies at start-up

2006-12-13 Thread Roland Mas
Osamu Aoki, 2006-12-13 19:30:22 +0900 :

 Are you in X or in the plain linux console.

X (and Gnome).

Since there's Ming Hua's workaround, feel free to downgrade this bug
to normal...

Roland.
-- 
Roland Mas

It would be hard to be deader without special training.
  -- in Theatre of Cruelty (Terry Pratchett)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]