GNOME Bugzilla – Bug 349601
query model refcounting problems
Last modified: 2006-09-02 00:58:19 UTC
What were you doing when the application crashed? A was selecting an album on the main window! Distribution: Slackware Slackware 9.1.0 Gnome Release: 2.15.90 2006-08-01 (GNOME.Org) BugBuddy Version: 2.15.90 Memory status: size: 65835008 vsize: 0 resident: 65835008 share: 0 rss: 19222528 rss_rlim: 0 CPU usage: start_time: 1154472545 rtime: 0 utime: 151 stime: 0 cutime:128 cstime: 0 timeout: 23 it_real_value: 0 frequency: 5 Backtrace was generated from '/usr/local/bin/rhythmbox' Using host libthread_db library "/lib/tls/i686/libthread_db.so.1". `system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols. [Thread debugging using libthread_db enabled] [New Thread -1223383376 (LWP 3676)] [New Thread -1227629664 (LWP 3840)] 0xffffe410 in __kernel_vsyscall ()
+ Trace 69888
Thread 1 (Thread -1223383376 (LWP 3676))
Created attachment 70067 [details] [review] more refcounting fixes I've seen a crash similar to this. This patch fixes some refcounting issues in the play orders.
After looking over this again, I think it should fix all the refcounting issues in the play orders, so I've committed it. This should fix the problem, but feel free to re-open if you can reproduce it.
with cvs build from today
+ Trace 70188
+ Trace 70189
steps to reproduce: select artist select album select "all artists"
Something very odd is going on:
+ Trace 70245
The "func" parameter is reported as 0, when is is being passed the address of rb_play_order_entry_added_cb() - however it has a normal value in the OP's backtrace. If this is still reproducable (I can't reproduce it), could you see what the warning it is printing out is?
console output during crash (rhythmbox:25292): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GObject' (rhythmbox:25292): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed aborting... GTK Accessibility Module initialized Bonobo accessibility support initialized GTK Accessibility Module initialized Bonobo accessibility support initialized
*** Bug 350922 has been marked as a duplicate of this bug. ***
*** Bug 346664 has been marked as a duplicate of this bug. ***
*** Bug 351141 has been marked as a duplicate of this bug. ***
Created attachment 70836 [details] [review] hackish fix This should fix the crash, but there are definitely more ref counting problems related to the browser.
Actually, that patch is correct. The browser does hold a reference to the output model, but it currently unrefs it at the end of rebuild_child_model. Remaining problems seem to be in the handling of the root and intermediate query models.
patch fixes the crash for me and does not seem to cause any troubles
Created attachment 70899 [details] [review] better patch This seems to fix all the query model leaks I was seeing in the browser.
last patch also works for me
Looks fine to me.
OK, committed.
*** Bug 352004 has been marked as a duplicate of this bug. ***
*** Bug 353728 has been marked as a duplicate of this bug. ***
*** Bug 342197 has been marked as a duplicate of this bug. ***