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 572197 - e-d-s crashes in libical when calendar applets is clicked
e-d-s crashes in libical when calendar applets is clicked
Status: RESOLVED DUPLICATE of bug 570765
Product: evolution-data-server
Classification: Platform
Component: Calendar
2.26.x (obsolete)
Other Linux
: Normal critical
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2009-02-17 19:32 UTC by Pascal Terjan
Modified: 2013-09-14 16:52 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
libical CMake fix (399 bytes, patch)
2009-02-18 15:17 UTC, Suman Manjunath
none Details | Review

Description Pascal Terjan 2009-02-17 19:32:12 UTC
[pterjan@plop ~]$ gdb /usr/lib/evolution-data-server-2.26 
GNU gdb 6.8-5mdv2009.1 (Mandriva Linux release 2009.1)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-mandriva-linux-gnu"...
(gdb) run
Starting program: /usr/lib/evolution-data-server-2.26 
[Thread debugging using libthread_db enabled]
evolution-data-server-Message: Starting server
[New Thread 0xb6ceaa70 (LWP 15573)]
e-data-server-Message: adding type `EBookBackendFileFactory'
e-data-server-Message: adding type `EBookBackendGroupwiseFactory'
e-data-server-Message: adding type `EBookBackendLDAPFactory'
e-data-server-Message: adding type `EBookBackendVCFFactory'
e-data-server-Message: adding type `ECalBackendCalDAVEventsFactory'
e-data-server-Message: adding type `ECalBackendCalDAVTodosFactory'
e-data-server-Message: adding type `ECalBackendCalDAVMemosFactory'
e-data-server-Message: adding type `ECalBackendContactsEventsFactory'
e-data-server-Message: adding type `ECalBackendFileTodosFactory'
e-data-server-Message: adding type `ECalBackendFileEventsFactory'
e-data-server-Message: adding type `ECalBackendFileJournalFactory'
e-data-server-Message: adding type `ECalBackendGoogleTodosFactory'
e-data-server-Message: adding type `ECalBackendGoogleEventsFactory'
e-data-server-Message: adding type `ECalBackendGroupwiseTodosFactory'
e-data-server-Message: adding type `ECalBackendGroupwiseEventsFactory'
e-data-server-Message: adding type `ECalBackendGroupwiseJournalFactory'
e-data-server-Message: adding type `ECalBackendHttpTodosFactory'
e-data-server-Message: adding type `ECalBackendHttpEventsFactory'
e-data-server-Message: adding type `ECalBackendHttpMemosFactory'
e-data-server-Message: adding type `ECalBackendWeatherEventsFactory'
e-data-server-Message: adding type `EBookBackendGoogleFactory'
e-data-server-Message: adding type `EBookBackendWebdavFactory'
[New Thread 0xb6205b90 (LWP 15582)]
in server_log_handler
evolution-data-server-Message: Server up and running
[New Thread 0xb61c4b90 (LWP 15612)]
[New Thread 0xb59c3b90 (LWP 15615)]
[New Thread 0xb5195b90 (LWP 15624)]
[New Thread 0xb4989b90 (LWP 15625)]
[Thread 0xb59c3b90 (LWP 15615) exited]
[New Thread 0xb3effb90 (LWP 15626)]
[New Thread 0xb59c3b90 (LWP 15627)]
[New Thread 0xb36feb90 (LWP 15628)]
/home/mandrake/rpm/BUILD/libical-0.43/src/libical/icalerror.c:104: BADARG: Bad argument to function
[New Thread 0xb2efdb90 (LWP 15630)]
/usr/lib/libical.so.0(ical_bt+0x2d) [0xb7e32ebd]
/usr/lib/libical.so.0(icalerror_set_errno+0x98) [0xb7e331c8]
/usr/lib/libical.so.0(icalcomponent_new_clone+0xce) [0xb7e329ee]
/usr/lib/evolution-data-server-1.2/extensions/libecalbackendfile.so [0xb6bf2daa]
/usr/lib/libedata-cal-1.2.so.6(e_cal_backend_sync_open+0xb9) [0xb7e9b929]
/usr/lib/libedata-cal-1.2.so.6 [0xb7e9b9fd]
/usr/lib/libedata-cal-1.2.so.6(e_cal_backend_open+0xc3) [0xb7e94383]
/usr/lib/libedata-cal-1.2.so.6 [0xb7e9f8bd]
/usr/lib/libedata-cal-1.2.so.6(_ORBIT_skel_small_GNOME_Evolution_Calendar_Cal_open+0x35) [0xb7e8dad5]
/usr/lib/libORBit-2.so.0 [0xb7be8e5a]
/usr/lib/libORBit-2.so.0(ORBit_OAObject_invoke+0x38) [0xb7bef718]
/usr/lib/libORBit-2.so.0(ORBit_small_invoke_adaptor+0xf3) [0xb7bdb4a3]
/usr/lib/libORBit-2.so.0 [0xb7bed1a6]
/usr/lib/libORBit-2.so.0 [0xb7bed8b7]
/usr/lib/libORBit-2.so.0(giop_thread_queue_process+0x125) [0xb7bd3aa5]
/usr/lib/libORBit-2.so.0 [0xb7bd3ed8]
/usr/lib/libglib-2.0.so.0 [0xb7a0295e]
/usr/lib/libglib-2.0.so.0 [0xb7a012a4]
/lib/i686/libpthread.so.0 [0xb7945315]
/lib/i686/libc.so.6(clone+0x5e) [0xb78c926e]
evolution-data-server-2.26: /home/mandrake/rpm/BUILD/libical-0.43/src/libical/icalerror.c :106 : icalerror_set_errno:  L'assertion « 0 » a échoué.
[New Thread 0xb24ffb90 (LWP 15631)]

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb3effb90 (LWP 15626)]
0xffffe424 in __kernel_vsyscall ()
Missing debug package(s), you should install: GConf2-debug-2.25.2-2mdv2009.1.i586 atk1.0-debug-1.25.2-1mdv2009.1.i586 audiofile-debug-0.2.6-12mdv2009.0.i586 avahi-debug-0.6.24-1mdv2009.1.i586 cyrus-sasl-debug-2.1.22-34mdv2009.1.i586 db47-debug-4.7.25-3mdv2009.1.i586 e2fsprogs-debug-1.41.4-1mnb2.i586 esound-debug-0.2.41-1mdv2009.1.i586 gamin-debug-0.1.10-2mdv2009.1.i586 gcc-debug-4.3.2-5mnb2.i586 gnutls-debug-2.6.4-1mdv2009.1.i586 gvfs-debug-1.1.6-1mdv2009.1.i586 krb5-debug-1.6.3-7mdv2009.1.i586 libbonobo-debug-2.24.0-1mdv2009.0.i586 libgcrypt-debug-1.4.4-1mdv2009.1.i586 libgpg-error-debug-1.7-1mdv2009.1.i586 libgweather-debug-2.25.91-1mdv2009.1.i586 libpng-debug-1.2.34-1mdv2009.1.i586 libproxy-debug-0.2.3-2mdv2009.1.i586 libtasn1-debug-1.8-1mdv2009.1.i586 libx11-debug-1.1.99.2-4mdv2009.1.i586 libxau-debug-1.0.4-1mdv2009.0.i586 libxcb-debug-1.1.93-1mdv2009.1.i586 libxcomposite-debug-0.4.0-3mdv2009.1.i586 libxcursor-debug-1.1.9-3mdv2009.1.i586 libxdamage-debug-1.1.1-3mdv2009.1.i586 libxdmcp-debug-1.0.2-6mdv2009.0.i586 libxext-debug-1.0.5-2mdv2009.1.i586 libxfixes-debug-4.0.3-4mdv2009.1.i586 libxi-debug-1.2.0-1mdv2009.1.i586 libxinerama-debug-1.0.3-2mdv2009.1.i586 libxrandr-debug-1.2.99.4-2mdv2009.1.i586 libxrender-debug-0.9.4-4mdv2009.1.i586 nspr-debug-4.7.3-5mdv2009.1.i586 nss-debug-3.12-11mdv2009.1.i586 openldap-debug-2.4.14-1mdv2009.1.i586 openssl-debug-0.9.8i-5mdv2009.1.i586 pcre-debug-7.8-3mdv2009.1.i586 pixman-debug-0.14.0-1mdv2009.1.i586 rpm-debug-4.4.2.3-22mnb2.i586 sqlite3-debug-3.6.10-2mdv2009.1.i586 zlib-debug-1.2.3-13mdv2009.1.i586
(gdb) thread apply all bt full
[New Thread 0xb1cfeb90 (LWP 15632)]

Thread 12 (Thread 0xb1cfeb90 (LWP 15632))

  • #0 clone
    at ../sysdeps/unix/sysv/linux/i386/clone.S line 111
  • #1 ??
  • #2 ??

Thread 2 (Thread 0xb6205b90 (LWP 15582))

  • #0 clone
    at ../sysdeps/unix/sysv/linux/i386/clone.S line 111
  • #1 ??
  • #2 ??
  • #3 ??
    from /lib/i686/libpthread.so.0
  • #4 pthread_create
    from /lib/i686/libpthread.so.0
  • #5 g_thread_create_posix_impl
    at gthread-posix.c line 355
  • #6 IA__g_thread_create_full
    at gthread.c line 663
  • #7 g_thread_pool_start_thread
    at gthreadpool.c line 366
  • #8 IA__g_thread_pool_push
    at gthreadpool.c line 504
  • #9 giop_thread_request_push_key
    at giop.c line 449
  • #10 pool_push_request_for_T
    at poa.c line 1461
  • #11 ORBit_POA_handle_request
    at poa.c line 1610
  • #12 ORBit_handle_request
    at orbit-adaptor.c line 300
  • #13 giop_connection_handle_input
    at giop-recv-buffer.c line 1312
  • #14 link_connection_io_handler
    at linc-connection.c line 1475
  • #15 link_source_dispatch
    at linc-source.c line 164
  • #16 IA__g_main_context_dispatch
    at gmain.c line 1814
  • #17 g_main_context_iterate
    at gmain.c line 2448
  • #18 IA__g_main_loop_run
    at gmain.c line 2656
  • #19 link_io_thread_fn
    at linc.c line 396
  • #20 g_thread_create_proxy
    at gthread.c line 635
  • #21 start_thread
    from /lib/i686/libpthread.so.0
  • #22 clone
    at ../sysdeps/unix/sysv/linux/i386/clone.S line 130

Comment 1 Suman Manjunath 2009-02-18 08:59:20 UTC
distro is compiling libical with '--enable-icalerrors-are-fatal'
Comment 2 Götz Waschk 2009-02-18 09:35:44 UTC
(In reply to comment #1)
Mandriva is compiling it with cmake and in the cmakefile this is the default.
Comment 3 Suman Manjunath 2009-02-18 15:17:13 UTC
Created attachment 128984 [details] [review]
libical CMake fix

(In reply to comment #2)
> (In reply to comment #1)
> Mandriva is compiling it with cmake and in the cmakefile this is the default.

OK. As indicated -> http://freeassociation.svn.sourceforge.net/viewvc/freeassociation/trunk/libical/CMakeLists.txt?view=markup

# Pass the following variables to cmake to control the build:
#
# -DICAL_ERRORS_ARE_FATAL=[true|false] 
#  Set to make icalerror_* calls abort instead of internally signaling an error
#  Default=true

Compiling libical with '-DICAL_ERRORS_ARE_FATAL=false' will certainly get rid of this critical-warning crasher. 

Or, you may just use the attached patch (for libical) to achieve the same result.

Since the default option upstream is "errors are not fatal", I would rather not have evolution* code trying to do the same. OTOH, as I mentioned on bug #541209 comment #43, it would be good to have a "development" option to make "errors fatal" and fix the issues observed.
Comment 4 Milan Crha 2009-02-18 19:18:33 UTC
I just committed patch from bug #570765, which fixes the issue on evolution-data-server side. Feel free to add your patch to the upstream tracker, I do not think they are monitoring gnome's bugzilla, they do not have a product/component here anyway :)
Comment 5 Srinivasa Ragavan 2009-02-24 19:34:34 UTC
Submit to libical upstream than to EDS :-)
Comment 6 Milan Crha 2009-02-25 15:15:33 UTC
Suman, up to you. I'm closing this as a duplicate of the other bug, but it would be really good idea to move your fix to upstream, because such similar issues is there more, I believe.

*** This bug has been marked as a duplicate of 570765 ***
Comment 7 Suman Manjunath 2009-02-27 03:19:10 UTC
Patch committed upstream in SVN revision 926. Would be a part of libical-0.44.