https://bugzilla.novell.com/show_bug.cgi?id=450283
User sbrabec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=450283#c6
--- Comment #6 from Stanislav Brabec 2008-12-01 11:22:59 MST ---
Looking at the code I see no apparent way, how lbm_mbox_header_cb() could get
0x0 as user_data. It is set together with the function itself to apparently
non-zero value in g_mime_parser_set_header_regex().
It may be a race condition. Could you please run also following command
(valgrind has to be installed):
valgrind --tool=helgrind --log-file=balsa.log balsa
balsa will start very slowly and balsa.log will be generated. You will get a
long log of potential race conditions. This may be a hot candidate, but your
log may show more:
==20144== Possible data race during write of size 4 at 0x11CA8C40
==20144== at 0x9536BC9: (within /usr/lib64/libgobject-2.0.so.0.1800.2)
==20144== by 0x9537E65: g_type_register_static (in
/usr/lib64/libgobject-2.0.so.0.1800.2)
==20144== by 0x4E55E07: g_mime_parser_get_type (in
/usr/lib64/libgmime-2.0.so.3.0.12)
==20144== by 0x4E56988: g_mime_parser_new (in
/usr/lib64/libgmime-2.0.so.3.0.12)
==20144== by 0x4E569B5: g_mime_parser_new_with_stream (in
/usr/lib64/libgmime-2.0.so.3.0.12)
==20144== by 0x4B08B8: parse_mailbox (mailbox_mbox.c:468)
==20144== by 0x4B15D4: libbalsa_mailbox_mbox_open (mailbox_mbox.c:718)
==20144== by 0x4A1CAD: libbalsa_mailbox_open (mailbox.c:545)
==20144== by 0x42F222: balsa_index_load_mailbox_node (balsa-index.c:950)
==20144== by 0x4596E4: bw_real_open_mbnode (main-window.c:2200)
==20144== by 0x4C2855F: (within
/usr/lib64/valgrind/amd64-linux/vgpreload_helgrind.so)
==20144== by 0xA22306F: start_thread (pthread_create.c:297)
==20144== Old state: shared-readonly by threads #1, #3
==20144== New state: shared-modified by threads #1, #3
==20144== Reason: this thread, #3, holds no consistent locks
==20144== Last consistently used lock for 0x11CA8C40 was first observed
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.