Thunderbirds randomly hangs at nsMsgDatabase::OpenMDB for 10 - 30 seconds and continues to work
Categories
(MailNews Core :: Database, defect)
Tracking
(Not tracked)
People
(Reporter: wolli.marx, Unassigned)
Details
(Keywords: hang)
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Steps to reproduce:
I have the issue, more or less permanently, that Thunderbirds crashes all the time during my normal working hours. Never mind if running in troubleshoot mode or default.
I already created:
a) Created the IMAP Files new
b) Cache relocation to RAM
c) Profile is running on an NVME
d) deactivated add-on
e) many other things I tried.....
It happens out of a sudden, it just crashes - for 10 - 30 seconds and continues to work. Sometimes 4-5x per hour and then only once on one day. I have no idea anymore. Can I not create a crash report and share it here somehow?
On weird thing. I copied the profile to my second Personalcomputer, a windows 11 machine and with the same profile and settings - Thunderbird does not crash, it was running for days with my Thunderbird Linux profile. Working with Windows is no solution - it was just for the purpose of testing.
Actual results:
Thunderbird crashes
Expected results:
Thunderbird should be able to run smooth and stable within the given configuration
Comment 1•19 days ago
|
||
Do you have anything at coredumpctl?
https://fedoraproject.org/wiki/Debugging_guidelines_for_Mozilla_products#Using_coredumpctl_to_get_backtrace
Thanks.
Comment 2•18 days ago
|
||
That's a hang, not a crash.
Reporter | ||
Comment 3•18 days ago
|
||
I have executed the steps to debug, hopefully there is something useful.
Results:
https://pastebin.com/QYyG6mbL
Took this one:
wmarx@tux:~$ coredumpctl list | grep thunderbird
Mon 2025-02-24 07:02:17 CET 7851 1005 1000 SIGSEGV present /usr/lib64/thunderbird/thunderbird 80.9M
Thanks
Comment 4•18 days ago
|
||
Wolfgang, does the Thunderbird crashes (i.e. whole application vanished and you need to start it again) or do you see just a freeze? I.e. you can't interact with the application but it stays on the screen and it works again after a while?
Thanks.
Reporter | ||
Comment 5•18 days ago
|
||
Right, absolutely, it hangs for 10 Seconds, sometime for 30, not really predictable - and after a while it starts working again. Incredible annoying and bothering during working hours. Then I would almost prefer a crash, not a hang.
Comment 6•18 days ago
|
||
(In reply to Wolfgang Marx from comment #5)
Right, absolutely, it hangs for 10 Seconds, sometime for 30, not really predictable - and after a while it starts working again. Incredible annoying and bothering during working hours. Then I would almost prefer a crash, not a hang.
Please try to get backtrace if you see the freeze.
- Install TB debuginfo packages and gdb debugger on terminal:
# dnf debuginfo-install thunderbird
# dnf install gdb
- If you see the freeze, attach gdb to it. Run on terminal:
$ gdb thunderbird `ps ax|grep thunderbird/thunderbird|grep -v grep|grep -v "contentproc"|cut -d ' ' -f4`
- Print backtrace (by bt command) and attach it here:
(gdb) bt
Thanks.
Reporter | ||
Comment 7•17 days ago
|
||
Hi, I did print the bt but can find it on my fedora machine - in which directory is the the file supposed to be? And abviously I cannot do any uploasd here means I have to share a google link or something similar, haven't I?
my best
Reporter | ||
Updated•17 days ago
|
Comment 8•17 days ago
|
||
(In reply to Wolfgang Marx from comment #7)
Hi, I did print the bt but can find it on my fedora machine - in which directory is the the file supposed to be? And abviously I cannot do any uploasd here means I have to share a google link or something similar, haven't I?
my best
You need to issue the bt command from inside gdb debugger, which is launched in the second step. bt command prints a backtrace on terminal so please copy it there then.
Looks at https://www.youtube.com/watch?v=8AHT8uJX38k for instance how debugging in gdb looks like.
Reporter | ||
Comment 9•17 days ago
|
||
Ok, got it, so have to wait until the next hang. Thanks
Reporter | ||
Comment 10•16 days ago
|
||
Reporter | ||
Comment 11•16 days ago
|
||
Hi Martin,
I did so this Morning. Hopefully there is something useful in the file attached.
Reporter | ||
Comment 12•16 days ago
|
||
Comment 13•12 days ago
|
||
Looks like an issue with processing TB database:
#0 0x00007f6bbb1076f3 in morkTable::CutRow (this=0x7f6b678bcd60, ev=ev@entry=0x7f6b55b04180, ioRow=ioRow@entry=0x7f6b4b106838)
at /usr/src/debug/thunderbird-128.6.0-1.fc41.x86_64/comm/mailnews/db/mork/morkTable.cpp:1289
#1 0x00007f6bbb0f0121 in morkBuilder::OnNewRow
(this=0x7f6b5b085800, ev=0x7f6b55b04180, inPlace=<optimized out>, inMid=<optimized out>, inCutAllCols=<optimized out>)
at /usr/src/debug/thunderbird-128.6.0-1.fc41.x86_64/comm/mailnews/db/mork/morkBuilder.cpp:456
#2 0x00007f6bbb0f987b in morkParser::ReadRow (this=this@entry=0x7f6b5b085800, ev=ev@entry=0x7f6b55b04180, c=45)
at /usr/src/debug/thunderbird-128.6.0-1.fc41.x86_64/comm/mailnews/db/mork/morkParser.cpp:529
#3 0x00007f6bbb0f9b60 in morkParser::ReadTable (this=this@entry=0x7f6b5b085800, ev=ev@entry=0x7f6b55b04180)
at /usr/src/debug/thunderbird-128.6.0-1.fc41.x86_64/comm/mailnews/db/mork/morkParser.cpp:640
#4 0x00007f6bbb0fa120 in morkParser::ReadContent
(this=this@entry=0x7f6b5b085800, ev=ev@entry=0x7f6b55b04180, inInsideGroup=<optimized out>)
at /usr/src/debug/thunderbird-128.6.0-1.fc41.x86_64/comm/mailnews/db/mork/morkParser.cpp:1192
#5 0x00007f6bbb0fa498 in morkParser::OnPortState (this=0x7f6b5b085800, ev=0x7f6b55b04180)
at /usr/src/debug/thunderbird-128.6.0-1.fc41.x86_64/comm/mailnews/db/mork/morkParser.cpp:1235
#6 0x00007f6bbb0fa77d in morkParser::ParseMore
(this=0x7f6b5b085800, ev=0x7f6b55b04180, outPos=outPos@entry=0x7ffee8a72ff4, outDone=outDone@entry=0x7f6b61434634 "", outBroken=outBroken@entry=0x7f6b61434635 "") at /usr/src/debug/thunderbird-128.6.0-1.fc41.x86_64/comm/mailnews/db/mork/morkParser.cpp:1322
#7 0x00007f6bbb109516 in morkThumb::DoMore_OpenFileStore (this=0x7f6b614345e0, ev=<optimized out>)
at /usr/src/debug/thunderbird-128.6.0-1.fc41.x86_64/comm/mailnews/db/mork/morkThumb.cpp:391
#8 morkThumb::DoMore
(this=0x7f6b614345e0, ev=<optimized out>, outTotal=0x7ffee8a730b0, outCurrent=0x7ffee8a730d0, outDone=0x7ffee8a7308f "", outBroken=0x7ffee8a73098 "") at /usr/src/debug/thunderbird-128.6.0-1.fc41.x86_64/comm/mailnews/db/mork/morkThumb.cpp:311
#9 0x00007f6bbb1095fb in non-virtual thunk to morkThumb::DoMore(nsIMdbEnv*, unsigned int*, unsigned int*, unsigned char*, unsigned char*)
() at /usr/src/debug/thunderbird-128.6.0-1.fc41.x86_64/comm/mailnews/db/mork/morkThumb.h:67
#10 0x00007f6bbb11add4 in nsMsgDatabase::OpenMDB
(this=0x7f6b679ef040, dbFile=<optimized out>, create=<optimized out>, sync=<optimized out>)
at /usr/src/debug/thunderbird-128.6.0-1.fc41.x86_64/comm/mailnews/db/msgdb/src/nsMsgDatabase.cpp:1258
Updated•12 days ago
|
Updated•12 days ago
|
Description
•