On 2018-08-28 20:48, Carsten Schoenert wrote:
> Yes, the line gdb is showing were thunderbird is crashing is the
> interesting part, I'm sure this will show us an upstream issue. I see
> a small possibility that gcc8 might be the root for this crash. But
> then I also expect we would see a lot more bug reports related to
> thunderbird crashes.
I was going to bed, but I figured a hasty reply now might still be more
useful than a more carefully written reply in eight hours or so. :-)
Here's the start of the backtrace I got from gdb. I hope that provides
enough context:
#0 0x00007f22828eb9b0 in
mozilla::detail::nsTStringRepr<char16_t>::First() const
(this=this@entry=0x7fff9ca7a5c0)
at ./obj-thunderbird/dist/include/mozilla/Assertions.h:40
#1 0x00007f22828182a2 in
nsMsgLocalStoreUtils::nsShouldIgnoreFile(nsTSubstring<char16_t>&)
(name=...) at ./comm/mailnews/local/src/nsMsgLocalStoreUtils.cpp:31
#2 0x00007f228281676c in
nsMsgBrkMBoxStore::AddSubFolders(nsIMsgFolder*, nsCOMPtr<nsIFile>&,
bool) (this=0x7f225ea661f0, parent=0x7f226cf24438, path=..., deep=true)
at ./comm/mailnews/local/src/nsMsgBrkMBoxStore.cpp:1063
#3 0x00007f2282816ad8 in
nsMsgBrkMBoxStore::DiscoverSubFolders(nsIMsgFolder*, bool)
(this=0x7f225ea661f0, aParentFolder=0x7f226cf24438, aDeep=<optimized out>)
at ./comm/mailnews/local/src/nsMsgBrkMBoxStore.cpp:69
#4 0x00007f22827fd29e in
nsMsgLocalMailFolder::GetSubFolders(nsISimpleEnumerator**)
(this=this@entry=0x7f226cf24400, aResult=0x7fff9ca7a770)
at ./obj-thunderbird/dist/include/nsCOMPtr.h:798
#5 0x00007f2282687c7b in nsMsgDBFolder::ListFoldersWithFlags(unsigned
int, nsIMutableArray*) (this=0x7f226cf24400, aFlags=4096,
aFolders=0x7f225edffbe0)
at ./obj-thunderbird/dist/include/nsCOMPtr.h:1367
I tried printing the 'name' parameter from nsShouldIgnoreFile(), but I
don't know if it's at all helpful:
(gdb) print name
$2 = (nsAString &) @0x7fff9ca7a5c0:
{<mozilla::detail::nsTStringRepr<char16_t>> = {mData = 0x7f2285e2be84
<gNullChar> u"", mLength = 0,
mDataFlags = mozilla::detail::StringDataFlags::TERMINATED,
mClassFlags = (mozilla::detail::StringClassFlags::INLINE |
mozilla::detail::StringClassFlags::NULL_TERMINATED)}, static
kMaxCapacity = 1073741817}
Regards,
Torbjörn