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 628304 - Crash in icalmemory_new_buffer at icalmemory.c:266
Crash in icalmemory_new_buffer at icalmemory.c:266
Status: RESOLVED DUPLICATE of bug 628139
Product: evolution
Classification: Applications
Component: Calendar
2.32.x (obsolete)
Other Linux
: Urgent critical
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
: 629939 630329 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-08-30 10:34 UTC by Akhil Laddha
Modified: 2013-09-13 01:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.29/2.30



Description Akhil Laddha 2010-08-30 10:34:21 UTC
evolution 2.31.92

Evolution (configured with mapi account) crashed as i tried to move to calendar from mail view.

gdb traces of evolution

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xaa83bb70 (LWP 20996)]
0xb651a32c in malloc_consolidate () from /lib/libc.so.6
(gdb) t a a bt

Thread 1 (Thread 0xb6068830 (LWP 20972))

  • #0 do_lookup_x
    from /lib/ld-linux.so.2
  • #1 _dl_lookup_symbol_x
    from /lib/ld-linux.so.2
  • #2 _dl_fixup
    from /lib/ld-linux.so.2
  • #3 _dl_runtime_resolve
    from /lib/ld-linux.so.2
  • #4 icalcomponent_as_ical_string_r
    at icalcomponent.c line 357
  • #5 e_cal_set_default_timezone
    at e-cal.c line 3974
  • #6 e_memo_shell_sidebar_add_source
    at e-memo-shell-sidebar.c line 937
  • #7 memo_shell_sidebar_row_changed_cb
    at e-memo-shell-sidebar.c line 370
  • #8 _gtk_marshal_VOID__BOXED_BOXED
    at gtkmarshalers.c line 1309
  • #9 g_closure_invoke
    at gclosure.c line 766
  • #10 signal_emit_unlocked_R
    at gsignal.c line 3252
  • #11 g_signal_emit_valist
    at gsignal.c line 2983
  • #12 g_signal_emit
    at gsignal.c line 3040
  • #13 IA__gtk_tree_model_row_changed
    at gtktreemodel.c line 1481
  • #14 e_source_selector_select_source
    at e-source-selector.c line 1519
  • #15 memo_shell_sidebar_restore_state_cb
    at e-memo-shell-sidebar.c line 491
  • #16 g_cclosure_marshal_VOID__OBJECT
    at gmarshal.c line 638
  • #17 g_closure_invoke
    at gclosure.c line 766
  • #18 signal_emit_unlocked_R
    at gsignal.c line 3252
  • #19 g_signal_emit_valist
    at gsignal.c line 2983
  • #20 g_signal_emit
    at gsignal.c line 3040
  • #21 e_shell_window_get_shell_view
    at e-shell-window.c line 961
  • #22 cal_shell_content_constructed
    at e-cal-shell-content.c line 357
  • #23 g_object_newv
    at gobject.c line 1375
  • #24 g_object_new_valist
    at gobject.c line 1463
  • #25 g_object_new
    at gobject.c line 1181
  • #26 e_cal_shell_content_new
    at e-cal-shell-content.c line 665
  • #27 shell_view_constructed
    at e-shell-view.c line 594
  • #28 cal_shell_view_constructed
    at e-cal-shell-view.c line 49
  • #29 g_object_newv
    at gobject.c line 1375
  • #30 g_object_new_valist
    at gobject.c line 1463
  • #31 g_object_new
    at gobject.c line 1181
  • #32 shell_window_create_shell_view
    at e-shell-window.c line 604
  • #33 e_shell_window_get_shell_view
    at e-shell-window.c line 959
  • #34 e_shell_window_switch_to_view
    at e-shell-window-private.c line 534
  • #35 action_switcher_cb
    at e-shell-window-actions.c line 1252
  • #36 g_cclosure_marshal_VOID__OBJECT
    at gmarshal.c line 638
  • #37 g_closure_invoke
    at gclosure.c line 766
  • #38 signal_emit_unlocked_R
    at gsignal.c line 3252
  • #39 g_signal_emit_valist
    at gsignal.c line 2983
  • #40 g_signal_emit
    at gsignal.c line 3040
  • #41 gtk_radio_action_activate
    at gtkradioaction.c line 361
  • #42 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 79
  • #43 g_type_class_meta_marshal
    at gclosure.c line 877
  • #44 g_closure_invoke
    at gclosure.c line 766
  • #45 signal_emit_unlocked_R
    at gsignal.c line 3182
  • #46 g_signal_emit_valist
    at gsignal.c line 2983
  • #47 g_signal_emit
    at gsignal.c line 3040
  • #48 _gtk_action_emit_activate
    at gtkaction.c line 755
  • #49 IA__gtk_action_activate
    at gtkaction.c line 785
  • #50 button_clicked
    at gtktoolbutton.c line 768
  • #51 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 79
  • #52 g_closure_invoke
    at gclosure.c line 766
  • #53 signal_emit_unlocked_R
    at gsignal.c line 3252
  • #54 g_signal_emit_valist
    at gsignal.c line 2983
  • #55 g_signal_emit
    at gsignal.c line 3040
  • #56 IA__gtk_button_clicked
    at gtkbutton.c line 1128
  • #57 gtk_toggle_button_released
    at gtktogglebutton.c line 485
  • #58 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 79
  • #59 g_type_class_meta_marshal
    at gclosure.c line 877
  • #60 g_closure_invoke
    at gclosure.c line 766
  • #61 signal_emit_unlocked_R
    at gsignal.c line 3182
  • #62 g_signal_emit_valist
  • #63 g_signal_emit
    at gsignal.c line 3040
  • #64 gtk_button_released
    at gtkbutton.c line 1120
  • #65 gtk_button_button_release
    at gtkbutton.c line 1617
  • #66 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 84
  • #67 g_type_class_meta_marshal
    at gclosure.c line 877
  • #68 g_closure_invoke
    at gclosure.c line 766
  • #69 signal_emit_unlocked_R
    at gsignal.c line 3290
  • #70 g_signal_emit_valist
    at gsignal.c line 2993
  • #71 g_signal_emit
    at gsignal.c line 3040
  • #72 gtk_widget_event_internal
    at gtkwidget.c line 4943
  • #73 IA__gtk_propagate_event
    at gtkmain.c line 2442
  • #74 IA__gtk_main_do_event
    at gtkmain.c line 1647
  • #75 gdk_event_dispatch
    at gdkevents-x11.c line 2372
  • #76 g_main_dispatch
    at gmain.c line 2119
  • #77 g_main_context_dispatch
    at gmain.c line 2672
  • #78 g_main_context_iterate
    at gmain.c line 2750
  • #79 g_main_loop_run
    at gmain.c line 2958
  • #80 IA__gtk_main
    at gtkmain.c line 1219
  • #81 main
    at main.c line 644
  • #0 malloc_consolidate
    from /lib/libc.so.6
  • #1 _int_malloc
    from /lib/libc.so.6
  • #2 malloc
    from /lib/libc.so.6
  • #3 icalmemory_new_buffer
    at icalmemory.c line 266
  • #4 icalcomponent_as_ical_string_r
    at icalcomponent.c line 328
  • #5 e_cal_set_default_timezone
    at e-cal.c line 3974
  • #6 load_cal_source_thread
    at authentication.c line 229
  • #7 run_in_thread
    at gsimpleasyncresult.c line 783
  • #8 io_job_thread
    at gioscheduler.c line 181
  • #9 g_thread_pool_thread_proxy
    at gthreadpool.c line 314
  • #10 g_thread_create_proxy
    at gthread.c line 1897
  • #11 start_thread
    from /lib/libpthread.so.0
  • #12 clone
    from /lib/libc.so.6

Comment 1 Matthew Barnes 2010-08-30 11:13:39 UTC
Looks like Thread 1 and Thread 23 were competing for a memory buffer or something.  They're both in a icalcomponent_as_ical_string_r() call.  Let me guess: libical memory buffers aren't thread-safe?
Comment 2 Akhil Laddha 2010-09-08 05:41:14 UTC
Got one more crash today

*** glibc detected *** /home/lakhil/opt/gnome3/bin/evolution: double free or corruption (fasttop): 0x080f7290 ***
======= Backtrace: =========
/lib/libc.so.6(+0x6dffb)[0xb6514ffb]
/lib/libc.so.6(+0x6ed7b)[0xb6515d7b]
/lib/libc.so.6(cfree+0x6d)[0xb6519add]
/usr/lib/libical.so.0(+0x37e13)[0xb7aa5e13]
/usr/lib/libical.so.0(icaltimezone_get_component+0x27)[0xb7aa7a17]
/home/lakhil/opt/gnome3/lib/libecal-1.2.so.8(e_cal_set_default_timezone+0x24c)[0xb7ae8e74]
/home/lakhil/opt/gnome3/lib/evolution/2.32/libevolution-calendar.so.0(+0xc1188)[0xb5c8d188]
/home/lakhil/opt/gnome3/lib/libgio-2.0.so.0(+0x6a259)[0xb69ef259]
/home/lakhil/opt/gnome3/lib/libgio-2.0.so.0(+0x59265)[0xb69de265]
/home/lakhil/opt/gnome3/lib/libglib-2.0.so.0(+0x75e7b)[0xb6687e7b]
/home/lakhil/opt/gnome3/lib/libglib-2.0.so.0(+0x7484d)[0xb668684d]
/lib/libpthread.so.0(+0x5b25)[0xb6724b25]
/lib/libc.so.6(clone+0x5e)[0xb657a46e]
======= Memory map: ========
08048000-0804c000 r-xp 00000000 08:06 321876     /home/lakhil/opt/gnome3/bin/evolution
0804c000-0804d000 r--p 00003000 08:06 321876     /home/lakhil/opt/gnome3/bin/evolution
0804d000-0804e000 rw-p 00004000 08:06 321876     /home/lakhil/opt/gnome3/bin/evolution
0804e000-083d9000 rw-p 00000000 00:00 0          [heap]
ab600000-ab621000 rw-p 00000000 00:00 0 
ab621000-ab700000 ---p 00000000 00:00 0 
ab780000-ab7e0000 rw-s 00000000 00:04 7733277    /SYSV00000000 (deleted)
ab7e0000-ab7fc000 r--s 00000000 08:02 1064116    /usr/share/mime/mime.cache
ab7fc000-ab7fd000 ---p 00000000 00:00 0 
ab7fd000-abffd000 rw-p 00000000 00:00 0 
abffd000-abffe000 ---p 00000000 00:00 0 
abffe000-ac7fe000 rw-p 00000000 00:00 0 
ac7fe000-ac7ff000 ---p 00000000 00:00 0 
ac7ff000-acfff000 rw-p 00000000 00:00 0 
acfff000-ad000000 ---p 00000000 00:00 0 
ad000000-ad800000 rw-p 00000000 00:00 0 
ad800000-ad873000 rw-p 00000000 00:00 0 
ad873000-ad900000 ---p 00000000 00:00 0 
ad903000-ad90c000 r-xp 00000000 08:06 755091     /home/lakhil/opt/gnome3/lib/evolution/2.32/plugins/liborg-gnome-save-calendar.so
ad90c000-ad90d000 r--p 00009000 08:06 755091     /home/lakhil/opt/gnome3/lib/evolution/2.32/plugins/liborg-gnome-save-calendar.so
ad90d000-ad90e000 rw-p 0000a000 08:06 755091     /home/lakhil/opt/gnome3/lib/evolution/2.32/plugins/liborg-gnome-save-calendar.so
ad90e000-ad936000 r-xp 00000000 08:06 412364     /home/lakhil/opt/gnome3/lib/gio/modules/libgvfsdbus.so
ad936000-ad937000 r--p 00027000 08:06 412364     /home/lakhil/opt/gnome3/lib/gio/modules/libgvfsdbus.so
ad937000-ad938000 rw-p 00028000 08:06 412364     /home/lakhil/opt/gnome3/lib/gio/modules/libgvfsdbus.so
ad938000-ad943000 r-xp 00000000 08:02 919840     /lib/libnss_files-2.11.2.so
ad943000-ad944000 r--p 0000a000 08:02 919840     /lib/libnss_files-2.11.2.so
ad944000-ad945000 rw-p 0000b000 08:02 919840     /lib/libnss_files-2.11.2.so
ad945000-ad959000 r-xp 00000000 08:06 322209     /home/lakhil/opt/gnome3/lib/libgvfscommon.so.0.0.0
ad959000-ad95a000 r--p 00013000 08:06 322209     /home/lakhil/opt/gnome3/lib/libgvfscommon.so.0.0.0
ad95a000-ad95b000 rw-p 00014000 08:06 322209     /home/lakhil/opt/gnome3/lib/libgvfscommon.so.0.0.0
ad95b000-ad961000 r-xp 00000000 08:02 1061521    /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
ad961000-ad962000 r--p 00005000 08:02 1061521    /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
ad962000-ad963000 rw-p 00006000 08:02 1061521    /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
ad963000-ad97f000 r-xp 00000000 08:06 419532     /home/lakhil/opt/gnome3/lib/evolution-data-server-1.2/camel-providers/libcamelgroupwise.so
ad97f000-ad980000 r--p 0001b000 08:06 419532     /home/lakhil/opt/gnome3/lib/evolution-data-server-1.2/camel-providers/libcamelgroupwise.so
ad980000-ad981000 rw-p 0001c000 08:06 419532     /home/lakhil/opt/gnome3/lib/evolution-data-server-1.2/camel-providers/libcamelgroupwise.so
ad981000-ad982000 ---p 00000000 00:00 0 
ad982000-ae182000 rw-p 00000000 00:00 0 
ae182000-ae1a0000 r-xp 00000000 08:06 419529     /home/lakhil/opt/gnome3/lib/evolution-data-server-1.2/camel-providers/libcamellocal.so
ae1a0000-ae1a1000 r--p 0001d000 08:06 419529     /home/lakhil/opt/gnome3/lib/evolution-data-server-1.2/camel-providers/libcamellocal.so
ae1a1000-ae1a2000 rw-p 0001e000 08:06 419529     /home/lakhil/opt/gnome3/lib/evolution-data-server-1.2/camel-providers/libcamellocal.so
ae1a2000-ae1e6000 r--p 00000000 08:02 285599     /usr/share/fonts/truetype/arial.ttf
ae1e6000-ae1e8000 r-xp 00000000 08:02 137789     /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
ae1e8000-ae1e9000 r--p 00001000 08:02 137789     /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
ae1e9000-ae1ea000 rw-p 00002000 08:02 137789     /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
ae1ea000-ae1f1000 r--s 00000000 08:02 286401     /var/cache/fontconfig/77e41c5059666d75f92e318d4be8c21e-le32d4.cache-3
ae1f1000-ae232000 r--s 00000000 08:02 284904     /var/cache/fontconfig/df311e82a1a24c41a75c2c930223552e-le32d4.cache-3
ae232000-ae273000 r--s 00000000 08:02 284906     /var/cache/fontconfig/17090aa38d5c6f09fb8c5c354938f1d7-le32d4.cache-3
ae273000-ae278000 r--s 00000000 08:02 284907     /var/cache/fontconfig/d62e99ef547d1d24cdb1bd22ec1a2976-le32d4.cache-3
ae278000-ae2ad000 r--s 00000000 08:02 286590     /var/cache/fontconfig/7ef2298fde41cc6eeb7af42e48b7d293-le32d4.cache-3
ae2ad000-ae2cf000 r--s 00000000 08:02 274723     /var/cache/fontconfig/8d4af663993b81a124ee82e610bb31f9-le32d4.cache-3
ae2cf000-ae2fc000 r-xp 00000000 08:06 754526     /home/lakhil/opt/gnome3/lib/evolution/2.32/plugins/liborg-gnome-vcard-inline.so
ae2fc000-ae2fd000 r--p 0002d000 08:06 754526     /home/lakhil/opt/gnome3/lib/evolution/2.32/plugins/liborg-gnome-vcard-inline.so
ae2fd000-ae2fe000 rw-p 0002e000 08:06 754526     /home/lakhil/opt/gnome3/lib/evolution/2.32/plugins/liborg-gnome-vcard-inline.so
ae2fe000-ae3d9000 r-xp 00000000 08:02 1061448    /usr/lib/libgstreamer-0.10.so.0.25.0
ae3d9000-ae3dc000 r--p 000db000 08:02 1061448    /usr/lib/libgstreamer-0.10.so.0.25.0
ae3dc000-ae3de000 rw-p 000de000 08:02 1061448    /usr/lib/libgstreamer-0.10.so.0.25.0
ae3de000-ae3df000 rw-p 00000000 00:00 0 
ae3e2000-ae3e5000 r-xp 00000000 08:06 755101     /home/lakhil/opt/gnome3/lib/evolution/2.32/plugins/liborg-gnome-prefer-plain.so
ae3e5000-ae3e6000 r--p 00003000 08:06 755101     /home/lakhil/opt/gnome3/lib/evolution/2.32/plugins/liborg-gnome-prefer-plain.so
Program received signal SIGABRT, Aborted.

Thread 2885667696 (LWP 31797)

  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/libc.so.6
  • #2 abort
    from /lib/libc.so.6
  • #3 __libc_message
    from /lib/libc.so.6
  • #4 malloc_printerr
    from /lib/libc.so.6
  • #5 _int_free
    from /lib/libc.so.6
  • #6 free
    from /lib/libc.so.6
  • #7 icaltimezone_get_vtimezone_properties
    at icaltimezone.c line 321
  • #8 icaltimezone_get_component
    at icaltimezone.c line 1243
  • #9 e_cal_set_default_timezone
    at e-cal.c line 4017
  • #10 load_cal_source_thread
    at authentication.c line 229
  • #11 run_in_thread
    at gsimpleasyncresult.c line 783
  • #12 io_job_thread
    at gioscheduler.c line 181
  • #13 g_thread_pool_thread_proxy
    at gthreadpool.c line 319
  • #14 g_thread_create_proxy
    at gthread.c line 1897
  • #15 start_thread
    from /lib/libpthread.so.0
  • #16 clone
    from /lib/libc.so.6

Comment 3 Akhil Laddha 2010-09-13 11:41:22 UTC
I get it often now a days.
Comment 4 Akhil Laddha 2010-09-18 04:07:25 UTC
*** Bug 629939 has been marked as a duplicate of this bug. ***
Comment 5 Akhil Laddha 2010-09-22 12:05:16 UTC
*** Bug 630329 has been marked as a duplicate of this bug. ***
Comment 6 David Woodhouse 2010-09-22 14:51:10 UTC
This is a duplicate of bug 628139, which has a more complete diagnosis and a not-quite-correct patch.
Comment 7 Akhil Laddha 2010-09-23 03:23:05 UTC

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