[Pidgin] #2809: pidgin seg faults on startup after changing mins_before_away preferences

Pidgin trac at pidgin.im
Mon Aug 27 08:48:00 EDT 2007


#2809: pidgin seg faults on startup after changing mins_before_away preferences
--------------------------+-------------------------------------------------
 Reporter:  cnkbrown      |       Type:  defect
   Status:  new           |   Priority:  minor 
Component:  pidgin (gtk)  |    Version:  2.1.1 
 Keywords:                |    Pending:  0     
--------------------------+-------------------------------------------------
 In pidgin 2.0.2, I changed my mins before away preferences because pidgin
 kept showing me idle. On restarting pidgin it always segment faults.  I
 installed 2.1.1, and it exhibits the same behavior.  Here's a script of
 the gdb run;

 ------

 Script started on Mon 27 Aug 2007 07:46:25 AM EDT
 ]0;cbrown at cbrown-laptop: ~cbrown at cbrown-laptop:~$ 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 "i486-linux-gnu"...

 Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

 (gdb) handle siSIGPIPE nostop

 Signal        Stop      Print   Pass to program Description

 SIGPIPE       No        Yes     Yes             Broken pipe

 (gdb) run

 Starting program: /usr/local/bin/pidgin

 [Thread debugging using libthread_db enabled]

 [New Thread -1222219552 (LWP 31282)]



 Program received signal SIGSEGV, Segmentation fault.

 [Switching to Thread -1222219552 (LWP 31282)]

 0xb7630e67 in find_pref (name=0xb7660139 "/purple/away/mins_before_away")

     at prefs.c:89

 89      prefs.c: No such file or directory.

         in prefs.c

 (gdb) bt full

 #0  0xb7630e67 in find_pref (name=0xb7660139
 "/purple/away/mins_before_away")

     at prefs.c:89

         __PRETTY_FUNCTION__ = "find_pref"

 #1  0xb7631091 in purple_prefs_get_int (

     name=0xb7660139 "/purple/away/mins_before_away") at prefs.c:1005

         pref = <value optimized out>

 #2  0xb762288b in check_idleness () at idle.c:122

         time_idle = <value optimized out>

         auto_away = -1089691496

         idle_reporting = (

     const gchar *) 0xb763fc03
 "\205À\211Çt^\213@\024\205Àu\030ëM\213B\f\211D$\004\213E\020\211\004$ÿR\004\205ö\211ðt7\213\020\213p\004\213E\020\211Eð\213B\020\205ÀuØÇD$\f"

         report_idle = <value optimized out>

         away_seconds = <value optimized out>

         idle_recheck_interval = <value optimized out>

 #3  0xb7622bf7 in check_idleness_timer () at idle.c:221

 No locals.

 #4  0xb763d465 in purple_savedstatus_set_idleaway (idleaway=0)

     at savedstatuses.c:869

         accounts = <value optimized out>

         node = <value optimized out>

         old = <value optimized out>

 ---Type <return> to continue, or q <return> to quit---q

 Quit

 (gdb) quit

 The program is running.  Exit anyway? (y or n) y

 ]0;cbrown at cbrown-laptop: ~cbrown at cbrown-laptop:~$ exit


 Script done on Mon 27 Aug 2007 07:47:14 AM EDT

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


More information about the Tracker mailing list