Bug: Thunderbird crashes when attaching file using the file picker (attach button)
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2024-08-14 23:45:38+00:00
Resolved: 2024-08-24 11:07:59+00:00

Steps to reproduce:

Step 1: Click "New Message"
Step 2: Click "Attach". Choose an appropriate file such as an image or PDF for example.



Actual results:

Thunderbird crashes entirely. 

Log:

AdapterDeviceID: 0x67df
AdapterDriverVersion: 31.0.21916.2
AdapterSubsysID: 23111458
AdapterVendorID: 0x1002
Add-ons: marcoagpinto%40mail.telepac.pt:3.3.5,google%40search.mozilla.org:1.0,bing%40search.mozilla.org:1.0,amazon%40search.mozilla.org:1.1,chambers-en-GB%40search.mozilla.org:1.0,ddg%40search.mozilla.org:1.0,wikipedia%40search.mozilla.org:1.0,thunderbird-compact-dark%40mozilla.org:1.3
AvailablePageFile: 40166825984
AvailablePhysicalMemory: 44460826624
AvailableVirtualMemory: 138513490550784
BackgroundTaskMode: 0
BuildID: 20240730200333
CPUMicrocodeVersion: 0xa601206
ContentSandboxCapable: 1
ContentSandboxLevel: 1
ContentSandboxWin32kState: Win32k Lockdown enabled -- default value is true
CrashTime: 1723678983
DOMFissionEnabled: 1
DOMIPCEnabled: 1
EMCheckCompatibility: true
GPUProcessLaunchCount: 1
GPUProcessStatus: Running
GpuSandboxLevel: 1
HeadlessMode: 0
InstallTime: 1723091690
LastStartupWasCrash: 0
LauncherProcessState: 0
ModuleSignatureInfo: {"ADAPP SASU":["dokan2.dll","dokannp2.dll"],"Apple Inc.":["mdnsNSP.dll"],"Microsoft Corporation":["FileSyncShell64.dll"],"Microsoft Windows":["dlnashext.dll","IconCodecService.dll","usp10.dll","TaskFlowDataEngine.dll","wpdshext.dll","adsldpc.dll","wscapi.dll","activeds.dll","mssprxy.dll","globinputhost.dll","oledlg.dll","cscui.dll","atlthunk.dll","duser.dll","dui70.dll","EhStorShell.dll","NetworkExplorer.dll","uiautomationcore.dll","winmmbase.dll","linkinfo.dll","winspool.drv","msimg32.dll","GdiPlus.dll","dbgcore.dll","thumbcache.dll","PlayToDevice.dll","ktmw32.dll","ksuser.dll","cscapi.dll","wdmaud.drv","ntshrui.dll","midimap.dll","msacm32.dll","msacm32.drv","PhotoMetadataHandler.dll","ondemandconnroutehelper.dll","explorerframe.dll","dataexchange.dll","oleacc.dll","Windows.Storage.Search.dll","StructuredQuery.dll","directmanipulation.dll","textinputframework.dll","TextShaping.dll","Bcp47Langs.dll","Windows.Globalization.dll","Windows.UI.Immersive.dll","windowsudk.shellcommon.dll","Windows.Security.Integrity.dll","davclnt.dll","ntlanman.dll","EhStorAPI.dll","drprov.dll","p9np.dll","comctl32.dll","netapi32.dll","twinapi.dll","cldapi.dll","srvcli.dll","urlmon.dll","edputil.dll","AudioSes.dll","Windows.FileExplorer.Common.dll","BCP47mrm.dll","Windows.UI.dll","MrmCoreR.dll","OneCoreCommonProxyStub.dll","wininet.dll","DevDispItemProvider.dll","iertutil.dll","mpr.dll","MMDevAPI.dll","Windows.StateRepositoryPS.dll","mscms.dll","OneCoreUAPCommonProxyStub.dll","twinapi.appcore.dll","actxprxy.dll","windows.staterepositoryclient.dll","Windows.System.Launcher.dll","CoreUIComponents.dll","directxdatabasehelper.dll","windows.staterepositorycore.dll","xmllite.dll","odbc32.dll","nlansp_c.dll","winrnr.dll","npmproxy.dll","pnrpnsp.dll","NapiNSP.dll","wsock32.dll","DWrite.dll","dcomp.dll","winmm.dll","CoreMessaging.dll","FWPUCLNT.DLL","apphelp.dll","avrt.dll","PortableDeviceApi.dll","wshbth.dll","version.dll","wkscli.dll","PortableDeviceTypes.dll","winhttp.dll","rasadhlp.dll","dhcpcsvc.dll","dhcpcsvc6.DLL","msvcp110_win.dll","netprofm.dll","policymanager.dll","samcli.dll","WindowsCodecs.dll","uxtheme.dll","dxgi.dll","dwmapi.dll","winnsi.dll","DXCore.dll","resourcepolicyclient.dll","WinTypes.dll","windows.storage.dll","propsys.dll","dbghelp.dll","slc.dll","winsta.dll","netutils.dll","IPHLPAPI.DLL","dnsapi.dll","umpdc.dll","powrprof.dll","wtsapi32.dll","secur32.dll","kernel.appcore.dll","ntmarta.dll","sspicli.dll","mswsock.dll","userenv.dll","CRYPTBASE.DLL","msasn1.dll","devobj.dll","cfgmgr32.dll","dpapi.dll","sxs.dll","profapi.dll","msvcp_win.dll","ucrtbase.dll","gdi32full.dll","bcryptPrimitives.dll","KERNELBASE.dll","wintrust.dll","bcrypt.dll","win32u.dll","crypt32.dll","ole32.dll","clbcatq.dll","rpcrt4.dll","user32.dll","shlwapi.dll","nsi.dll","oleaut32.dll","gdi32.dll","advapi32.dll","imm32.dll","msvcrt.dll","combase.dll","Wldap32.dll","shell32.dll","SHCore.dll","kernel32.dll","setupapi.dll","psapi.dll","coml2.dll","sechost.dll","msctf.dll","ws2_32.dll","ntdll.dll"],"Microsoft Windows Software Compatibility Publisher":["msvcp140.dll","VCRUNTIME140.dll","VCRUNTIME140_1.dll"],"Mozilla Corporation":["thunderbird.exe","gkcodecs.dll","rnp.dll","nss3.dll","freebl3.dll","mozglue.dll","nssckbi.dll","softokn3.dll","lgpllibs.dll","xul.dll"],"PARAMOUNT SOFTWARE UK LIMITED":["RShellEx.dll"]}
Notes: 
Has dual GPUs. GPU #2: AdapterVendorID2: 0x1002, AdapterDeviceID2: 0x164e, AdapterSubsysID2: 23111458, AdapterDriverVersion2: 32.0.11029.1008FP(D00-L1000-W0000100-T00) DWrite? DWrite+ WR? WR+ 
ProductID: {3550f703-e582-4d05-9a08-453d09bdfdc6}
ProductName: Thunderbird
QuotaManagerStorageIsNetworkResource: 0
ReleaseChannel: esr
SafeMode: 0
SecondsSinceLastCrash: 48843
StartupCacheValid: 1
StartupCrash: 0
StartupTime: 1723634135
SubmittedFrom: Client
SystemMemoryUsePercentage: 34
TelemetryClientId: 14b76af2-7193-475b-bcf1-c787703afffd
TelemetryEnvironment: {"build":{"applicationId":"{3550f703-e582-4d05-9a08-453d09bdfdc6}","applicationName":"Thunderbird","architecture":"x86-64","buildId":"20240730200333","version":"128.1.0","vendor":null,"displayVersion":"128.1.0esr","platformVersion":"128.1.0","xpcomAbi":"x86_64-msvc","updaterAvailable":true},"partner":{"distributionId":null,"distributionVersion":null,"partnerId":null,"distributor":null,"distributorChannel":null,"partnerNames":[]},"system":{"memoryMB":64644,"virtualMaxMB":134217728,"cpu":{"isWindowsSMode":false,"count":32,"cores":16,"vendor":"AuthenticAMD","name":"AMD Ryzen 9 7950X3D 16-Core Processor          ","family":25,"model":97,"stepping":2,"l2cacheKB":1024,"l3cacheKB":32768,"speedMHz":4192,"extensions":["hasMMX","hasSSE","hasSSE2","hasSSE3","hasSSSE3","hasSSE4A","hasSSE4_1","hasSSE4_2","hasAVX","hasAVX2","hasAES","hasUserCET"]},"os":{"installYear":2024,"hasSuperfetch":true,"hasPrefetch":true,"name":"Windows_NT","version":"10.0","locale":"en-US","servicePackMajor":0,"servicePackMinor":0,"windowsBuildNumber":22631,"windowsUBR":3958},"hdd":{"binary":{"model":"KINGSTON SKC3000D2048G","revision":"EIFK31.6","type":"SSD"},"profile":{"model":"KINGSTON SKC3000D2048G","revision":"EIFK31.6","type":"SSD"},"system":{"model":"KINGSTON SKC3000D2048G","revision":"EIFK31.6","type":"SSD"}},"gfx":{"D2DEnabled":true,"DWriteEnabled":true,"ContentBackend":"Skia","Headless":false,"EmbeddedInFirefoxReality":false,"TargetFrameRate":60,"adapters":[{"description":"Radeon RX 590 Series","vendorID":"0x1002","deviceID":"0x67df","subsysID":"23111458","RAM":8192,"driver":"aticfx64 aticfx64 aticfx64 amdxc64 aticfx32 aticfx32 aticfx32 amdxc32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a","driverVendor":null,"driverVersion":"31.0.21916.2","driverDate":"6-18-2024","GPUActive":true},{"description":"AMD Radeon(TM) Graphics","vendorID":"0x1002","deviceID":"0x164e","subsysID":"88771043","RAM":512,"driver":"amdxc64 amdxc32 amdxn64 amdxx64 amdxn32 amdxx32 atiumdva atiumd6a","driverVendor":null,"driverVersion":"32.0.11029.1008","driverDate":"7-15-2024","GPUActive":false}],"monitors":[{"screenWidth":2560,"screenHeight":1080,"refreshRate":60,"pseudoDisplay":false}],"features":{"compositor":"webrender","hwCompositing":{"status":"available"},"gpuProcess":{"status":"available"},"webrender":{"status":"available"},"wrCompositor":{"status":"available"},"openglCompositing":{"status":"unused"},"omtp":{"status":"unused"},"d3d11":{"status":"available","version":45312,"warp":false,"textureSharing":true,"blocklisted":false},"d2d":{"status":"available","version":"1.1"}}},"appleModelId":null,"hasWinPackageId":false,"sec":{"antivirus":["Microsoft Defender Antivirus"],"antispyware":null,"firewall":["Windows Firewall"]},"isWow64":false,"isWowARM64":false},"settings":{"blocklistEnabled":true,"e10sEnabled":true,"e10sMultiProcesses":8,"fissionEnabled":true,"telemetryEnabled":false,"locale":"en-US","intl":{"requestedLocales":["en-US"],"availableLocales":["en-US"],"appLocales":["en-US"],"systemLocales":["en-US","en-AU"],"regionalPrefsLocales":["en-AU"],"acceptLanguages":["en-US","en"]},"update":{"channel":"esr","enabled":true,"autoDownload":true,"background":true},"userPrefs":{"browser.cache.disk.capacity":1048576,"browser.search.region":"AU","network.trr.strict_native_fallback":false,"widget.content.gtk-high-contrast.enabled":true},"sandbox":{"effectiveContentProcessLevel":1,"contentWin32kLockdownState":15},"launcherProcessState":0,"addonCompatibilityCheckEnabled":true,"isDefaultBrowser":null,"defaultSearchEngine":"google","defaultSearchEngineData":{"loadPath":"[app]google@search.mozilla.org","name":"Google","origin":"default","submissionURL":"https://www.google.com/search?q="}},"profile":{"creationDate":18856,"firstUseDate":18856},"addons":{"activeAddons":{"marcoagpinto@mail.telepac.pt":{"version":"3.3.5","scope":1,"type":"dictionary","updateDay":19937,"isSystem":false,"isWebExtension":true,"multiprocessCompatible":true,"blocklisted":false,"description":"A fork of Mark Tyndall's add-on, based on David Bartlett's\nBritish Dictionary R1.19 for Firefox, Thu","name":"British English Dictionary (Marco Pinto)","userDisabled":false,"appDisabled":false,"foreignInstall":false,"hasBinaryComponents":false,"installDay":18977,"quarantineIgnoredByApp":false,"quarantineIgnoredByUser":false}},"theme":{"id":"thunderbird-compact-dark@mozilla.org","blocklisted":false,"description":"A theme with a dark color scheme.","name":"Dark","userDisabled":false,"appDisabled":false,"version":"1.3","scope":4,"foreignInstall":false,"hasBinaryComponents":false,"installDay":18908,"updateDay":18908},"activeGMPlugins":{"dummy-gmp":{"version":"0.1","userDisabled":false,"applyBackgroundUpdates":1}}}}
TelemetryServerURL: https://incoming-telemetry.thunderbird.net
TelemetrySessionId: 7ce62014-f1c1-457a-b804-30d95c6a376f
Throttleable: 1
TotalPageFile: 72079003648
TotalPhysicalMemory: 67784036352
TotalVirtualMemory: 140737488224256
UptimeTS: 448475.30449
User32BeforeBlocklist: 1
Version: 128.1.0
Winsock_LSP: Hyper-V RAW : 2 : 34 : 1 : 1 : 0x20026 : 0x8 : %SystemRoot%\system32\mswsock.dll :  : 1234191b-4bf7-4ca7-86e0-dfd7c32b5445 
 MSAFD Tcpip [TCP/IPv6] : 2 : 23 : 1 : 6 : 0x20066 : 0x8 : %SystemRoot%\system32\mswsock.dll :  : f9eab0c0-26d4-11d0-bbbf-00aa006c34e4 
 MSAFD Tcpip [UDP/IPv6] : 2 : 23 : 2 : 17 : 0x20609 : 0x8 : %SystemRoot%\system32\mswsock.dll :  : f9eab0c0-26d4-11d0-bbbf-00aa006c34e4 
 MSAFD Tcpip [RAW/IPv6] : 2 : 23 : 3 : 0 : 0x20609 : 0xc : %SystemRoot%\system32\mswsock.dll :  : f9eab0c0-26d4-11d0-bbbf-00aa006c34e4 
 MSAFD Tcpip [TCP/IP] : 2 : 2 : 1 : 6 : 0x20066 : 0x8 : %SystemRoot%\system32\mswsock.dll :  : e70f1aa0-ab8b-11cf-8ca3-00805f48a192 
 MSAFD Tcpip [UDP/IP] : 2 : 2 : 2 : 17 : 0x20609 : 0x8 : %SystemRoot%\system32\mswsock.dll :  : e70f1aa0-ab8b-11cf-8ca3-00805f48a192 
 MSAFD Tcpip [RAW/IP] : 2 : 2 : 3 : 0 : 0x20609 : 0xc : %SystemRoot%\system32\mswsock.dll :  : e70f1aa0-ab8b-11cf-8ca3-00805f48a192 
 RSVP TCPv6 Service Provider : 2 : 23 : 1 : 6 : 0x22066 : 0x8 : %SystemRoot%\system32\mswsock.dll :  : 9d60a9e0-337a-11d0-bd88-0000c082e69a 
 RSVP TCP Service Provider : 2 : 2 : 1 : 6 : 0x22066 : 0x8 : %SystemRoot%\system32\mswsock.dll :  : 9d60a9e0-337a-11d0-bd88-0000c082e69a 
 RSVP UDPv6 Service Provider : 2 : 23 : 2 : 17 : 0x22609 : 0x8 : %SystemRoot%\system32\mswsock.dll :  : 9d60a9e0-337a-11d0-bd88-0000c082e69a 
 RSVP UDP Service Provider : 2 : 2 : 2 : 17 : 0x22609 : 0x8 : %SystemRoot%\system32\mswsock.dll :  : 9d60a9e0-337a-11d0-bd88-0000c082e69a 
 AF_UNIX : 2 : 1 : 1 : 0 : 0x20026 : 0x8 : %SystemRoot%\system32\mswsock.dll :  : a00943d9-9c2e-4633-9b59-0057a3160994 
 MSAFD L2CAP [Bluetooth] : 2 : 32 : 1 : 256 : 0x20006 : 0x8 : %SystemRoot%\system32\mswsock.dll :  : 9fc48064-7298-43e4-b7bd-181f2089792a 
 MSAFD RfComm [Bluetooth] : 2 : 32 : 1 : 3 : 0x20026 : 0x8 : %SystemRoot%\system32\mswsock.dll :  : 9fc48064-7298-43e4-b7bd-181f2089792a
useragent_locale: en-US
This report also contains technical information about the state of the application when it crashed.



Expected results:

The file should have been attached. Only way to attach files currently is via drag and drop, which does not encounter the same issue as using the attach button.