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 691303 - Valgrind error: message_info_from_uid: Invalid read of size 1
Valgrind error: message_info_from_uid: Invalid read of size 1
Status: RESOLVED INCOMPLETE
Product: evolution-data-server
Classification: Platform
Component: Mailer
3.4.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2013-01-07 17:43 UTC by Paul Menzel
Modified: 2013-01-23 15:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paul Menzel 2013-01-07 17:43:29 UTC
Running Evolution 3.4.4 from Debian Sid/unstable under Valgrind, the following message is shown.

==2469== Thread 11:
==2469== Invalid read of size 1
==2469==    at 0x52898BA: g_str_hash (ghash.c:1730)
==2469==    by 0x5288E27: g_hash_table_lookup (ghash.c:401)
==2469==    by 0x4945A6A: message_info_from_uid (in /usr/lib/libcamel-1.2.so.33.0.0)
==2469==    by 0x494055E: camel_folder_summary_get (in /usr/lib/libcamel-1.2.so.33.0.0)
==2469==    by 0x49497D9: folder_get_message_info (in /usr/lib/libcamel-1.2.so.33.0.0)
==2469==    by 0x494B2DE: camel_folder_get_message_info (in /usr/lib/libcamel-1.2.so.33.0.0)
==2469==    by 0xB7370FF: regen_list_exec (in /usr/lib/evolution/3.4/libevolution-mail.so.0.0.0)
==2469==    by 0x487F1DC: mail_msg_proxy (in /usr/lib/evolution/3.4/libemail-utils.so.0.0.0)
==2469==    by 0x52BE887: g_thread_pool_thread_proxy (gthreadpool.c:309)
==2469==    by 0x52BDEB2: g_thread_proxy (gthread.c:801)
==2469==    by 0x543C78D: clone (clone.S:130)
==2469==  Address 0x26d5b7e0 is 0 bytes inside a block of size 5 free'd
==2469==    at 0x482768C: free (vg_replace_malloc.c:446)
==2469==    by 0x529F77A: standard_free (gmem.c:98)
==2469==    by 0x529F8EF: g_free (gmem.c:252)
==2469==    by 0xB73B960: on_selection_changed_cmd (in /usr/lib/evolution/3.4/libevolution-mail.so.0.0.0)
==2469==    by 0x520EBEE: g_cclosure_marshal_VOID__VOID (gmarshal.c:85)
==2469==    by 0x520CE75: g_closure_invoke (gclosure.c:777)
==2469==    by 0x521E944: signal_emit_unlocked_R (gsignal.c:3551)
==2469==    by 0x5226B55: g_signal_emit_valist (gsignal.c:3300)
==2469==    by 0x5226CD2: g_signal_emit (gsignal.c:3356)
==2469==    by 0x66CC39C: et_selection_model_selection_changed (in /usr/lib/evolution/3.4/libetable.so.0.0.0)
==2469==    by 0x520EBEE: g_cclosure_marshal_VOID__VOID (gmarshal.c:85)
==2469==    by 0x520CE75: g_closure_invoke (gclosure.c:777)
==2469==    by 0x521E944: signal_emit_unlocked_R (gsignal.c:3551)
==2469==    by 0x5226B55: g_signal_emit_valist (gsignal.c:3300)
==2469==    by 0x5226CD2: g_signal_emit (gsignal.c:3356)
==2469==    by 0x554E7A9: e_selection_model_selection_changed (in /usr/lib/evolution/3.4/libemiscwidgets.so.0.0.0)
==2469==    by 0x66C6584: etsm_select_single_row (in /usr/lib/evolution/3.4/libetable.so.0.0.0)
==2469==    by 0x554D99B: e_selection_model_select_single_row (in /usr/lib/evolution/3.4/libemiscwidgets.so.0.0.0)
==2469==    by 0x554DD7C: e_selection_model_do_something (in /usr/lib/evolution/3.4/libemiscwidgets.so.0.0.0)
==2469==    by 0x554DF86: e_selection_model_maybe_do_something (in /usr/lib/evolution/3.4/libemiscwidgets.so.0.0.0)
==2469==    by 0x66AAF26: eti_event (in /usr/lib/evolution/3.4/libetable.so.0.0.0)
==2469==    by 0x64DF841: gnome_canvas_marshal_BOOLEAN__BOXED (in /usr/lib/evolution/3.4/libgnomecanvas.so.0.0.0)
==2469==    by 0x1D92A187: ???
Comment 1 André Klapper 2013-01-08 13:33:45 UTC
(In reply to comment #0)
> Running Evolution 3.4.4 from Debian Sid/unstable under Valgrind, the following
> message is shown.
> 
> ==2469== Thread 11:
> ==2469== Invalid read of size 1
> ==2469==    by 0x4945A6A: message_info_from_uid (in
> /usr/lib/libcamel-1.2.so.33.0.0)
> ==2469==    by 0x494055E: camel_folder_summary_get (in
> /usr/lib/libcamel-1.2.so.33.0.0)
> ==2469==    by 0x49497D9: folder_get_message_info (in
> /usr/lib/libcamel-1.2.so.33.0.0)
> ==2469==    by 0x494B2DE: camel_folder_get_message_info (in
> /usr/lib/libcamel-1.2.so.33.0.0)
> ==2469==    by 0xB7370FF: regen_list_exec (in
> /usr/lib/evolution/3.4/libevolution-mail.so.0.0.0)
> ==2469==    by 0x487F1DC: mail_msg_proxy (in
> /usr/lib/evolution/3.4/libemail-utils.so.0.0.0)

These are missing source code filenames and linenumbers.
Comment 2 Paul Menzel 2013-01-08 14:38:10 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > Running Evolution 3.4.4 from Debian Sid/unstable under Valgrind, the following
> > message is shown.
> > 
> > ==2469== Thread 11:
> > ==2469== Invalid read of size 1
> > ==2469==    by 0x4945A6A: message_info_from_uid (in
> > /usr/lib/libcamel-1.2.so.33.0.0)
> > ==2469==    by 0x494055E: camel_folder_summary_get (in
> > /usr/lib/libcamel-1.2.so.33.0.0)
> > ==2469==    by 0x49497D9: folder_get_message_info (in
> > /usr/lib/libcamel-1.2.so.33.0.0)
> > ==2469==    by 0x494B2DE: camel_folder_get_message_info (in
> > /usr/lib/libcamel-1.2.so.33.0.0)
> > ==2469==    by 0xB7370FF: regen_list_exec (in
> > /usr/lib/evolution/3.4/libevolution-mail.so.0.0.0)
> > ==2469==    by 0x487F1DC: mail_msg_proxy (in
> > /usr/lib/evolution/3.4/libemail-utils.so.0.0.0)
> 
> These are missing source code filenames and linenumbers.

Any idea, why that might be. Using GDB I get the information just fine.

In #gtk+ user Jasper recommended to build with `-fno-omit-frame-pointer`. I will try that next.
Comment 3 Paul Menzel 2013-01-18 12:28:49 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > (In reply to comment #0)
> > > Running Evolution 3.4.4 from Debian Sid/unstable under Valgrind, the following
> > > message is shown.
> > > 
> > > ==2469== Thread 11:
> > > ==2469== Invalid read of size 1
> > > ==2469==    by 0x4945A6A: message_info_from_uid (in
> > > /usr/lib/libcamel-1.2.so.33.0.0)
> > > ==2469==    by 0x494055E: camel_folder_summary_get (in
> > > /usr/lib/libcamel-1.2.so.33.0.0)
> > > ==2469==    by 0x49497D9: folder_get_message_info (in
> > > /usr/lib/libcamel-1.2.so.33.0.0)
> > > ==2469==    by 0x494B2DE: camel_folder_get_message_info (in
> > > /usr/lib/libcamel-1.2.so.33.0.0)
> > > ==2469==    by 0xB7370FF: regen_list_exec (in
> > > /usr/lib/evolution/3.4/libevolution-mail.so.0.0.0)
> > > ==2469==    by 0x487F1DC: mail_msg_proxy (in
> > > /usr/lib/evolution/3.4/libemail-utils.so.0.0.0)
> > 
> > These are missing source code filenames and linenumbers.
> 
> Any idea, why that might be. Using GDB I get the information just fine.
> 
> In #gtk+ user Jasper recommended to build with `-fno-omit-frame-pointer`. I
> will try that next.

Unfortunately this did not help as far as I see. Any other ideas [1]?

[1] https://mail.gnome.org/archives/evolution-hackers/2013-January/msg00020.html
Comment 4 Paul Menzel 2013-01-23 15:38:52 UTC
After seeing how Evolution/Evolution-Data-Server is developed, I am going to switch to a different MUA, which hopefully does not make me upset so often. Therefore I am not going to provide further information on this report.