[Pidgin] #15050: libpurple2 crash in 64 bit version

Pidgin trac at pidgin.im
Sat Apr 7 17:45:31 EDT 2012


#15050: libpurple2 crash in 64 bit version
--------------------+-------------------------------------------------------
 Reporter:  yim     |        Owner:           
     Type:  defect  |       Status:  pending  
Milestone:          |    Component:  libpurple
  Version:  2.7.9   |   Resolution:           
 Keywords:  crash   |  
--------------------+-------------------------------------------------------
Changes (by Robby):

  * status:  new => pending


Old description:

> Recently we ported our code on 64 bit and following is consistent crash
> in 2.7.9 in 64 bit version. I am running it on CentOS 6. The 32 bit
> version runs fine. This is also happens when buddies have their presence
> status in non-english language for example arabic. Below is backtrace
>
> (gdb) bt
> #0  0x00007fa265d103c6 in __rawmemchr_sse2 () from /lib64/libc.so.6
> #1  0x00007fa265cfb970 in _IO_str_init_static_internal () from
> /lib64/libc.so.6
> #2  0x00007fa265ceb025 in __isoc99_vsscanf () from /lib64/libc.so.6
> #3  0x00007fa265ceafb8 in __isoc99_sscanf () from /lib64/libc.so.6
> #4  0x00007fa266a1c140 in purple_str_to_time () from
> /usr/lib64/libpurple.so.0
> #5  0x00007fa2605771a2 in ?? () from /usr/lib64/purple-2/libjabber.so.0
> #6  0x00007fa260578d07 in jabber_presence_parse () from
> /usr/lib64/purple-2/libjabber.so.0
> #7  0x00007fa26056897b in jabber_process_packet () from
> /usr/lib64/purple-2/libjabber.so.0
> #8  0x00007fa260575e14 in ?? () from /usr/lib64/purple-2/libjabber.so.0
> #9  0x00007fa266f702d3 in ?? () from /usr/lib64/libxml2.so.2
> #10 0x00007fa266f7c5f9 in ?? () from /usr/lib64/libxml2.so.2
> #11 0x00007fa266f7dc4c in xmlParseChunk () from /usr/lib64/libxml2.so.2
> #12 0x00007fa260575b1d in jabber_parser_process () from
> /usr/lib64/purple-2/libjabber.so.0
> #13 0x00007fa260567742 in ?? () from /usr/lib64/purple-2/libjabber.so.0
> #14 0x000000000040565e in purple_glib_io_invoke (source=<value optimized
> out>, condition=<value optimized out>, data=0xec2df0) at imclient.cpp:69
> #15 0x00007fa2672bbf0e in g_main_context_dispatch () from
> /lib64/libglib-2.0.so.0
> #16 0x00007fa2672bf938 in ?? () from /lib64/libglib-2.0.so.0
> #17 0x00007fa2672bfd55 in g_main_loop_run () from /lib64/libglib-2.0.so.0
> #18 0x0000000000406890 in main (argc=1, argv=<value optimized out>) at
> main.cpp:328

New description:

 Recently we ported our code on 64 bit and following is consistent crash in
 2.7.9 in 64 bit version. I am running it on CentOS 6. The 32 bit version
 runs fine. This is also happens when buddies have their presence status in
 non-english language for example arabic. Below is backtrace

 (gdb) bt

 {{{
 #0  0x00007fa265d103c6 in __rawmemchr_sse2 () from /lib64/libc.so.6
 #1  0x00007fa265cfb970 in _IO_str_init_static_internal () from
 /lib64/libc.so.6
 #2  0x00007fa265ceb025 in __isoc99_vsscanf () from /lib64/libc.so.6
 #3  0x00007fa265ceafb8 in __isoc99_sscanf () from /lib64/libc.so.6
 #4  0x00007fa266a1c140 in purple_str_to_time () from
 /usr/lib64/libpurple.so.0
 #5  0x00007fa2605771a2 in ?? () from /usr/lib64/purple-2/libjabber.so.0
 #6  0x00007fa260578d07 in jabber_presence_parse () from
 /usr/lib64/purple-2/libjabber.so.0
 #7  0x00007fa26056897b in jabber_process_packet () from
 /usr/lib64/purple-2/libjabber.so.0
 #8  0x00007fa260575e14 in ?? () from /usr/lib64/purple-2/libjabber.so.0
 #9  0x00007fa266f702d3 in ?? () from /usr/lib64/libxml2.so.2
 #10 0x00007fa266f7c5f9 in ?? () from /usr/lib64/libxml2.so.2
 #11 0x00007fa266f7dc4c in xmlParseChunk () from /usr/lib64/libxml2.so.2
 #12 0x00007fa260575b1d in jabber_parser_process () from
 /usr/lib64/purple-2/libjabber.so.0
 #13 0x00007fa260567742 in ?? () from /usr/lib64/purple-2/libjabber.so.0
 #14 0x000000000040565e in purple_glib_io_invoke (source=<value optimized
 out>, condition=<value optimized out>, data=0xec2df0) at imclient.cpp:69
 #15 0x00007fa2672bbf0e in g_main_context_dispatch () from
 /lib64/libglib-2.0.so.0
 #16 0x00007fa2672bf938 in ?? () from /lib64/libglib-2.0.so.0
 #17 0x00007fa2672bfd55 in g_main_loop_run () from /lib64/libglib-2.0.so.0
 #18 0x0000000000406890 in main (argc=1, argv=<value optimized out>) at
 main.cpp:328
 }}}

--

Comment:

 Um, 2.7.9 is pretty old, 2.10.3 is current. Any reason you should be using
 this old version of libpurple?

-- 
Ticket URL: <http://developer.pidgin.im/ticket/15050#comment:1>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list