[Pidgin] #17031: Pidgin segfauls when starting.

Pidgin trac at pidgin.im
Thu Jun 2 13:37:45 EDT 2016


#17031: Pidgin segfauls when starting.
----------------------+--------------------------
 Reporter:  skymandr  |      Owner:  EionRobb
     Type:  defect    |     Status:  new
Milestone:            |  Component:  unclassified
  Version:  2.10.12   |   Keywords:
----------------------+--------------------------
 Pidgin segfaults when starting; see backtrace:

 {{{
 $ gdb pidgin 2>&1 | tee ~/pidgin-backtrace.log
 GNU gdb (Tanglu 7.9-1) 7.9
 Copyright (C) 2015 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later
 <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
 and "show warranty" for details.
 This GDB was configured as "x86_64-linux-gnu".
 Type "show configuration" for configuration details.
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>.
 Find the GDB manual and other documentation resources online at:
 <http://www.gnu.org/software/gdb/documentation/>.
 For help, type "help".
 Type "apropos word" to search for commands related to "word"...
 Reading symbols from pidgin...Reading symbols from
 /usr/lib/debug//usr/bin/pidgin...done.
 done.
 (gdb) handle SIGPIPE nostop noprint
 Signal        Stop      Print   Pass to program Description
 SIGPIPE       No        No      Yes             Broken pipe
 (gdb) run
 Starting program: /usr/bin/pidgin
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

 Program received signal SIGSEGV, Segmentation fault.
 connection_data_free (conn=0x0) at tgp-structs.c:111
 111       if (conn->write_timer) { purple_timeout_remove
 (conn->write_timer); }
 (gdb) bt full
 #0  connection_data_free (conn=0x0) at tgp-structs.c:111
 No locals.
 #1  0x00007ffff523fec6 in _purple_connection_destroy (gc=0x555556113bb0)
     at /build/pidgin-v7tOm6/pidgin-2.10.11/./libpurple/connection.c:275
         account = 0x555555a94a60
         buddies = <optimized out>
         prpl_info = <optimized out>
         remove = 0
         __FUNCTION__ = "_purple_connection_destroy"
 #2  0x00007ffff522b99b in purple_account_disconnect
 (account=0x555555a94a60)
     at /build/pidgin-v7tOm6/pidgin-2.10.11/./libpurple/account.c:1343
         gc = <optimized out>
         username = <optimized out>
         __FUNCTION__ = "purple_account_disconnect"
 #3  0x00007ffff526da3d in do_prpl_change_account_status
 (old_status=0x555555a95840,
     new_status=0x555555a959a0, account=0x555555a94a60)
     at /build/pidgin-v7tOm6/pidgin-2.10.11/./libpurple/prpl.c:349
         prpl = <optimized out>
         prpl_info = <optimized out>
 #4  purple_prpl_change_account_status (account=0x555555a94a60,
 old_status=0x555555a95840,
     new_status=0x555555a959a0) at /build/pidgin-
 v7tOm6/pidgin-2.10.11/./libpurple/prpl.c:385
         __FUNCTION__ = "purple_prpl_change_account_status"
 #5  0x00007ffff527ce50 in notify_status_update (new_status=0x555555a959a0,
     old_status=0x555555a95840, presence=<optimized out>)
     at /build/pidgin-v7tOm6/pidgin-2.10.11/./libpurple/status.c:669
         account = 0x555555a94a60
         ops = 0x555555854040 <ui_ops>
         context = <optimized out>
 #6  status_has_changed (status=0x555555a959a0)
     at /build/pidgin-v7tOm6/pidgin-2.10.11/./libpurple/status.c:706
         presence = <optimized out>
         old_status = 0x555555a95840
 #7  purple_status_set_active_with_attrs_list (status=0x555555a959a0,
 active=<optimized out>,
     attrs=<optimized out>) at /build/pidgin-
 v7tOm6/pidgin-2.10.11/./libpurple/status.c:863
         changed = 1
         l = 0x0
         specified_attr_ids = <optimized out>
         status_type = <optimized out>
         __FUNCTION__ = "purple_status_set_active_with_attrs_list"
 #8  0x00007ffff522bb5a in purple_account_set_status_list
 (account=0x555555a94a60,
     status_id=0x555555a95550 "offline", active=1, attrs=0x0)
     at /build/pidgin-v7tOm6/pidgin-2.10.11/./libpurple/account.c:1906
         status = 0x555555a959a0
         __FUNCTION__ = "purple_account_set_status_list"
 #9  0x00007ffff522bce2 in purple_account_set_status
 (account=0x555555a94a60,
     status_id=0x555555a95550 "offline", active=1)
     at /build/pidgin-v7tOm6/pidgin-2.10.11/./libpurple/account.c:1881
         attrs = 0x0
         id = <optimized out>
         data = <optimized out>
         args = {{gp_offset = 32, fp_offset = 0, overflow_arg_area =
 0x7fffffffbc10,
             reg_save_area = 0x7fffffffbbb0}}
 #10 0x00007ffff5272aaf in purple_savedstatus_set_idleaway
 (idleaway=idleaway at entry=0)
     at /build/pidgin-v7tOm6/pidgin-2.10.11/./libpurple/savedstatuses.c:898
         account = 0x555555a94a60
         presence = <optimized out>
         status = <optimized out>
         accounts = 0x555555c67ca0
         node = 0x555555c67d00
         old = 0x555555a9d9d0
         saved_status = 0x555555aa6b90
         idleaway = 0
 #11 0x00007ffff524c937 in check_idleness ()
     at /build/pidgin-v7tOm6/pidgin-2.10.11/./libpurple/idle.c:192
         time_idle = 0
         auto_away = <optimized out>
         idle_reporting = <optimized out>
         report_idle = 1
         away_seconds = <optimized out>
         idle_recheck_interval = <optimized out>
         idle_poll_seconds = 300
 #12 0x00007ffff52756c2 in purple_signal_emit_vargs (instance=<optimized
 out>,
     signal=signal at entry=0x7ffff52c4eea "signing-on",
 args=args at entry=0x7fffffffbce0)
     at /build/pidgin-v7tOm6/pidgin-2.10.11/./libpurple/signals.c:482
         instance_data = <optimized out>
         signal_data = 0x555555aa7980
         handler_data = <optimized out>
         l = <optimized out>
         l_next = 0x0
         tmp = {{gp_offset = 24, fp_offset = 48, overflow_arg_area =
 0x7fffffffbdc0,
             reg_save_area = 0x7fffffffbd00}}
         __FUNCTION__ = "purple_signal_emit_vargs"
 #13 0x00007ffff527581e in purple_signal_emit (instance=<optimized out>,
     signal=signal at entry=0x7ffff52c4eea "signing-on")
     at /build/pidgin-v7tOm6/pidgin-2.10.11/./libpurple/signals.c:434
         args = {{gp_offset = 16, fp_offset = 48, overflow_arg_area =
 0x7fffffffbdc0,
             reg_save_area = 0x7fffffffbd00}}
         __FUNCTION__ = "purple_signal_emit"
 #14 0x00007ffff523fa8c in _purple_connection_new (account=0x555555a94a60,
 regist=0,
     password=0x0) at /build/pidgin-
 v7tOm6/pidgin-2.10.11/./libpurple/connection.c:155
         gc = 0x555556113bb0
         prpl = 0x555555921f80
         prpl_info = 0x7fffdf432c80 <prpl_info>
         password = 0x0
         regist = 0
         account = 0x555555a94a60
 #15 0x00007ffff522dbb8 in purple_accounts_restore_current_statuses ()
     at /build/pidgin-v7tOm6/pidgin-2.10.11/./libpurple/account.c:3136
         l = 0x555555a26020
         account = 0x555555a94a60
 #16 0x000055555558fc69 in main (argc=1, argv=0x7fffffffe1e8)
     at /build/pidgin-v7tOm6/pidgin-2.10.11/./pidgin/gtkmain.c:916
         opt_help = -16784
         opt_version = 1438997520
         opt_config_dir_arg = 0x0
         accounts = 0x0
         sigset = {__val = {82950, 0 <repeats 15 times>}}
         errmsg = '\000' <repeats 216 times>...
         signal_channel = 0x0
         signal_status = G_IO_STATUS_ERROR
         error = 0x0
         opt = 0
         debug_enabled = 80
         active_accounts = 0x0
         long_options = {{name = 0x55555562c3e7 "config", has_arg = 1, flag
 = 0x0, val = 99}, {
             name = 0x55555561a7b9 "debug", has_arg = 0, flag = 0x0, val =
 100}, {
             name = 0x5555556283a1 "force-online", has_arg = 0, flag = 0x0,
 val = 102}, {
             name = 0x55555561c33a "help", has_arg = 0, flag = 0x0, val =
 104}, {
             name = 0x55555562824d "login", has_arg = 2, flag = 0x0, val =
 108}, {
             name = 0x5555556283ae "multiple", has_arg = 0, flag = 0x0, val
 = 109}, {
             name = 0x5555556283b7 "nologin", has_arg = 0, flag = 0x0, val
 = 110}, {
             name = 0x55555562c3fa "session", has_arg = 1, flag = 0x0, val
 = 115}, {
             name = 0x55555561ebfa "version", has_arg = 0, flag = 0x0, val
 = 118}, {
             name = 0x55555562c3f0 "display", has_arg = 1, flag = 0x0, val
 = 68}, {
             name = 0x555555628f43 "sync", has_arg = 0, flag = 0x0, val =
 83}, {name = 0x0,
             has_arg = 0, flag = 0x0, val = 0}}
 (gdb)
 }}}

--
Ticket URL: <https://developer.pidgin.im/ticket/17031>
Pidgin <https://pidgin.im>
Pidgin


More information about the Tracker mailing list