GNOME Bugzilla – Bug 345517
Planner crashed
Last modified: 2006-12-12 23:41:37 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 ()
+ Trace 68973
Thread 1 (Thread -1226221904 (LWP 13030))
------- Bug created by bug-buddy at 2006-06-21 09:09 -------
Re-emerge and revdep-rebuild don't help. I'm now testing on another (less recently updated) gentoo system - more soon
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
Better backtrace (-O2, -g):
+ Trace 68985
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)
Created attachment 68134 [details] [review] patch to fix segv on scrolling planner 0.14
Change was released with Planner v0.14.2