[Pidgin] #11619: Crash when receiving a new message

Pidgin trac at pidgin.im
Mon Jul 26 04:52:50 EDT 2010


#11619: Crash when receiving a new message
---------------------------+------------------------------------------------
 Reporter:  jeff_themovie  |        Owner:  rekkanoryo  
     Type:  defect         |       Status:  new         
Milestone:                 |    Component:  pidgin (gtk)
  Version:  2.7.1          |   Resolution:              
 Keywords:                 |  
---------------------------+------------------------------------------------
Changes (by jeff_themovie):

  * version:  2.6.6 => 2.7.1


Comment:

 Still happens in 2.7.1. A backtrace:

 {{{
 Program received signal SIGSEGV, Segmentation fault.
 0xb77a4342 in IA__g_list_last (list=0x6168732f, data=0x885cd80) at
 /build/buildd/glib2.0-2.24.1/glib/glist.c:837
 837     /build/buildd/glib2.0-2.24.1/glib/glist.c: No such file or
 directory.
         in /build/buildd/glib2.0-2.24.1/glib/glist.c
 (gdb) bt full
 #0  0xb77a4342 in IA__g_list_last (list=0x6168732f, data=0x885cd80) at
 /build/buildd/glib2.0-2.24.1/glib/glist.c:837
 No locals.
 #1  IA__g_list_append (list=0x6168732f, data=0x885cd80) at
 /build/buildd/glib2.0-2.24.1/glib/glist.c:248
 No locals.
 #2  0x080a177e in pidgin_conv_window_add_gtkconv (win=0x8397540,
 gtkconv=0x885cd80)
     at /build/buildd/pidgin-2.7.1/./pidgin/gtkconv.c:9455
         conv = 0x8518180
         tab_cont = 0x8a03108
         tmp_lab = <value optimized out>
 #3  0x080a70da in private_gtkconv_new (conv=0x8518180, hidden=<value
 optimized out>)
     at /build/buildd/pidgin-2.7.1/./pidgin/gtkconv.c:5425
         gtkconv = 0x885cd80
         conv_type = PURPLE_CONV_TYPE_IM
         pane = 0x839d060
         tab_cont = <value optimized out>
         convnode = <value optimized out>
 #4  0xb76bb2c7 in purple_conversation_new (type=PURPLE_CONV_TYPE_IM,
 account=0x81e3a70, name=0x8ba9b38 "h0101642 at hotmail.com")
     at /build/buildd/pidgin-2.7.1/./libpurple/conversation.c:431
         conv = 0x8518180
         gc = <value optimized out>
         __PRETTY_FUNCTION__ = "purple_conversation_new"
 #5  0x080a7b1c in received_im_msg_cb (account=0x81e3a70, sender=0x8ba9b38
 "h0101642 at hotmail.com",
     message=0x8bfdd68 "<FONT FACE=\"Microsoft Sans Serif\"><FONT
 COLOR=\"#000000\">Jeff</FONT></FONT>", conv=0x0,
     flags=PURPLE_MESSAGE_RECV) at
 /build/buildd/pidgin-2.7.1/./pidgin/gtkconv.c:5480
         hide = 1
 #6  0xb76f0fa4 in
 purple_marshal_VOID__POINTER_POINTER_POINTER_POINTER_UINT (cb=0x80a7a10
 <received_im_msg_cb>,
     args=0xbfffad98 "p:\036\b8\233\272\bhݿ\b", data=0x0, return_val=0x0)
 at /build/buildd/pidgin-2.7.1/./libpurple/signals.c:761
 No locals.
 #7  0xb76f18be in purple_signal_emit_vargs (instance=0xb776662c,
 signal=0xb7742dc8 "received-im-msg",
     args=0xbfffad98 "p:\036\b8\233\272\bhݿ\b") at
 /build/buildd/pidgin-2.7.1/./libpurple/signals.c:482
         signal_data = 0x820db78
         handler_data = <value optimized out>
         l = <value optimized out>
         l_next = 0x8395700
         __PRETTY_FUNCTION__ = "purple_signal_emit_vargs"
 #8  0xb76f1a03 in purple_signal_emit (instance=0x8b96380,
 signal=0x6168732f <Address 0x6168732f out of bounds>)
     at /build/buildd/pidgin-2.7.1/./libpurple/signals.c:434
         __PRETTY_FUNCTION__ = "purple_signal_emit"
 #9  0xb76f0a41 in serv_got_im (gc=0x81e3668, who=0x8bd74a8
 "h0101642 at hotmail.com",
     msg=0x83a6898 "<FONT FACE=\"Microsoft Sans Serif\"><FONT
 COLOR=\"#000000\">Jeff</FONT></FONT>", flags=PURPLE_MESSAGE_RECV,
     mtime=1278051958) at
 /build/buildd/pidgin-2.7.1/./libpurple/server.c:608
         account = 0x81e3a70
         conv = 0x0
         angel = 0x8ba9b38 "h0101642 at hotmail.com"
         buffy = 0x8bfdd68 "<FONT FACE=\"Microsoft Sans Serif\"><FONT
 COLOR=\"#000000\">Jeff</FONT></FONT>"
         __PRETTY_FUNCTION__ = "serv_got_im"
 #10 0xb54407ae in msn_plain_msg (cmdproc=0x8d06ec0, msg=0x8a0d280)
     at /build/buildd/pidgin-2.7.1/./libpurple/protocols/msn/msg.c:892
         swboard = 0x8a0d5a0
         gc = 0x81e3668
         body_enc = <value optimized out>
         body_final = 0x83a6898 "<FONT FACE=\"Microsoft Sans Serif\"><FONT
 COLOR=\"#000000\">Jeff</FONT></FONT>"
         body_len = 4
         passport = <value optimized out>
         value = <value optimized out>
 #11 0xb5436631 in msn_cmdproc_process_msg (cmdproc=0x8d06ec0,
 msg=0x8a0d280)
     at /build/buildd/pidgin-2.7.1/./libpurple/protocols/msn/cmdproc.c:312
         messageId = 0x0
 #12 0xb545b767 in msg_cmd_post (cmdproc=0x8d06ec0, cmd=0x8d03140,
     payload=0x8c70916 "MIME-Version: 1.0\r\nContent-Type: text/plain;
 charset=UTF-8\r\nX-MMS-IM-Format: FN=Microsoft%20Sans%20Serif; EF=; CO=0;
 CS=0; PF=22\r\n\r\nJeff", len=136) at
 /build/buildd/pidgin-2.7.1/./libpurple/protocols/msn/switchboard.c:814
         msg = 0x8a0d280
 #13 0xb543682d in msn_cmdproc_process_payload (cmdproc=0x8d06ec0,
     payload=0x8c70916 "MIME-Version: 1.0\r\nContent-Type: text/plain;
 charset=UTF-8\r\nX-MMS-IM-Format: FN=Microsoft%20Sans%20Serif; EF=; CO=0;
 CS=0; PF=22\r\n\r\nJeff", payload_len=136) at
 /build/buildd/pidgin-2.7.1/./libpurple/protocols/msn/cmdproc.c:239
         last = 0x8d03140
         __PRETTY_FUNCTION__ = "msn_cmdproc_process_payload"
 #14 0xb5453248 in msn_servconn_process_data (servconn=0x8c45608)
     at /build/buildd/pidgin-2.7.1/./libpurple/protocols/msn/servconn.c:487
         end = 0x8c70916 "MIME-Version: 1.0\r\nContent-Type: text/plain;
 charset=UTF-8\r\nX-MMS-IM-Format: FN=Microsoft%20Sans%20Serif; EF=; CO=0;
 CS=0; PF=22\r\n\r\nJeff"
         old_rx_buf = 0x8c708f0 "MSG h0101642 at hotmail.com Jess(R) 136"
         cur_len = 1634235183
 #15 0xb54533e1 in read_cb (data=0x8c45608, source=23,
 cond=PURPLE_INPUT_READ)
     at /build/buildd/pidgin-2.7.1/./libpurple/protocols/msn/servconn.c:443
         servconn = <value optimized out>
         buf = "MSG h0101642 at hotmail.com Jess(R) 136\r\nMIME-Version: 1.0\r
 \nContent-Type: text/plain; charset=UTF-8\r\nX-MMS-IM-Format:
 FN=Microsoft%20Sans%20Serif; EF=; CO=0; CS=0; PF=22\r\n\r\nJeff\000
 Size=&#x22;2490&#x22; Lo"...
         len = <value optimized out>
 #16 0x080af4d0 in pidgin_io_invoke (source=0x87cf270, condition=G_IO_IN,
 data=0x886ac58)
     at /build/buildd/pidgin-2.7.1/./pidgin/gtkeventloop.c:73
         purple_cond = PURPLE_INPUT_READ
 #17 0xb77eaefb in g_io_unix_dispatch (source=0x83df748, callback=0x80af490
 <pidgin_io_invoke>, user_data=0x886ac58)
     at /build/buildd/glib2.0-2.24.1/glib/giounix.c:162
         buffer_condition = <value optimized out>
 #18 0xb77a65e5 in g_main_dispatch (context=0x812a4c8) at
 /build/buildd/glib2.0-2.24.1/glib/gmain.c:1960
         dispatch = 0xb77eaeb0 <g_io_unix_dispatch>
         user_data = 0x886ac58
         callback = 0x80af490 <pidgin_io_invoke>
         cb_funcs = 0xb783433c
         cb_data = 0x83acb40
         current_source_link = {data = 0x83df748, next = 0x0}
         source = 0x83df748
         current = 0x849b658
         i = 0
 #19 IA__g_main_context_dispatch (context=0x812a4c8) at
 /build/buildd/glib2.0-2.24.1/glib/gmain.c:2513
 No locals.
 #20 0xb77aa2d8 in g_main_context_iterate (context=0x812a4c8, block=<value
 optimized out>, dispatch=1, self=0x8124008)
     at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2591
         max_priority = 2147483647
         timeout = 1867
         some_ready = 1
         nfds = <value optimized out>
         allocated_nfds = <value optimized out>
         fds = <value optimized out>
         __PRETTY_FUNCTION__ = "g_main_context_iterate"
 #21 0xb77aa817 in IA__g_main_loop_run (loop=0x8791f58) at
 /build/buildd/glib2.0-2.24.1/glib/gmain.c:2799
         self = 0x8124008
         __PRETTY_FUNCTION__ = "IA__g_main_loop_run"
 #22 0xb7ac13c9 in IA__gtk_main () at
 /build/buildd/gtk+2.0-2.20.1/gtk/gtkmain.c:1219
         tmp_list = 0x812a9e0
         functions = 0x0
         init = 0x0
         loop = 0x8791f58
 #23 0x080cadc9 in main (argc=3, argv=0xbffff494) at
 /build/buildd/pidgin-2.7.1/./pidgin/gtkmain.c:978
         opt_force_online = 0
         opt_help = 138272928
         opt_login = 0
         opt_nologin = 0
         opt_version = 0
         opt_si = 1
         opt_config_dir_arg = 0x812a9e0 "\300U \b@\205\204\267\300U \b
 \202\204\267\300U \bp\200\204\267 "
         opt_login_arg = 0x0
         opt_session_arg = 0x0
         accounts = <value optimized out>
         sig_indx = <value optimized out>
         sigset = {__val = {81927, 0 <repeats 31 times>}}
         prev_sig_disp = <value optimized out>
         errmsg =
 "\254\324\377\277\270\222\367\267\220\250M\267\260\242v\267\000\000\000\000\000\000\000\000\313\362\377\277\304\362\377\277\300\362\377\277L\370\377\267\361y\377\267,H\002\000\000\000\000\000,H\002\000\364\357\377\267\340\376\376\267\320\324\377\277\364\357\377\267P\324\377\277\003\000\000\000\060\324\377\277\025{\377\267\b\000\000\000X\274\357\266\f\000\000\000\330\362\377\277\316\362\376\267h\274\357\266X\274\357\266\f\000\000\000@\325\377\277(\325\377\277v\b\377\267\270\222\367\267\260\242v\267\000\000\000\000\340\r\002\000\313\362\377\277\304\362\377\277\300\362\377\277L\370\377\267\361y\377\267Q\345td\000\000\000\000\000\000\000\000\364\357\377\267\340\376\376\267@\325\377\277\364\357\377\267\320\324\377\277\003\000\000\000\254\324\377\277\025{\377\267\b\000\000\000\070\274\357\266\f\000\000\000\330\362\377\277\316\362\376\267H\274\357\266\070\274\357\266\f\000\000\000\300\325\377\277\244\325\377\277v\b\377\267\250\362\377\277\300\245M\267\260\242v\267\000\000\000\000\313\362\377\277\304\362\377\277\300\362\377\277L\370\377\267\361y\377\267E",
 '\000' <repeats 11 times>"\364,
 \357\377\267\340\376\376\267\300\325\377\277\364\357\377\267@\325\377\277\003\000\000\000(\325\377\277\025{\377\267\b\000\000\000\030\274\357\266\f\000\000\000\330\362\377\277\316\362\376\267(\274\357\266\030\274\357\266\f\000\000\000@\326\377\277\300\245M\267\260\242v\267",
 '\000' <repeats 12 times>,
 ";\000\000\000\313\362\377\277\304\362\377\277\300\362\377\277L\370\377\267\361y\377\267>\000\000\000\000\000\000\000<\000\000\000\364\357\377\267\340\376\376\267@\326\377\277\364\357\377\267\300\325\377\277\003\000\000\000\244\325\377\277\025{\377\267\b\000\000\000\370\273\357\266\f\000\000\000\330\362\377\277\316\362\376\267\b\274\357\266\370\273\357\266\f\000\000\000\000\000\000\000\062\377\376\001\300\245M\267\260\242v\267\000\000\000\000"...
         signal_channel = <value optimized out>
         signal_status = <value optimized out>
         signal_channel_watcher = 1
         error = 0x0
         opt = <value optimized out>
         gui_check = <value optimized out>
         debug_enabled = 135440864
         migration_failed = 138272928
         active_accounts = <value optimized out>
         long_options = {{name = 0x811c2ea "config", has_arg = 1, flag =
 0x0, val = 99}, {name = 0x810961d "debug", has_arg = 0,
             flag = 0x0, val = 100}, {name = 0x8117d10 "force-online",
 has_arg = 0, flag = 0x0, val = 100}, {
             name = 0x810c256 "help", has_arg = 0, flag = 0x0, val = 104},
 {name = 0x8117adc "login", has_arg = 2, flag = 0x0,
             val = 108}, {name = 0x8117d1d "multiple", has_arg = 0, flag =
 0x0, val = 109}, {name = 0x8117d26 "nologin",
             has_arg = 0, flag = 0x0, val = 110}, {name = 0x811c2e0
 "session", has_arg = 1, flag = 0x0, val = 115}, {
             name = 0x810f2d9 "version", has_arg = 0, flag = 0x0, val =
 118}, {name = 0x811c2f3 "display", has_arg = 1, flag = 0x0,
             val = 68}, {name = 0x8117d2e "sync", has_arg = 0, flag = 0x0,
 val = 83}, {name = 0x0, has_arg = 0, flag = 0x0,
             val = 0}}
 }}}

 Can also work around the issue by selecting "On unread messages" for "Show
 system tray icon".

 It seems that before this crash, I need to click the close button twice to
 close a conversation window. First time the window goes blank but stays
 open, then the second time the window closes.

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


More information about the Tracker mailing list