[Pidgin] #14318: pidgin crashed with SIGSEGV in msn_p2p_info_get_session_id()

Pidgin trac at pidgin.im
Tue Jun 21 13:42:02 EDT 2011


#14318: pidgin crashed with SIGSEGV in msn_p2p_info_get_session_id()
----------------------+-----------------------------------------------------
 Reporter:  caravena  |        Owner:  QuLogic
     Type:  defect    |       Status:  new    
Milestone:            |    Component:  MSN    
  Version:  2.8.0     |   Resolution:         
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by QuLogic):

  * keywords:  STACKTRACE =>


Old description:

> Open bug in launchpad.net:
> https://bugs.launchpad.net/bugs/800250
>
> "Open pidgin and ~20 minutes of session crash."
>
> #0  msn_p2p_info_get_session_id (info=0x31) at
> /build/buildd/pidgin-2.8.0/./libpurple/protocols/msn/p2p.c:520
>         session_id = 0
> #1  0x00007f7ec6e2da79 in msn_slplink_message_find (slplink=0x2bdc600,
> part=0x2bc27c0) at
> /build/buildd/pidgin-2.8.0/./libpurple/protocols/msn/slplink.c:433
>         slpmsg = 0x2707a00
>         e = 0x2817c00
> #2  msn_slplink_process_msg (slplink=0x2bdc600, part=0x2bc27c0) at
> /build/buildd/pidgin-2.8.0/./libpurple/protocols/msn/slplink.c:582
>         session_id = 837762544
>         id = 683903965
>         slpmsg = <value optimized out>
>         info = 0x154a760
> #3  0x00007f7ec6e0e87b in msn_cmdproc_process_msg (cmdproc=0x1aedd00,
> msg=0x1b2e010) at
> /build/buildd/pidgin-2.8.0/./libpurple/protocols/msn/cmdproc.c:265
>         cb = <value optimized out>
>         message_id = 0x0
> #4  0x00007f7ec6e30baf in msg_cmd_post (cmdproc=0x1aedd00, cmd=0x2890fa0,
> payload=0x19eb9d7 "MIME-Version: 1.0\r\nContent-Type:
> application/x-msnmsgrp2p\r\nP2P-Dest:
> cristian at romanescu.cl\r\n\r\n\360=\357\061\335\213\303(\262\004",
> len=1348) at
> /build/buildd/pidgin-2.8.0/./libpurple/protocols/msn/switchboard.c:693
>         msg = 0x1b2e010
> #5  0x00007f7ec6e29ce6 in msn_servconn_process_data (servconn=0x1c65670)
> at /build/buildd/pidgin-2.8.0/./libpurple/protocols/msn/servconn.c:489
>         cur = 0x19eb9d7 "MIME-Version: 1.0\r\nContent-Type:
> application/x-msnmsgrp2p\r\nP2P-Dest:
> cristian at romanescu.cl\r\n\r\n\360=\357\061\335\213\303(\262\004"
>         end = 0x19ebf1b "ACK 6\r\n"
>         old_rx_buf = 0x19eb9a0 "MSG coyanadel at gmail.com
> Sub%20Comandante%20Poper 1348"
>         cur_len = <value optimized out>
> #6  0x00007f7ec6e29e86 in read_cb (data=0x1c65670, source=<value
> optimized out>, cond=<value optimized out>) at
> /build/buildd/pidgin-2.8.0/./libpurple/protocols/msn/servconn.c:445
>         servconn = 0x1c65670
>         buf = "MSG coyanadel at gmail.com Sub%20Comandante%20Poper 1348\r
> \nMIME-Version: 1.0\r\nContent-Type: application/x-msnmsgrp2p\r\nP2P-
> Dest:
> cristian at romanescu.cl\r\n\r\n\360=\357\061\335\213\303(\262\004\000\000\000\000\000\000\063\020\000\000\000\000\000\000\262\004\000\000
> \000\000\001\201\372\213|", '\000' <repetidos 12 veces>,
> "l7\"\272\060\212\026\316G\025\021R\b\357V\235\b\311\366\252\362\061?"...
>         len = 1410
> #7  0x000000000046a36e in pidgin_io_invoke (source=<value optimized out>,
> condition=<value optimized out>, data=0x2a23100) at
> /build/buildd/pidgin-2.8.0/./pidgin/gtkeventloop.c:73
>         closure = 0x2a23100
>         purple_cond = PURPLE_INPUT_READ
> #8  0x00007f7ed337a85d in g_main_dispatch (context=0x1514d80) at
> /build/buildd/glib2.0-2.29.8/./glib/gmain.c:2477
>         dispatch = 0x7f7ed33bca50 <g_io_unix_dispatch>
>         was_in_call = 0
>         user_data = 0x2a23100
>         callback = 0x46a330 <pidgin_io_invoke>
>         cb_funcs = 0x7f7ed3623650
>         cb_data = 0x1977cc0
>         current_source_link = {data = 0x2a1edc0, next = 0x0}
>         need_destroy = <value optimized out>
>         source = 0x2a1edc0
>         current = 0x1af6960
>         i = <value optimized out>
> #9  g_main_context_dispatch (context=0x1514d80) at
> /build/buildd/glib2.0-2.29.8/./glib/gmain.c:3050
> No locales.
> #10 0x00007f7ed337b058 in g_main_context_iterate (context=0x1514d80,
> block=<value optimized out>, dispatch=1, self=<value optimized out>) at
> /build/buildd/glib2.0-2.29.8/./glib/gmain.c:3128
>         max_priority = 2147483647
>         timeout = 1250
>         some_ready = 1
>         nfds = 13
>         allocated_nfds = <value optimized out>
>         fds = <value optimized out>
> #11 0x00007f7ed337b592 in g_main_loop_run (loop=0x271ded0) at
> /build/buildd/glib2.0-2.29.8/./glib/gmain.c:3336
>         __PRETTY_FUNCTION__ = "g_main_loop_run"
> #12 0x00007f7ed4a6ddd7 in IA__gtk_main () at
> /build/buildd/gtk+2.0-2.24.5/gtk/gtkmain.c:1259
>         tmp_list = <value optimized out>
>         functions = 0x0
>         init = <value optimized out>
>         loop = 0x271ded0
> #13 0x00000000004313c0 in main (argc=1, argv=0x7fffed9d1ee8) at
> /build/buildd/pidgin-2.8.0/./pidgin/gtkmain.c:931
>         opt_force_online = 0
>         opt_help = <value optimized out>
>         opt_login = 0
>         opt_nologin = 0
>         opt_version = <value optimized out>
>         opt_si = 1
>         opt_config_dir_arg = <value optimized out>
>         opt_login_arg = <value optimized out>
>         opt_session_arg = <value optimized out>
>         search_path = <value optimized out>
>         accounts = <value optimized out>
>         sig_indx = 1
>         sigset = {__val = {81926, 0 <repeats 15 times>}}
>         prev_sig_disp = <value optimized out>
>         errmsg =
> "\000\060a\326~\177\000\000\340\344a\326~\177\000\000\000\340a\326~\177\000\000\000\000\000\000\000\000\000\000\003\000\000\000\000\000\000\000\225[b\323~\177\000\000\260\376\234\355\377\177\000\000\000\000\000\373\071\333\377\377\000\000v\255\206\254\375\376\\Q\275[c?g\220\225\034\004rab\003w;\026Z\300\331qX\034\062Qpٺ\343\222|P\034\235\355\377\177\000\000\320\034\235\355\377\177\000\000\360\tb\326~\177\000\000\003\000\000\000\000\000\000\000j\020\203\323~\177\000\000\320\377\234\355\377\177\000\000b6C\326~\177\000\000\000\000\000\000\000\000\000\000\326VC\326~\177\000\000\270\220d\326~\177\000\000\200\034\235\355\377\177\000\000\220\034\235\355\377\177\000\000\237\034\235\355\377\177\000\000\060\066C\326~\177\000\000h\217\202\323~\177\000\000\270Ka\326~\177\000\000\017>C\326~\177\000\000\260id\326~\177\000\000\340\344a\326~\177\000\000\370\364a\326~\177\000\000\000\340a\326~\177\000\000\000\000\000\000\000\000\000\000j"...
>         signal_channel = <value optimized out>
>         signal_status = <value optimized out>
>         signal_channel_watcher = 1
>         segfault_message_tmp = <value optimized out>
>         error = 0x0
>         opt = <value optimized out>
>         gui_check = <value optimized out>
>         debug_enabled = -308478616
>         migration_failed = <value optimized out>
>         active_accounts = <value optimized out>
>         st = {st_dev = 140182739301672, st_ino = 140182739510472,
> st_nlink = 140182739511728, st_mode = 3596696080, st_uid = 32638, st_gid
> = 3596689408, __pad0 = 32638, st_rdev = 140182739369984, st_size =
> 140182739356144, st_blksize = 140182739348048, st_blocks =
> 140182739341312, st_atim = {tv_sec = 140182739350776, tv_nsec =
> 140182739297528}, st_mtim = {tv_sec = 140182739360248, tv_nsec =
> 140182739298784}, st_ctim = {tv_sec = 140182739345408, tv_nsec = 0},
> __unused = {140182686051736, 140737179876800, -40432943759360}}
>         long_options = {{name = 0x4ced7c "config", has_arg = 1, flag =
> 0x0, val = 99}, {name = 0x4b968e "debug", has_arg = 0, flag = 0x0, val =
> 100}, {name = 0x4ca0e1 "force-online", has_arg = 0, flag = 0x0, val =
> 102}, {name = 0x4bcd22 "help", has_arg = 0, flag = 0x0, val = 104}, {name
> = 0x4c9ead "login", has_arg = 2, flag = 0x0, val = 108}, {name = 0x4ca0ee
> "multiple", has_arg = 0, flag = 0x0, val = 109}, {name = 0x4ca0f7
> "nologin", has_arg = 0, flag = 0x0, val = 110}, {name = 0x4ced72
> "session", has_arg = 1, flag = 0x0, val = 115}, {name = 0x4c09c0
> "version", has_arg = 0, flag = 0x0, val = 118}, {name = 0x4ced85
> "display", has_arg = 1, flag = 0x0, val = 68}, {name = 0x4ca0ff "sync",
> has_arg = 0, flag = 0x0, val = 83}, {name = 0x0, has_arg = 0, flag = 0x0,
> val = 0}}

New description:

 Open bug in launchpad.net:
 https://bugs.launchpad.net/bugs/800250

 "Open pidgin and ~20 minutes of session crash."

 {{{
 #0  msn_p2p_info_get_session_id (info=0x31) at
 /build/buildd/pidgin-2.8.0/./libpurple/protocols/msn/p2p.c:520
         session_id = 0
 #1  0x00007f7ec6e2da79 in msn_slplink_message_find (slplink=0x2bdc600,
 part=0x2bc27c0) at
 /build/buildd/pidgin-2.8.0/./libpurple/protocols/msn/slplink.c:433
         slpmsg = 0x2707a00
         e = 0x2817c00
 #2  msn_slplink_process_msg (slplink=0x2bdc600, part=0x2bc27c0) at
 /build/buildd/pidgin-2.8.0/./libpurple/protocols/msn/slplink.c:582
         session_id = 837762544
         id = 683903965
         slpmsg = <value optimized out>
         info = 0x154a760
 #3  0x00007f7ec6e0e87b in msn_cmdproc_process_msg (cmdproc=0x1aedd00,
 msg=0x1b2e010) at
 /build/buildd/pidgin-2.8.0/./libpurple/protocols/msn/cmdproc.c:265
         cb = <value optimized out>
         message_id = 0x0
 #4  0x00007f7ec6e30baf in msg_cmd_post (cmdproc=0x1aedd00, cmd=0x2890fa0,
 payload=0x19eb9d7 "MIME-Version: 1.0\r\nContent-Type:
 application/x-msnmsgrp2p\r\nP2P-Dest:
 cristian at romanescu.cl\r\n\r\n\360=\357\061\335\213\303(\262\004",
 len=1348) at
 /build/buildd/pidgin-2.8.0/./libpurple/protocols/msn/switchboard.c:693
         msg = 0x1b2e010
 #5  0x00007f7ec6e29ce6 in msn_servconn_process_data (servconn=0x1c65670)
 at /build/buildd/pidgin-2.8.0/./libpurple/protocols/msn/servconn.c:489
         cur = 0x19eb9d7 "MIME-Version: 1.0\r\nContent-Type:
 application/x-msnmsgrp2p\r\nP2P-Dest:
 cristian at romanescu.cl\r\n\r\n\360=\357\061\335\213\303(\262\004"
         end = 0x19ebf1b "ACK 6\r\n"
         old_rx_buf = 0x19eb9a0 "MSG coyanadel at gmail.com
 Sub%20Comandante%20Poper 1348"
         cur_len = <value optimized out>
 #6  0x00007f7ec6e29e86 in read_cb (data=0x1c65670, source=<value optimized
 out>, cond=<value optimized out>) at
 /build/buildd/pidgin-2.8.0/./libpurple/protocols/msn/servconn.c:445
         servconn = 0x1c65670
         buf = "MSG coyanadel at gmail.com Sub%20Comandante%20Poper 1348\r
 \nMIME-Version: 1.0\r\nContent-Type: application/x-msnmsgrp2p\r\nP2P-Dest:
 cristian at romanescu.cl\r\n\r\n\360=\357\061\335\213\303(\262\004\000\000\000\000\000\000\063\020\000\000\000\000\000\000\262\004\000\000
 \000\000\001\201\372\213|", '\000' <repetidos 12 veces>,
 "l7\"\272\060\212\026\316G\025\021R\b\357V\235\b\311\366\252\362\061?"...
         len = 1410
 #7  0x000000000046a36e in pidgin_io_invoke (source=<value optimized out>,
 condition=<value optimized out>, data=0x2a23100) at
 /build/buildd/pidgin-2.8.0/./pidgin/gtkeventloop.c:73
         closure = 0x2a23100
         purple_cond = PURPLE_INPUT_READ
 #8  0x00007f7ed337a85d in g_main_dispatch (context=0x1514d80) at
 /build/buildd/glib2.0-2.29.8/./glib/gmain.c:2477
         dispatch = 0x7f7ed33bca50 <g_io_unix_dispatch>
         was_in_call = 0
         user_data = 0x2a23100
         callback = 0x46a330 <pidgin_io_invoke>
         cb_funcs = 0x7f7ed3623650
         cb_data = 0x1977cc0
         current_source_link = {data = 0x2a1edc0, next = 0x0}
         need_destroy = <value optimized out>
         source = 0x2a1edc0
         current = 0x1af6960
         i = <value optimized out>
 #9  g_main_context_dispatch (context=0x1514d80) at
 /build/buildd/glib2.0-2.29.8/./glib/gmain.c:3050
 No locales.
 #10 0x00007f7ed337b058 in g_main_context_iterate (context=0x1514d80,
 block=<value optimized out>, dispatch=1, self=<value optimized out>) at
 /build/buildd/glib2.0-2.29.8/./glib/gmain.c:3128
         max_priority = 2147483647
         timeout = 1250
         some_ready = 1
         nfds = 13
         allocated_nfds = <value optimized out>
         fds = <value optimized out>
 #11 0x00007f7ed337b592 in g_main_loop_run (loop=0x271ded0) at
 /build/buildd/glib2.0-2.29.8/./glib/gmain.c:3336
         __PRETTY_FUNCTION__ = "g_main_loop_run"
 #12 0x00007f7ed4a6ddd7 in IA__gtk_main () at
 /build/buildd/gtk+2.0-2.24.5/gtk/gtkmain.c:1259
         tmp_list = <value optimized out>
         functions = 0x0
         init = <value optimized out>
         loop = 0x271ded0
 #13 0x00000000004313c0 in main (argc=1, argv=0x7fffed9d1ee8) at
 /build/buildd/pidgin-2.8.0/./pidgin/gtkmain.c:931
         opt_force_online = 0
         opt_help = <value optimized out>
         opt_login = 0
         opt_nologin = 0
         opt_version = <value optimized out>
         opt_si = 1
         opt_config_dir_arg = <value optimized out>
         opt_login_arg = <value optimized out>
         opt_session_arg = <value optimized out>
         search_path = <value optimized out>
         accounts = <value optimized out>
         sig_indx = 1
         sigset = {__val = {81926, 0 <repeats 15 times>}}
         prev_sig_disp = <value optimized out>
         errmsg =
 "\000\060a\326~\177\000\000\340\344a\326~\177\000\000\000\340a\326~\177\000\000\000\000\000\000\000\000\000\000\003\000\000\000\000\000\000\000\225[b\323~\177\000\000\260\376\234\355\377\177\000\000\000\000\000\373\071\333\377\377\000\000v\255\206\254\375\376\\Q\275[c?g\220\225\034\004rab\003w;\026Z\300\331qX\034\062Qpٺ\343\222|P\034\235\355\377\177\000\000\320\034\235\355\377\177\000\000\360\tb\326~\177\000\000\003\000\000\000\000\000\000\000j\020\203\323~\177\000\000\320\377\234\355\377\177\000\000b6C\326~\177\000\000\000\000\000\000\000\000\000\000\326VC\326~\177\000\000\270\220d\326~\177\000\000\200\034\235\355\377\177\000\000\220\034\235\355\377\177\000\000\237\034\235\355\377\177\000\000\060\066C\326~\177\000\000h\217\202\323~\177\000\000\270Ka\326~\177\000\000\017>C\326~\177\000\000\260id\326~\177\000\000\340\344a\326~\177\000\000\370\364a\326~\177\000\000\000\340a\326~\177\000\000\000\000\000\000\000\000\000\000j"...
         signal_channel = <value optimized out>
         signal_status = <value optimized out>
         signal_channel_watcher = 1
         segfault_message_tmp = <value optimized out>
         error = 0x0
         opt = <value optimized out>
         gui_check = <value optimized out>
         debug_enabled = -308478616
         migration_failed = <value optimized out>
         active_accounts = <value optimized out>
         st = {st_dev = 140182739301672, st_ino = 140182739510472, st_nlink
 = 140182739511728, st_mode = 3596696080, st_uid = 32638, st_gid =
 3596689408, __pad0 = 32638, st_rdev = 140182739369984, st_size =
 140182739356144, st_blksize = 140182739348048, st_blocks =
 140182739341312, st_atim = {tv_sec = 140182739350776, tv_nsec =
 140182739297528}, st_mtim = {tv_sec = 140182739360248, tv_nsec =
 140182739298784}, st_ctim = {tv_sec = 140182739345408, tv_nsec = 0},
 __unused = {140182686051736, 140737179876800, -40432943759360}}
         long_options = {{name = 0x4ced7c "config", has_arg = 1, flag =
 0x0, val = 99}, {name = 0x4b968e "debug", has_arg = 0, flag = 0x0, val =
 100}, {name = 0x4ca0e1 "force-online", has_arg = 0, flag = 0x0, val =
 102}, {name = 0x4bcd22 "help", has_arg = 0, flag = 0x0, val = 104}, {name
 = 0x4c9ead "login", has_arg = 2, flag = 0x0, val = 108}, {name = 0x4ca0ee
 "multiple", has_arg = 0, flag = 0x0, val = 109}, {name = 0x4ca0f7
 "nologin", has_arg = 0, flag = 0x0, val = 110}, {name = 0x4ced72
 "session", has_arg = 1, flag = 0x0, val = 115}, {name = 0x4c09c0
 "version", has_arg = 0, flag = 0x0, val = 118}, {name = 0x4ced85
 "display", has_arg = 1, flag = 0x0, val = 68}, {name = 0x4ca0ff "sync",
 has_arg = 0, flag = 0x0, val = 83}, {name = 0x0, has_arg = 0, flag = 0x0,
 val = 0}}
 }}}

--

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


More information about the Tracker mailing list