[Pidgin] #13632: Crash when non-utf8 locales are used
Pidgin
trac at pidgin.im
Tue Mar 29 15:40:52 EDT 2011
#13632: Crash when non-utf8 locales are used
-------------------+--------------------------------------------------------
Reporter: setup | Type: defect
Status: new | Component: libpurple
Version: 2.7.11 | Keywords:
-------------------+--------------------------------------------------------
Hello,
my test app (attached) is crashing when non-utf8 locales are used.
App is compiled by:
{{{
gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -lpurple
-lglib-2.0 main.c
}}}
Program output:
{{{
protocol plugins:
prpl-aim
prpl-bonjour
prpl-gg
prpl-novell
prpl-icq
prpl-irc
prpl-msn
prpl-loubserp-mxit
prpl-myspace
prpl-qq
prpl-silc
prpl-simple
prpl-meanwhile
prpl-jabber
prpl-yahoo
prpl-yahoojp
prpl-zephyr
(process:31301): GLib-CRITICAL **: g_hash_table_insert_internal: assertion
`hash_table != NULL' failed
new account added
zsh: segmentation fault (core dumped) ./a.out
}}}
The program crashes when it's trying to add text "Oběd" (Lunch in Czech)
while saving accounts (an unset AIM account).
Version info:
{{{
libpurple-2.7.11-1.fc14.i686
glib-1.2.10-33.fc12.i686
gcc-4.5.1-4.fc14.i686
}}}
Finch works just fine with such locales so I believe it's some problem
with the compiler flags or incorrect libpurple initialization?
--
Ticket URL: <http://developer.pidgin.im/ticket/13632>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list