[Pidgin] #7761: Fixes for libpurple to avoid segfaults
Pidgin
trac at pidgin.im
Sat Jan 3 11:59:28 EST 2009
#7761: Fixes for libpurple to avoid segfaults
--------------------+-------------------------------------------------------
Reporter: vadiml | Owner: datallah
Type: patch | Status: new
Milestone: 2.5.4 | Component: libpurple
Version: 2.5.2 | Resolution:
Keywords: |
--------------------+-------------------------------------------------------
Comment(by darkrain42):
The full backtrace is >10000 entries (and crashed gdb when I tried to get
just the last 100. I think I ran it OOM).
The debug window must be enabled in order for it to crash (sorry, I missed
that). It will then crash because `pidgin_debug_is_enabled` tries to call
`purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/debug/enabled")`.
{{{
(08:57:58) prefs: removing pref /pidgin/debug/enabled
(08:57:58) prefs: removing pref /pidgin/debug/filterlevel
(08:57:58) prefs: purple_prefs_get_bool: Unknown pref
/pidgin/debug/enabled
(08:57:58) prefs: purple_prefs_get_bool: Unknown pref
/pidgin/debug/enabled
(08:57:58) prefs: purple_prefs_get_bool: Unknown pref
/pidgin/debug/enabled
(08:57:58) prefs: purple_prefs_get_bool: Unknown pref
/pidgin/debug/enabled
(08:57:58) prefs: purple_prefs_get_bool: Unknown pref
/pidgin/debug/enabled
(08:57:58) prefs: purple_prefs_get_bool: Unknown pref
/pidgin/debug/enabled
(08:57:58) prefs: purple_prefs_get_bool: Unknown pref
/pidgin/debug/enabled
(08:57:58) prefs: purple_prefs_get_bool: Unknown pref
/pidgin/debug/enabled
etc...
}}}
and eventually runs out of stack.
--
Ticket URL: <http://developer.pidgin.im/ticket/7761#comment:15>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list