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 345517 - Planner crashed
Planner crashed
Status: RESOLVED FIXED
Product: planner
Classification: Other
Component: General
0.14
Other other
: High critical
: ---
Assigned To: planner-maint
planner-maint
Depends on:
Blocks:
 
 
Reported: 2006-06-21 09:09 UTC by djch
Modified: 2006-12-12 23:41 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
patch to fix segv on scrolling planner 0.14 (345 bytes, patch)
2006-06-28 21:19 UTC, David H
none Details | Review

Description djch 2006-06-21 09:09:29 UTC
Distribution: Gentoo Base System version 1.6.14
Package: planner
Severity: Normal
Version: GNOME2.12.3 0.14
Gnome-Distributor: Gentoo
Synopsis: Planner crashed
Bugzilla-Product: planner
Bugzilla-Component: General
Bugzilla-Version: 0.14
BugBuddy-GnomeVersion: 2.0 (2.12.0)
Description:
Description of the crash:
Loaded an existing plan, scrolled down and it crashed

Steps to reproduce the crash:
1. 
2. 
3. 

Expected Results:


How often does this happen?


Additional Information:

I've just updated glibc to use nptl - will re-emerge planner and see if
this changes anything.


Debugging Information:

Backtrace was generated from '/usr/bin/planner'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its
symbols.
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1226221904 (LWP 13030)]
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1226221904 (LWP 13030))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 planner_gantt_row_init_menu
  • #5 planner_gantt_print_get_n_pages
  • #6 gnome_canvas_get_dither
    from /usr/lib/libgnomecanvas-2.so.0
  • #7 gnome_canvas_get_dither
    from /usr/lib/libgnomecanvas-2.so.0
  • #8 gnome_canvas_new_aa
    from /usr/lib/libgnomecanvas-2.so.0
  • #9 gtk_marshal_VOID__UINT_STRING
    from /usr/lib/libgtk-x11-2.0.so.0
  • #10 g_cclosure_new
    from /usr/lib/libgobject-2.0.so.0
  • #11 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #13 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #14 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #15 gtk_widget_send_expose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #16 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #17 gdk_window_foreign_new
    from /usr/lib/libgdk-x11-2.0.so.0
  • #18 gdk_window_process_updates
    from /usr/lib/libgdk-x11-2.0.so.0
  • #19 gtk_layout_get_type
    from /usr/lib/libgtk-x11-2.0.so.0
  • #20 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #21 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #22 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #23 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #24 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #25 gtk_adjustment_value_changed
    from /usr/lib/libgtk-x11-2.0.so.0
  • #26 gtk_adjustment_set_value
    from /usr/lib/libgtk-x11-2.0.so.0
  • #27 planner_gantt_view_new
  • #28 gtk_marshal_VOID__UINT_STRING
    from /usr/lib/libgtk-x11-2.0.so.0
  • #29 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #30 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #31 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #32 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #33 gtk_widget_send_expose
    from /usr/lib/libgtk-x11-2.0.so.0
  • #34 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #35 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #36 gdk_net_wm_supports
    from /usr/lib/libgdk-x11-2.0.so.0
  • #37 g_idle_remove_by_data
    from /usr/lib/libglib-2.0.so.0
  • #38 g_idle_remove_by_data
    from /usr/lib/libglib-2.0.so.0
  • #39 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #40 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #41 main
  • #0 __kernel_vsyscall




------- Bug created by bug-buddy at 2006-06-21 09:09 -------

Comment 1 David H 2006-06-21 09:50:50 UTC
Re-emerge and revdep-rebuild don't help. I'm now testing on another (less recently updated) gentoo system - more soon
Comment 2 David H 2006-06-21 10:53:46 UTC
Version 0.13 when re-emerged doesn't have this bug. I'll re-emerge 0.14 with debug to see if I can get a better backtrace. Now less urgent since 0.13 still works

Comment 3 David H 2006-06-21 22:05:09 UTC
Better backtrace (-O2, -g):
  • #0 mop_get_next_ival
    at planner-gantt-row.c line 962
  • #1 gantt_row_draw
    at planner-gantt-row.c line 1345
  • #2 gnome_canvas_get_dither
    from /usr/lib/libgnomecanvas-2.so.0

In gantt_row_draw, i=0, unit_ivals = 0, cur_unit = 0x6b6, and I wonder if cur_unit is being read before it is initialised...

adding 	cur_unit = (GList *)NULL;
at line 1226 of planner-gantt-row.c seems to fix it. 

This now needs someone who knows the code to see if entering mop_get_next_ival for the first time round the loop should have *start = 0.

I fear my fix might be masking a deeper problem

(sorry, no quick way to make a patch for this one line change)
Comment 4 David H 2006-06-28 21:19:49 UTC
Created attachment 68134 [details] [review]
patch to fix segv on scrolling planner 0.14
Comment 5 Kurt Maute 2006-12-12 23:41:37 UTC
Change was released with Planner v0.14.2