Hi, It has been a long standing problem for me since.. well, I can't remember.
While it might be the problem my input method (uim) causes, it doesn't bring a problem in the other GTK2 applications, thus I'd like to report the problem in this list. Reproducible: Always Steps to Reproduce: 1. Activate input method by Ctrl+o in the search form. 2. Enter some characters to convert. Actual Results: It gets aborted. Expected Results: I'll be happy if it accepts the search queries in my language. My environments: $ uname -a IRIX64 fuel 6.5 07202013 IP35 $ gtk-gnutella --version gtk-gnutella/0.96.4u-13974 (2007-06-23; GTK2; IRIX64 IP35) GLib 2.13.6 (compiled against 2.13.6) Gtk+ 2.11.5 (compiled against 2.11.5) Also, check the attached logs, bitte. -- Daichi
$ gtk-gnutella 07-06-27 03:43:16 (MESSAGE): language code: "ja" 07-06-27 03:43:16 (MESSAGE): using locale character set "EUC-JP" 07-06-27 03:43:16 (MESSAGE): primary filename character set "EUC-JP" 07-06-27 03:43:16 (MESSAGE): additional filename character set "UTF-8" 07-06-27 03:43:16 (MESSAGE): gtk-gnutella/0.96.4u-13974 (2007-06-23; GTK2; IRIX64 IP35) 07-06-27 03:43:16 (WARNING): [Spam SHA-1 database] unable to retrieve: tried 2 alternate locations 07-06-27 03:43:16 (WARNING): [Host Whitelist] unable to retrieve: no alternate locations known 07-06-27 03:43:16 (WARNING): searches file does not exist: /usr/people/dick/.gtk-gnutella/searches.xml 07-06-27 03:43:16 (WARNING): retrieving searches from /usr/people/dick/.gtk-gnutella/searches.xml.orig instead 07-06-27 03:43:22 (MESSAGE): NTP detected at 127.0.0.1 07-06-27 03:43:22 (MESSAGE): detected NTP-3, stratum 4, offset -0.680384 secs 07-06-27 03:43:22 (WARNING): gtk_main_flush: too much work 07-06-27 03:43:23 (WARNING): gtk_main_flush: too much work 07-06-27 03:43:27 (CRITICAL): gtk_im_context_get_preedit_string: assertion `str == NULL || g_utf8_validate (*str, -1, NULL)' failed 07-06-27 03:43:27 (CRITICAL): gtk_im_context_get_preedit_string: assertion `str == NULL || g_utf8_validate (*str, -1, NULL)' failed 07-06-27 03:43:27 (CRITICAL): gtk_im_context_get_preedit_string: assertion `str == NULL || g_utf8_validate (*str, -1, NULL)' failed 07-06-27 03:43:27 (CRITICAL): gtk_im_context_get_preedit_string: assertion `str == NULL || g_utf8_validate (*str, -1, NULL)' failed 07-06-27 03:43:27 (WARNING): Invalid UTF-8 string passed to pango_layout_set_text() 07-06-27 03:43:27 (CRITICAL): pango_layout_get_cursor_pos: assertion `index >= 0 && index <= layout->length' failed 07-06-27 03:43:27 (CRITICAL): pango_layout_get_cursor_pos: assertion `index >= 0 && index <= layout->length' failed 07-06-27 03:43:27 (CRITICAL): pango_layout_get_cursor_pos: assertion `index >= 0 && index <= layout->length' failed 07-06-27 03:43:27 (CRITICAL): gtk_im_context_get_preedit_string: assertion `str == NULL || g_utf8_validate (*str, -1, NULL)' failed 07-06-27 03:43:27 (CRITICAL): gtk_im_context_get_preedit_string: assertion `str == NULL || g_utf8_validate (*str, -1, NULL)' failed 07-06-27 03:43:27 (CRITICAL): gtk_im_context_get_preedit_string: assertion `str == NULL || g_utf8_validate (*str, -1, NULL)' failed 07-06-27 03:43:27 (CRITICAL): gtk_im_context_get_preedit_string: assertion `str == NULL || g_utf8_validate (*str, -1, NULL)' failed 07-06-27 03:43:27 (WARNING): Invalid UTF-8 string passed to pango_layout_set_text() 07-06-27 03:43:33 (CRITICAL): gtk_im_context_get_preedit_string: assertion `str == NULL || g_utf8_validate (*str, -1, NULL)' failed 07-06-27 03:43:33 (CRITICAL): gtk_im_context_get_preedit_string: assertion `str == NULL || g_utf8_validate (*str, -1, NULL)' failed 07-06-27 03:43:33 (CRITICAL): pango_layout_get_cursor_pos: assertion `index >= 0 && index <= layout->length' failed 07-06-27 03:43:33 (CRITICAL): pango_layout_get_cursor_pos: assertion `index >= 0 && index <= layout->length' failed 07-06-27 03:43:33 (CRITICAL): pango_layout_get_cursor_pos: assertion `index >= 0 && index <= layout->length' failed 07-06-27 03:43:34 (CRITICAL): gtk_im_context_get_preedit_string: assertion `str == NULL || g_utf8_validate (*str, -1, NULL)' failed 07-06-27 03:43:34 (CRITICAL): gtk_im_context_get_preedit_string: assertion `str == NULL || g_utf8_validate (*str, -1, NULL)' failed 07-06-27 03:43:35 (CRITICAL): gtk_im_context_get_preedit_string: assertion `str == NULL || g_utf8_validate (*str, -1, NULL)' failed 07-06-27 03:43:35 (CRITICAL): gtk_im_context_get_preedit_string: assertion `str == NULL || g_utf8_validate (*str, -1, NULL)' failed CRASH (pid=386988) by SIGSEGV Abort (core dumped)
$ dbx /usr/local/bin/gtk-gnutella
dbx version 7.2.1 Mar 13 1998 19:00:36
Unknown processor type 0xf, assuming R4000.
Overlapping regions: finding functions/setting breakpoints
may not work reliably till program is run (rld moves DSOs,
removing overlaps).
Overlapping regions: 0x5fb50000 to 0x5ff08000 and 0x5fea0000 to 0x5ffd0000
Executable /usr/local/bin/gtk-gnutella
(dbx) run
Process 387026 (gtk-gnutella) started
07-06-27 03:41:06 (MESSAGE): language code: "ja"
07-06-27 03:41:06 (MESSAGE): using locale character set "EUC-JP"
07-06-27 03:41:06 (MESSAGE): primary filename character set "EUC-JP"
07-06-27 03:41:06 (MESSAGE): additional filename character set "UTF-8"
07-06-27 03:41:06 (MESSAGE): gtk-gnutella/0.96.4u-13974 (2007-06-23; GTK2;
IRIX64 IP35)
07-06-27 03:41:06 (WARNING): [Spam SHA-1 database] unable to retrieve: tried 2
alternate locations
07-06-27 03:41:06 (WARNING): [Host Whitelist] unable to retrieve: no alternate
locations known
07-06-27 03:41:06 (WARNING): searches file does not exist:
/usr/people/dick/.gtk-gnutella/searches.xml
07-06-27 03:41:06 (WARNING): retrieving searches from
/usr/people/dick/.gtk-gnutella/searches.xml.orig instead
07-06-27 03:41:12 (MESSAGE): NTP detected at 127.0.0.1
07-06-27 03:41:12 (MESSAGE): detected NTP-3, stratum 4, offset -0.688801 secs
07-06-27 03:41:12 (WARNING): gtk_main_flush: too much work
07-06-27 03:41:13 (WARNING): gtk_main_flush: too much work
07-06-27 03:41:18 (CRITICAL): gtk_im_context_get_preedit_string: assertion `str
== NULL || g_utf8_validate (*str, -1, NULL)' failed
07-06-27 03:41:18 (CRITICAL): gtk_im_context_get_preedit_string: assertion `str
== NULL || g_utf8_validate (*str, -1, NULL)' failed
07-06-27 03:41:18 (CRITICAL): gtk_im_context_get_preedit_string: assertion `str
== NULL || g_utf8_validate (*str, -1, NULL)' failed
07-06-27 03:41:18 (CRITICAL): gtk_im_context_get_preedit_string: assertion `str
== NULL || g_utf8_validate (*str, -1, NULL)' failed
07-06-27 03:41:18 (WARNING): Invalid UTF-8 string passed to
pango_layout_set_text()
07-06-27 03:41:18 (CRITICAL): pango_layout_get_cursor_pos: assertion `index >=
0 && index <= layout->length' failed
07-06-27 03:41:18 (CRITICAL): pango_layout_get_cursor_pos: assertion `index >=
0 && index <= layout->length' failed
07-06-27 03:41:18 (CRITICAL): pango_layout_get_cursor_pos: assertion `index >=
0 && index <= layout->length' failed
07-06-27 03:41:18 (CRITICAL): gtk_im_context_get_preedit_string: assertion `str
== NULL || g_utf8_validate (*str, -1, NULL)' failed
07-06-27 03:41:18 (CRITICAL): gtk_im_context_get_preedit_string: assertion `str
== NULL || g_utf8_validate (*str, -1, NULL)' failed
Process 387026 (gtk-gnutella) stopped on signal SIGSEGV: Segmentation violation
(handler sig_fixup_mask) at [realfree:527 +0x4,0xfa448a8]
Source (of
/xlv52/patches/7143/work/irix/lib/libc/libc_n32_M4/gen/malloc.c) not available
for Process 387026
(dbx) l
Source (of
/xlv52/patches/7143/work/irix/lib/libc/libc_n32_M4/gen/malloc.c) not available
for Process 387026
(dbx) t
> 0 realfree(0x10b95d78, 0x9, 0x1074873e, 0xffffff, 0xfffffc, 0x1074873f, 0x0,
> 0xfb4fa0c)
> ["/xlv52/patches/7143/work/irix/lib/libc/libc_n32_M4/gen/malloc.c":527,
> 0xfa448a8]
1 cleanfree(0x10748738, 0x9, 0x1074873e, 0xffffff, 0xfffffc, 0x1074873f,
0x0, 0xfb4fa0c)
["/xlv52/patches/7143/work/irix/lib/libc/libc_n32_M4/gen/malloc.c":944,
0xfa4483c]
2 _realloc(0x10748738, 0x9, 0x1074873e, 0xffffff, 0xfffffc, 0x1074873f, 0x0,
0xfb4fa0c)
["/xlv52/patches/7143/work/irix/lib/libc/libc_n32_M4/gen/malloc.c":329,
0xfa49f0c]
3 get_preedit_segment(ps = 0x10b80c60, attrs = 0x909adf8, str = 0x10748738 =
"\020t\205\0208\343\202\217")
["/opt/src/desktop/freedesktop.org/uim-1.4.1/gtk/gtk-im-uim.c":262, 0x4d06fa8]
4 cleanfree(0x10748738, 0x9, 0x1074873e, 0xffffff, 0xfffffc, 0x1074873f,
0x0, 0xfb4fa0c)
["/xlv52/patches/7143/work/irix/lib/libc/libc_n32_M4/gen/malloc.c":944,
0xfa4483c]
5 <Unknown>() [< unknown >, 0x7ffedae4]
(dbx)
$ gdb gtk-gnutella
GNU gdb 6.3
Copyright 2004 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 "mips-sgi-irix6.5"...
(gdb) run
Starting program: /usr/local/bin/gtk-gnutella
07-06-27 03:45:00 (MESSAGE): language code: "ja"
07-06-27 03:45:00 (MESSAGE): using locale character set "EUC-JP"
07-06-27 03:45:00 (MESSAGE): primary filename character set "EUC-JP"
07-06-27 03:45:00 (MESSAGE): additional filename character set "UTF-8"
07-06-27 03:45:00 (MESSAGE): gtk-gnutella/0.96.4u-13974 (2007-06-23; GTK2;
IRIX64 IP35)
Program received signal ?, Unknown signal.
0x0fa43324 in getenv () at getenv.c:31
31 getenv.c: そのようなファイルまたはディレクトリはありません.
in getenv.c
(gdb)
$ dbx /usr/local/bin/gtk-gnutella
dbx version 7.2.1 Mar 13 1998 19:00:36
Unknown processor type 0xf, assuming R4000.
Core from signal SIGABRT: Abort (see abort(3c))
(dbx) l
Source (of
/xlv52/patches/7143/work/irix/lib/libc/libc_n32_M4/proc/prctl.s) not available
for Process -1
(dbx) t
> 0 _prctl(0x15, 0x4, 0xffff, 0x0, 0x0, 0x14548, 0x1021abe8, 0x0)
> ["/xlv52/patches/7143/work/irix/lib/libc/libc_n32_M4/proc/prctl.s":15,
> 0xfa4ac28]
1 pthread_kill(0x0, 0x6, 0x8000, 0x0, 0x0, 0x14548, 0x1021abe8, 0x0)
["/xlv41/6.5.30m/work/eoe/lib/libpthread/libpthread_n32_M3/sig.c":150,
0xc0e00c4]
2 _SGIPT_libc_raise(0x0, 0x4, 0xffff, 0x0, 0x0, 0x14548, 0x1021abe8, 0x0)
["/xlv41/6.5.30m/work/eoe/lib/libpthread/libpthread_n32_M3/sig.c":660,
0xc0e10d8]
3 _raise(0x15, 0x4, 0xffff, 0x0, 0x0, 0x14548, 0x1021abe8, 0x0)
["/xlv52/patches/7143/work/irix/lib/libc/libc_n32_M4/signal/raise.c":26,
0xfad1f6c]
4 crash_handler(signo = 10)
["/opt/src/network/gnutella/gtk-gnutella/src/lib/crash.c":175, 0x1021add0]
5 pthread_kill()
["/xlv41/6.5.30m/work/eoe/lib/libpthread/libpthread_n32_M3/sig.c":150,
0xc0e00c4]
(dbx)
$ gdb gtk-gnutella core
GNU gdb 6.3
Copyright 2004 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 "mips-sgi-irix6.5"...
Core was generated by `gtk-gnutella'.
Program terminated with signal 6, Aborted.
warning: wrong size gregset struct in core file
Reading symbols from /usr/local/lib/libgtk-x11-2.0.so.1...done.
Loaded symbols for /usr/local/lib/libgtk-x11-2.0.so.1
Reading symbols from /usr/local/lib/libgdk-x11-2.0.so.1...done.
Loaded symbols for /usr/local/lib/libgdk-x11-2.0.so.1
Reading symbols from /usr/local/lib/libatk-1.0.so.1...done.
Loaded symbols for /usr/local/lib/libatk-1.0.so.1
Reading symbols from /usr/local/lib/libgdk_pixbuf-2.0.so.1...done.
Loaded symbols for /usr/local/lib/libgdk_pixbuf-2.0.so.1
Reading symbols from /usr/lib32/libm.so...done.
Loaded symbols for /usr/lib32/libm.so
Reading symbols from /usr/local/lib/libpangocairo-1.0.so.1...done.
Loaded symbols for /usr/local/lib/libpangocairo-1.0.so.1
Reading symbols from /usr/local/lib/libpango-1.0.so.1...done.
Loaded symbols for /usr/local/lib/libpango-1.0.so.1
Reading symbols from /usr/local/lib/libcairo.so.3...done.
Loaded symbols for /usr/local/lib/libcairo.so.3
Reading symbols from /usr/local/lib/libgobject-2.0.so.1...done.
Loaded symbols for /usr/local/lib/libgobject-2.0.so.1
Reading symbols from /usr/local/lib/libgmodule-2.0.so.1...done.
Loaded symbols for /usr/local/lib/libgmodule-2.0.so.1
Reading symbols from /usr/local/lib/libglib-2.0.so.1...done.
Loaded symbols for /usr/local/lib/libglib-2.0.so.1
Reading symbols from /usr/local/lib/libintl.so.9...done.
Loaded symbols for /usr/local/lib/libintl.so.9
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /usr/local/lib/libxml2.so.3...done.
Loaded symbols for /usr/local/lib/libxml2.so.3
Reading symbols from /usr/local/lib/libsocker.so.1...done.
Loaded symbols for /usr/local/lib/libsocker.so.1
Reading symbols from /usr/local/lib/libz.so.1.2.3...done.
Loaded symbols for /usr/local/lib/libz.so.1.2.3
Reading symbols from /usr/lib32/libc.so.1...done.
Loaded symbols for /usr/lib32/libc.so.1
Reading symbols from /usr/lib32/libX11.so.1...done.
Loaded symbols for /usr/lib32/libX11.so.1
Reading symbols from /usr/local/lib/libXcomposite.so.1...done.
Loaded symbols for /usr/local/lib/libXcomposite.so.1
Reading symbols from /usr/local/lib/libXdamage.so.1...done.
Loaded symbols for /usr/local/lib/libXdamage.so.1
Reading symbols from /usr/local/lib/libXfixes.so.3...done.
Loaded symbols for /usr/local/lib/libXfixes.so.3
Reading symbols from /usr/local/lib/libfontconfig.so.2...done.
Loaded symbols for /usr/local/lib/libfontconfig.so.2
Reading symbols from /usr/lib32/libXext.so...done.
Loaded symbols for /usr/lib32/libXext.so
Reading symbols from /usr/local/lib/libXrender.so.1...done.
Loaded symbols for /usr/local/lib/libXrender.so.1
Reading symbols from /usr/local/lib/libXrandr.so.2...done.
Loaded symbols for /usr/local/lib/libXrandr.so.2
Reading symbols from /usr/local/lib/libpangoft2-1.0.so.1...done.
Loaded symbols for /usr/local/lib/libpangoft2-1.0.so.1
Reading symbols from /usr/local/lib/libfreetype.so.7...done.
Loaded symbols for /usr/local/lib/libfreetype.so.7
Reading symbols from /usr/local/lib/libpng12.so.0...done.
Loaded symbols for /usr/local/lib/libpng12.so.0
Reading symbols from /usr/lib32/libpthread.so...done.
Loaded symbols for /usr/lib32/libpthread.so
Reading symbols from /usr/local/lib/libexpat.so.2...done.
Loaded symbols for /usr/local/lib/libexpat.so.2
Reading symbols from
/usr/local/lib/gtk-2.0/2.10.0/engines/libclearlooks.so...done.
Loaded symbols for /usr/local/lib/gtk-2.0/2.10.0/engines/libclearlooks.so
Reading symbols from /usr/nekoware/lib/libintl.so.4...done.
Loaded symbols for /usr/nekoware/lib/libintl.so.4
Reading symbols from /usr/local/lib/gtk-2.0/2.10.0/engines/libxfce.so...done.
Loaded symbols for /usr/local/lib/gtk-2.0/2.10.0/engines/libxfce.so
Reading symbols from
/usr/local/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so...done.
Loaded symbols for /usr/local/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
Reading symbols from
/usr/local/lib/pango/1.6.0/modules/pango-basic-fc.so...done.
Loaded symbols for /usr/local/lib/pango/1.6.0/modules/pango-basic-fc.so
Reading symbols from /usr/local/lib/gtk-2.0/2.10.0/immodules/im-uim.so...done.
Loaded symbols for /usr/local/lib/gtk-2.0/2.10.0/immodules/im-uim.so
Reading symbols from /usr/local/lib/libuim.so.6...done.
Loaded symbols for /usr/local/lib/libuim.so.6
Reading symbols from /usr/lib32/libsocket.so...done.
Loaded symbols for /usr/lib32/libsocket.so
Reading symbols from /usr/lib32/libdl.so...done.
Loaded symbols for /usr/lib32/libdl.so
Reading symbols from /usr/local/lib/libgcroots.so.1...done.
Loaded symbols for /usr/local/lib/libgcroots.so.1
Reading symbols from /usr/local/lib/uim/plugin/libuim-anthy.so...done.
Loaded symbols for /usr/local/lib/uim/plugin/libuim-anthy.so
Reading symbols from /usr/local/lib/libanthy.so.1...done.
Loaded symbols for /usr/local/lib/libanthy.so.1
Reading symbols from /usr/local/lib/libanthydic.so.1...done.
Loaded symbols for /usr/local/lib/libanthydic.so.1
Reading symbols from
/usr/local/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so...done.
Loaded symbols for /usr/local/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
warning: wrong size gregset struct in core file
#0 0x00000000 in ?? ()
(gdb) l
1138 exit(EXIT_FAILURE);
1139 }
1140 }
1141
1142 }
1143
1144 int
1145 main(int argc, char **argv)
1146 {
1147 if (compat_is_superuser()) {
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x00000000 in ?? ()
Previous frame identical to this frame (corrupt stack?)
(gdb)
pgpYKm7CoY3Bb.pgp
Description: PGP signature
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ Gtk-gnutella-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel
