← Back to team overview

gtg team mailing list archive

[Bug 590447] Re: Crash toggling off WorkView

 

After commenting out the crash handler and hooking up pdb properly, I
got a trace:

(Pdb) bt
  /usr/bin/pdb(1306)<module>()
-> pdb.main()
  /usr/lib/python2.6/pdb.py(1283)main()
-> pdb._runscript(mainpyfile)
  /usr/lib/python2.6/pdb.py(1202)_runscript()
-> self.run(statement)
  /usr/lib/python2.6/bdb.py(368)run()
-> exec cmd in globals, locals
  <string>(1)<module>()
  /home/bryce/src/gtg/gtg/gtg(53)<module>()
-> sys.exit(GTG.gtg.main(options, args))
  /home/bryce/src/gtg/gtg/GTG/gtg.py(123)main()
-> manager = Manager(req, config)
  /home/bryce/src/gtg/gtg/GTG/gtk/manager.py(67)__init__()
-> self.open_browser()
  /home/bryce/src/gtg/gtg/GTG/gtk/manager.py(123)open_browser()
-> self.browser = TaskBrowser(self.req, self, self.config)
> /home/bryce/src/gtg/gtg/GTG/gtk/browser/browser.py(143)__init__()
-> self.task_tv.expand_all()

I poked around a bit more but other than identifying it has something to
do with task_tv (which I guess was already pretty evident), I didn't
spot anything else that'd shed light on it.

Oh, I did notice that the bug is surprisingly inconsistent.  Sometimes
gtg comes up and works fine with or without workview, no crashes at all,
sometimes it crashes right away, sometimes only after the gui is done
loading.  I've a sense that the bigger the task list the more likely it
is to crash, but haven't any evidence that this is the case.

Hopefully all this data gives you some clues.

-- 
Crash toggling off WorkView
https://bugs.launchpad.net/bugs/590447
You received this bug notification because you are a member of Gtg
contributors, which is subscribed to Getting Things GNOME!.

Status in Getting Things GNOME!: New

Bug description:
I ran gtg 0.3+bzr (from yesterday) on my (large) set of tasks ported from 0.2, and left it running overnight (no other changes to tasks had been done).  WorkView had been turned on.  Next morning I clicked WorkView and it crashed:

/home/bryce/src/gtg/new-scheduling/GTG/viewmanager/manager.py:207: GtkWarning: file /build/buildd/gtk+2.0-2.18.3/gtk/gtktreeview.c: line 5928 (validate_visible_area): assertion `has_child' failed.
There is a disparity between the internal view of the GtkTreeView,
and the GtkTreeModel.  This generally means that the model has changed
without letting the view know.  Any display from now on is likely to
be incorrect.

  gtk.main()
/home/bryce/src/gtg/new-scheduling/GTG/viewmanager/manager.py:207: GtkWarning: gtk_tree_model_sort_get_value: assertion `VALID_ITER (iter, tree_model_sort)' failed
  gtk.main()
/home/bryce/src/gtg/new-scheduling/GTG/viewmanager/manager.py:207: Warning: g_object_set_property: assertion `G_IS_VALUE (value)' failed
  gtk.main()
/home/bryce/src/gtg/new-scheduling/GTG/viewmanager/manager.py:207: Warning: g_value_unset: assertion `G_IS_VALUE (value)' failed
  gtk.main()
/home/bryce/src/gtg/new-scheduling/GTG/taskbrowser/tasktree.py:377: GtkWarning: gtk_tree_model_sort_get_value: assertion `VALID_ITER (iter, tree_model_sort)' failed
  value = model.get_value(iter, COL_TAGS)
Traceback (most recent call last):
  File "/home/bryce/src/gtg/new-scheduling/GTG/taskbrowser/tasktree.py", line 377, in _celldatafunction
    value = model.get_value(iter, COL_TAGS)
TypeError: unknown type (null)

/home/bryce/src/gtg/new-scheduling/GTG/tools/gtkcrashhandler.py:231: GtkWarning: file /build/buildd/gtk+2.0-2.18.3/gtk/gtktreeview.c: line 5928 (validate_visible_area): assertion `has_child' failed.
There is a disparity between the internal view of the GtkTreeView,
and the GtkTreeModel.  This generally means that the model has changed
without letting the view know.  Any display from now on is likely to
be incorrect.

  res = dialog.run()
/home/bryce/src/gtg/new-scheduling/GTG/tools/gtkcrashhandler.py:231: GtkWarning: gtk_tree_model_sort_get_value: assertion `VALID_ITER (iter, tree_model_sort)' failed
  res = dialog.run()
/home/bryce/src/gtg/new-scheduling/GTG/tools/gtkcrashhandler.py:231: Warning: g_object_set_property: assertion `G_IS_VALUE (value)' failed
  res = dialog.run()
/home/bryce/src/gtg/new-scheduling/GTG/tools/gtkcrashhandler.py:231: Warning: g_value_unset: assertion `G_IS_VALUE (value)' failed
  res = dialog.run()
Traceback (most recent call last):
  File "/home/bryce/src/gtg/new-scheduling/GTG/taskbrowser/tasktree.py", line 377, in _celldatafunction
    value = model.get_value(iter, COL_TAGS)
TypeError: unknown type (null)





References