Ticket #236 (closed defect: invalid)

Opened 11 months ago

Last modified 6 weeks ago

GtkTreeView and GtkTreeModel disparity leading to crash

Reported by: bartzitz@… Owned by: daelstorm
Priority: major Milestone:
Component: nicotine Version:
Keywords: Cc:

Description

i'm launching nicotine from command line with 'cd nicotine+-1.2.9; python nicotine' and from time to time it crashes:

nicotine+-1.2.9/pynicotine/gtkgui/frame.py:2716: GtkWarning?: file /build/buildd/gtk+2.0-2.12.0/gtk/gtktreeview.c: line 6134 (do_validate_rows): assertion `gtk_tree_model_iter_next (tree_view->priv->model, &iter)' 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() nicotine+-1.2.9/pynicotine/gtkgui/transferlist.py:239: GtkWarning?: _gtk_rbtree_reorder: assertion `tree->root->count == length' failed def update(self, transfer = None): Gtk-ERROR **: file /build/buildd/gtk+2.0-2.12.0/gtk/gtktreestore.c: line 2941 (gtk_tree_store_sort_iter_changed): assertion failed: (node != NULL) aborting... [1] + abort (core dumped) python nicotine

Attachments

Change History

Changed 11 months ago by creap0@…

I get a similar error (at least on the same line in the same file), and my nicotine+ crashes from time to time, however, I'm not sure it's exactly that that's causing the crashes.

This is what happens:

$ python nicotine
Nicotine supports "psyco", an inline optimizer for python
code, you can get it at url/projects/psyco/
Varning: Okänd objekttyp <type 'bool'> in message pynicotine.slskmessages.UserInfoReply
/opt/nicotine+-1.2.9/pynicotine/gtkgui/frame.py:2716: Warning: value "120" of type `gint' is invalid or out of range for property `value' of type `gint'
  gtk.main()
Varning: Okänd objekttyp <type 'bool'> in message pynicotine.slskmessages.UserInfoReply
Varning: Okänd objekttyp <type 'bool'> in message pynicotine.slskmessages.UserInfoReply
Varning: Okänd objekttyp <type 'bool'> in message pynicotine.slskmessages.UserInfoReply
Dödad

("Dödad" = "Killed") So, it doesn't crash when I get the gint error, nor when I get the (first at least) slskmessage-error, but some other random time, not sure why! It's often during the night or something, when I'm not using the app "manually" at all.

Changed 6 weeks ago by offhand

  • status changed from new to closed
  • resolution set to invalid

obsolete. please file a new ticket if it still occurs.

Add/Change #236 (GtkTreeView and GtkTreeModel disparity leading to crash)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.