GNOME Bugzilla – Bug 701438
GLib-ERROR **: Creating pipes for GWakeup: Too many open files
Last modified: 2020-03-17 09:52:52 UTC
Created attachment 245833 [details] Banshee debug log Banshee returns this error, and a few others after crash, during debug. I have a debug text file for review. Would really like to know what I can do to fix this, as Banshee is the only Media player that at this points recognizes my media files on a local server!
These many many earlier messages: (Banshee:2364): GLib-CRITICAL **: g_main_context_push_thread_default: assertion `acquired_context' failed (Banshee:2364): GLib-CRITICAL **: g_main_context_pop_thread_default: assertion `g_queue_peek_head (stack) == context' failed (Banshee:2364): GLib-CRITICAL **: g_main_context_push_thread_default: assertion `acquired_context' failed (Banshee:2364): GLib-CRITICAL **: g_main_context_pop_thread_default: assertion `g_queue_peek_head (stack) == context' failed indicate that banshee is probably leaking GMainContext instances (which would indeed cause GWakeup to exhaust the number of available fds). Moving this over to be a banshee bug until there is evidence to the contrary.
Created attachment 246392 [details] Log of running 'banshee --debug', then waiting about 2 minutes. I've just started seeing this too. I don't even have to play any music: I just launch Banshee, and 2 minutes later it crashes. My debug log shows a lot of "attempting to add an interface … after class_init" messages, but none of those assertion failures. /var/log/dpkg.log shows that I upgraded from 2.4.1 to 2.6.1 a few days ago: 2013-06-06 09:06:34 upgrade banshee-dbg:amd64 2.4.1-3+b1 2.6.1-2 But I am sure that Banshee worked on Friday 7th. Yesterday I upgraded a whole lot of other things, so I suspect one of them may have triggered this. I will also attach the relevant section of my dpkg.log for Sunday.
Created attachment 246393 [details] dpkg.log for changes since Banshee last worked.
I see the same error, although not after 2 minutes; mine was after days of use, and with trunk rather than 2.6. However, my log contains endless spew of """ (Banshee:14370): GLib-CRITICAL **: Source ID 84734 was not found when attempting to remove it """ with differing Source ID. I'm not sure if this is the same as yours, but it looks like GLib# might be doing something that glib isn't happy with.
Oh, interesting. This seems to be triggered by my Nexus 4 going insane and flying into a mount/unmount loop many times a second. Disabling the DAP plugins seems to avoid the problem. The GLib-CRITICAL remains, but is apparently not related to this.
Mike, Will, can you guys confirm what Chris says? Does the bug disappear if you disable the DAP plugins?
Created attachment 273021 [details] debug log crashes during samba scan I'm getting this when I scan my samba media shares. Banshee crashes and I can't complete the scanning process. Debug log provided.
(In reply to comment #7) > Created an attachment (id=273021) [details] > debug log crashes during samba scan > > I'm getting this when I scan my samba media shares. Banshee crashes and I can't > complete the scanning process. Debug log provided. I don't see any GWakeup mentions in that log?
(In reply to comment #8) > (In reply to comment #7) > > Created an attachment (id=273021) [details] [details] > > debug log crashes during samba scan > > > > I'm getting this when I scan my samba media shares. Banshee crashes and I can't > > complete the scanning process. Debug log provided. > > I don't see any GWakeup mentions in that log? You're right. This is the information from the terminal. I assumed it would be duplicated in the log. xxx@1810TZ:~$ banshee --debug > ~/banshee_debug (Banshee:30171): GLib-CRITICAL **: g_main_context_push_thread_default: assertion `acquired_context' failed (Banshee:30171): GLib-CRITICAL **: g_main_context_pop_thread_default: assertion `g_queue_peek_head (stack) == context' failed (Banshee:30171): GLib-CRITICAL **: g_main_context_push_thread_default: assertion `acquired_context' failed (Banshee:30171): GLib-CRITICAL **: g_main_context_pop_thread_default: assertion `g_queue_peek_head (stack) == context' failed (Banshee:30171): GLib-CRITICAL **: g_main_context_push_thread_default: assertion `acquired_context' failed (Banshee:30171): GLib-CRITICAL **: g_main_context_pop_thread_default: assertion `g_queue_peek_head (stack) == context' failed (Banshee:30171): GLib-ERROR **: Creating pipes for GWakeup: Too many open files Trace/breakpoint trap
Banshee is not under active development anymore and had its last code changes more than three years ago. Its codebase has been archived. Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is being shut down) if anyone takes the responsibility for active development again. See https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/264 for more info.