[Pidgin] #13183: pidgin crashes on message from a new offline contact

Pidgin trac at pidgin.im
Sat Jan 8 11:12:58 EST 2011


#13183: pidgin crashes on message from a new offline contact
--------------------+-------------------------------------------------------
Reporter:  krogoth  |        Type:  defect               
  Status:  new      |   Component:  pidgin (gtk)         
 Version:  2.6.6    |    Keywords:  crash offline message
--------------------+-------------------------------------------------------
 After adding a new user which which was invisible, i got a message of her
 - resulting in a crash of pidgin.
 I restarted it and got a new message, which crashed my client once again.

 In gdb i got the following backtrace:


 {{{
 #0  0x00007ffff488efe0 in __strcpy_chk () from /lib/libc.so.6
 #1  0x00007fffdcb19076 in strcpy (account=<value optimized out>,
 str=<value optimized out>) at /usr/include/bits/string3.h:107
 #2  oscar_normalize (account=<value optimized out>, str=<value optimized
 out>) at
 /build/buildd/pidgin-2.6.6/./libpurple/protocols/oscar/oscar.c:7088
 #3  0x00007ffff4bb659b in purple_normalize (account=0x837860,
 str=0x7fffdcb1ee70 "H\211l$\330L\211d$\340\272(") at
 /build/buildd/pidgin-2.6.6/./libpurple/util.c:3144
 #4  0x00007ffff4b76a7c in purple_find_conversation_with_account
 (type=PURPLE_CONV_TYPE_ANY, name=0x0, account=0x837860) at
 /build/buildd/pidgin-2.6.6/./libpurple/conversation.c:881
 #5  0x00007ffff4b76b5c in purple_conv_present_error (who=<value optimized
 out>, account=<value optimized out>, what=0xb8f7b0 "Unable to send
 message: Not logged in")
     at /build/buildd/pidgin-2.6.6/./libpurple/conversation.c:1244
 #6  0x00007fffdcb1efd4 in purple_parse_msgerr (od=0x1307c90, conn=<value
 optimized out>, fr=<value optimized out>) at
 /build/buildd/pidgin-2.6.6/./libpurple/protocols/oscar/oscar.c:3346
 #7  0x00007fffdcb168ba in generror (od=0x1307c90, conn=0x1319310,
 mod=<value optimized out>, frame=0x1319380, snac=<value optimized out>,
 bs=<value optimized out>)
     at /build/buildd/pidgin-2.6.6/./libpurple/protocols/oscar/misc.c:121
 #8  snachandler (od=0x1307c90, conn=0x1319310, mod=<value optimized out>,
 frame=0x1319380, snac=<value optimized out>, bs=<value optimized out>)
     at /build/buildd/pidgin-2.6.6/./libpurple/protocols/oscar/misc.c:134
 #9  0x00007fffdcb15823 in parse_snac (conn=0x1319310) at
 /build/buildd/pidgin-2.6.6/./libpurple/protocols/oscar/flap_connection.c:765
 #10 parse_flap (conn=0x1319310) at
 /build/buildd/pidgin-2.6.6/./libpurple/protocols/oscar/flap_connection.c:851
 #11 flap_connection_recv (conn=0x1319310) at
 /build/buildd/pidgin-2.6.6/./libpurple/protocols/oscar/flap_connection.c:986
 #12 0x000000000046ea9e in pidgin_io_invoke (source=<value optimized out>,
 condition=<value optimized out>, data=<value optimized out>) at
 /build/buildd/pidgin-2.6.6/./pidgin/gtkeventloop.c:78
 #13 0x00007ffff4e728c2 in g_main_context_dispatch () from
 /lib/libglib-2.0.so.0
 #14 0x00007ffff4e76748 in ?? () from /lib/libglib-2.0.so.0
 #15 0x00007ffff4e76c55 in g_main_loop_run () from /lib/libglib-2.0.so.0
 #16 0x00007ffff6251bb7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
 #17 0x000000000048675f in main (argc=1, argv=0x7fffffffe3b8) at
 /build/buildd/pidgin-2.6.6/./pidgin/gtkmain.c:977
 }}}

 5 gave me the clue, that the fact that my client never saw her online. So
 after she went online i could receive message of her without a crash.

 The protocol was ICQ.

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


More information about the Tracker mailing list