Bug 1107772

Summary: MozillaThunderbird: 60.0 start-up crash due to folder name with special characters
Product: [openSUSE] openSUSE Distribution Reporter: Andreas Schleth <schleth_es>
Component: FirefoxAssignee: Scott Reeves <sreeves>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: astieger, bart.vanassche+novell, heiko.rommel, jsegitz, pcerny, schleth_es, sreeves, suse, wolfgang
Version: Leap 15.0   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
See Also: https://bugzilla.mozilla.org/show_bug.cgi?id=1489984
https://bugzilla.mozilla.org/show_bug.cgi?id=1482248
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andreas Schleth 2018-09-09 18:43:22 UTC
After today's online update all our Thunderbirds (various users on several PCs, all on Leap15) stopped working with the existing profiles. 

thunderbird --ProfileManager works and lets me create a new profile that seems to be working.

Just copying my old prefs.js into this profile makes it crash again. I have no addons or themes installed.

Reverting to the previous version (52.9) fixes this problem. 

With 60.0 the commandline says:
ExceptionHandler::GenerateDump cloned child 29331
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...

and the crashreporter means:
Add-ons: langpack-ar%40thunderbird.mozilla.org:60.0,langpack-ca%40thunderbird.mozilla.org:60.0,langpack-cs%40thunderbird.mozilla.org:60.0,langpack-da%40thunderbird.mozilla.org:60.0,langpack-de%40thunderbird.mozilla.org:60.0,langpack-el%40thunderbird.mozilla.org:60.0,langpack-en-GB%40thunderbird.mozilla.org:60.0,langpack-es-AR%40thunderbird.mozilla.org:60.0,langpack-es-ES%40thunderbird.mozilla.org:60.0,langpack-fi%40thunderbird.mozilla.org:60.0,langpack-fr%40thunderbird.mozilla.org:60.0,langpack-hu%40thunderbird.mozilla.org:60.0,langpack-it%40thunderbird.mozilla.org:60.0,langpack-ja%40thunderbird.mozilla.org:60.0,langpack-ko%40thunderbird.mozilla.org:60.0,langpack-nb-NO%40thunderbird.mozilla.org:60.0,langpack-nl%40thunderbird.mozilla.org:60.0,langpack-pl%40thunderbird.mozilla.org:60.0,langpack-pt-BR%40thunderbird.mozilla.org:60.0,langpack-pt-PT%40thunderbird.mozilla.org:60.0,langpack-ru%40thunderbird.mozilla.org:60.0,langpack-sv-SE%40thunderbird.mozilla.org:60.0,langpack-zh-CN%40thunderbird.mozilla.org:60.0,langpack-zh-TW%40thunderbird.mozilla.org:60.0,%7B972ce4c6-7e08-4474-a285-3208198ce6fd%7D:60.0
BuildID: 20180731173940
ContentSandboxCapabilities: 119
ContentSandboxCapable: 1
ContentSandboxLevel: 0
CrashTime: 1536518090
EMCheckCompatibility: true
FramePoisonBase: 9223372036600930304
FramePoisonSize: 4096
InstallTime: 1536506147
MozCrashReason: MOZ_RELEASE_ASSERT(this->mLength > 0) (|First()| called on an empty string)
Notes: openSUSE Leap 15.0FP(D00-L1100-W00000000-T000) OpenGL: Intel Open Source Technology Center -- Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2)  -- 3.0 Mesa 18.0.2 -- texture_from_pixmap
WR? WR- OMTP? OMTP- 
ProductID: {3550f703-e582-4d05-9a08-453d09bdfdc6}
ProductName: Thunderbird
ReleaseChannel: release
SafeMode: 0
SecondsSinceLastCrash: 3912
StartupCrash: 0
StartupTime: 1536518087
TelemetryEnvironment: {"build":{"applicationId":"{3550f703-e582-4d05-9a08-453d09bdfdc6}","applicationName":"Thunderbird","architecture":"x86-64","buildId":"20180731173940","version":"60.0","vendor":null,"platformVersion":"60.1.1","xpcomAbi":"x86_64-gcc3","updaterAvailable":false},"partner":{"distributionId":null,"distributionVersion":null,"partnerId":null,"distributor":null,"distributorChannel":null,"partnerNames":[]},"system":{"memoryMB":31863,"virtualMaxMB":null,"cpu":{"count":8,"cores":4,"vendor":"GenuineIntel","family":6,"model":94,"stepping":3,"l2cacheKB":256,"l3cacheKB":8192,"speedMHz":4000,"extensions":["hasMMX","hasSSE","hasSSE2","hasSSE3","hasSSSE3","hasSSE4_1","hasSSE4_2","hasAVX","hasAVX2","hasAES"]},"os":{"name":"Linux","version":"4.12.14-lp150.12.16-default","locale":"de-DE"},"hdd":{"profile":{"model":null,"revision":null},"binary":{"model":null,"revision":null},"system":{"model":null,"revision":null}},"gfx":{"D2DEnabled":null,"DWriteEnabled":null,"ContentBackend":"Skia","adapters":[{"description":"Intel Open Source Technology Center -- Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2) ","vendorID":"Intel Open Source Technology Center","deviceID":"Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2) ","subsysID":null,"RAM":null,"driver":null,"driverVersion":"3.0 Mesa 18.0.2","driverDate":null,"GPUActive":true}],"monitors":[],"features":{"compositor":"none","gpuProcess":{"status":"unused"}}},"appleModelId":null},"settings":{"blocklistEnabled":true,"e10sEnabled":false,"e10sMultiProcesses":4,"telemetryEnabled":false,"locale":"de","update":{"channel":"release","enabled":true,"autoDownload":true},"userPrefs":{"browser.cache.disk.capacity":358400,"browser.search.region":"DE"},"sandbox":{"effectiveContentProcessLevel":0},"addonCompatibilityCheckEnabled":true,"isDefaultBrowser":null},"profile":{"creationDate":12929},"addons":{"activeAddons":{},"theme":{"id":"{972ce4c6-7e08-4474-a285-3208198ce6fd}","blocklisted":false,"description":"Das Standard-Theme","name":"Standard","userDisabled":false,"appDisabled":false,"version":"60.0","scope":4,"foreignInstall":false,"hasBinaryComponents":false,"installDay":15246,"updateDay":17778},"activePlugins":[{"name":"Shockwave Flash","version":"30.0.0.154","description":"Shockwave Flash 30.0 r0","blocklisted":false,"disabled":false,"clicktoplay":false,"mimeTypes":["application/x-shockwave-flash","application/futuresplash"],"updateDay":17739}],"activeGMPlugins":{},"activeExperiment":{},"persona":null}}
Theme: classic/1.0
ThreadIdNameMapping: 29273:"Gecko_IOThread",29274:"Link Monitor",29275:"Socket Thread",29276:"JS Watchdog",29287:"BGReadURLs",29288:"Hang Monitor",29296:"Timer",29298:"Cache2 I/O",29299:"Cookie",29300:"DOM Worker",29301:"IPDL Background",29304:"GMPThread",29305:"SoftwareVsyncThread",29306:"Compositor",29307:"VRListener",29308:"ImgDecoder #1",29309:"ImageIO",29314:"HTML5 Parser",29323:"LoadRoots",29324:"DataStorage",29325:"DataStorage",29326:"mozStorage #1",29328:"StreamTrans #7",29329:"ImgDecoder #2",
Throttleable: 1
UptimeTS: 3.10796491
Vendor: 
Version: 60.0
useragent_locale: de

This report also contains technical information about the state of the application when it crashed.


Is there a way to safely migrate an old profile to the new TB-version?
What can I do to help debug this?
Comment 1 Andreas Stieger 2018-09-09 19:41:19 UTC
(In reply to Andreas Schleth from comment #0)
> Is there a way to safely migrate an old profile to the new TB-version?

No problem like this was shown in any of our testing, so something in your prefs.js.
Comment 2 Andreas Schleth 2018-09-10 11:36:19 UTC
I just filed this bug with mozilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1489984
Comment 3 Andreas Stieger 2018-09-10 14:53:31 UTC
The issue is apparently triggered by special characters in folder names.
https://hg.mozilla.org/comm-central/rev/80754eac3809
https://hg.mozilla.org/releases/comm-esr60/rev/7802e1dbc3f26a0ddcb5efa14dfce919f3b7ea21
Comment 4 Andreas Stieger 2018-09-10 15:02:30 UTC
Wolfgang, would you like to address this regression with the upstream fix or wait for 60.1.0?

Petr, please include in the SLE update already in progress.
Comment 5 Wolfgang Rosenauer 2018-09-10 16:00:38 UTC
From earlier upstream discussions I expect 60.1 pretty soon already. Unless this is hitting many users I tend to wait.
Comment 6 Heiko Rommel 2018-09-15 17:22:18 UTC
I am hit by this problem on my private computer on Leap 42.3.

Crash of MozillaThunderbird-60.0-74.1 in

mozilla::detail::nsTStringRepr<char16_t>::First() const (this=this@entry=0x7fffffff9c70) at /usr/src/debug/thunderbird-60.0/xpcom/string/nsTSubstring.cpp:848

when having folder names with 'Umlauts'.
Comment 7 Andreas Stieger 2018-09-17 07:41:56 UTC
Backport https://build.opensuse.org/request/show/636096#
Comment 8 Andreas Stieger 2018-09-18 08:42:18 UTC
*** Bug 1108566 has been marked as a duplicate of this bug. ***
Comment 10 Andreas Stieger 2018-10-04 15:29:07 UTC
Reporter, can you please check if this is fixed in 60.2.1?
https://software.opensuse.org/package/MozillaThunderbird

mozilla or mozilla:Factory project
Comment 11 Andreas Schleth 2018-10-04 16:43:03 UTC
I just tested 60.2.1 from OBS and it works nicely with my and my wife's setup. I added some umlaut-folders manually for my account. With my wife's account there are still some old umlaut-folders. No problems.

So, this seems to be fixed.

Thanks!
Comment 12 Andreas Stieger 2018-10-04 18:10:38 UTC
Thank you for confirming, closing
Comment 13 Swamp Workflow Management 2018-10-04 19:00:21 UTC
This is an autogenerated message for OBS integration:
This bug (1107772) was mentioned in
https://build.opensuse.org/request/show/640013 15.0+42.3 / MozillaThunderbird
Comment 15 Swamp Workflow Management 2018-10-05 09:10:16 UTC
This is an autogenerated message for OBS integration:
This bug (1107772) was mentioned in
https://build.opensuse.org/request/show/640041 15.0+42.3 / MozillaThunderbird
Comment 17 Swamp Workflow Management 2018-10-06 16:08:55 UTC
openSUSE-SU-2018:3051-1: An update that fixes 20 vulnerabilities is now available.

Category: security (important)
Bug References: 1066489,1084603,1098998,1107343,1107772,1109363,1109379
CVE References: CVE-2017-16541,CVE-2018-12359,CVE-2018-12360,CVE-2018-12361,CVE-2018-12362,CVE-2018-12363,CVE-2018-12364,CVE-2018-12365,CVE-2018-12366,CVE-2018-12367,CVE-2018-12371,CVE-2018-12376,CVE-2018-12377,CVE-2018-12378,CVE-2018-12383,CVE-2018-12385,CVE-2018-16541,CVE-2018-5156,CVE-2018-5187,CVE-2018-5188
Sources used:
openSUSE Leap 42.3 (src):    MozillaThunderbird-60.2.1-77.2
openSUSE Leap 15.0 (src):    MozillaThunderbird-60.2.1-lp150.3.19.1
Comment 18 Swamp Workflow Management 2018-10-19 16:25:31 UTC
SUSE-SU-2018:3247-1: An update that fixes 19 vulnerabilities is now available.

Category: security (important)
Bug References: 1066489,1084603,1098998,1107343,1107772,1109363,1109379
CVE References: CVE-2017-16541,CVE-2018-12359,CVE-2018-12360,CVE-2018-12361,CVE-2018-12362,CVE-2018-12363,CVE-2018-12364,CVE-2018-12365,CVE-2018-12366,CVE-2018-12367,CVE-2018-12371,CVE-2018-12376,CVE-2018-12377,CVE-2018-12378,CVE-2018-12383,CVE-2018-12385,CVE-2018-5156,CVE-2018-5187,CVE-2018-5188
Sources used:
SUSE Linux Enterprise Workstation Extension 15 (src):    MozillaThunderbird-60.2.1-3.13.1
Comment 19 Swamp Workflow Management 2018-11-09 14:12:26 UTC
openSUSE-SU-2018:3687-1: An update that fixes 25 vulnerabilities is now available.

Category: security (important)
Bug References: 1066489,1084603,1098998,1107343,1107772,1109363,1109379,1112852
CVE References: CVE-2017-16541,CVE-2018-12359,CVE-2018-12360,CVE-2018-12361,CVE-2018-12362,CVE-2018-12363,CVE-2018-12364,CVE-2018-12365,CVE-2018-12366,CVE-2018-12367,CVE-2018-12371,CVE-2018-12376,CVE-2018-12377,CVE-2018-12378,CVE-2018-12383,CVE-2018-12385,CVE-2018-12389,CVE-2018-12390,CVE-2018-12391,CVE-2018-12392,CVE-2018-12393,CVE-2018-16541,CVE-2018-5156,CVE-2018-5187,CVE-2018-5188
Sources used:
SUSE Package Hub for SUSE Linux Enterprise 12 (src):    MozillaThunderbird-60.3.0-74.2