After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 619438 - invalid address passed to strdup() in message_info_to_db()
invalid address passed to strdup() in message_info_to_db()
Status: RESOLVED DUPLICATE of bug 574940
Product: evolution
Classification: Applications
Component: Mailer
2.30.x (obsolete)
Other Linux
: Normal critical
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2010-05-23 14:15 UTC by Brian J. Murrell
Modified: 2010-05-26 05:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Brian J. Murrell 2010-05-23 14:15:25 UTC
Using gnome-2-30 (as of May 22, 2010):


Thread 1 (Thread 16563)

  • #0 __strlen_sse2
    at ../sysdeps/i386/i686/multiarch/strlen.S line 87
  • #1 IA__g_strdup
    at /build/buildd/glib2.0-2.24.1/glib/gstrfuncs.c line 101
  • #2 message_info_to_db
    at camel-folder-summary.c line 3493
  • #3 save_to_db_cb
    at camel-folder-summary.c line 1531
  • #4 IA__g_hash_table_foreach
    at /build/buildd/glib2.0-2.24.1/glib/ghash.c line 1325
  • #5 save_message_infos_to_db
    at camel-folder-summary.c line 1588
  • #6 camel_folder_summary_save_to_db
    at camel-folder-summary.c line 1637
  • #7 filter_free
    at camel-folder.c line 2039
  • #8 session_thread_msg_free
    at camel-session.c line 581
  • #9 ms_thread_msg_free
    at mail-session.c line 628
  • #10 camel_session_thread_msg_free
    at camel-session.c line 694
  • #11 session_thread_proxy
    at camel-session.c line 601
  • #12 g_thread_pool_thread_proxy
    at /build/buildd/glib2.0-2.24.1/glib/gthreadpool.c line 315
  • #13 g_thread_create_proxy
    at /build/buildd/glib2.0-2.24.1/glib/gthread.c line 1893
  • #14 start_thread
    at pthread_create.c line 300
  • #15 clone
    at ../sysdeps/unix/sysv/linux/i386/clone.S line 130

Comment 1 Brian J. Murrell 2010-05-24 13:33:18 UTC
Here's another.

This might be some kind of multi-threading/race condition as it seems to happen most frequently when I have a number of things going on evolution, like waiting for sa-learn to tag and learn junk while still going through and deleting other messages, or composing a new message, etc.

Thread 1 (Thread 5091)

  • #0 __strlen_sse2
    at ../sysdeps/i386/i686/multiarch/strlen.S line 87
  • #1 IA__g_strdup
    at /build/buildd/glib2.0-2.24.1/glib/gstrfuncs.c line 101
  • #2 message_info_to_db
    at camel-folder-summary.c line 3493
  • #3 save_to_db_cb
    at camel-folder-summary.c line 1531
  • #4 IA__g_hash_table_foreach
    at /build/buildd/glib2.0-2.24.1/glib/ghash.c line 1325
  • #5 save_message_infos_to_db
    at camel-folder-summary.c line 1588
  • #6 camel_folder_summary_save_to_db
    at camel-folder-summary.c line 1637
  • #7 filter_free
    at camel-folder.c line 2039
  • #8 session_thread_msg_free
    at camel-session.c line 581
  • #9 ms_thread_msg_free
    at mail-session.c line 628
  • #10 camel_session_thread_msg_free
    at camel-session.c line 694
  • #11 session_thread_proxy
    at camel-session.c line 601
  • #12 g_thread_pool_thread_proxy
    at /build/buildd/glib2.0-2.24.1/glib/gthreadpool.c line 315
  • #13 g_thread_create_proxy
    at /build/buildd/glib2.0-2.24.1/glib/gthread.c line 1893
  • #14 start_thread
    at pthread_create.c line 300
  • #15 clone
    at ../sysdeps/unix/sysv/linux/i386/clone.S line 130

Comment 2 Brian J. Murrell 2010-05-25 12:09:06 UTC
Another instance in case it helps.  Again, was processing multiple messages at the same time.

Thread 1 (Thread 18012)

  • #0 __strlen_sse2
    at ../sysdeps/i386/i686/multiarch/strlen.S line 87
  • #1 IA__g_strdup
    at /build/buildd/glib2.0-2.24.1/glib/gstrfuncs.c line 101
  • #2 message_info_to_db
    at camel-folder-summary.c line 3493
  • #3 save_to_db_cb
    at camel-folder-summary.c line 1531
  • #4 IA__g_hash_table_foreach
    at /build/buildd/glib2.0-2.24.1/glib/ghash.c line 1325
  • #5 save_message_infos_to_db
    at camel-folder-summary.c line 1588
  • #6 camel_folder_summary_save_to_db
    at camel-folder-summary.c line 1637
  • #7 filter_free
    at camel-folder.c line 2039
  • #8 session_thread_msg_free
    at camel-session.c line 581
  • #9 ms_thread_msg_free
    at mail-session.c line 628
  • #10 camel_session_thread_msg_free
    at camel-session.c line 694
  • #11 session_thread_proxy
    at camel-session.c line 601
  • #12 g_thread_pool_thread_proxy
    at /build/buildd/glib2.0-2.24.1/glib/gthreadpool.c line 315
  • #13 g_thread_create_proxy
    at /build/buildd/glib2.0-2.24.1/glib/gthread.c line 1893
  • #14 start_thread
    at pthread_create.c line 300
  • #15 clone
    at ../sysdeps/unix/sysv/linux/i386/clone.S line 130

Comment 3 Akhil Laddha 2010-05-26 05:30:38 UTC

*** This bug has been marked as a duplicate of bug 574940 ***