데비안에서 나온 버그입니다. 버전이 1.0.11이긴 하지만 마찬가지일 것 같네요...
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=185861
Package: ami
Version: 1.0.11-6
Severity: important
I'm using two screens in X, so-called dual display environment.
(But, that is not a dual display by the definition of X since
single input device is used.)
When I run ami in :0.0 (the name of DISPLAY environment) and run
mozilla in :0.1 ami crashes. When I run ami in :0.1 and run
mozilla in :0.1 ami works, but when I run gnome-terminal that accepts
XIM in :0.0 ami crashes.
As the same reason, I cannot use ami-applet.
I guess that ami does not distinguish the screen of X client.
kinput2, a Japanese input server, works in this environment.
Here is the output of 'gdb ami'.
$ gdb ami
GNU gdb 5.3-debian
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-linux"...(no debugging symbols found)...
(gdb) run
Starting program: /usr/bin/ami
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
Gdk-ERROR **: BadGC (invalid GC parameter)
serial 577 error_code 13 request_code 60 minor_code 0
(no debugging symbols found)...(no debugging symbols found)...
Program exited with code 01.
(gdb) where
No stack.
(gdb)