Open Bug 855836 Opened 7 years ago Updated 3 months ago

Crash on loading mails from IMAP-folder with "Creating pipes for GWakeup: Too many open files". (equals too many open folders/file descriptors/fd)

Categories

(MailNews Core :: Database, defect, critical)

x86_64
Linux
defect
Not set
critical

Tracking

(Not tracked)

People

(Reporter: mozilla, Unassigned)

References

Details

(Keywords: crash)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0
Build ID: 20130311191316

Steps to reproduce:

Opening the "Sent"-folder on imap. It contains a bit more than 20000 messages. Had to delete all cached imap-files because they were corrupted by Thunderbird somehow.


Actual results:

After downloading quite a number of messages Thunderbird closed itself (imho crashed) with:
(thunderbird:10205): GLib-ERROR **: Creating pipes for GWakeup: Too many open files


Expected results:

Should not crash and/or give a real reason what's wrong.
Thunderbird also crashed after starting with "-safe-mode", so it doesn't seem to be a plugin interfering with anything.
Could it be that there are maybe just "too many" folders in that IMAP-mailbox? And maybe the problem just occured since it needs to re-read all in the IMAP-account?

It only opens two IMAP-connections (might be for two accounts I have set up, one for each).

I hope just looking at "lsof" is a good indicator of open files? Values were taken shortly after startup and roughly every two seconds.

$ lsof | grep thund | wc -l
4640
2444
2444
2444
2444
2444
990
990
990
989
990
990
922
882
882
882
882
882
881
882
882
864
864
900
198
288
360
432
510
589
664
733
810
882
954
1026
1098
1170
1224
1224
1260
1260
1260
1260
1260
1260
1260
1260
1260
1260
Severity: normal → critical
Keywords: crash
Same bug, since some month, here is my full gdb bt (I use xubuntu 13.04 x86_64) :

(thunderbird:5086): GLib-ERROR **: Creating pipes for GWakeup: Too many open files


Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff1b552c5 in g_logv () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
(gdb) bt
#0  0x00007ffff1b552c5 in g_logv () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ffff1b55492 in g_log () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff1b8c683 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff1b4bb1a in g_main_context_new () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffefc8b062 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5  0x00007fffefc1739f in g_initable_new_valist () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007fffefc17489 in g_initable_new () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#7  0x00007fffda4a3ab1 in e_gdbus_book_view_proxy_new_sync () from /usr/lib/libebook-1.2.so.14
#8  0x00007fffda485ef7 in ?? () from /usr/lib/libebook-1.2.so.14
#9  0x00007fffda4884a1 in e_book_client_get_view_finish () from /usr/lib/libebook-1.2.so.14
#10 0x00007ffff42cebc8 in ffi_call_unix64 () from /usr/lib/thunderbird/libxul.so
#11 0x00007ffff42ce5e0 in ffi_call (cif=0x7fffb4c90e00, fn=0x7fffda488430 <e_book_client_get_view_finish>, rvalue=0x7fffe2f74508, 
    avalue=<optimized out>) at /build/buildd/thunderbird-17.0.8+build1/./mozilla/js/src/ctypes/libffi/src/x86/ffi64.c:485
#12 0x00007ffff42ca87d in js::ctypes::FunctionType::Call (cx=0x7fffbb73dbe0, argc=4, vp=0x7fffdefff218)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/ctypes/CTypes.cpp:5577
#13 0x00007ffff4098ea8 in CallJSNative (args=..., native=<optimized out>, cx=0x7fffbb73dbe0)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jscntxtinlines.h:372
#14 js::InvokeKernel (cx=cx@entry=0x7fffbb73dbe0, args=..., construct=construct@entry=js::NO_CONSTRUCT)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jsinterp.cpp:345
#15 0x00007ffff4099477 in Invoke (construct=js::NO_CONSTRUCT, args=..., cx=0x7fffbb73dbe0)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jsinterp.h:119
#16 js::Invoke (cx=cx@entry=0x7fffbb73dbe0, thisv=..., fval=..., argc=argc@entry=4, argv=<optimized out>, rval=rval@entry=0x7fffffffa8b8)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jsinterp.cpp:396
#17 0x00007ffff40d94ce in js::IndirectProxyHandler::call (this=this@entry=0x7ffff51501d0 <js::CrossCompartmentWrapper::singleton+16>, 
    cx=cx@entry=0x7fffbb73dbe0, proxy=proxy@entry=0x7fffdca33d60, argc=argc@entry=4, vp=vp@entry=0x7fffdefff1e8)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jsproxy.cpp:483
#18 0x00007ffff41480fd in call (vp=0x7fffdefff1e8, argc=4, wrapper=0x7fffdca33d60, cx=0x7fffbb73dbe0, 
    this=0x7ffff51501c0 <js::CrossCompartmentWrapper::singleton>) at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jswrapper.cpp:404
#19 js::DirectWrapper::call (this=0x7ffff51501c0 <js::CrossCompartmentWrapper::singleton>, cx=0x7fffbb73dbe0, wrapper=0x7fffdca33d60, argc=4, 
    vp=0x7fffdefff1e8) at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jswrapper.cpp:400
#20 0x00007ffff4148c19 in js::CrossCompartmentWrapper::call (this=0x7ffff51501c0 <js::CrossCompartmentWrapper::singleton>, cx=0x7fffbb73dbe0, 
    wrapper_=0x7fffdca33d60, argc=4, vp=0x7fffdefff1e8) at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jswrapper.cpp:736
#21 0x00007ffff40da72e in call (vp=<optimized out>, argc=<optimized out>, proxy=<optimized out>, cx=<optimized out>)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jsproxy.cpp:1332
#22 proxy_Call (cx=<optimized out>, argc=<optimized out>, vp=<optimized out>)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jsproxy.cpp:1888
#23 0x00007ffff4098ea8 in CallJSNative (args=..., native=<optimized out>, cx=0x7fffbb73dbe0)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jscntxtinlines.h:372
#24 js::InvokeKernel (cx=cx@entry=0x7fffbb73dbe0, args=..., construct=construct@entry=js::NO_CONSTRUCT)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jsinterp.cpp:345
#25 0x00007ffff4091ef9 in js::Interpret (cx=cx@entry=0x7fffbb73dbe0, entryFrame=entryFrame@entry=0x7fffdefff160, 
    interpMode=interpMode@entry=js::JSINTERP_NORMAL) at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jsinterp.cpp:2414
#26 0x00007ffff40984ad in js::RunScript (cx=cx@entry=0x7fffbb73dbe0, script=<optimized out>, fp=0x7fffdefff160)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jsinterp.cpp:309
#27 0x00007ffff4098e2d in js::InvokeKernel (cx=cx@entry=0x7fffbb73dbe0, args=..., construct=construct@entry=js::NO_CONSTRUCT)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jsinterp.cpp:363
#28 0x00007ffff405fd91 in Invoke (construct=js::NO_CONSTRUCT, args=..., cx=0x7fffbb73dbe0)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jsinterp.h:119
#29 js_fun_apply (cx=0x7fffbb73dbe0, argc=<optimized out>, vp=0x7fffdefff0f8)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jsfun.cpp:912
#30 0x00007ffff4098cc8 in CallJSNative (args=..., native=<optimized out>, cx=0x7fffbb73dbe0)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jscntxtinlines.h:372
#31 js::InvokeKernel (cx=cx@entry=0x7fffbb73dbe0, args=..., construct=construct@entry=js::NO_CONSTRUCT)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jsinterp.cpp:352
#32 0x00007ffff4091ef9 in js::Interpret (cx=cx@entry=0x7fffbb73dbe0, entryFrame=entryFrame@entry=0x7fffdefff080, 
---Type <return> to continue, or q <return> to quit---
    interpMode=interpMode@entry=js::JSINTERP_NORMAL) at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jsinterp.cpp:2414
#33 0x00007ffff40984ad in js::RunScript (cx=cx@entry=0x7fffbb73dbe0, script=<optimized out>, fp=0x7fffdefff080)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jsinterp.cpp:309
#34 0x00007ffff4098e2d in js::InvokeKernel (cx=cx@entry=0x7fffbb73dbe0, args=..., construct=construct@entry=js::NO_CONSTRUCT)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jsinterp.cpp:363
#35 0x00007ffff4099477 in Invoke (construct=js::NO_CONSTRUCT, args=..., cx=0x7fffbb73dbe0)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jsinterp.h:119
#36 js::Invoke (cx=cx@entry=0x7fffbb73dbe0, thisv=..., fval=..., argc=argc@entry=3, argv=<optimized out>, rval=rval@entry=0x7fffffffc098)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jsinterp.cpp:396
#37 0x00007ffff40d94ce in js::IndirectProxyHandler::call (this=this@entry=0x7ffff51501d0 <js::CrossCompartmentWrapper::singleton+16>, 
    cx=cx@entry=0x7fffbb73dbe0, proxy=proxy@entry=0x7fffbb5d2280, argc=argc@entry=3, vp=vp@entry=0x7fffdefff020)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jsproxy.cpp:483
#38 0x00007ffff41480fd in call (vp=0x7fffdefff020, argc=3, wrapper=0x7fffbb5d2280, cx=0x7fffbb73dbe0, 
    this=0x7ffff51501c0 <js::CrossCompartmentWrapper::singleton>) at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jswrapper.cpp:404
#39 js::DirectWrapper::call (this=0x7ffff51501c0 <js::CrossCompartmentWrapper::singleton>, cx=0x7fffbb73dbe0, wrapper=0x7fffbb5d2280, argc=3, 
    vp=0x7fffdefff020) at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jswrapper.cpp:400
#40 0x00007ffff4148c19 in js::CrossCompartmentWrapper::call (this=0x7ffff51501c0 <js::CrossCompartmentWrapper::singleton>, cx=0x7fffbb73dbe0, 
    wrapper_=0x7fffbb5d2280, argc=3, vp=0x7fffdefff020) at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jswrapper.cpp:736
#41 0x00007ffff40da72e in call (vp=<optimized out>, argc=<optimized out>, proxy=<optimized out>, cx=<optimized out>)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jsproxy.cpp:1332
#42 proxy_Call (cx=<optimized out>, argc=<optimized out>, vp=<optimized out>)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jsproxy.cpp:1888
#43 0x00007ffff4098ea8 in CallJSNative (args=..., native=<optimized out>, cx=0x7fffbb73dbe0)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jscntxtinlines.h:372
#44 js::InvokeKernel (cx=cx@entry=0x7fffbb73dbe0, args=..., construct=construct@entry=js::NO_CONSTRUCT)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jsinterp.cpp:345
#45 0x00007ffff4099477 in Invoke (construct=js::NO_CONSTRUCT, args=..., cx=0x7fffbb73dbe0)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jsinterp.h:119
#46 js::Invoke (cx=cx@entry=0x7fffbb73dbe0, thisv=..., fval=..., argc=3, argv=<optimized out>, rval=0x7fffffffc3e0)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jsinterp.cpp:396
#47 0x00007ffff400e194 in JS_CallFunctionValue (cx=0x7fffbb73dbe0, objArg=<optimized out>, fval=..., argc=<optimized out>, 
    argv=<optimized out>, rval=<optimized out>) at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/jsapi.cpp:5853
#48 0x00007ffff42bf365 in js::ctypes::CClosure::ClosureStub (cif=0x7fffdc5c7100, result=0x7fffffffc6d0, args=0x7fffffffc530, 
    userData=0x7fffade3a100) at /build/buildd/thunderbird-17.0.8+build1/mozilla/js/src/ctypes/CTypes.cpp:5932
#49 0x00007ffff42ce9a7 in ffi_closure_unix64_inner (closure=0x7ffff7dfd128, rvalue=0x7fffffffc6d0, reg_args=0x7fffffffc620, 
    argp=0x7fffffffc6f0 "0\275\250\275\377\177") at /build/buildd/thunderbird-17.0.8+build1/./mozilla/js/src/ctypes/libffi/src/x86/ffi64.c:621
#50 0x00007ffff42ced30 in ffi_closure_unix64 () from /usr/lib/thunderbird/libxul.so
#51 0x00007fffefc2e1d7 in g_simple_async_result_complete () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#52 0x00007fffdc19f129 in ?? () from /usr/lib/libedataserver-1.2.so.17
#53 0x00007fffdc1a1964 in ?? () from /usr/lib/libedataserver-1.2.so.17
#54 0x00007fffefc2e1d7 in g_simple_async_result_complete () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#55 0x00007fffefc2e2d9 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#56 0x00007ffff1b4df05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#57 0x00007ffff1b4e248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007ffff1b4e304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007ffff39cb408 in nsAppShell::ProcessNextNativeEvent (this=<optimized out>, mayWait=<optimized out>)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/widget/gtk2/nsAppShell.cpp:131
#60 0x00007ffff39e13c5 in nsBaseAppShell::DoProcessNextNativeEvent (this=this@entry=0x7fffe2ebe080, mayWait=mayWait@entry=false, 
    recursionDepth=recursionDepth@entry=0) at /build/buildd/thunderbird-17.0.8+build1/mozilla/widget/xpwidgets/nsBaseAppShell.cpp:139
#61 0x00007ffff39e148c in nsBaseAppShell::OnProcessNextEvent (this=0x7fffe2ebe080, thr=0x7ffff6c26f20, mayWait=false, recursionDepth=0)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/widget/xpwidgets/nsBaseAppShell.cpp:280
#62 0x00007ffff3d7b123 in nsThread::ProcessNextEvent (this=0x7ffff6c26f20, mayWait=<optimized out>, result=0x7fffffffc9af)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/xpcom/threads/nsThread.cpp:586
#63 0x00007ffff3d5109f in NS_ProcessNextEvent_P (thread=<optimized out>, mayWait=mayWait@entry=false)
    at /build/buildd/thunderbird-17.0.8+build1/obj-x86_64-linux-gnu/mozilla/xpcom/build/nsThreadUtils.cpp:220
---Type <return> to continue, or q <return> to quit---
#64 0x00007ffff3c9985c in mozilla::ipc::MessagePump::Run (this=0x7fffe4a1ae00, aDelegate=0x7ffff6cf1240)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/ipc/glue/MessagePump.cpp:82
#65 0x00007ffff3d99af1 in RunHandler (this=0x7ffff6cf1240)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/ipc/chromium/src/base/message_loop.cc:201
#66 MessageLoop::Run (this=0x7ffff6cf1240) at /build/buildd/thunderbird-17.0.8+build1/mozilla/ipc/chromium/src/base/message_loop.cc:175
#67 0x00007ffff39e0db5 in nsBaseAppShell::Run (this=0x7fffe2ebe080)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/widget/xpwidgets/nsBaseAppShell.cpp:163
#68 0x00007ffff38beedb in nsAppStartup::Run (this=0x7fffe2e8a6a0)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/toolkit/components/startup/nsAppStartup.cpp:273
#69 0x00007ffff30e55c8 in XREMain::XRE_mainRun (this=this@entry=0x7fffffffcbe0)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/toolkit/xre/nsAppRunner.cpp:3812
#70 0x00007ffff30e757e in XREMain::XRE_main (this=this@entry=0x7fffffffcbe0, argc=argc@entry=1, argv=argv@entry=0x7fffffffdfc8, 
    aAppData=aAppData@entry=0x7ffff6c23780) at /build/buildd/thunderbird-17.0.8+build1/mozilla/toolkit/xre/nsAppRunner.cpp:3889
#71 0x00007ffff30e77ba in XRE_main (argc=1, argv=0x7fffffffdfc8, aAppData=0x7ffff6c23780, aFlags=<optimized out>)
    at /build/buildd/thunderbird-17.0.8+build1/mozilla/toolkit/xre/nsAppRunner.cpp:3965
#72 0x00000000004022e4 in do_main (argv=0x7fffffffdfc8, argc=1, exePath=0x7fffffffcea8 "/usr/lib/thunderbird/")
    at /build/buildd/thunderbird-17.0.8+build1/mail/app/nsMailApp.cpp:111
#73 main (argc=1, argv=0x7fffffffdfc8) at /build/buildd/thunderbird-17.0.8+build1/mail/app/nsMailApp.cpp:200
(gdb) quit
A debugging session is active.

	Inferior 1 [process 5086] will be killed.
I didn't noticed, but I just seen than at start time, there is the following msg, does this could be related ??? :

(process:5443): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed
irc: Unhandled IRC message: :Popobird MODE Popobird :+i
I can't run Thunderbird, even in safe mode. (Ubuntu 13.10 x86-64.)
I get a lot of these messages in the shell window:
** (thunderbird:2275): WARNING **: Cannot set application as default for URI scheme (mailto): Can't create user desktop file /local/home/<user>/.local/share/applications/userapp-Thunderbird-O40R8W.desktop

** (thunderbird:2275): WARNING **: Cannot set application as default for URI scheme (mailto): Can't create user desktop file /local/home/<user>/.local/share/applications/userapp-Thunderbird-SHNS8W.desktop

...

(thunderbird:2275): GLib-ERROR **: Creating pipes for GWakeup: Too many open files

Trace/BPT trap

The share/applications directory has perms 700. The userapp-Thunderbird files don't exist, so it doesn't appear to be a directory or file permissions issue.
I followed the advice on https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/808752, by adding the following to
/etc/security/limits.conf
@your_username hard nofile 4096
@your_username soft nofile 4096

and now thunderbird is working again!
Steve, did you determine why the numbers were so high?
And, does it still happen in a current version of Thunderbird?


(In reply to Steve Kelem from comment #6)
> I followed the advice on
> https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/808752, by adding
> the following to
> /etc/security/limits.conf
> @your_username hard nofile 4096
> @your_username soft nofile 4096
> 
> and now thunderbird is working again!

FTR, Steve's numbers from the other bug report...

lsof | wc -l 

26660
26660
30890
5428
4783
5421
5421
5244
5244
5067
Flags: needinfo?(mozilla)
Popolon, what are you seeing then using a current version??
Flags: needinfo?(popolon)
I ran the following:

% lsof | sort | tee /tmp/lsof-`date +%Y-%M-%d_%H:%m:%S` | gawk -e '{print $1;}' | uniq -c | sort -nr | tee /tmp/LSOF-`date +%Y-%M-%d_%H:%m:%S` | head

and got:
  Count Command
  11580 thunderbi
  11580 Analysis
  11524 dropbox
   9060 gdbus
   8720 mozStorag
   7985 JS
   5777 gmain
   5709 dconf
   5617 pool
   5400 multiqueu

7,500 of the lines starting with 'thunderbi' reference separate msf files.
1,464 of the 'thunderbi' lines contain 'fontconfig'
7,500 of the Analysis lines reference separate msf files others reference .cache
1,452 of the Analysis lines reference fontconfig cache files: ~/.cache/fontconfig/08d4f04127d6ad922354328d0d1a5e1e-le32d4.cache-4

If I have Chromium (Linux version of chrome) running, it adds:
  Count Command
  41062 Composito
  17078 chromium-
  12625 WorkerPoo
!!!

Thunderbird 38.3.0
Ubuntu Linux 15.04
Blocks: 763390
I use the same limits.conf than  Steve Kelem, since 1 year or more, and no more crashs.

In my case with the last update lsof : 
  30564 JS\x20Hel
  21494 thunderbi
  17829 ImgDecode
  15875 mozStorag
   9514 gmain
   9375 gdbus
   6280 DOM\x20Wo
   4896 dconf\x20
   2547 URL\x20Cl
   2547 SoftwareV

JS\x20 seems to be related, it reads the thunderbird folders. Two other (and some after, seems to be related to firefox (that is really slow at start/stop, but I probably use too much tabs).
Forgot to say, I use thunderbird 45.2.0 on Ubuntu Linux 16.04 currently.
Other potential matches https://mzl.la/2d4Yzw0


Stefan seems to be gone - no comment in a year and didn't respond to private message. (Although did comment a year ago in bug 576965 comment 8)

But we still have Steve and Popolon!  Thanks Popolon.
Status: UNCONFIRMED → NEW
Component: Untriaged → Database
Ever confirmed: true
Flags: needinfo?(popolon)
Flags: needinfo?(mozilla)
Product: Thunderbird → MailNews Core
Summary: Crash on loading mails from IMAP-folder with "Creating pipes for GWakeup: Too many open files" → Crash on loading mails from IMAP-folder with "Creating pipes for GWakeup: Too many open files". (equals too many open folders/file descriptors/fd)
Version: 17 Branch → 17
See Also: → 1240722
Sorry for not responding. I didn't encounter the issue anymore since "ages" now. Can't reproduce it anymore.
I still get the problem. It's so bad that I can't reliably use Thunderbird.
See Also: → 1322409
I've never run into this problem until thunderbird-60.

i got the same problem with 60.8.0 (64-bit) thunderbird on ubuntu 18.04.

[1844, Main Thread] WARNING: file /build/thunderbird-6h362t/thunderbird-60.8.0+build1/ipc/chromium/src/base/shared_memory_posix.cc, line 201
[GFX1-]: Failed to lock new back buffer.
[1844, Main Thread] WARNING: file /build/thunderbird-6h362t/thunderbird-60.8.0+build1/ipc/chromium/src/base/shared_memory_posix.cc, line 201
[GFX1-]: Failed to lock new back buffer.
[1844, Main Thread] WARNING: file /build/thunderbird-6h362t/thunderbird-60.8.0+build1/ipc/chromium/src/base/shared_memory_posix.cc, line 201
[GFX1-]: Failed to lock new back buffer.
failed opening offline store for imap://user@example.net/folder
failed opening offline store for imap://user@example.net/folder
failed opening offline store for imap://user@example.net/folder
failed opening offline store for imap://user@example.net/folder
failed opening offline store for imap://user@example.net/folder
[GFX1-]: Failed to lock new back buffer.
[GFX1-]: Failed to lock new back buffer.
[GFX1-]: Failed to lock new back buffer.
failed opening offline store for imap://user@example.net/folder
failed opening offline store for imap://user@example.net/folder
failed opening offline store for imap://user@example.net/folder
failed opening offline store for imap://user@example.net/folder
failed opening offline store for imap://user@example.net/folder
failed opening offline store for imap://user@example.net/folder
failed opening offline store for imap://user@example.net/folder
failed opening offline store for imap://user@example.net/folder
failed opening offline store for imap://user@example.net/folder
[GFX1-]: Failed to lock new back buffer.
[GFX1-]: Failed to lock new back buffer.
[GFX1-]: Failed to lock new back buffer.

(thunderbird:1844): GLib-ERROR **: 14:18:17.796: Creating pipes for GWakeup: Zu viele offene Dateien
ExceptionHandler::GenerateDump sys_pipe failed:Zu viele offene Dateien
ExceptionHandler::GenerateDump cloned child 3328
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
ExceptionHandler::WaitForContinueSignal sys_read failed:ExceptionHandler::SendContinueSignalToChild sys_write failed:Ungültiger DateideskriptorUngültiger Dateideskripto

If you need more information just ping me.

You need to log in before you can comment on or make changes to this bug.