GNOME Bugzilla – Bug 429317
Added iCal Subscription from 30boxes.com crashes evolution data server
Last modified: 2010-02-11 05:22:55 UTC
Steps to reproduce: 1. create a calendar on 30boxes.com 2. get webcal:// address of calendar from 30boxes settings page 3. add an on the web calendar to evolution using that webcal:// address Stack trace: Memory status: size: 53002240 vsize: 0 resident: 53002240 share: 0 rss: 9842688 rss_rlim: 0 CPU usage: start_time: 1176464030 rtime: 0 utime: 79 stime: 0 cutime:73 cstime: 0 timeout: 6 it_real_value: 0 frequency: 0 Backtrace was generated from '/usr/libexec/evolution-data-server-1.8' (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1221163344 (LWP 16617)] [New Thread -1223128176 (LWP 16618)] 0xb7f08410 in ?? ()
+ Trace 127432
Other information: i'm running on gentoo gnome-extra/evolution-data-server-1.8.2 gnome-extra/evolution-webcal-2.8.0 mail-client/evolution-2.8.2.1 but have also tried on ubuntu 6.10 (edgy eft) with the same result
also started a thread on the support forum http://gnomesupport.org/forums/viewtopic.php?p=56118#56118
Thanks for taking the time to report this bug. Unfortunately, that stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. Can you get us a stack trace with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
i'm not able to recompile with debug on my gentoo machine at the moment, but i'll try and generate the stack with debug on an ubuntu machine (its not my pc though might take a wee while). it is pretty easy to reproduce though :)
i've recompiled evolution, evolution-webcal, evolution-data-server, orbit, glib & glibc with debug flags and i now get the attached stack trace if you can give me any pointers about what else to recompile with debug for more details let me know :) Memory status: size: 51634176 vsize: 0 resident: 51634176 share: 0 rss: 8069120 rss_rlim: 0 CPU usage: start_time: 1176496619 rtime: 0 utime: 12 stime: 0 cutime:9 cstime: 0 timeout: 3 it_real_value: 0 frequency: 0 Backtrace was generated from '/usr/libexec/evolution-data-server-1.8' Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1220692304 (LWP 16337)] [New Thread -1222636656 (LWP 16338)] 0xb7f72410 in ?? ()
+ Trace 127566
found two other bugs that report the same problem 2006-02-23 http://bugzilla.gnome.org/show_bug.cgi?id=332300 2006-08-25 http://bugzilla.gnome.org/show_bug.cgi?id=352904 so i guess this and 352904 should be duplicates of 332300 however neither of these bugs show much sign of progress?
i recompiled the system with CFLAGS="-O2 -g -march=i686 -pipe" and upgrade to 2.18 uther ~ # equery list evolution [ Searching for package 'evolution' in all categories among: ] * installed packages [I--] [ ~] gnome-extra/evolution-data-server-1.10.0 (0) [I--] [ ~] gnome-extra/evolution-webcal-2.9.92 (0) [I--] [ ~] mail-client/evolution-2.10.0 (2.0) but i still get the same problem - here's the new 2.18 stack trace (gdb) thread apply all bt full
+ Trace 128461
this is still happening with the latest release equery list evolution [ Searching for package 'evolution' in all categories among: ] * installed packages [I--] [ ] dev-dotnet/evolution-sharp-0.12.0 (0) [I--] [ ~] gnome-extra/evolution-data-server-1.10.1-r2 (0) [I--] [ ~] gnome-extra/evolution-webcal-2.10.0 (0) [I--] [ ~] mail-client/evolution-2.10.1 (2.0) i've attached the bug trace report - is anyone looking at this?
*** Bug 474306 has been marked as a duplicate of this bug. ***
On <a href="http://bugzilla.gnome.org/show_bug.cgi?id=474306">my reported bug</a>, there's an example webcal:// url that exhibits this problem.
the traces are still not useful :-/ Could you please check if this is still a problem for you with the latest stable release (2.22.x)? If yes, could you provide a stacktrace with proper debugging symbols?
it still doesn't work with 2.22.x, although i'm not in a position to produce a stacktrace at the moment its very easy to reproduce though and i'm clearly not the only one with the problem
High! ;-P I tried Evo 2.25.3 with the webcal:// URL mentioned in Bug #474306. It seems, that in e-cal-backend-http.c:486 a soup_message is uninitialized. Dunno why. See the backtrace (e-d-s): Program received signal SIGSEGV, Segmentation fault.
+ Trace 211171
Thread NaN (LWP 32138)
481 (secure_prop && g_str_equal(secure_prop, "1"))); 482 } 483 484 /* create message to be sent to server */ 485 soup_message = soup_message_new (SOUP_METHOD_GET, priv->uri); 486 soup_message_headers_append (soup_message->request_headers, "User-Agent", 487 "Evolution/" VERSION); 488 soup_message_set_flags (soup_message, SOUP_MESSAGE_NO_REDIRECT); 489 490 soup_session_queue_message (priv->soup_session, soup_message, (gdb) print soup_message $1 = (SoupMessage *) 0x0
BTW: (gdb) print *priv $6 = {uri = 0x88c4478 "/publish/user_f3a203ec8e32d2deb75cc1758a7d3290.ics", mode = CAL_MODE_REMOTE, cache = 0x8888880, default_zone = 0x88b8cd0, queries = 0x0, soup_session = 0x88bb408, reload_timeout_id = 16, is_loading = 1, opened = 0, username = 0x0, password = 0x0}
Ok, sorry for spamming, my bet: there is perhaps some redirect which returns a relative URI and thus soup_message_new() cannot fetch it (it doesn't know the host) and subsequently a crash happens... I'm sorry, I don't have any more time to dig into it just now, hope this helps at least a little bit...
Created attachment 125650 [details] [review] Proposed solution A patch against 2.25.3, that should fix the bug. Seems to work, please review...
hi petr - that seems to have done the trick for me too i'm running a stable gentoo system which means evolution-data-server-2.22.3, but i've put together an ebuild for that version based on the changes in your patch, and can now view my events in evolution many thanks for tracking this down :) cheers steve
Patch looks good to commit. Please commit the same to stable and trunk.
Oops. Patch doesn't apply anymore on SVN trunk :| Could you please re-base the patch for trunk? Patch committed to stable (gnome-2-24) branch as r10019 http://svn.gnome.org/viewvc/evolution-data-server?view=revision&revision=10019
Are You talking to me? :p
(In reply to comment #19) > Are You talking to me? :p yes.. the patch-writer :-)
Committed updated patch in master (2.29.x) http://git.gnome.org/cgit/evolution-data-server/commit/?id=7ec75be782456889a805b5aedc7696804d2b6597
Thank You Akhil, I just didn't manage to setup new build environment and learn git in the meantime...
*** Bug 352904 has been marked as a duplicate of this bug. ***
Committed patch in stable (2.28.x) http://git.gnome.org/browse/evolution-data-server/commit/?h=gnome-2-28&id=6741c7e8b454577c4ef25f6e8dac32a273951a07
*** Bug 609556 has been marked as a duplicate of this bug. ***