[Pidgin] #837: Segmentation fault in free () libc when getting Buddy Info

Pidgin trac at pidgin.im
Wed May 9 16:41:29 EDT 2007


#837: Segmentation fault in free () libc when getting Buddy Info
--------------------------+-------------------------------------------------
 Reporter:  cjr           |       Type:  defect
   Status:  new           |   Priority:  minor 
Component:  pidgin (gtk)  |    Version:  2.0   
 Keywords:                |    Pending:  0     
--------------------------+-------------------------------------------------
 When trying to get buddy information shortly after loggin in Pidgin
 segfaults.  This is with FC6 beta7 libpurple and pidgin.

 {{{
 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread -1208612560 (LWP 3452)]
 0x4ee9c6ac in free () from /lib/libc.so.6
 (gdb) bt
 #0  0x4ee9c6ac in free () from /lib/libc.so.6
 #1  0x4f0016e1 in g_free () from /lib/libglib-2.0.so.0
 #2  0x4125f474 in purple_buddy_icon_unref () from
 /usr/lib/libpurple.so.0
 #3  0x4125a2c3 in purple_buddy_set_icon () from /usr/lib/libpurple.so.0
 #4  0x4125efad in purple_buddy_icon_update () from
 /usr/lib/libpurple.so.0
 #5  0x4125f107 in purple_buddy_icon_set_data () from
 /usr/lib/libpurple.so.0
 #6  0x4125f38c in purple_buddy_icon_new () from /usr/lib/libpurple.so.0
 #7  0x4125f559 in purple_buddy_icons_set_for_user ()
    from /usr/lib/libpurple.so.0
 #8  0x0025647a in jabber_buddy_get_info ()
    from /usr/lib/purple-2/libjabber.so.0
 #9  0x0025bce2 in jabber_iq_parse () from
 /usr/lib/purple-2/libjabber.so.0
 #10 0x00261f1f in jabber_process_packet ()
    from /usr/lib/purple-2/libjabber.so.0
 #11 0x00264a09 in jabber_parser_process ()
    from /usr/lib/purple-2/libjabber.so.0
 #12 0x4f436ca7 in xmlParseXMLDecl () from /usr/lib/libxml2.so.2
 #13 0x4f443474 in xmlParseChunk () from /usr/lib/libxml2.so.2
 #14 0x002648ff in jabber_parser_process ()
    from /usr/lib/purple-2/libjabber.so.0
 #15 0x00261868 in jabber_login () from /usr/lib/purple-2/libjabber.so.0
 #16 0x08099473 in pidgin_eventloop_get_ui_ops ()
 #17 0x4f023bad in g_io_channel_unix_get_fd () from /lib/libglib-2.0.so.0
 ---Type <return> to continue, or q <return> to quit---
 #18 0x4effa442 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
 #19 0x4effd41f in g_main_context_check () from /lib/libglib-2.0.so.0
 #20 0x4effd7c9 in g_main_loop_run () from /lib/libglib-2.0.so.0
 #21 0x41d83554 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
 #22 0x080aec31 in main ()
 (gdb) Quit
 }}}

 I recorded an [http://thaiopensource.org/~chris/pidgin.ogg .ogg] of myself
 generating this problem with istanbul in case it is useful.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/837>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list