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 599459 - segmentation fault in week view of calendar
segmentation fault in week view of calendar
Status: RESOLVED DUPLICATE of bug 607257
Product: evolution
Classification: Applications
Component: Calendar
2.28.x (obsolete)
Other Linux
: Normal critical
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2009-10-24 02:36 UTC by Thomas
Modified: 2010-05-13 21:29 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28


Attachments
preliminary crutch rather than a patch (667 bytes, patch)
2009-10-24 02:48 UTC, Thomas
reviewed Details | Review

Description Thomas 2009-10-24 02:36:11 UTC
Had just selected new icons of some categories and clicked around in the week view.

(evolution:12619): e-data-server-DEBUG: Saving categories to "/home/tom/.evolution/categories.xml"
[Thread 0xb1effb90 (LWP 13700) exited]
[Thread 0xb076db90 (LWP 13698) exited]
[New Thread 0xb32b3b90 (LWP 13703)]
[Thread 0xb32b3b90 (LWP 13703) exited]
[New Thread 0xb32b3b90 (LWP 13711)]
[Thread 0xb109cb90 (LWP 13699) exited]
[New Thread 0xb109cb90 (LWP 13714)]
[Thread 0xb109cb90 (LWP 13714) exited]
[New Thread 0xb109cb90 (LWP 13718)]
[Thread 0xb32b3b90 (LWP 13711) exited]
[New Thread 0xb32b3b90 (LWP 13720)]
[Thread 0xb109cb90 (LWP 13718) exited]
[New Thread 0xb109cb90 (LWP 13722)]
[Thread 0xb32b3b90 (LWP 13720) exited]
[New Thread 0xb32b3b90 (LWP 13725)]
[Thread 0xb32b3b90 (LWP 13725) exited]
[New Thread 0xb32b3b90 (LWP 13733)]
[Thread 0xb109cb90 (LWP 13722) exited]
[New Thread 0xb109cb90 (LWP 13735)]
[New Thread 0xb076db90 (LWP 13737)]
[Thread 0xb32b3b90 (LWP 13733) exited]
[Thread 0xb076db90 (LWP 13737) exited]
[New Thread 0xb076db90 (LWP 13742)]
[Thread 0xb109cb90 (LWP 13735) exited]
[New Thread 0xb109cb90 (LWP 13747)]
[New Thread 0xb32b3b90 (LWP 13748)]
[Thread 0xb32b3b90 (LWP 13748) exited]
[New Thread 0xb32b3b90 (LWP 13749)]
[Thread 0xb32b3b90 (LWP 13749) exited]
[New Thread 0xb32b3b90 (LWP 13750)]
[Thread 0xb32b3b90 (LWP 13750) exited]
[New Thread 0xb32b3b90 (LWP 13751)]
[Thread 0xb32b3b90 (LWP 13751) exited]
calendar-gui-Message: Check if default client matches (1225652525.7628.0@linux1 1218581538.8284.16@linux1)
[New Thread 0xb32b3b90 (LWP 13752)]
calendar-gui-Message: Check if default client matches (1225652525.7628.0@linux1 1219360309.6985.0@linux1)
[Thread 0xb32b3b90 (LWP 13752) exited]
[New Thread 0xb32b3b90 (LWP 13753)]
[New Thread 0xb1effb90 (LWP 13754)]
calendar-gui-Message: Check if default client matches (1225652525.7628.0@linux1 1225401795.7701.0@linux1)
[Thread 0xb1effb90 (LWP 13754) exited]
[New Thread 0xb1effb90 (LWP 13755)]
calendar-gui-Message: Check if default client matches (1225652525.7628.0@linux1 1225652525.7628.0@linux1)
[Thread 0xb1effb90 (LWP 13755) exited]
[Thread 0xb109cb90 (LWP 13747) exited]
[Thread 0xb32b3b90 (LWP 13753) exited]
[New Thread 0xb32b3b90 (LWP 13756)]
[Thread 0xb32b3b90 (LWP 13756) exited]
[New Thread 0xb32b3b90 (LWP 13764)]
[Thread 0xb076db90 (LWP 13742) exited]
[New Thread 0xb076db90 (LWP 13766)]
[Thread 0xb076db90 (LWP 13766) exited]
[New Thread 0xb076db90 (LWP 13771)]
[Thread 0xb076db90 (LWP 13771) exited]
[New Thread 0xb076db90 (LWP 13777)]
[Thread 0xb076db90 (LWP 13777) exited]
[New Thread 0xb076db90 (LWP 13779)]
[New Thread 0xb109cb90 (LWP 13781)]

Program received signal SIGSEGV, Segmentation fault.

Thread 3057002320 (LWP 12619)

  • #0 ewv_pass_gdkevent_to_etext
    at ../../../../evolution/calendar/gui/e-week-view.c line 2148
  • #1 e_week_view_on_motion
    at ../../../../evolution/calendar/gui/e-week-view.c line 2316
  • #2 _gtk_marshal_BOOLEAN__BOXED
    at /build/buildd/gtk+2.0-2.16.1/gtk/gtkmarshalers.c line 84
  • #3 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.20.1/gobject/gclosure.c line 767
  • #4 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c line 3247
  • #5 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c line 2990
  • #6 IA__g_signal_emit
    at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c line 3037
  • #7 gtk_widget_event_internal
    at /build/buildd/gtk+2.0-2.16.1/gtk/gtkwidget.c line 4761
  • #8 IA__gtk_propagate_event
    at /build/buildd/gtk+2.0-2.16.1/gtk/gtkmain.c line 2396
  • #9 IA__gtk_main_do_event
    at /build/buildd/gtk+2.0-2.16.1/gtk/gtkmain.c line 1601
  • #10 gdk_event_dispatch
    at /build/buildd/gtk+2.0-2.16.1/gdk/x11/gdkevents-x11.c line 2364
  • #11 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.20.1/glib/gmain.c line 1814
  • #12 g_main_context_iterate
    at /build/buildd/glib2.0-2.20.1/glib/gmain.c line 2448
  • #13 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.20.1/glib/gmain.c line 2656
  • #14 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #15 main
    at ../../../evolution/shell/main.c line 732

Thread 1 (Thread 0xb6362750 (LWP 12619))

  • #0 ewv_pass_gdkevent_to_etext
    at ../../../../evolution/calendar/gui/e-week-view.c line 2148
  • #1 e_week_view_on_motion
    at ../../../../evolution/calendar/gui/e-week-view.c line 2316
  • #2 _gtk_marshal_BOOLEAN__BOXED
    at /build/buildd/gtk+2.0-2.16.1/gtk/gtkmarshalers.c line 84
  • #3 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.20.1/gobject/gclosure.c line 767
  • #4 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c line 3247
  • #5 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c line 2990
  • #6 IA__g_signal_emit
    at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c line 3037
  • #7 gtk_widget_event_internal
    at /build/buildd/gtk+2.0-2.16.1/gtk/gtkwidget.c line 4761
  • #8 IA__gtk_propagate_event
    at /build/buildd/gtk+2.0-2.16.1/gtk/gtkmain.c line 2396
  • #9 IA__gtk_main_do_event
    at /build/buildd/gtk+2.0-2.16.1/gtk/gtkmain.c line 1601
  • #10 gdk_event_dispatch
    at /build/buildd/gtk+2.0-2.16.1/gdk/x11/gdkevents-x11.c line 2364
  • #11 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.20.1/glib/gmain.c line 1814
  • #12 g_main_context_iterate
    at /build/buildd/glib2.0-2.20.1/glib/gmain.c line 2448
  • #13 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.20.1/glib/gmain.c line 2656
  • #14 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #15 main
    at ../../../evolution/shell/main.c line 732

Comment 1 Thomas 2009-10-24 02:48:37 UTC
Created attachment 146147 [details] [review]
preliminary crutch rather than a patch

checks, if array index is out of bounds
Comment 2 Chenthill P 2009-11-30 08:52:28 UTC
Comment on attachment 146147 [details] [review]
preliminary crutch rather than a patch

How many categories have you selected and any idea on the number of events the day had? If you could give more details that would help us reproduce the issue, it would be help us put the right fix. Am not able to reproduce this issue atm.
Comment 3 Thomas 2009-11-30 22:39:28 UTC
(In reply to comment #2)
> (From update of attachment 146147 [details] [review])
> How many categories have you selected and any idea on the number of events the
> day had? If you could give more details that would help us reproduce the issue,
> it would be help us put the right fix. Am not able to reproduce this issue atm.

Sorry, just reverted to the old state, but could not reproduce it. I have to add
that I cannot remember the exact scenario. Sorry about that.
Anyway, I find it not to be too bad an idea to check for the length of an array
before accessing it.

thomas
Comment 4 Milan Crha 2010-01-12 18:25:23 UTC
Same downstream bug report in 2.28.0:
https://bugzilla.redhat.com/show_bug.cgi?id=549672
Comment 5 Milan Crha 2010-05-13 21:29:39 UTC
I dealt with this within patch for bug #607257, thus I'm marking this as a duplicate of the newer.

*** This bug has been marked as a duplicate of bug 607257 ***