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 331980 - Connector crashes on account changed signal
Connector crashes on account changed signal
Status: RESOLVED FIXED
Product: Evolution Exchange
Classification: Deprecated
Component: Connector
2.5.x
Other Linux
: Normal major
: 2.5
Assigned To: Connector Maintainer
Ximian Connector QA
Depends on:
Blocks: 327514
 
 
Reported: 2006-02-21 04:56 UTC by Sushma Rai
Modified: 2006-02-21 05:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix for invalid free of camel parameters. (1.09 KB, patch)
2006-02-21 05:05 UTC, Sushma Rai
none Details | Review

Description Sushma Rai 2006-02-21 04:56:02 UTC
If some settings like drafts/sent items, are changed
observed the crash in exchange storage.

On evolution-exchange-storage console found, 
*** glibc detected *** corrupted double-linked list: 0x4191e8d8 ***

The gdb stack traces for the crash,

Thread 2 (Thread 1101884336 (LWP 7726))

  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 __lll_mutex_lock_wait
    from /lib/tls/libc.so.6
  • #5 _L_mutex_lock_224
    from /lib/tls/libc.so.6
  • #6 ??
    from /usr/X11R6/lib/libX11.so.6
  • #7 ??
  • #8 ??
    from /lib/tls/libc.so.6
  • #9 ptmalloc_lock_all
    from /lib/tls/libc.so.6
  • #10 fork
    from /lib/tls/libc.so.6
  • #11 fork
    from /lib/tls/libpthread.so.0
  • #12 libgnomeui_segv_handle
    at gnome-ui-init.c line 763
  • #13 <signal handler called>
  • #14 ??
  • #15 ??
  • #16 ??
  • #17 ??
  • #18 raise
    from /lib/tls/libc.so.6
  • #19 abort
    from /lib/tls/libc.so.6
  • #20 __libc_message
    from /lib/tls/libc.so.6
  • #21 malloc_printerr
    from /lib/tls/libc.so.6
  • #22 malloc_consolidate
    from /lib/tls/libc.so.6
  • #23 main_arena
    from /lib/tls/libc.so.6
  • #24 main_arena
    from /lib/tls/libc.so.6
  • #25 ??
  • #26 main_arena
    from /lib/tls/libc.so.6
  • #27 ??
  • #28 ??
  • #29 ??
    from /lib/tls/libc.so.6
  • #30 ??
  • #31 ??
  • #32 ??
  • #33 _int_malloc
    from /lib/tls/libc.so.6

and the valgrind traces are
==14954== Invalid free() / delete / delete[]
==14954==    at 0x401BF57: free (vg_replace_malloc.c:235)
==14954==    by 0x57AF9A1: g_free (gmem.c:172)
==14954==    by 0x57976B8: g_datalist_clear (gdataset.c:117)
==14954==    by 0x4620E75: camel_url_free (camel-url.c:399)
==14954==    by 0x8058898: exchange_camel_urls_is_equal (exchange-config-listener.c:697)
==14954==    by 0x80583B5: account_changed (exchange-config-listener.c:516)
==14954==    by 0x5719BDC: g_cclosure_marshal_VOID__OBJECT (gmarshal.c:636)
==14954==    by 0x570BF76: g_type_class_meta_marshal (gclosure.c:567)
==14954==    by 0x570C5C9: g_closure_invoke (gclosure.c:490)
==14954==    by 0x571C542: signal_emit_unlocked_R (gsignal.c:2487)
==14954==    by 0x571DC49: g_signal_emit_valist (gsignal.c:2208)
==14954==    by 0x571DFBD: g_signal_emit (gsignal.c:2252)
==14954==  Address 0x5D0B6B0 is 0 bytes inside a block of size 10 free'd
==14954==    at 0x401BF57: free (vg_replace_malloc.c:235)
==14954==    by 0x57AF9A1: g_free (gmem.c:172)
==14954==    by 0x805886B: exchange_camel_urls_is_equal (exchange-config-listener.c:694)
==14954==    by 0x80583B5: account_changed (exchange-config-listener.c:516)
==14954==    by 0x5719BDC: g_cclosure_marshal_VOID__OBJECT (gmarshal.c:636)
==14954==    by 0x570BF76: g_type_class_meta_marshal (gclosure.c:567)
==14954==    by 0x570C5C9: g_closure_invoke (gclosure.c:490)
==14954==    by 0x571C542: signal_emit_unlocked_R (gsignal.c:2487)
==14954==    by 0x571DC49: g_signal_emit_valist (gsignal.c:2208)
==14954==    by 0x571DFBD: g_signal_emit (gsignal.c:2252)
==14954==    by 0x486251C: gconf_accounts_changed (e-account-list.c:152)
==14954==    by 0x5698FD4: notify_listeners_callback (gconf-client.c:2368)
Comment 1 Sushma Rai 2006-02-21 05:05:34 UTC
Created attachment 59818 [details] [review]
fix for invalid free of camel parameters.
Comment 2 Sushma Rai 2006-02-21 05:06:04 UTC
Fix committed to CVS head.