GNOME Bugzilla – Bug 624335
Abort after group-by-thread with certain sorting
Last modified: 2010-08-13 17:09:17 UTC
Moving this from a downstream bug report: https://bugzilla.redhat.com/show_bug.cgi?id=597456 After quite large investigation with a reporter it turned out that having set sort options: follow up flag (descending) date (descending) and turning on group-by-thread in the same folder leads to a crash. Namely: *** glibc detected *** /build/local/bin/evolution: free(): invalid pointer: 0x01581a31 *** gdb) bt
+ Trace 222842
Created attachment 165878 [details] [review] evo patch for evolution; It turned out that the values returned from ml_tree_value_at_ex aren't newly allocated data, thus they shouldn't be freed. The invalid pointer was an empty string constant, which really shouldn't be freed. I supposed the value is newly allocated memory because ml_tree_value_at_ex returns gpointer, not a gconstpointer, but it was obviously incorrect observation.
Created commit 31128ea in evo master (2.31.6+) Created commit 1dc0de3 in evo gnome-2-30 (2.30.3+)
*** Bug 626831 has been marked as a duplicate of this bug. ***