[Pidgin] #385: Crashes with -lmcheck

Pidgin trac at pidgin.im
Sat Apr 28 16:26:50 EDT 2007


#385: Crashes with -lmcheck
--------------------------+-------------------------------------------------
 Reporter:  nosnilmot     |       Owner:       
     Type:  defect        |      Status:  new  
 Priority:  blocker       |   Milestone:  2.0.0
Component:  pidgin (gtk)  |     Version:  2.0  
 Keywords:                |  
--------------------------+-------------------------------------------------
 I've had several crashes since -lmcheck was added when --enable-debug is
 used. I didn't keep cores or suitable backtraces for all of them, but I
 suspect it is gstreamer related. Marking this as a blocker because it's
 possibly an indication of bad memory access only detected with mcheck (but
 I suppose it could also be a false positive)

 I've disabled sounds and have been stable for a while now.

 {{{
 (gdb) thread apply all bt

 Thread 2 (process 30943):
 #0  gst_query_get_type () at gstquery.c:167
 #1  0x00321f5b in gst_pad_query (pad=0x9ba46f8, query=0x9bc4e70) at
 gstpad.c:3057
 #2  0x00311e36 in gst_proxy_pad_do_query (pad=0x9ba73e8, query=0x9bc4e70)
 at gstghostpad.c:152
 #3  0x00321fd1 in gst_pad_query (pad=0x9ba73e8, query=0x9bc4e70) at
 gstpad.c:3064
 #4  0x02059414 in gst_type_find_handle_src_query (pad=0x9ba7068,
 query=0x9bc4e70) at gsttypefindelement.c:332
 #5  0x00321fd1 in gst_pad_query (pad=0x9ba7068, query=0x9bc4e70) at
 gstpad.c:3064
 #6  0x003408a1 in gst_pad_query_duration (pad=0x9ba7068,
 format=0xb7441308, duration=0xb7441300) at gstutils.c:2694
 #7  0x00dc1640 in gst_wavparse_stream_headers (wav=0x9bc1fb8) at
 gstwavparse.c:1002
 #8  0x00dc332f in gst_wavparse_loop (pad=0x9bc1a98) at gstwavparse.c:1592
 #9  0x003381e6 in gst_task_func (task=0x9bc27d8, tclass=0x9bc2680) at
 gsttask.c:192
 #10 0x0585650a in g_thread_pool_free () from /usr/lib/libglib-2.0.so.0
 #11 0x05854864 in g_static_private_free () from /usr/lib/libglib-2.0.so.0
 #12 0x002cebd4 in start_thread () from /lib/libpthread.so.0
 #13 0x0065d4fe in clone () from /lib/libc.so.6

 Thread 1 (process 30816):
 #0  0x0013d402 in __kernel_vsyscall ()
 #1  0x005baf90 in raise () from /lib/libc.so.6
 #2  0x005bc678 in abort () from /lib/libc.so.6
 #3  0x005f013d in __libc_message () from /lib/libc.so.6
 #4  0x005f0261 in __libc_fatal () from /lib/libc.so.6
 #5  0x005fb082 in mabort () from /lib/libc.so.6
 #6  0x005fb836 in freehook () from /lib/libc.so.6
 #7  0x005f66e3 in free () from /lib/libc.so.6
 #8  0x0583ee74 in g_free () from /usr/lib/libglib-2.0.so.0
 #9  0x0080470d in g_value_array_copy () from /usr/lib/libgobject-2.0.so.0
 #10 0x008013a5 in g_value_unset () from /usr/lib/libgobject-2.0.so.0
 #11 0x007e67c0 in g_object_thaw_notify () from
 /usr/lib/libgobject-2.0.so.0
 #12 0x007e71e9 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
 #13 0x007e7e43 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
 #14 0x007e7f3c in g_object_new () from /usr/lib/libgobject-2.0.so.0
 #15 0x05046c8b in gtk_text_tag_new () from /usr/lib/libgtk-x11-2.0.so.0
 #16 0x0503278e in gtk_text_buffer_create_tag () from
 /usr/lib/libgtk-x11-2.0.so.0
 #17 0x080a2c94 in gtk_imhtml_init (imhtml=0x9bc34a8) at gtkimhtml.c:1339
 #18 0x007ff846 in g_type_create_instance () from
 /usr/lib/libgobject-2.0.so.0
 #19 0x007e6594 in g_object_thaw_notify () from
 /usr/lib/libgobject-2.0.so.0
 #20 0x007e71e9 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
 #21 0x007e7d94 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
 #22 0x007e7f3c in g_object_new () from /usr/lib/libgobject-2.0.so.0
 #23 0x080a320c in gtk_imhtml_new (a=0x0, b=0x0) at gtkimhtml.c:1410
 #24 0x080d92ef in pidgin_create_imhtml (editable=0, imhtml_ret=0x9bc2da4,
 toolbar_ret=0x0, sw_ret=0xbf8e0938) at gtkutils.c:159
 #25 0x0808be46 in setup_im_pane (gtkconv=0x9bc2d80) at gtkconv.c:4337
 #26 0x0808ca33 in private_gtkconv_new (conv=0x9ba7df0, hidden=0) at
 gtkconv.c:4609
 #27 0x0808ce34 in pidgin_conv_new (conv=0x9ba7df0) at gtkconv.c:4698
 #28 0x0025cdef in purple_conversation_new (type=PURPLE_CONV_TYPE_IM,
 account=0x92d90f8, name=0x9b48dc8 "NickServ") at conversation.c:324
 #29 0x00285a02 in serv_got_im (gc=0x990f2f0, who=0x9882908 "NickServ",
 msg=0x98a7808 "(notice) This nickname is owned by someone else",
 flags=PURPLE_MESSAGE_RECV, mtime=1177774497) at server.c:483
 #30 0x00cf941f in irc_msg_handle_privmsg (irc=0x990f3d8, name=0xcfaa48
 "notice", from=0x9a28a00 "NickServ!NickServ at services.", to=0x9879968 "stu-
 gaim", rawmsg=0x9afd158 "This nickname is owned by someone else",
 notice=1) at msgs.c:1059
 #31 0x00cf8d61 in irc_msg_notice (irc=0x990f3d8, name=0xcfaa48 "notice",
 from=0x9a28a00 "NickServ!NickServ at services.", args=0x988e980) at
 msgs.c:924
 #32 0x00cf3f7f in irc_parse_msg (irc=0x990f3d8, input=0x9b5a850
 ":NickServ!NickServ at services. NOTICE stu-gaim :This nickname is owned by
 someone else") at parse.c:623
 #33 0x00cf1ca2 in read_input (irc=0x990f3d8, len=157) at irc.c:562
 #34 0x00cf1fbf in irc_input_cb (data=0x990f2f0, source=53,
 cond=PURPLE_INPUT_READ) at irc.c:629
 #35 0x0809cd87 in pidgin_io_invoke (source=0x99d9e80, condition=G_IO_IN,
 data=0x99f77f8) at gtkeventloop.c:77
 #36 0x0585f2ac in g_vasprintf () from /usr/lib/libglib-2.0.so.0
 #37 0x058383b0 in g_main_context_dispatch () from
 /usr/lib/libglib-2.0.so.0
 #38 0x0583b3a6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
 #39 0x0583b6c8 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
 #40 0x04fbccb5 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
 #41 0x080b3bc7 in main (argc=1, argv=0xbf8e2fb4) at gtkmain.c:837

 (gdb) thread apply all bt full

 Thread 2 (process 30943):
 #0  gst_query_get_type () at gstquery.c:167
         _gst_query_type = 154034528
 #1  0x00321f5b in gst_pad_query (pad=0x9ba46f8, query=0x9bc4e70) at
 gstpad.c:3057
         __t = Variable "__t" is not available.

 Thread 1 (process 30816):
 #0  0x0013d402 in __kernel_vsyscall ()
 No symbol table info available.
 #1  0x005baf90 in raise () from /lib/libc.so.6
 No symbol table info available.
 #2  0x005bc678 in abort () from /lib/libc.so.6
 No symbol table info available.
 #3  0x005f013d in __libc_message () from /lib/libc.so.6
 No symbol table info available.
 #4  0x005f0261 in __libc_fatal () from /lib/libc.so.6
 No symbol table info available.
 #5  0x005fb082 in mabort () from /lib/libc.so.6
 No symbol table info available.
 #6  0x005fb836 in freehook () from /lib/libc.so.6
 No symbol table info available.
 #7  0x005f66e3 in free () from /lib/libc.so.6
 No symbol table info available.
 #8  0x0583ee74 in g_free () from /usr/lib/libglib-2.0.so.0
 No symbol table info available.
 #9  0x0080470d in g_value_array_copy () from /usr/lib/libgobject-2.0.so.0
 No symbol table info available.
 #10 0x008013a5 in g_value_unset () from /usr/lib/libgobject-2.0.so.0
 No symbol table info available.
 #11 0x007e67c0 in g_object_thaw_notify () from
 /usr/lib/libgobject-2.0.so.0
 No symbol table info available.
 #12 0x007e71e9 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
 No symbol table info available.
 #13 0x007e7e43 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
 No symbol table info available.
 #14 0x007e7f3c in g_object_new () from /usr/lib/libgobject-2.0.so.0
 No symbol table info available.
 #15 0x05046c8b in gtk_text_tag_new () from /usr/lib/libgtk-x11-2.0.so.0
 No symbol table info available.
 #16 0x0503278e in gtk_text_buffer_create_tag () from
 /usr/lib/libgtk-x11-2.0.so.0
 No symbol table info available.
 #17 0x080a2c94 in gtk_imhtml_init (imhtml=0x9bc34a8) at gtkimhtml.c:1339
         iter = {dummy1 = 0x9bc3df8, dummy2 = 0x9bc3c78, dummy3 = -1,
 dummy4 = 0, dummy5 = 0, dummy6 = -1, dummy7 = 258567798, dummy8 =
 205271683, dummy9 = 0x9bc3d98, dummy10 = 0x9bc3fe8, dummy11 = -1, dummy12
 = 0, dummy13 = 8472392, dummy14 = 0x814748}
 #18 0x007ff846 in g_type_create_instance () from
 /usr/lib/libgobject-2.0.so.0
 No symbol table info available.
 #19 0x007e6594 in g_object_thaw_notify () from
 /usr/lib/libgobject-2.0.so.0
 No symbol table info available.
 #20 0x007e71e9 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
 No symbol table info available.
 #21 0x007e7d94 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
 No symbol table info available.
 #22 0x007e7f3c in g_object_new () from /usr/lib/libgobject-2.0.so.0
 No symbol table info available.
 #23 0x080a320c in gtk_imhtml_new (a=0x0, b=0x0) at gtkimhtml.c:1410
 No locals.
 #24 0x080d92ef in pidgin_create_imhtml (editable=0, imhtml_ret=0x9bc2da4,
 toolbar_ret=0x0, sw_ret=0xbf8e0938) at gtkutils.c:159
         frame = (GtkWidget *) 0x9bc3178
         imhtml = (GtkWidget *) 0x9bc2f68
         sep = (GtkWidget *) 0x515d5e2
         sw = (GtkWidget *) 0x9bc33d0
         toolbar = (GtkWidget *) 0x0
         vbox = (GtkWidget *) 0x9bc2fd8
 #25 0x0808be46 in setup_im_pane (gtkconv=0x9bc2d80) at gtkconv.c:4337
         conv = (PurpleConversation *) 0x9ba7df0
         frame = (GtkWidget *) 0x51b3450
         imhtml_sw = (GtkWidget *) 0xbf8e0958
         imhtml_sw_hscroll = 56
         paned = (GtkWidget *) 0x9bc2eb8
         vbox = (GtkWidget *) 0x9bc2f68
         vbox2 = (GtkWidget *) 0x2b50bc
         focus_chain = (GList *) 0x0
 #26 0x0808ca33 in private_gtkconv_new (conv=0x9ba7df0, hidden=0) at
 gtkconv.c:4609
         gtkconv = (PidginConversation *) 0x9bc2d80
         conv_type = PURPLE_CONV_TYPE_IM
         pane = (GtkWidget *) 0x0
         tab_cont = (GtkWidget *) 0x2cfee4
 #27 0x0808ce34 in pidgin_conv_new (conv=0x9ba7df0) at gtkconv.c:4698
 No locals.
 #28 0x0025cdef in purple_conversation_new (type=PURPLE_CONV_TYPE_IM,
 account=0x92d90f8, name=0x9b48dc8 "NickServ") at conversation.c:324
         conv = (PurpleConversation *) 0x9ba7df0
         gc = (PurpleConnection *) 0x990f2f0
         ops = (PurpleConversationUiOps *) 0x80f4200
         __PRETTY_FUNCTION__ = "purple_conversation_new"
 #29 0x00285a02 in serv_got_im (gc=0x990f2f0, who=0x9882908 "NickServ",
 msg=0x98a7808 "(notice) This nickname is owned by someone else",
 flags=PURPLE_MESSAGE_RECV, mtime=1177774497) at server.c:483
         account = (PurpleAccount *) 0x92d90f8
         cnv = (PurpleConversation *) 0x0
         message = 0x9b8fa38 "(notice) This nickname is owned by someone
 else"
         name = 0x9b48dc8 "NickServ"
         angel = 0x9b48dc8 "NickServ"
         buffy = 0x9b8fa38 "(notice) This nickname is owned by someone
 else"
         plugin_return = 0
         __PRETTY_FUNCTION__ = "serv_got_im"
 #30 0x00cf941f in irc_msg_handle_privmsg (irc=0x990f3d8, name=0xcfaa48
 "notice", from=0x9a28a00 "NickServ!NickServ at services.", to=0x9879968 "stu-
 gaim", rawmsg=0x9afd158 "This nickname is owned by someone else",
 notice=1) at msgs.c:1059
         gc = (PurpleConnection *) 0x990f2f0
         convo = (PurpleConversation *) 0x988e984
         tmp = 0x98a7808 "(notice) This nickname is owned by someone else"
         msg = 0x98a7808 "(notice) This nickname is owned by someone else"
         nick = 0x9882908 "NickServ"
 #31 0x00cf8d61 in irc_msg_notice (irc=0x990f3d8, name=0xcfaa48 "notice",
 from=0x9a28a00 "NickServ!NickServ at services.", args=0x988e980) at
 msgs.c:924
 No locals.
 #32 0x00cf3f7f in irc_parse_msg (irc=0x990f3d8, input=0x9b5a850
 ":NickServ!NickServ at services. NOTICE stu-gaim :This nickname is owned by
 someone else") at parse.c:623
         msgent = (struct _irc_msg *) 0xcfdcec
         cur = 0x9b5a8a4 ""
         end = 0x9b5a87c " :This nickname is owned by someone else"
         tmp = 0x9a28a00 "NickServ!NickServ at services."
         from = 0x974a380 "NickServ!NickServ at services."
         msgname = 0x988e980 "h\231\207\tXѯ\t�
         fmt = 0xcfaa4f "t:"
         args = (char **) 0x988e980
         msg = 0x9ab0b98 "\b"
         i = 2
 #33 0x00cf1ca2 in read_input (irc=0x990f3d8, len=157) at irc.c:562
         step = 2
         cur = 0x9b5a850 ":NickServ!NickServ at services. NOTICE stu-gaim
 :This nickname is owned by someone else"
         end = 0x9b5a8a4 ""
 #34 0x00cf1fbf in irc_input_cb (data=0x990f2f0, source=53,
 cond=PURPLE_INPUT_READ) at irc.c:629
         gc = (PurpleConnection *) 0x990f2f0
         irc = (struct irc_conn *) 0x990f3d8
         len = 157
 #35 0x0809cd87 in pidgin_io_invoke (source=0x99d9e80, condition=G_IO_IN,
 data=0x99f77f8) at gtkeventloop.c:77
         closure = (PidginIOClosure *) 0x99f77f8
         purple_cond = PURPLE_INPUT_READ
 #36 0x0585f2ac in g_vasprintf () from /usr/lib/libglib-2.0.so.0
 No symbol table info available.
 #37 0x058383b0 in g_main_context_dispatch () from
 /usr/lib/libglib-2.0.so.0
 No symbol table info available.
 #38 0x0583b3a6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
 No symbol table info available.
 #39 0x0583b6c8 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
 No symbol table info available.
 #40 0x04fbccb5 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
 No symbol table info available.
 #41 0x080b3bc7 in main (argc=1, argv=0xbf8e2fb4) at gtkmain.c:837
         opt_help = 0
         opt_login = 0
         opt_nologin = 0
         opt_version = 0
         opt_config_dir_arg = 0x0
         opt_login_arg = 0x0
         opt_session_arg = 0x0
         dologin_ret = -1
         search_path = 0x9276170 "\v"
         accounts = (GList *) 0x954d9c0
         sig_indx = 1
         sigset = {__val = {91143, 0 <repeats 31 times>}}
         prev_sig_disp = (void (*)(int)) 0
         errmsg =
 "�016\216��\217\025\000\003\000\000\000\002\000\000\000h\016\216��\025\000\b\000\000\000\034\000\000\000�\217\025\000t*\216�4�\024\000���\220��\f\000\000\000�\236\024\000\020\025�000\000�,
 '\0' <repeats 12 times>,
 "�\023\000x\017\216���\024\000D*\216��037\025\000Q�d\000\000\000\000g*\216�`*\216�\\*\216�\000\226\025\000�\217\025\000\v\000\000\000\n\000\000\000�016\216��\025\000\b\000\000\000\\\000\000\000�\217\025\000t*\216�4�\024\000`��0��,\000\000\000\024\017\216��\236\024\000\001\000\000\000x:���X��\020\025"...
         opt = -1
         gui_check = 1
         debug_enabled = 1
         migration_failed = 0
         long_options = {{name = 0x80ebc10 "config", has_arg = 1, flag =
 0x0, val = 99}, {name = 0x80ebc17 "debug", has_arg = 0, flag = 0x0, val =
 100}, {name = 0x80ebc1d "help", has_arg = 0, flag = 0x0, val = 104}, {name
 = 0x80ebc22 "login", has_arg = 2, flag = 0x0, val = 108}, {name =
 0x80ebc28 "nologin", has_arg = 0, flag = 0x0, val = 110}, {name =
 0x80ebc30 "session", has_arg = 1, flag = 0x0, val = 115}, {name =
 0x80ebc38 "version", has_arg = 0, flag = 0x0, val = 118}, {name = 0x0,
 has_arg = 0, flag = 0x0, val = 0}}
 }}}

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


More information about the Tracker mailing list