Closed Bug 1680492 Opened 4 years ago Closed 4 years ago

Crash while closing LDAP connections

Categories

(Thunderbird :: Address Book, defect)

x86
Windows 7
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1680914

People

(Reporter: cmgaudry33, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

Thunderbird 78.5.1 crashes every time an LDAP connection is closed.
In Thunderbird 78.5.0 everything is ok.

Steps to reproduce:

  • Open a command line window
  • Set environment variable NSPR_LOG_MODULES = LDAP: 5
  • Start Thunderbird from the command line (to get standard output).
  • Configure the new LDAP address book using the ldaps protocol and simple binding.
  • Open the Address books window.
  • Select the newly created address book.
  • search for something in this address book.
  • Close the Address books window.
  • Close the main window.

Output :
[(null) 8388: Main Thread]: D/LDAP nsLDAPOperation::SimpleBind(): called; bindName = '';
[(null) 8388: Socket Thread]: D/LDAP Operation id=1 added (1 now pending)
[(null) 8388: Socket Thread]: D/LDAP pending operation removed; total pending operations now = 0
[(null) 8388: Main Thread]: D/LDAP nsLDAPOperation::SearchExt(): called with aBaseDn = 'xxxxxxxxx'; aFilter = 'xxxxxxxxx'; aAttributes = xxxxxxxxx; aSizeLimit = 100
[(null) 8388: Socket Thread]: D/LDAP Operation id=2 added (1 now pending)
[(null) 8388: Socket Thread]: D/LDAP pending operation removed; total pending operations now = 0
[(null) 8388: Main Thread]: D/LDAP nsLDAPOperation::SimpleBind(): called; bindName = '';
[(null) 8388: Socket Thread]: D/LDAP Operation id=1 added (1 now pending)
[(null) 8388: Socket Thread]: D/LDAP pending operation removed; total pending operations now = 0
[(null) 8388: Main Thread]: D/LDAP nsLDAPOperation::SearchExt(): called with aBaseDn = 'xxxxxxxxx'; aFilter = 'xxxxxxxxx'; aAttributes = xxxxxxxxx; aSizeLimit = 100
[(null) 8388: Socket Thread]: D/LDAP Operation id=2 added (1 now pending)
[(null) 8388: Socket Thread]: D/LDAP pending operation removed; total pending operations now = 0
[(null) 8388: Main Thread]: D/LDAP unbinding

The application exits with code 1.
The crashreporter is launched.

You can see that the "D/LDAP unbound" is missing from the standard output.

Severity: -- → S1
Priority: -- → P1

This anomaly is really blocking. It is impossible for me to deploy such a version in production. Indeed, given the use of a custom component to interact with an LDAP server, the application crashes as soon as the interface starts up.

Flags: needinfo?(mkmelin+mozilla)

What's the crash id? See the crash ids in Help | Troubleshooting information (about:crashes)
Maybe bug 1673205?

Flags: needinfo?(mkmelin+mozilla)
Priority: P1 → --
Attached file bug_1680492_crashreport.txt (obsolete) (deleted) —

I am working offline. So the crash report does not go back to Mozilla's servers. However, you will find an example of a crash report in attachment.

Attachment #9191580 - Flags: review?(mkmelin+mozilla)

Sorry that's not a useful trace. Would need the stack, such you get it either through a mozilla crash report, or backtrace from crashing in a debugger.

Comment on attachment 9191580 [details] bug_1680492_crashreport.txt >AdapterDeviceID: 0x0412 >AdapterDriverVersion: 10.18.10.3412 >AdapterSubsysID: 309f17aa >AdapterVendorID: 0x8086 >Add-ons: wetransfer%40extensions.thunderbird.net:2.1.0,default-theme%40mozilla.org:1.0,google%40search.mozilla.org:1.0 >BIOS_Manufacturer: LENOVO >BlockedDllList: >BreakpadReserveAddress: 52756480 >BreakpadReserveSize: 83886080 >BuildID: 20201130232704 >CPUMicrocodeVersion: 0x27 >ContentSandboxCapable: 1 >ContentSandboxLevel: 1 >CrashTime: 1607338473 >EMCheckCompatibility: true >FramePoisonBase: 0000004041080832 >FramePoisonSize: 65536 >InstallTime: 1606916722 >LauncherProcessState: 0 >MemoryErrorCorrection: None >ModuleSignatureInfo: {"Microsoft Corporation":["D3DCOMPILER_47.dll","ucrtbase.dll","msvcp140.dll","api-ms-win-crt-multibyte-l1-1-0.dll","api-ms-win-crt-utility-l1-1-0.dll","api-ms-win-crt-environment-l1-1-0.dll","api-ms-win-crt-filesystem-l1-1-0.dll","api-ms-win-crt-time-l1-1-0.dll","api-ms-win-crt-math-l1-1-0.dll","api-ms-win-crt-locale-l1-1-0.dll","api-ms-win-crt-convert-l1-1-0.dll","api-ms-win-crt-stdio-l1-1-0.dll","api-ms-win-crt-heap-l1-1-0.dll","api-ms-win-crt-string-l1-1-0.dll","api-ms-win-core-synch-l1-2-0.dll","api-ms-win-core-file-l2-1-0.dll","api-ms-win-core-timezone-l1-1-0.dll","api-ms-win-core-file-l1-2-0.dll","api-ms-win-core-processthreads-l1-1-1.dll","api-ms-win-core-localization-l1-2-0.dll","api-ms-win-crt-runtime-l1-1-0.dll","VCRUNTIME140.dll"],"Microsoft Windows":["d3d9.dll","d3dcompiler_47.dll","MMDevAPI.dll","wevtapi.dll","Wpc.dll","fastprox.dll","wbemcomn.dll","netprofm.dll","dxgi.dll","d3d11.dll","samlib.dll","ntshrui.dll","propsys.dll","linkinfo.dll","samcli.dll","slc.dll","cscapi.dll","FWPUCLNT.DLL","rasman.dll","rasapi32.dll","d3d8thk.dll","ntdsapi.dll","wbemsvc.dll","wbemprox.dll","npmproxy.dll","winrnr.dll","pnrpnsp.dll","NapiNSP.dll","nlaapi.dll","wship6.dll","actxprxy.dll","explorerframe.dll","rtutils.dll","gpapi.dll","bcryptprimitives.dll","dwmapi.dll","SensApi.dll","rasadhlp.dll","version.dll","srvcli.dll","ntmarta.dll","rsaenh.dll","cryptsp.dll","wsock32.dll","winspool.drv","winmm.dll","profapi.dll","WSHTCPIP.DLL","mswsock.dll","wtsapi32.dll","winsta.dll","WinSCard.dll","dnsapi.dll","winnsi.dll","IPHLPAPI.DLL","RpcRtRemote.dll","powrprof.dll","dui70.dll","midimap.dll","wdmaud.drv","msacm32.dll","duser.dll","msacm32.drv","ksuser.dll","dbghelp.dll","avrt.dll","netutils.dll","uxtheme.dll","comctl32.dll","setupapi.dll","Wldap32.dll","msasn1.dll","wininet.dll","ws2_32.dll","imm32.dll","nsi.dll","cfgmgr32.dll","urlmon.dll","imagehlp.dll","psapi.dll","clbcatq.dll","shlwapi.dll","devobj.dll","sechost.dll","msvcrt.dll","iertutil.dll","shell32.dll","ntdll.dll"],"Microsoft Windows Hardware Compatibility Publisher":["igd10iumd32.dll","igdusc32.dll"],"Mozilla Corporation":["thunderbird.exe","xul.dll","libGLESv2.dll","libssp-0.dll","libgcrypt-20.dll","rnp.dll","libgpg-error-0.dll","libotr-5.dll","nssckbi.dll","freebl3.dll","nss3.dll","softokn3.dll","libEGL.dll","lgpllibs.dll","prldap60.dll","ldap60.dll","mozglue.dll"],"gemalto":["LocHub.dll","pk2GemID.dll","pk2p15.dll","pk2ias.dll","gck2014x.dll","gck2015x.dll","gclib.dll","GUICore.dll"]} >Notes: >FP(D00-L1000-W00001000-T000) D2D1.1? D2D1.1- DWrite? DWrite+ WR? WR- OMTP? OMTP+4 WebGL? EGL? EGL+ GL Context? GL Context+ WebGL+ >ProductID: {3550f703-e582-4d05-9a08-453d09bdfdc6} >ProductName: Thunderbird >ReleaseChannel: release >SafeMode: 0 >SecondsSinceLastCrash: 439 >ShutdownProgress: quit-application >StartupCrash: 0 >StartupTime: 1607338306 >TelemetryEnvironment: {"build":{"applicationId":"{3550f703-e582-4d05-9a08-453d09bdfdc6}","applicationName":"Thunderbird","architecture":"x86","buildId":"20201130232704","version":"78.5.1","vendor":null,"displayVersion":"78.5.1","platformVersion":"78.5.0","xpcomAbi":"x86-msvc","updaterAvailable":true},"partner":{"distributionId":null,"distributionVersion":null,"partnerId":null,"distributor":null,"distributorChannel":null,"partnerNames":[]},"system":{"memoryMB":16177,"virtualMaxMB":4096,"cpu":{"extensions":["hasMMX","hasSSE","hasSSE2","hasSSE3","hasSSSE3","hasSSE4_1","hasSSE4_2","hasAVX","hasAVX2","hasAES"]},"os":{"name":"Windows_NT","version":"6.1","locale":"fr-FR","servicePackMajor":1,"servicePackMinor":0,"windowsBuildNumber":7601},"hdd":{"profile":{"model":null,"revision":null,"type":null},"binary":{"model":null,"revision":null,"type":null},"system":{"model":null,"revision":null,"type":null}},"gfx":{"D2DEnabled":false,"DWriteEnabled":true,"ContentBackend":"Skia","Headless":false,"adapters":[{"description":"Intel(R) HD Graphics 4600","vendorID":"0x8086","deviceID":"0x0412","subsysID":"309f17aa","RAM":0,"driver":"igdumdim64 igd10iumd64 igd10iumd64 igdumdim32 igd10iumd32 igd10iumd32","driverVendor":null,"driverVersion":"10.18.10.3412","driverDate":"1-29-2014","GPUActive":true}],"monitors":[{"screenWidth":1680,"screenHeight":1050,"refreshRate":59,"pseudoDisplay":false}],"features":{"compositor":"none","hwCompositing":{"status":"available"},"gpuProcess":{"status":"unavailable:FEATURE_FAILURE_NO_E10S"},"wrQualified":{"status":"blacklisted:FEATURE_UNQUALIFIED_WEBRENDER_WINDOWS_7"},"webrender":{"status":"unavailable-no-gpu-process"},"wrCompositor":{"status":"unavailable:FEATURE_FAILURE_BUG_1602511"},"advancedLayers":{"status":"available"},"d3d11":{"status":"available","version":45056,"warp":false,"textureSharing":true,"blacklisted":false},"d2d":{"status":"blacklisted:FEATURE_FAILURE_BUG_1432610","version":"1.1"}}},"appleModelId":null},"settings":{"blocklistEnabled":true,"e10sEnabled":false,"e10sMultiProcesses":8,"telemetryEnabled":false,"locale":"fr","intl":{},"update":{"channel":"release","enabled":true},"userPrefs":{"fission.autostart":false},"sandbox":{"effectiveContentProcessLevel":1},"launcherProcessState":0,"addonCompatibilityCheckEnabled":true,"isDefaultBrowser":null},"profile":{}} >ThreadIdNameMapping: 6540:"Gecko_IOThread",7224:"Link Monitor #1",5460:"Socket Thread",7664:"Permission",7756:"Timer",8552:"BackgroundThreadPool #1",2680:"JS Watchdog",4964:"JS Helper",6056:"JS Helper",3652:"JS Helper",7576:"JS Helper",6896:"JS Helper",3768:"JS Helper",5756:"JS Helper",5284:"JS Helper",6212:"DataStorage",6168:"cert_storage",7924:"Cache2 I/O",7464:"Cookie",4588:"DOM Worker",5328:"IPDL Background",3760:"Worker Launcher",532:"WindowsVsyncThread",3940:"Compositor",1760:"ImgDecoder #1",8144:"ImageIO",8364:"HTML5 Parser",8060:"StyleThread#3",8440:"StyleThread#2",3120:"StyleThread#1",5764:"StyleThread#5",8756:"StyleThread#4",5812:"StyleThread#0",4744:"PlayEventSound",5992:"localStorage DB",1576:"ImageBridgeChld",7348:"TRR Background",7612:"QuotaManager IO",7272:"ProxyResolution",4508:"DNS Resolver #1",3012:"COM MTA",7684:"DNS Resolver #2",7948:"URL Classifier",4912:"mozStorage #4",4116:"mozStorage #5",1332:"mozStorage #6",5084:"BgIOThreadPool #1",6988:"StreamTrans #330",5508:"DOM File",5536:"StreamTrans #332",8912:"StreamTrans #340",7052:"StreamTrans #345",3892:"StreamTrans #347",7908:"SSL Cert #2",7132:"Shutdown Hang Terminator", >Throttleable: 1 >URL: >UptimeTS: 554.206896596 >Version: 78.5.1 >Winsock_LSP: 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 > 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 > Fournisseur de services RSVP TCPv6 : 2 : 23 : 1 : 6 : 0x22066 : 0x8 : %SystemRoot%\system32\mswsock.dll : : 9d60a9e0-337a-11d0-bd88-0000c082e69a > Fournisseur de services RSVP TCP : 2 : 2 : 1 : 6 : 0x22066 : 0x8 : %SystemRoot%\system32\mswsock.dll : : 9d60a9e0-337a-11d0-bd88-0000c082e69a > Fournisseur de services RSVP UDPv6 : 2 : 23 : 2 : 17 : 0x22609 : 0x8 : %SystemRoot%\system32\mswsock.dll : : 9d60a9e0-337a-11d0-bd88-0000c082e69a > Fournisseur de services RSVP UDP : 2 : 2 : 2 : 17 : 0x22609 : 0x8 : %SystemRoot%\system32\mswsock.dll : : 9d60a9e0-337a-11d0-bd88-0000c082e69a > vSockets DGRAM : 0 : 28 : 2 : 0 : 0x9 : 0x8 : %windir%\system32\vsocklib.dll : : 570adc4b-67b2-42ce-92b2-acd33d88d842 > vSockets STREAM : 0 : 28 : 1 : 0 : 0x26 : 0x8 : %windir%\system32\vsocklib.dll : : 570adc4b-67b2-42ce-92b2-acd33d88d842 >useragent_locale: fr > >Ce rapport contient également des informations techniques sur lâétat de lâapplication lors du plantage.
Attachment #9191580 - Attachment is obsolete: true
Attachment #9191580 - Flags: review?(mkmelin+mozilla)

Is it more useful ?

Attachment #9191586 - Flags: review?(mkmelin+mozilla)

Comment on attachment 9191586 [details]
bug_1680492_1778dcf5-8652-4848-baff-92c6ceac94e9

Possibly but in a very very hard to figure out format.
If you let it submit the report, you get into a specific stack trace like https://crash-stats.mozilla.org/report/index/4c06420a-f3e2-4a58-a013-30ee20201207

Something like that.

Note: for non-patches, please just use needinfo.

Attachment #9191586 - Flags: review?(mkmelin+mozilla)

I installed Thunderbird 78.5.1 on a public machine and added the LDAP address book (configured on the ldap.forumsys.com server), performed a search, closed the application.
I sent the following report:
https://crash-stats.mozilla.org/report/index/40b882fc-b057-4cf9-ab8a-0d3880201207

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: