GNOME Bugzilla – Bug 572197
e-d-s crashes in libical when calendar applets is clicked
Last modified: 2013-09-14 16:52:53 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)]
+ Trace 212640
Thread 12 (Thread 0xb1cfeb90 (LWP 15632))
Thread 2 (Thread 0xb6205b90 (LWP 15582))
distro is compiling libical with '--enable-icalerrors-are-fatal'
(In reply to comment #1) Mandriva is compiling it with cmake and in the cmakefile this is the default.
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.
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 :)
Submit to libical upstream than to EDS :-)
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 ***
Patch committed upstream in SVN revision 926. Would be a part of libical-0.44.