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 355864 - Calendar critical warning when unchecking a webcal
Calendar critical warning when unchecking a webcal
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
2.8.x (obsolete)
Other Linux
: Normal critical
: ---
Assigned To: Milan Crha
Evolution QA team
: 352759 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-09-13 20:45 UTC by Sebastien Bacher
Modified: 2008-01-28 12:02 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
ubuntu fridge calendar (6.33 KB, text/calendar)
2006-09-13 21:20 UTC, Sebastien Bacher
  Details
proposed evo patch (1.09 KB, patch)
2007-08-10 07:28 UTC, Milan Crha
committed Details | Review
proposed evo patch (2.33 KB, patch)
2007-08-29 13:33 UTC, Milan Crha
committed Details | Review

Description Sebastien Bacher 2006-09-13 20:45:48 UTC
Using the Ubuntu fridge calendar: webcal://fridge.ubuntu.com/event/ical

When unchecking the calendar box from the calendar UI, that message is displayed on the command line:
"calendar-gui-CRITICAL **: e_week_view_event_item_draw: assertion `wveitem->event_num < week_view->events->len' failed"

backtrace from "evolution --g-fatal-warnings" with GNOME 2.16.0:

"Program received signal SIGABRT, Aborted.

Thread 47847010962192 (LWP 11284)

  • #0 *__GI_raise
    from /lib/libc.so.6
  • #1 *__GI_abort
    from /lib/libc.so.6
  • #2 IA__g_logv
    at gmessages.c line 497
  • #3 IA__g_log
    at gmessages.c line 517
  • #4 e_week_view_event_item_draw
    at e-week-view-event-item.c line 829
  • #5 gnome_canvas_root
    from /usr/lib64/libgnomecanvas-2.so.0
  • #6 gnome_canvas_item_new
    from /usr/lib64/libgnomecanvas-2.so.0
  • #7 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #8 IA__g_closure_invoke
  • #9 signal_emit_unlocked_R
    at gsignal.c line 2476
  • #10 IA__g_signal_emit_valist
    at gsignal.c line 2207
  • #11 IA__g_signal_emit
    at gsignal.c line 2241
  • #12 gtk_widget_event_internal
    at gtkwidget.c line 3901
  • #13 gnome_canvas_window_to_world
    from /usr/lib64/libgnomecanvas-2.so.0
  • #14 gnome_canvas_set_scroll_region
    from /usr/lib64/libgnomecanvas-2.so.0
  • #15 IA__g_main_context_dispatch
    at gmain.c line 2045
  • #16 g_main_context_iterate
    at gmain.c line 2677
  • #17 IA__g_main_loop_run
    at gmain.c line 2881
  • #18 bonobo_main
    from /usr/lib64/libbonobo-2.so.0
  • #19 ??

Comment 1 Karsten Bräckelmann 2006-09-13 20:52:04 UTC
Unique.  Good stacktrace, of course. ;)  Thanks, Sebastien.
Comment 2 Karsten Bräckelmann 2006-09-13 20:53:27 UTC
Sebastien, if this critical warning is special to the above mentioned webcal only, please attach a snapshot of the Calendar that triggers this. Thanks.
Comment 3 Sebastien Bacher 2006-09-13 21:19:37 UTC
No, it's doing the same with www.gnome.org/start/unstable/schedule.ics by example
Comment 4 Sebastien Bacher 2006-09-13 21:20:38 UTC
Created attachment 72726 [details]
ubuntu fridge calendar

attaching the ubuntu fridge calendar as an example
Comment 5 Milan Crha 2007-08-10 07:28:00 UTC
Created attachment 93414 [details] [review]
proposed evo patch

for evolution;

it's always better to remove item after we are finished with it, not before :)
This can possibly solve bug #352759 too, maybe.
Comment 6 Chenthill P 2007-08-23 09:11:53 UTC
The patch looks good to commit. Please commit it.
Comment 7 Milan Crha 2007-08-23 09:16:59 UTC
*** Bug 352759 has been marked as a duplicate of this bug. ***
Comment 8 Milan Crha 2007-08-23 09:20:47 UTC
Committed to trunk. Committed revision 34070.
Comment 9 Milan Crha 2007-08-29 13:25:32 UTC
I didn't get all the backgroud here, this bug can still happen.
Consider a week view with only 3 event, one on Monday, one on Tuesday and one on Wednesday. They have their event_num 0-2 in this order. When you will delete event on Tuesday, then the massage appear on the console, the span->background_number->event_num wasn't updated for the last event.
Comment 10 Milan Crha 2007-08-29 13:33:21 UTC
Created attachment 94546 [details] [review]
proposed evo patch

for evolution;
Comment 11 Chenthill P 2007-11-20 04:53:35 UTC
I would recommend this to be reviewed by srag.
Comment 12 Milan Crha 2008-01-04 16:25:32 UTC
CC'ing srag because of previous comment.
Comment 13 Kjartan Maraas 2008-01-22 21:09:30 UTC
Ping Srini?
Comment 14 Srinivasa Ragavan 2008-01-27 15:23:56 UTC
Looks fine Milan.
Comment 15 Suman Manjunath 2008-01-28 04:47:34 UTC
patch committed to SVN trunk as r34907
(http://svn.gnome.org/viewvc/evolution?view=revision&revision=34907)