Your message dated Fri, 10 Apr 2009 23:30:40 +0100
with message-id <[email protected]>
and subject line gtk+1.2 has been removed from Debian, closing #185992
has caused the Debian Bug report #185992,
regarding gdk_mbstowcs() should use mbstowcs()
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
185992: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=185992
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libgtk1.2
Version: 1.2.10-14

In gdkim.c, gdk_mbstowcs() doesn't use mbstowcs() in glibc but
XwcTextPropertyToTextList() because USE_NATIVE_LOCALE was not defined. In
result, finally mbtowc() will be called and in some case threaded
applications using gdk_mbstowcs() will dump core because mbtowc() isn't
thread-safe (see mbtowc() on-line manual).

In my case, sylpheed-vanilla ran in japanese locale(ja_JP.eucJP), got a
chinese mail (encoding: GB2312), and core dumped. gdb outputs below:
---
# gdb src/sylpheed 
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"...
(gdb) run
Starting program: /home/yosshy/sylpheed-0.8.10/sylpheed-0.8.10/src/sylpheed 
[New Thread 16384 (LWP 7069)]
sylpheed: ../iconv/loop.c:423: from_euc_jp_single: Assertion `inptr - bytebuf > 
(state->__count & 7)' が失敗しました.

Program received signal SIGABRT, Aborted.
[Switching to Thread 16384 (LWP 7069)]
0x404cda51 in kill () from /lib/libc.so.6
(gdb) bt
#0  0x404cda51 in kill () from /lib/libc.so.6
#1  0x4034024b in pthread_kill () from /lib/libpthread.so.0
#2  0x40340521 in raise () from /lib/libpthread.so.0
#3  0x404ce986 in abort () from /lib/libc.so.6
#4  0x404c7ae9 in __assert_fail () from /lib/libc.so.6
#5  0x4001327f in gconv () from /usr/lib/gconv/EUC-JP.so
#6  0x40012c0f in gconv () from /usr/lib/gconv/EUC-JP.so
#7  0x40519e9c in mbrtowc () from /lib/libc.so.6
#8  0x404cfdf4 in mbtowc () from /lib/libc.so.6   <--- here
#9  0x400188db in _init () from /usr/X11R6/lib/X11/locale/common/xlibi18n.so.2
#10 0x402080a9 in _XlcConvert () from /usr/X11R6/lib/libX11.so.6
#11 0x4020def1 in _XlcDeInitLoader () from /usr/X11R6/lib/libX11.so.6
#12 0x4020dfda in _XwcTextPropertyToTextList () from /usr/X11R6/lib/libX11.so.6
#13 0x401ea5b6 in XwcTextPropertyToTextList () from /usr/X11R6/lib/libX11.so.6
#14 0x401720b2 in gdk_mbstowcs () from /usr/lib/libgdk-1.2.so.0
#15 0x400b3638 in gtk_label_set_text () from /usr/lib/libgtk-1.2.so.0
#16 0x400b3556 in gtk_label_new () from /usr/lib/libgtk-1.2.so.0
#17 0x0806d49b in summary_set_column_titles (summaryview=0x81d9848) at 
summaryview.c:1556
#18 0x0806b80b in summary_show (summaryview=0x81d9848, item=0x8228748, 
update_cache=0) at summaryview.c:698
---
with libgdk1.2 (--with-native-locale=yes), sylpeed-vanilla works without
the problem.

Regards,

        A.Yoshiyama <[email protected]>


--- End Message ---
--- Begin Message ---
Version: 1.2.10-18.1+rm

The gtk+1.2 package has been removed from Debian so we are closing
the bugs that were still opened against it.

For more information about this package's removal, read
http://bugs.debian.org/520441 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

Kind regards,
--
Marco Rodrigues


--- End Message ---

Reply via email to