[Pidgin] #1649: pidgin crashes on startup because of invalid entries in ~/.purple/prefs.xml
Pidgin
trac at pidgin.im
Tue Jun 12 15:05:57 EDT 2007
#1649: pidgin crashes on startup because of invalid entries in ~/.purple/prefs.xml
--------------------------+-------------------------------------------------
Reporter: rag | Type: defect
Status: new | Priority: minor
Component: pidgin (gtk) | Version: 2.0.1
Keywords: | Pending: 0
--------------------------+-------------------------------------------------
There is an issue I've encountered both with pidgin-2.0.0 and and 2.0.1.
When I
receive a file over ICQ (I don't use anything else actually) sometimes the
target folder, where the file was saved, is not getting saved to
~/.purple/prefs.xml. When I start pidgin the next time it segfaults while
parsing prefs.xml. The corrupted tag looks like this:
{{{
<pref name='last_save_folder' type='path'/>
}}}
instead of
{{{
<pref name='last_save_folder' type='path' value='PATH TO THE FOLDER'/>
}}}
As you see the value-attribute is missing, which forces pidgin to crash
while
validating an empty string (see attached backtrace). The crash actually
happens
in GLIB in g_utf8_validate(), but, as I understand it, GLIB does nothing
wrong.
I use a few plug-ins, but none of them should interfere with prefs-saving
code.
--
Ticket URL: <http://developer.pidgin.im/ticket/1649>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list