[Pidgin] #2769: pidgin+musictracker: crash in mdns plugin

Pidgin trac at pidgin.im
Fri Aug 24 17:19:11 EDT 2007


#2769: pidgin+musictracker: crash in mdns plugin
--------------------------+-------------------------------------------------
 Reporter:  andrew.barr   |       Type:  defect
   Status:  new           |   Priority:  minor 
Component:  pidgin (gtk)  |    Version:  2.1.1 
 Keywords:                |    Pending:  0     
--------------------------+-------------------------------------------------
 It is unknown exactly what triggers this crash, it seems that the playing
 song changing is enough to do it, but this is not consistent. When it does
 crash, simply restarting will not work, it will crash again, if the music
 player (Rhythmbox in this case) is still running.

 {{{
 #!rst
 andrew at boomeroo:~$ gdb pidgin
 GNU gdb 6.6-debian
 Copyright (C) 2006 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you
 are
 welcome to change it and/or distribute copies of it under certain
 conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for
 details.
 This GDB was configured as "x86_64-linux-gnu"...
 Using host libthread_db library "/lib/libthread_db.so.1".
 (gdb) handle SIGPIPE nostop
 Signal        Stop      Print   Pass to program Description
 SIGPIPE       No        Yes     Yes             Broken pipe
 (gdb) run
 Starting program: /usr/bin/pidgin
 [Thread debugging using libthread_db enabled]
 [New Thread 47110609062752 (LWP 5567)]

 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 47110609062752 (LWP 5567)]
 0x00002ad8c7b2d9c0 in strlen () from /lib/libc.so.6
 (gdb) bt full
 #0  0x00002ad8c7b2d9c0 in strlen () from /lib/libc.so.6
 No symbol table info available.
 #1  0x00002ad8c7afc0ea in vfprintf () from /lib/libc.so.6
 No symbol table info available.
 #2  0x00002ad8c7b1e3fa in vsnprintf () from /lib/libc.so.6
 No symbol table info available.
 #3  0x00002ad8cfd5d5a5 in avahi_string_list_add_vprintf ()
    from /usr/lib/libavahi-common.so.3
 No symbol table info available.
 #4  0x00002ad8cfd5d68d in avahi_string_list_add_printf ()
    from /usr/lib/libavahi-common.so.3
 No symbol table info available.
 #5  0x00002ad8d3ad6098 in _mdns_publish (data=0xe06570,
 type=PUBLISH_UPDATE,
     records=0xf12cb0)
     at ../../../../libpurple/protocols/bonjour/mdns_avahi.c:290
         kvp = (PurpleKeyValuePair *) 0x6e6f57207449206e
         publish_result = <value optimized out>
         idata = <value optimized out>
         lst = (AvahiStringList *) 0x0
         __PRETTY_FUNCTION__ = "_mdns_publish"
 #6  0x00002ad8d3ad4e95 in publish_presence (data=0xe06570,
 type=PUBLISH_UPDATE)
     at ../../../../libpurple/protocols/bonjour/mdns_common.c:123
         txt_records = (GSList *) 0xf12cb0
 ---Type <return> to continue, or q <return> to quit---
         ret = <value optimized out>
 #7  0x00002ad8d3ad219d in bonjour_set_status (account=<value optimized
 out>,
     status=0x79dbf0) at
 ../../../../libpurple/protocols/bonjour/bonjour.c:234
         gc = <value optimized out>
         type = <value optimized out>
         presence = (PurplePresence *) 0x79db40
         message = <value optimized out>
         bonjour_status = 0x2ad8cfd61323 "%s=%s"
         stripped = (
     gchar *) 0xf6f1b0 "Rhythmbox: Makes Me Wonder by Maroon 5 on It Won't
 Be Soon Before Long (3:31)"
 #8  0x00002ad8c76244aa in purple_prpl_change_account_status
 (account=0x79cf80,
     old_status=0x79dbf0, new_status=0x79dbf0) at
 ../../libpurple/prpl.c:246
         __PRETTY_FUNCTION__ = "purple_prpl_change_account_status"
 #9  0x00002ad8c76307b9 in purple_status_set_active_with_attrs_list (
     status=0x79dbf0, active=<value optimized out>, attrs=<value optimized
 out>)
     at ../../libpurple/status.c:651
         account = (PurpleAccount *) 0x79cf80
         ops = (PurpleAccountUiOps *) 0x6bd7e0
         changed = 1
         l = <value optimized out>
         specified_attr_ids = (GList *) 0xcd7640
         status_type = <value optimized out>
 ---Type <return> to continue, or q <return> to quit---
         __PRETTY_FUNCTION__ = "purple_status_set_active_with_attrs_list"
 #10 0x00002ad8c75f8352 in purple_account_set_status_list
 (account=0x79cf80,
     status_id=0x7997d0 "available", active=1, attrs=0xe01340)
     at ../../libpurple/account.c:1484
         status = (PurpleStatus *) 0x79dbf0
         __PRETTY_FUNCTION__ = "purple_account_set_status_list"
 #11 0x00002ad8c75f84c4 in purple_account_set_status (account=0x79cf80,
     status_id=0x7997d0 "available", active=1) at
 ../../libpurple/account.c:1459
         attrs = <value optimized out>
         id = <value optimized out>
         args = {{gp_offset = 48, fp_offset = 48,
     overflow_arg_area = 0x7fffe5a2c810, reg_save_area = 0x7fffe5a2c730}}
 #12 0x00002ad8cc424656 in set_status (account=0x79cf80,
     text=0xf8f990 "Rhythmbox: Makes Me Wonder by Maroon 5 on It Won't Be
 Soon Before Long (3:31)", ti=<value optimized out>) at musictracker.c:314
         buf = "Andrew J. Barr / Rhythmbox: Makes Me Wonder by Maroon 5 on
 It Won't Be Soon Before Long
 (3:31)\000\0000�n\000\000\000\000\000�\222�\000\000\000\000\000\000ˢ��\177\000\000�\205���*\000\000\001\200��\000\000\000\000�ʢ��\177\000\000�ʢ��\177\000\000�ʢ��\177\000\000�ʢ��\177\000\000�ʢ��\177\000\000���������ʢ��\177\000\000��������"...
         nend = <value optimized out>
         nick = <value optimized out>
         conn = <value optimized out>
 ---Type <return> to continue, or q <return> to quit---
         status = (PurpleStatus *) 0x79dbf0
         id = 0x7997d0 "available"
         b = 1
         buf =
 "/plugins/core/musictracker/string_custom_andrew at conroe\000.comT61Debian64\000n64\000an64\000\220��\000\000\000\000\0000�n\000\000\000\000\000�\222�"
         overriden = 0
         override = <value optimized out>
 #13 0x00002ad8cc424723 in set_userstatus_for_active_accounts (
     userstatus=0xf8f990 "Rhythmbox: Makes Me Wonder by Maroon 5 on It
 Won't Be Soon Before Long (3:31)", ti=0x7fffe5a2cb00) at
 musictracker.c:378
         accounts = (GList *) 0x6e6f57207449206e
 #14 0x00002ad8cc4248bb in cb_timeout (data=<value optimized out>)
     at musictracker.c:443
         b = <value optimized out>
         ti = {track = "Makes Me Wonder", '\0' <repeats 84 times>,
   artist = "Maroon 5", '\0' <repeats 91 times>,
   album = "It Won't Be Soon Before Long", '\0' <repeats 71 times>,
   player = 0x2ad8cc6303a8 "Rhythmbox", status = 2, totalSecs = 211,
   currentSecs = 63}
         player = <value optimized out>
         status = 0xf8f990 "Rhythmbox: Makes Me Wonder by Maroon 5 on It
 Won't Be Soon Before Long (3:31)"
 ---Type <return> to continue, or q <return> to quit---
 #15 0x00002ad8c73294cb in ?? () from /usr/lib/libglib-2.0.so.0
 No symbol table info available.
 #16 0x00002ad8c7328d93 in g_main_context_dispatch ()
    from /usr/lib/libglib-2.0.so.0
 No symbol table info available.
 #17 0x00002ad8c732c08d in ?? () from /usr/lib/libglib-2.0.so.0
 No symbol table info available.
 #18 0x00002ad8c732c39a in g_main_loop_run () from
 /usr/lib/libglib-2.0.so.0
 No symbol table info available.
 #19 0x00002ad8c5fb95e3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
 No symbol table info available.
 #20 0x0000000000470404 in main (argc=1, argv=0x7fffe5a2f1a8)
     at ../../pidgin/gtkmain.c:883
         saved_status = <value optimized out>
         opt_help = <value optimized out>
         opt_login = 0
         opt_nologin = 0
         opt_version = <value optimized out>
         opt_si = 1
         opt_config_dir_arg = 0x0
         opt_login_arg = 0x0
         opt_session_arg = 0x0
         search_path = <value optimized out>
 ---Type <return> to continue, or q <return> to quit---
         accounts = <value optimized out>
         sigset = {__val = {91143, 0 <repeats 15 times>}}
         prev_sig_disp = <value optimized out>
         errmsg =
 "\000\000\000\000\000\000\000\000\006z\b��*\000\000�����\177\000\000\004\000\000\000\000\000\000\000\030����*\000\000Cc\b��*\000\000X\031\\��*\000\000�\024\\��*\000\000(u)��*\000\000\000\000\000\000\000\000\000\000\004\000\000\000\000\000\000\0004\236���*\000\000\000\000\200�E���p[���*\000\000\000\000\000\000\000\000\000\000�Ϣ��\177",
 '\0' <repeats 12 times>, "@\235E���\000\000��\020\212�U", '\0' <repeats 40
 times>,
 "\b\000\000\000\000\000\000\000R�td\004\000\000\000\020\025\001\000\000\000\000\000\020\025!\000\000\000\000\000\020\025!\000\000\000\000\000"...
         segfault_message_tmp = <value optimized out>
         error = (GError *) 0x0
         opt = <value optimized out>
         gui_check = <value optimized out>
         debug_enabled = <value optimized out>
         migration_failed = <value optimized out>
         active_accounts = <value optimized out>
         long_options = {{name = 0x4aa111 "config", has_arg = 1, flag =
 0x0,
     val = 99}, {name = 0x49a839 "debug", has_arg = 0, flag = 0x0, val =
 100}, {
     name = 0x49da23 "help", has_arg = 0, flag = 0x0, val = 104}, {
     name = 0x49aadc "login", has_arg = 2, flag = 0x0, val = 108}, {
     name = 0x4a6a08 "multiple", has_arg = 0, flag = 0x0, val = 109}, {
 ---Type <return> to continue, or q <return> to quit---
     name = 0x4a6a11 "nologin", has_arg = 0, flag = 0x0, val = 110}, {
     name = 0x4aa107 "session", has_arg = 1, flag = 0x0, val = 115}, {
     name = 0x49f0c0 "version", has_arg = 0, flag = 0x0, val = 118}, {
     name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
 (gdb)
 (gdb)
 }}}

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


More information about the Tracker mailing list