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 429317 - Added iCal Subscription from 30boxes.com crashes evolution data server
Added iCal Subscription from 30boxes.com crashes evolution data server
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Calendar
2.22.x (obsolete)
Other All
: High critical
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
: 352904 474306 609556 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-04-13 11:37 UTC by Steve Bamber
Modified: 2010-02-11 05:22 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Proposed solution (1.44 KB, patch)
2009-01-02 16:24 UTC, Petr Tomasek
committed Details | Review

Description Steve Bamber 2007-04-13 11:37:09 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 ?? ()


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
Comment 1 Steve Bamber 2007-04-13 11:37:51 UTC
also started a thread on the support forum

http://gnomesupport.org/forums/viewtopic.php?p=56118#56118
Comment 2 Pedro Villavicencio 2007-04-13 13:49:46 UTC
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!
Comment 3 Steve Bamber 2007-04-13 14:37:30 UTC
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 :)

Comment 4 Steve Bamber 2007-04-13 20:41:26 UTC
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 ?? ()

Comment 5 Steve Bamber 2007-04-16 16:43:46 UTC
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?
Comment 6 Steve Bamber 2007-04-17 07:44:56 UTC
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


Comment 7 Steve Bamber 2007-05-21 08:53:08 UTC
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?
Comment 8 Spencer Wohlers 2007-09-06 18:27:03 UTC
*** Bug 474306 has been marked as a duplicate of this bug. ***
Comment 9 Spencer Wohlers 2007-09-06 18:29:29 UTC
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.
Comment 10 Suman Manjunath 2008-08-06 08:04:18 UTC
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?
Comment 11 Steve Bamber 2008-08-14 10:58:01 UTC
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
Comment 12 Petr Tomasek 2008-12-30 19:23:10 UTC
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.

Thread NaN (LWP 32138)

  • #0 begin_retrieval_cb
    at e-cal-backend-http.c line 486
  • #1 retrieval_done
    at e-cal-backend-http.c line 263
  • #2 soup_session_async_new
    from /usr/lib/libsoup-2.4.so.1
  • #3 g_cclosure_marshal_VOID__VOID
    from /lib/libgobject-2.0.so.0
  • #4 g_closure_invoke
    from /lib/libgobject-2.0.so.0
  • #5 g_signal_chain_from_overridden
    from /lib/libgobject-2.0.so.0
  • #6 g_signal_emit_valist
    from /lib/libgobject-2.0.so.0
  • #7 g_signal_emit
    from /lib/libgobject-2.0.so.0
  • #8 soup_message_finished
    from /usr/lib/libsoup-2.4.so.1
  • #9 soup_message_io_cleanup
    from /usr/lib/libsoup-2.4.so.1
  • #10 g_cclosure_marshal_VOID__VOID
    from /lib/libgobject-2.0.so.0
  • #11 g_closure_invoke
    from /lib/libgobject-2.0.so.0
  • #12 g_signal_chain_from_overridden
    from /lib/libgobject-2.0.so.0
  • #13 g_signal_emit_valist
    from /lib/libgobject-2.0.so.0
  • #14 g_signal_emit
    from /lib/libgobject-2.0.so.0
  • #15 soup_socket_disconnect
    from /usr/lib/libsoup-2.4.so.1
  • #16 g_io_channel_unix_get_fd
    from /lib/libglib-2.0.so.0
  • #17 g_main_context_dispatch
    from /lib/libglib-2.0.so.0
  • #18 g_main_context_check
    from /lib/libglib-2.0.so.0
  • #19 g_main_loop_run
    from /lib/libglib-2.0.so.0
  • #20 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #21 main
    at server.c line 417
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
Comment 13 Petr Tomasek 2008-12-30 19:26:28 UTC
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}
Comment 14 Petr Tomasek 2008-12-30 19:34:23 UTC
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...
Comment 15 Petr Tomasek 2009-01-02 16:24:47 UTC
Created attachment 125650 [details] [review]
Proposed solution

A patch against 2.25.3, that should fix the bug. Seems to work, please review...
Comment 16 Steve Bamber 2009-01-02 19:32:29 UTC
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
Comment 17 Chenthill P 2009-01-12 11:32:41 UTC
Patch looks good to commit. Please commit the same to stable and trunk.
Comment 18 Suman Manjunath 2009-02-02 03:50:47 UTC
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
Comment 19 Petr Tomasek 2009-03-18 13:22:26 UTC
Are You talking to me? :p
Comment 20 Suman Manjunath 2009-03-18 16:02:57 UTC
(In reply to comment #19)
> Are You talking to me? :p

yes.. the patch-writer :-)
Comment 21 Akhil Laddha 2009-08-28 05:28:45 UTC
Committed updated patch in master (2.29.x)

http://git.gnome.org/cgit/evolution-data-server/commit/?id=7ec75be782456889a805b5aedc7696804d2b6597
Comment 22 Petr Tomasek 2009-09-01 16:04:20 UTC
Thank You Akhil, I just didn't manage to setup new build environment and learn git in the meantime...
Comment 23 André Klapper 2009-11-07 18:04:09 UTC
*** Bug 352904 has been marked as a duplicate of this bug. ***
Comment 25 Akhil Laddha 2010-02-11 05:22:55 UTC
*** Bug 609556 has been marked as a duplicate of this bug. ***