Summary: | net-im/pidgin-2.1.0 segfaults when email notification is enabled | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dmitry Karasik <dkarasik> |
Component: | Current packages | Assignee: | Gentoo Net-im project <net-im> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | The gdb backtrace. |
Description
Dmitry Karasik
2007-08-07 14:57:50 UTC
Created attachment 127176 [details]
The gdb backtrace.
Note that returned_count == 11 and i == 11, so when we try to free we are first dereferencing a pointer to memory we didn't allocate, and then freeing something that wasn't even initialized.
This problem also happens to me. This crash is known upstream¹ and should be fixed in 2.1.1. As for your second point about line 104, xmlnode_get_data returns a copy of data, not an internal pointer, and it must be g_free'd later. There's nothing wrong there. ¹ http://developer.pidgin.im/ticket/2323 lets mark it upstream then |