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 603506 - evolution-data-server-2.28 crashed with SIGSEGV in gdata_service_set_proxy()
evolution-data-server-2.28 crashed with SIGSEGV in gdata_service_set_proxy()
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Calendar
2.28.x (obsolete)
Other Linux
: Normal critical
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
evolution[google]
: 603854 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-12-01 17:48 UTC by Pedro Villavicencio
Modified: 2010-03-29 12:21 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28


Attachments
eds patch (86.10 KB, patch)
2010-02-17 17:34 UTC, Milan Crha
committed Details | Review

Description Pedro Villavicencio 2009-12-01 17:48:30 UTC
this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/evolution-data-server/+bug/477186

".

Thread 2 (process 6205)

  • #0 *__GI__dl_mcount_wrapper_check
    at dl-profstub.c line 38
  • #1 __gconv
    at gconv.c line 80
  • #2 iconv
    at iconv.c line 53
  • #3 g_iconv
    from /lib/libglib-2.0.so.0
  • #4 g_convert_with_iconv
    from /lib/libglib-2.0.so.0
  • #5 g_convert
    from /lib/libglib-2.0.so.0
  • #6 g_convert_with_fallback
    from /lib/libglib-2.0.so.0
  • #7 ??
    from /lib/libglib-2.0.so.0
  • #8 g_log_default_handler
    from /lib/libglib-2.0.so.0
  • #9 server_log_handler
    at server-logging.c line 150
  • #10 g_logv
    from /lib/libglib-2.0.so.0
  • #11 g_log
    from /lib/libglib-2.0.so.0
  • #12 ??
    from /usr/lib/libgobject-2.0.so.0
  • #13 g_type_register_static
    from /usr/lib/libgobject-2.0.so.0
  • #14 gdata_service_get_type
    at gdata-service-iface.c line 106
  • #15 proxy_settings_changed
    at google-book.c line 746
  • #16 google_book_connect_to_google
    at google-book.c line 771
  • #17 e_book_backend_google_authenticate_user
    at e-book-backend-google.c line 379
  • #18 e_book_backend_sync_authenticate_user
    at e-book-backend-sync.c line 266
  • #19 _e_book_backend_authenticate_user
    at e-book-backend-sync.c line 471
  • #20 e_book_backend_authenticate_user
    at e-book-backend.c line 379
  • #21 impl_GNOME_Evolution_Addressbook_Book_authenticateUser
    at e-data-book.c line 91
  • #22 _ORBIT_skel_small_GNOME_Evolution_Addressbook_Book_authenticateUser
    at Evolution-DataServer-Addressbook-common.c line 60
  • #23 ORBit_POAObject_invoke
    at poa.c line 1148
  • #24 ORBit_OAObject_invoke
    at orbit-adaptor.c line 340
  • #25 ORBit_small_invoke_adaptor
    at orbit-small.c line 846
  • #26 ORBit_POAObject_handle_request
    at poa.c line 1357
  • #27 ORBit_POAObject_invoke_incoming_request
    at poa.c line 1427
  • #28 giop_thread_queue_process
    at giop.c line 792
  • #29 giop_request_handler_thread
    at giop.c line 502
  • #30 ??
    from /lib/libglib-2.0.so.0
  • #31 ??
    from /lib/libglib-2.0.so.0
  • #32 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #33 clone
    at ../sysdeps/unix/sysv/linux/i386/clone.S line 130

Thread 1 (process 6210)

  • #0 gdata_service_set_proxy
    at gdata-service-iface.c line 31
  • #1 proxy_settings_changed
    at google-book.c line 746
  • #2 google_book_connect_to_google
    at google-book.c line 771
  • #3 e_book_backend_google_authenticate_user
    at e-book-backend-google.c line 379
  • #4 e_book_backend_sync_authenticate_user
    at e-book-backend-sync.c line 266
  • #5 _e_book_backend_authenticate_user
    at e-book-backend-sync.c line 471
  • #6 e_book_backend_authenticate_user
    at e-book-backend.c line 379
  • #7 impl_GNOME_Evolution_Addressbook_Book_authenticateUser
    at e-data-book.c line 91
  • #8 _ORBIT_skel_small_GNOME_Evolution_Addressbook_Book_authenticateUser
    at Evolution-DataServer-Addressbook-common.c line 60
  • #9 ORBit_POAObject_invoke
    at poa.c line 1148
  • #10 ORBit_OAObject_invoke
    at orbit-adaptor.c line 340
  • #11 ORBit_small_invoke_adaptor
    at orbit-small.c line 846
  • #12 ORBit_POAObject_handle_request
    at poa.c line 1357
  • #13 ORBit_POAObject_invoke_incoming_request
    at poa.c line 1427
  • #14 giop_thread_queue_process
    at giop.c line 792
  • #15 giop_request_handler_thread
    at giop.c line 502
  • #16 ??
    from /lib/libglib-2.0.so.0
  • #17 ??
    from /lib/libglib-2.0.so.0
  • #18 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #19 clone
    at ../sysdeps/unix/sysv/linux/i386/clone.S line 130

Comment 1 Milan Crha 2010-02-17 14:55:35 UTC
This is probably crucial:
>#9  0x0804ad91 in server_log_handler (domain=0x857c7c "GLib-GObject", 
>    flags=G_LOG_LEVEL_WARNING, 
>    msg=0x9959130 "cannot register existing type `GDataService'", 
>    user_data=0x96167b0) at server-logging.c:150
>	es = (BonoboEventSource *) 0x96167b0
>	ev = {_id = 0x96108b8 "async-context", _major = 3, _any = {
>    _type = 0xf31ff4, _value = 0x85d608, _release = 16 '\020'}}
>	value = {_type = 0x804dd00, _value = 0xb77117e8, _release = 10 '\n'}
>	log_event = {domain = 0x857c7c "GLib-GObject", 
>  level = GNOME_Evolution_DataServer_Logging_Warning, 
>  message = 0x9959130 "cannot register existing type `GDataService'"}
Comment 2 Milan Crha 2010-02-17 17:34:15 UTC
Created attachment 154058 [details] [review]
eds patch

for evolution-data-server;

Use thread safe G_DEFINE_TYPE/G_DEFINE_TYPE_EXTENDED macros. I'll do similar in other evolution related products as well. Nonetheless, this one change should fix it, so I'm closing this bug.
Comment 3 Milan Crha 2010-02-17 17:34:55 UTC
Created commit c8de86e in eds master (2.29.91+)
Comment 4 Milan Crha 2010-02-17 18:05:18 UTC
Created commit b373c4d in eex master (2.29.91+)
Created commit b51b94d in ema master (0.29.91+)
Comment 5 Milan Crha 2010-03-29 12:21:14 UTC
*** Bug 603854 has been marked as a duplicate of this bug. ***