m17n-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [m17n-list] m17n-im-config crash under zh_CN locale


From: Kenichi Handa
Subject: Re: [m17n-list] m17n-im-config crash under zh_CN locale
Date: Thu, 05 Jul 2012 23:22:17 +0900

In article <address@hidden>, Daiki Ueno <address@hidden> writes:

> Under zh_CN.utf8 locale, I got a crash when double-clicking "Other" ->
> "unicode" on m17n-im-config dialog (backtrace attached).

Sorry for the late response.  I couldn't reproduce that
crash.  Does the crash happen only in zh_CN.utf8 (how about
in ja_JP.UTF-8)?  Does the crash happen only for
"Other->unicode" (how about "越南語 -> telex")?

> The bug was originally reported to ibus-setup-m17n, which shares the
> code with m17n-im-config:
> https://bugzilla.redhat.com/show_bug.cgi?id=836397

> [2:text/plain Hide]
> Program terminated with signal 11, Segmentation fault.
> #0  mtext_data (mt=0x0, address@hidden, address@hidden, 
>     address@hidden, address@hidden) at mtext.c:1745
> 1745    data = MTEXT_DATA (mt);
> Missing separate debuginfos, use: debuginfo-install 
> libthai-0.1.14-5.fc17.x86_64 nss-softokn-freebl-3.13.4-2.fc17.x86_64
> (gdb) bt
> #0  mtext_data (mt=0x0, address@hidden, address@hidden, 
>     address@hidden, address@hidden) at mtext.c:1745
> #1  0x00007f1c9d8ed586 in variable_data_string (plist=0x13f1880)
>     at mim-config.c:1073

After getting the file .gdb.util which is included in the
source of m17n-lib (under "example" subdirectory), 
could you run m17n-im-config under gdb as this?

% cd /.../m17n-im-config/src
% gdb .libs/m17n-im-config
(gdb) br variable_data_string
(gdb) source  /.../.gdb.util
(gdb) set env zh_CN.UTF-8
(gdb) run
Then, select "other -> unicode"
Breakpoint 3, variable_data_string (plist=0x8090f48) at mim-config.c:1064
(gdb) p plist
$1 = (MPlist *) 0x8090f48
(gdb) xplist
("U+")
(gdb) 

---
Kenichi Handa
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]