Bug 540435 - [abrt] double free in evolution-2.28.0, vee_rebuild_folder, g_hash_table_resize
Summary: [abrt] double free in evolution-2.28.0, vee_rebuild_folder, g_hash_table_resize
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: evolution
Version: 12
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Matthew Barnes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:b36d314e847dda5095f25f1b988...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-23 11:44 UTC by Mark McLoughlin
Modified: 2009-11-23 14:12 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-11-23 14:12:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (28.81 KB, text/plain)
2009-11-23 11:44 UTC, Mark McLoughlin
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 602729 0 None None None Never

Description Mark McLoughlin 2009-11-23 11:44:23 UTC
abrt detected a crash.

Comment
-----
Just got this while starting up evo

Folders are all local mboxen

See the glibc double-free/corruption message during hash table resize in camel-vee-folder.c

Attached file: backtrace
cmdline: evolution --component=mail
component: evolution
executable: /usr/bin/evolution
kernel: 2.6.31.5-127.fc12.i686.PAE
package: evolution-2.28.0-2.fc12
rating: 4
reason: Process was terminated by signal 6

Comment 1 Mark McLoughlin 2009-11-23 11:44:26 UTC
Created attachment 373086 [details]
File: backtrace

Comment 2 Mark McLoughlin 2009-11-23 11:46:53 UTC
Interesting bit from the stack trace:

#3  0x01707e5d in __libc_message (do_abort=<value optimized out>, 
    fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:186
        ap = 
    0xb526ad58 "*** glibc detected *** evolution: double free or corruption (!prev): 0x09110b28 ***\n"
...
#4  0x0170e261 in malloc_printerr (action=<value optimized out>, 
#5  0x00fc4557 in IA__g_free (mem=<value optimized out>) at gmem.c:190
#6  0x00fad495 in g_hash_table_resize (hash_table=<value optimized out>)
#7  g_hash_table_maybe_resize (hash_table=<value optimized out>)
#8  g_hash_table_insert_internal (hash_table=<value optimized out>)
#9  0x0098622e in vee_rebuild_folder (vf=<value optimized out>, 
    source=<value optimized out>, ex=<value optimized out>)
    at camel-vee-folder.c:1117

Comment 3 Milan Crha 2009-11-23 14:08:53 UTC
Thanks for a bug report. I see there are too many <value optimized out> variables, thus it's hard to know whether the exact error is a parallel call to g_hash_table_resize on the same vfolder, as Thread 1 and Thread 6 are doing pretty the same thing there, or not.

Comment 4 Milan Crha 2009-11-23 14:12:23 UTC
I couldn't find the same bug report upstream, thus I entered a new one there [1].

[1] https://bugzilla.gnome.org/show_bug.cgi?id=602729


Note You need to log in before you can comment on or make changes to this bug.