GNOME Bugzilla – Bug 668508
Webkit crash with "Creating pipes for GWakeup: Too many open files" error
Last modified: 2012-01-27 15:38:55 UTC
Try loading https://github.com/adityaravishankar/command-and-conquer/commit/dddadb3385157f0993e4cfc573fed0fba07d375c with Epiphany or GtkLauncher. Observe crash: GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://bugs.launchpad.net/gdb-linaro/>... Reading symbols from /home/zan/Dev/webkit/webkit/WebKitBuild/Debug/Programs/GtkLauncher...done. (gdb) rr (gdb) (gdb) r Starting program: /home/zan/Dev/webkit/webkit/WebKitBuild/Debug/Programs/GtkLauncher https://github.com/adityaravishankar/command-and-conquer/commit/dddadb3385157f0993e4cfc573fed0fba07d375c [Thread debugging using libthread_db enabled] [New Thread 0x7fffa5835700 (LWP 7737)] [New Thread 0x7fff93c72700 (LWP 7738)] [Thread 0x7fff93c72700 (LWP 7738) exited] [New Thread 0x7fff93c72700 (LWP 7739)] [New Thread 0x7fff92714700 (LWP 7740)] [Thread 0x7fff92714700 (LWP 7740) exited] [New Thread 0x7fff92714700 (LWP 7741)] Program received signal SIGTRAP, Trace/breakpoint trap. g_logv (log_domain=0x7ffff2dce38e "GLib", log_level=<optimized out>, format=0x7ffff2e1e328 "Creating pipes for GWakeup: %s\n", args1=0x7fffffffc618) at gmessages.c:765 765 g_private_set (&g_log_depth, GUINT_TO_POINTER (depth)); (gdb) bt full
+ Trace 229495
The crashing page is very heavy on HTTP requests. As observed in Chromium, the page executes over 2400 HTTP requests by the time it completes loading. In WebKitGtk+, the crash occurs at just over 1000th request. The requests don't seem to be completed quick enough, so they cause a shortage of available file descriptors and subsequent crash.
Fixed in libsoup master
*** Bug 657193 has been marked as a duplicate of this bug. ***
*** Bug 658743 has been marked as a duplicate of this bug. ***
Can a fix be backported to stable or is it out of the question?
There are no more releases scheduled in the 3.2 cycle, but the patch I linked to from the other bug applies cleanly to the stable release.