Closed Bug 763361 Opened 12 years ago Closed 12 years ago

shutdown. sigsegv during freelibrary

Categories

(Toolkit :: Telemetry, defect)

15 Branch
x86
Windows Server 2003
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla16
Tracking Status
firefox15 - ---

People

(Reporter: jojelino, Assigned: espindola)

References

(Blocks 1 open bug, )

Details

(Keywords: crash, regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 5.2) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1162.0 Safari/537.1

Steps to reproduce:

given daily(thunderbird) 16.0a1(20120610) and run thunderbird and exit


Actual results:

when attached to gdb,
0, ntkrnlpa.exe!KiDeliverApc+0xbb
1, ntkrnlpa.exe!KiSwapThread+0x300
2, ntkrnlpa.exe!KeWaitForSingleObject+0x346
3, ntkrnlpa.exe!DbgkpQueueMessage+0x178
4, ntkrnlpa.exe!DbgkpSendApiMessage+0x45
5, ntkrnlpa.exe!DbgkForwardException+0x90
6, ntkrnlpa.exe!KiDispatchException+0x1ea
7, ntkrnlpa.exe!CommonDispatchException+0x4a
8, ntdll.dll!RtlpWaitOnCriticalSection+0xdf
9, ntdll.dll!RtlEnterCriticalSection+0xa8
10, xul.dll!mozilla::services::_external_GetHistoryService+0xd46f
11, xul.dll!mozilla::services::_external_GetHistoryService+0xd571
12, xul.dll!NS_InvokeByIndex_P+0x76987
13, xul.dll!NS_InvokeByIndex_P+0x76aa3
14, xul.dll!NS_InvokeByIndex_P+0x76b20
15, ntdll.dll!LdrpCallInitRoutine+0x14
16, ntdll.dll!LdrUnloadDll+0x41a
17, kernel32.dll!FreeLibrary+0x41
18, thunderbird.exe+0x1a22
19, ntdll.dll!RtlSetEnvironmentVariable+0x528
20, msvcr100.dll!malloc+0x4b
21, msvcr100.dll!operator new+0x1f

and when msvc, stackdump is different

 	00e70a3a()	
>	msvcrt.dll!__CxxRestoreUnhandledExceptionFilter()  + 0xc bytes	
 	msvcrt.dll!__initterm()  + 0x13 bytes	
 	msvcrt.dll!___CRTDLL_CallStaticTerminators()  + 0x1e bytes	
 	msvcrt.dll!___CRTDLL_INIT@12()  + 0x161 bytes	
 	ntdll.dll!_LdrpCallInitRoutine@16()  + 0x14 bytes	
 	ntdll.dll!_LdrShutdownProcess@0()  - 0x51 bytes	
 	kernel32.dll!__ExitProcess@4()  + 0x43 bytes	
 	kernel32.dll!7c8268fd() 	
 	msvcr100.dll!__crtExitProcess(int status=0x00000000)  Line 708 + 0x9 bytes	C
 	msvcr100.dll!doexit(int code=0x00000000, int quick=0x00000000, int retcaller=0x00000000)  Line 609	C
 	msvcr100.dll!exit(int code=0x00000000)  Line 393 + 0xc bytes	C
 	thunderbird.exe!00401ddc() 	
 	[Frames below may be incorrect and/or missing, no symbols loaded for thunderbird.exe]	
 	kernel32.dll!_BaseProcessStart@4()  + 0x23 bytes	



Expected results:

no such behavior
Gee can you easily reproduce ?

Is this a crash on exit ?

Can you get a complete stack trace using https://developer.mozilla.org/en/How_to_get_a_stacktrace_with_WinDbg (replace firefox by thunderbird) and attach it to this bug ?

I don't see an attack vector here so I'll flip the security bit so more people can look at the crash.
Group: core-security
Severity: normal → critical
Keywords: crash
(In reply to Ludovic Hirlimann [:Usul] from comment #1)
> Gee can you easily reproduce ?
> 
> Is this a crash on exit ?
> 
yes
> Can you get a complete stack trace using
> https://developer.mozilla.org/en/How_to_get_a_stacktrace_with_WinDbg
> (replace firefox by thunderbird) and attach it to this bug ?
> 
> I don't see an attack vector here so I'll flip the security bit so more
> people can look at the crash.

Opened log file 'c:\firefox-debug_0470_2012-06-11_19-09-34-031.log'
0:000> .childdbg 1
Processes created by the current process will be debugged
0:000> sxn gp
0:000> |* lm
start    end        module name
00400000 00460000   thunderbird C (no symbols)           
04900000 04e5b000   xpsp2res   (deferred)             
4c0e0000 4c0fa000   imekr61    (deferred)             
4c3b0000 4c3de000   msctfime   (deferred)             
63270000 632c8000   hnetcfg    (deferred)             
697c0000 697c9000   feclient   (deferred)             
71990000 71998000   wshtcpip   (deferred)             
719d0000 71a11000   mswsock    (deferred)             
71a20000 71a56000   UxTheme    (deferred)             
71a80000 71a91000   MPR        (deferred)             
71aa0000 71aa8000   WS2HELP    (deferred)             
71ab0000 71ac7000   WS2_32     (deferred)             
72bb0000 72bb8000   msacm32    (deferred)             
72bc0000 72bc9000   wdmaud     (deferred)             
72ec0000 72ee7000   WINSPOOL   (deferred)             
73950000 73966000   mscms      (deferred)             
73b00000 73b21000   t2embed    (deferred)             
73be0000 73be3000   LZ32       (deferred)             
743c0000 74410000   MSCTF      (deferred)             
75220000 75285000   USP10      (deferred)             
75810000 758ce000   USERENV    (deferred)             
75d00000 75d27000   apphelp    (deferred)             
76020000 76032000   MSASN1     (deferred)             
76040000 760d2000   CRYPT32    (deferred)             
76110000 76115000   MSIMG32    (deferred)             
76120000 7613d000   IMM32      (deferred)             
76990000 769bb000   WINMM      (deferred)             
76ac0000 76aec000   WINTRUST   (deferred)             
76b20000 76b4a000   imagehlp   (deferred)             
76de0000 76e0b000   DNSAPI     (deferred)             
76e20000 76e4e000   WLDAP32    (deferred)             
76e60000 76e73000   Secur32    (pdb symbols)          c:\symbols\secur32.pdb\E9DB82A41E2B412D827119F6BE32AF832\secur32.pdb
76e80000 76e87000   winrnr     (deferred)             
76e90000 76e95000   rasadhlp   (deferred)             
76f20000 77087000   COMRes     (deferred)             
77470000 775a9000   ole32      (deferred)             
775b0000 7763c000   OLEAUT32   (deferred)             
77640000 776c3000   CLBCatQ    (deferred)             
77970000 77ae7000   SETUPAPI   (deferred)             
77b00000 77b07000   midimap    (deferred)             
77b10000 77b24000   MSACM32_77b10000   (deferred)             
77b30000 77b38000   VERSION    (deferred)             
77b40000 77b9a000   msvcrt     (pdb symbols)          c:\symbols\msvcrt.pdb\A7F38CEE7E684B94B7AA9FFFCAB446851\msvcrt.pdb
77ba0000 77be9000   GDI32      (pdb symbols)          c:\symbols\gdi32.pdb\C7F41D33566043FF805B48DA326869AD2\gdi32.pdb
77bf0000 77c91000   RPCRT4     (pdb symbols)          c:\symbols\rpcrt4.pdb\BDD2BB34DBC648FEB479598E656009C02\rpcrt4.pdb
77ca0000 77da3000   comctl32   (deferred)             
77de0000 77e70000   USER32     (pdb symbols)          c:\symbols\user32.pdb\1AE19639F6CB4C24B578A272F27213A52\user32.pdb
77e80000 77ed2000   SHLWAPI    (deferred)             
77f20000 77fcb000   ADVAPI32   (pdb symbols)          c:\symbols\advapi32.pdb\33205A093C254529B7F733A3A3C73BA42\advapi32.pdb
78aa0000 78b5e000   MSVCR100   (private pdb symbols)  c:\symbols\msvcr100.i386.pdb\B74A49314FD64956BAF50772F83598012\msvcr100.i386.pdb
7c800000 7c93f000   kernel32   (pdb symbols)          c:\symbols\kernel32.pdb\FB5BF50B7D9C495D891DF225BD256C522\kernel32.pdb
7c940000 7ca1c000   ntdll      (pdb symbols)          c:\symbols\ntdll.pdb\3BBB17132843480392051FD9AAF6C0322\ntdll.pdb
7ca20000 7d205000   SHELL32    (deferred)             
7f000000 7f009000   LPK        (deferred)             

Unloaded modules:
00c10000 00c35000   ssl3.dll
00b70000 00c0e000   nss3.dll
00b20000 00b38000   nssutil3.dll
00a90000 00b20000   mozsqlite3.dll
00a80000 00a86000   mozalloc.dll
00a70000 00a77000   plds4.dll
00a60000 00a67000   plc4.dll
00970000 0099b000   nspr4.dll
71a60000 71a6b000   WSOCK32.dll
10000000 1000e000   mozglue.dll
78050000 780b9000   MSVCP100.dll
01dc0000 01dc7000   NSLDAPPR32V60.dll
01d90000 01db8000   NSLDAP32V60.dll
00c60000 00e59000   mozjs.dll
76a60000 76a6b000   PSAPI.DLL
00c40000 00c58000   smime3.dll
0:000> |* ~* kp

.  0  Id: a5c.15cc Suspend: 1 Teb: 7ffdf000 Unfrozen
ChildEBP RetAddr  
WARNING: Frame IP not in any known module. Following frames may be wrong.
0012fd10 77b58dc7 0xe70a3a
0012fd18 77b6ae19 msvcrt!__CxxRestoreUnhandledExceptionFilter+0xc
0012fd24 77b6af38 msvcrt!_initterm+0x13
0012fd38 77b4f587 msvcrt!__CRTDLL_CallStaticTerminators+0x1e
0012fd48 7c95a19a msvcrt!__CRTDLL_INIT+0x161
0012fd68 7c970ce8 ntdll!LdrpCallInitRoutine+0x14
0012fe20 7c82689b ntdll!LdrShutdownProcess+0x182
0012ff0c 7c8268fd kernel32!_ExitProcess+0x43
0012ff20 78ac7ec3 kernel32!ExitProcess+0x14
0012ff2c 78ac7fdf MSVCR100!__crtExitProcess(int status = 0n0)+0x17 [f:\dd\vctools\crt_bld\self_x86\crt\src\crt0dat.c @ 708]
0012ff70 78ac8051 MSVCR100!doexit(int code = 0n0, int quick = 0n0, int retcaller = 0n0)+0xfb [f:\dd\vctools\crt_bld\self_x86\crt\src\crt0dat.c @ 621]
0012ff84 00401ddc MSVCR100!exit(int code = 0n0)+0x11 [f:\dd\vctools\crt_bld\self_x86\crt\src\crt0dat.c @ 393]
0012ffc0 7c82f22b thunderbird+0x1ddc
0012fff0 00000000 kernel32!BaseProcessStart+0x23
0:000> |* !analyze -v -f
*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************

GetPageUrlData failed, server returned HTTP status 404
URL requested: http://watson.microsoft.com/StageOne/thunderbird_exe/16_0_0_4544/unknown/0_0_0_0/00e70a3a.htm?Retriage=1

FAULTING_IP: 
+c
00e70a3a ??              ???

EXCEPTION_RECORD:  ffffffff -- (.exr 0xffffffffffffffff)
.exr 0xffffffffffffffff
ExceptionAddress: 00e70a3a
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 00000008
   Parameter[1]: 00e70a3a
Attempt to execute non-executable address 00e70a3a

FAULTING_THREAD:  000015cc

PROCESS_NAME:  thunderbird.exe

ERROR_CODE: (NTSTATUS) 0xc0000005 - "0x%08lx"

EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - "0x%08lx"

EXCEPTION_PARAMETER1:  00000008

EXCEPTION_PARAMETER2:  00e70a3a

WRITE_ADDRESS:  00e70a3a 

FOLLOWUP_IP: 
msvcrt!__CxxRestoreUnhandledExceptionFilter+c
77b58dc7 c3              ret

FAILED_INSTRUCTION_ADDRESS: 
+1562faf00f9df5c
00e70a3a ??              ???

MOD_LIST: <ANALYSIS/>

NTGLOBALFLAG:  70

APPLICATION_VERIFIER_FLAGS:  0

IP_ON_HEAP:  00e70a3a

IP_IN_FREE_BLOCK: e70a3a

BUGCHECK_STR:  APPLICATION_FAULT_SOFTWARE_NX_FAULT_INVALID_SHUTDOWN

PRIMARY_PROBLEM_CLASS:  SOFTWARE_NX_FAULT_INVALID_SHUTDOWN

DEFAULT_BUCKET_ID:  SOFTWARE_NX_FAULT_INVALID_SHUTDOWN

LAST_CONTROL_TRANSFER:  from 77b58dc7 to 00e70a3a

STACK_TEXT:  
WARNING: Frame IP not in any known module. Following frames may be wrong.
0012fd10 77b58dc7 00401f5a 77b6ae19 0012fd5c 0xe70a3a
0012fd18 77b6ae19 0012fd5c 0012fd48 77b6af38 msvcrt!__CxxRestoreUnhandledExceptionFilter+0xc
0012fd24 77b6af38 77b412b0 77b412b8 77b4129c msvcrt!_initterm+0x13
0012fd38 77b4f587 00000000 0012fd5c 0012fd68 msvcrt!__CRTDLL_CallStaticTerminators+0x1e
0012fd48 7c95a19a 77b40000 00000000 00000001 msvcrt!__CRTDLL_INIT+0x161
0012fd68 7c970ce8 77b4f78b 77b40000 00000000 ntdll!LdrpCallInitRoutine+0x14
0012fe20 7c82689b 003e4dd4 7c96aefe 003e4dd8 ntdll!LdrShutdownProcess+0x182
0012ff0c 7c8268fd 00000000 77e8f3b0 ffffffff kernel32!_ExitProcess+0x43
0012ff20 78ac7ec3 00000000 0012ff70 78ac7fe0 kernel32!ExitProcess+0x14
0012ff2c 78ac7fdf 00000000 3aebde51 00404498 MSVCR100!__crtExitProcess+0x17 [f:\dd\vctools\crt_bld\self_x86\crt\src\crt0dat.c @ 708]
0012ff70 78ac8051 00000000 00000000 00000000 MSVCR100!doexit+0xfb [f:\dd\vctools\crt_bld\self_x86\crt\src\crt0dat.c @ 621]
0012ff84 00401ddc 00000000 39c8e6b1 00000000 MSVCR100!exit+0x11 [f:\dd\vctools\crt_bld\self_x86\crt\src\crt0dat.c @ 393]
0012ffc0 7c82f22b 00000000 00000000 7ffdd000 thunderbird+0x1ddc
0012fff0 00000000 00401ee6 00000000 78746341 kernel32!BaseProcessStart+0x23


SYMBOL_STACK_INDEX:  1

SYMBOL_NAME:  msvcrt!__CxxRestoreUnhandledExceptionFilter+c

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: msvcrt

IMAGE_NAME:  msvcrt.dll

DEBUG_FLR_IMAGE_TIMESTAMP:  45d72001

STACK_COMMAND:  ~0s ; kb

FAILURE_BUCKET_ID:  SOFTWARE_NX_FAULT_INVALID_SHUTDOWN_c0000005_msvcrt.dll!__CxxRestoreUnhandledExceptionFilter

BUCKET_ID:  APPLICATION_FAULT_SOFTWARE_NX_FAULT_INVALID_SHUTDOWN_BAD_IP_msvcrt!__CxxRestoreUnhandledExceptionFilter+c

WATSON_STAGEONE_URL:  http://watson.microsoft.com/StageOne/thunderbird_exe/16_0_0_4544/4fd4f188/unknown/0_0_0_0/bbbbbbb4/c0000005/00e70a3a.htm?Retriage=1

Followup: MachineOwner
---------

0:000> |* lm
start    end        module name
00400000 00460000   thunderbird C (no symbols)           
04900000 04e5b000   xpsp2res   (deferred)             
4c0e0000 4c0fa000   imekr61    (deferred)             
4c3b0000 4c3de000   msctfime   (deferred)             
63270000 632c8000   hnetcfg    (deferred)             
697c0000 697c9000   feclient   (deferred)             
71990000 71998000   wshtcpip   (deferred)             
719d0000 71a11000   mswsock    (deferred)             
71a20000 71a56000   UxTheme    (deferred)             
71a80000 71a91000   MPR        (deferred)             
71aa0000 71aa8000   WS2HELP    (deferred)             
71ab0000 71ac7000   WS2_32     (deferred)             
72bb0000 72bb8000   msacm32    (deferred)             
72bc0000 72bc9000   wdmaud     (deferred)             
72ec0000 72ee7000   WINSPOOL   (deferred)             
73950000 73966000   mscms      (deferred)             
73b00000 73b21000   t2embed    (deferred)             
73be0000 73be3000   LZ32       (deferred)             
743c0000 74410000   MSCTF      (deferred)             
75220000 75285000   USP10      (deferred)             
75810000 758ce000   USERENV    (deferred)             
75d00000 75d27000   apphelp    (deferred)             
76020000 76032000   MSASN1     (deferred)             
76040000 760d2000   CRYPT32    (deferred)             
76110000 76115000   MSIMG32    (deferred)             
76120000 7613d000   IMM32      (deferred)             
76990000 769bb000   WINMM      (deferred)             
76ac0000 76aec000   WINTRUST   (deferred)             
76b20000 76b4a000   imagehlp   (deferred)             
76de0000 76e0b000   DNSAPI     (deferred)             
76e20000 76e4e000   WLDAP32    (deferred)             
76e60000 76e73000   Secur32    (pdb symbols)          c:\symbols\secur32.pdb\E9DB82A41E2B412D827119F6BE32AF832\secur32.pdb
76e80000 76e87000   winrnr     (deferred)             
76e90000 76e95000   rasadhlp   (deferred)             
76f20000 77087000   COMRes     (deferred)             
77470000 775a9000   ole32      (pdb symbols)          c:\symbols\ole32.pdb\333F603C515445D392D4FD41CA0C39412\ole32.pdb
775b0000 7763c000   OLEAUT32   (deferred)             
77640000 776c3000   CLBCatQ    (deferred)             
77970000 77ae7000   SETUPAPI   (deferred)             
77b00000 77b07000   midimap    (deferred)             
77b10000 77b24000   MSACM32_77b10000   (deferred)             
77b30000 77b38000   VERSION    (deferred)             
77b40000 77b9a000   msvcrt     (pdb symbols)          c:\symbols\msvcrt.pdb\A7F38CEE7E684B94B7AA9FFFCAB446851\msvcrt.pdb
77ba0000 77be9000   GDI32      (pdb symbols)          c:\symbols\gdi32.pdb\C7F41D33566043FF805B48DA326869AD2\gdi32.pdb
77bf0000 77c91000   RPCRT4     (pdb symbols)          c:\symbols\rpcrt4.pdb\BDD2BB34DBC648FEB479598E656009C02\rpcrt4.pdb
77ca0000 77da3000   comctl32   (deferred)             
77de0000 77e70000   USER32     (pdb symbols)          c:\symbols\user32.pdb\1AE19639F6CB4C24B578A272F27213A52\user32.pdb
77e80000 77ed2000   SHLWAPI    (deferred)             
77f20000 77fcb000   ADVAPI32   (pdb symbols)          c:\symbols\advapi32.pdb\33205A093C254529B7F733A3A3C73BA42\advapi32.pdb
78aa0000 78b5e000   MSVCR100   (private pdb symbols)  c:\symbols\msvcr100.i386.pdb\B74A49314FD64956BAF50772F83598012\msvcr100.i386.pdb
7c800000 7c93f000   kernel32   (pdb symbols)          c:\symbols\kernel32.pdb\FB5BF50B7D9C495D891DF225BD256C522\kernel32.pdb
7c940000 7ca1c000   ntdll      (pdb symbols)          c:\symbols\ntdll.pdb\3BBB17132843480392051FD9AAF6C0322\ntdll.pdb
7ca20000 7d205000   SHELL32    (deferred)             
7f000000 7f009000   LPK        (deferred)             

Unloaded modules:
00c10000 00c35000   ssl3.dll
00b70000 00c0e000   nss3.dll
00b20000 00b38000   nssutil3.dll
00a90000 00b20000   mozsqlite3.dll
00a80000 00a86000   mozalloc.dll
00a70000 00a77000   plds4.dll
00a60000 00a67000   plc4.dll
00970000 0099b000   nspr4.dll
71a60000 71a6b000   WSOCK32.dll
10000000 1000e000   mozglue.dll
78050000 780b9000   MSVCP100.dll
01dc0000 01dc7000   NSLDAPPR32V60.dll
01d90000 01db8000   NSLDAP32V60.dll
00c60000 00e59000   mozjs.dll
76a60000 76a6b000   PSAPI.DLL
00c40000 00c58000   smime3.dll
0:000> 
start    end        module name
00400000 00460000   thunderbird C (no symbols)           
04900000 04e5b000   xpsp2res   (deferred)             
4c0e0000 4c0fa000   imekr61    (deferred)             
4c3b0000 4c3de000   msctfime   (deferred)             
63270000 632c8000   hnetcfg    (deferred)             
697c0000 697c9000   feclient   (deferred)             
71990000 71998000   wshtcpip   (deferred)             
719d0000 71a11000   mswsock    (deferred)             
71a20000 71a56000   UxTheme    (deferred)             
71a80000 71a91000   MPR        (deferred)             
71aa0000 71aa8000   WS2HELP    (deferred)             
71ab0000 71ac7000   WS2_32     (deferred)             
72bb0000 72bb8000   msacm32    (deferred)             
72bc0000 72bc9000   wdmaud     (deferred)             
72ec0000 72ee7000   WINSPOOL   (deferred)             
73950000 73966000   mscms      (deferred)             
73b00000 73b21000   t2embed    (deferred)             
73be0000 73be3000   LZ32       (deferred)             
743c0000 74410000   MSCTF      (deferred)             
75220000 75285000   USP10      (deferred)             
75810000 758ce000   USERENV    (deferred)             
75d00000 75d27000   apphelp    (deferred)             
76020000 76032000   MSASN1     (deferred)             
76040000 760d2000   CRYPT32    (deferred)             
76110000 76115000   MSIMG32    (deferred)             
76120000 7613d000   IMM32      (deferred)             
76990000 769bb000   WINMM      (deferred)             
76ac0000 76aec000   WINTRUST   (deferred)             
76b20000 76b4a000   imagehlp   (deferred)             
76de0000 76e0b000   DNSAPI     (deferred)             
76e20000 76e4e000   WLDAP32    (deferred)             
76e60000 76e73000   Secur32    (pdb symbols)          c:\symbols\secur32.pdb\E9DB82A41E2B412D827119F6BE32AF832\secur32.pdb
76e80000 76e87000   winrnr     (deferred)             
76e90000 76e95000   rasadhlp   (deferred)             
76f20000 77087000   COMRes     (deferred)             
77470000 775a9000   ole32      (pdb symbols)          c:\symbols\ole32.pdb\333F603C515445D392D4FD41CA0C39412\ole32.pdb
775b0000 7763c000   OLEAUT32   (deferred)             
77640000 776c3000   CLBCatQ    (deferred)             
77970000 77ae7000   SETUPAPI   (deferred)             
77b00000 77b07000   midimap    (deferred)             
77b10000 77b24000   MSACM32_77b10000   (deferred)             
77b30000 77b38000   VERSION    (deferred)             
77b40000 77b9a000   msvcrt     (pdb symbols)          c:\symbols\msvcrt.pdb\A7F38CEE7E684B94B7AA9FFFCAB446851\msvcrt.pdb
77ba0000 77be9000   GDI32      (pdb symbols)          c:\symbols\gdi32.pdb\C7F41D33566043FF805B48DA326869AD2\gdi32.pdb
77bf0000 77c91000   RPCRT4     (pdb symbols)          c:\symbols\rpcrt4.pdb\BDD2BB34DBC648FEB479598E656009C02\rpcrt4.pdb
77ca0000 77da3000   comctl32   (deferred)             
77de0000 77e70000   USER32     (pdb symbols)          c:\symbols\user32.pdb\1AE19639F6CB4C24B578A272F27213A52\user32.pdb
77e80000 77ed2000   SHLWAPI    (deferred)             
77f20000 77fcb000   ADVAPI32   (pdb symbols)          c:\symbols\advapi32.pdb\33205A093C254529B7F733A3A3C73BA42\advapi32.pdb
78aa0000 78b5e000   MSVCR100   (private pdb symbols)  c:\symbols\msvcr100.i386.pdb\B74A49314FD64956BAF50772F83598012\msvcr100.i386.pdb
7c800000 7c93f000   kernel32   (pdb symbols)          c:\symbols\kernel32.pdb\FB5BF50B7D9C495D891DF225BD256C522\kernel32.pdb
7c940000 7ca1c000   ntdll      (pdb symbols)          c:\symbols\ntdll.pdb\3BBB17132843480392051FD9AAF6C0322\ntdll.pdb
7ca20000 7d205000   SHELL32    (deferred)             
7f000000 7f009000   LPK        (deferred)             

Unloaded modules:
00c10000 00c35000   ssl3.dll
00b70000 00c0e000   nss3.dll
00b20000 00b38000   nssutil3.dll
00a90000 00b20000   mozsqlite3.dll
00a80000 00a86000   mozalloc.dll
00a70000 00a77000   plds4.dll
00a60000 00a67000   plc4.dll
00970000 0099b000   nspr4.dll
71a60000 71a6b000   WSOCK32.dll
10000000 1000e000   mozglue.dll
78050000 780b9000   MSVCP100.dll
01dc0000 01dc7000   NSLDAPPR32V60.dll
01d90000 01db8000   NSLDAP32V60.dll
00c60000 00e59000   mozjs.dll
76a60000 76a6b000   PSAPI.DLL
00c40000 00c58000   smime3.dll
0:000> lm
start    end        module name
00400000 00460000   thunderbird C (no symbols)           
04900000 04e5b000   xpsp2res   (deferred)             
4c0e0000 4c0fa000   imekr61    (deferred)             
4c3b0000 4c3de000   msctfime   (deferred)             
63270000 632c8000   hnetcfg    (deferred)             
697c0000 697c9000   feclient   (deferred)             
71990000 71998000   wshtcpip   (deferred)             
719d0000 71a11000   mswsock    (deferred)             
71a20000 71a56000   UxTheme    (deferred)             
71a80000 71a91000   MPR        (deferred)             
71aa0000 71aa8000   WS2HELP    (deferred)             
71ab0000 71ac7000   WS2_32     (deferred)             
72bb0000 72bb8000   msacm32    (deferred)             
72bc0000 72bc9000   wdmaud     (deferred)             
72ec0000 72ee7000   WINSPOOL   (deferred)             
73950000 73966000   mscms      (deferred)             
73b00000 73b21000   t2embed    (deferred)             
73be0000 73be3000   LZ32       (deferred)             
743c0000 74410000   MSCTF      (deferred)             
75220000 75285000   USP10      (deferred)             
75810000 758ce000   USERENV    (deferred)             
75d00000 75d27000   apphelp    (deferred)             
76020000 76032000   MSASN1     (deferred)             
76040000 760d2000   CRYPT32    (deferred)             
76110000 76115000   MSIMG32    (deferred)             
76120000 7613d000   IMM32      (deferred)             
76990000 769bb000   WINMM      (deferred)             
76ac0000 76aec000   WINTRUST   (deferred)             
76b20000 76b4a000   imagehlp   (deferred)             
76de0000 76e0b000   DNSAPI     (deferred)             
76e20000 76e4e000   WLDAP32    (deferred)             
76e60000 76e73000   Secur32    (pdb symbols)          c:\symbols\secur32.pdb\E9DB82A41E2B412D827119F6BE32AF832\secur32.pdb
76e80000 76e87000   winrnr     (deferred)             
76e90000 76e95000   rasadhlp   (deferred)             
76f20000 77087000   COMRes     (deferred)             
77470000 775a9000   ole32      (pdb symbols)          c:\symbols\ole32.pdb\333F603C515445D392D4FD41CA0C39412\ole32.pdb
775b0000 7763c000   OLEAUT32   (deferred)             
77640000 776c3000   CLBCatQ    (deferred)             
77970000 77ae7000   SETUPAPI   (deferred)             
77b00000 77b07000   midimap    (deferred)             
77b10000 77b24000   MSACM32_77b10000   (deferred)             
77b30000 77b38000   VERSION    (deferred)             
77b40000 77b9a000   msvcrt     (pdb symbols)          c:\symbols\msvcrt.pdb\A7F38CEE7E684B94B7AA9FFFCAB446851\msvcrt.pdb
77ba0000 77be9000   GDI32      (pdb symbols)          c:\symbols\gdi32.pdb\C7F41D33566043FF805B48DA326869AD2\gdi32.pdb
77bf0000 77c91000   RPCRT4     (pdb symbols)          c:\symbols\rpcrt4.pdb\BDD2BB34DBC648FEB479598E656009C02\rpcrt4.pdb
77ca0000 77da3000   comctl32   (deferred)             
77de0000 77e70000   USER32     (pdb symbols)          c:\symbols\user32.pdb\1AE19639F6CB4C24B578A272F27213A52\user32.pdb
77e80000 77ed2000   SHLWAPI    (deferred)             
77f20000 77fcb000   ADVAPI32   (pdb symbols)          c:\symbols\advapi32.pdb\33205A093C254529B7F733A3A3C73BA42\advapi32.pdb
78aa0000 78b5e000   MSVCR100   (private pdb symbols)  c:\symbols\msvcr100.i386.pdb\B74A49314FD64956BAF50772F83598012\msvcr100.i386.pdb
7c800000 7c93f000   kernel32   (pdb symbols)          c:\symbols\kernel32.pdb\FB5BF50B7D9C495D891DF225BD256C522\kernel32.pdb
7c940000 7ca1c000   ntdll      (pdb symbols)          c:\symbols\ntdll.pdb\3BBB17132843480392051FD9AAF6C0322\ntdll.pdb
7ca20000 7d205000   SHELL32    (deferred)             
7f000000 7f009000   LPK        (deferred)             

Unloaded modules:
00c10000 00c35000   ssl3.dll
00b70000 00c0e000   nss3.dll
00b20000 00b38000   nssutil3.dll
00a90000 00b20000   mozsqlite3.dll
00a80000 00a86000   mozalloc.dll
00a70000 00a77000   plds4.dll
00a60000 00a67000   plc4.dll
00970000 0099b000   nspr4.dll
71a60000 71a6b000   WSOCK32.dll
10000000 1000e000   mozglue.dll
78050000 780b9000   MSVCP100.dll
01dc0000 01dc7000   NSLDAPPR32V60.dll
01d90000 01db8000   NSLDAP32V60.dll
00c60000 00e59000   mozjs.dll
76a60000 76a6b000   PSAPI.DLL
00c40000 00c58000   smime3.dll
0:000> g
ModLoad: 76120000 7613d000   C:\WINDOWS\system32\IMM32.DLL
ModLoad: 7f000000 7f009000   C:\WINDOWS\system32\LPK.DLL
ModLoad: 75220000 75285000   C:\WINDOWS\system32\USP10.dll
ModLoad: 10000000 1000e000   E:\thunderbird\mozglue.dll
ModLoad: 00970000 0099b000   E:\thunderbird\nspr4.dll
ModLoad: 71a60000 71a6b000   C:\WINDOWS\system32\WSOCK32.dll
ModLoad: 71ab0000 71ac7000   C:\WINDOWS\system32\WS2_32.dll
ModLoad: 77b40000 77b9a000   C:\WINDOWS\system32\msvcrt.dll
ModLoad: 71aa0000 71aa8000   C:\WINDOWS\system32\WS2HELP.dll
ModLoad: 76990000 769bb000   C:\WINDOWS\system32\WINMM.dll
ModLoad: 00a60000 00a67000   E:\thunderbird\plc4.dll
ModLoad: 00a70000 00a77000   E:\thunderbird\plds4.dll
ModLoad: 00a80000 00a86000   E:\thunderbird\mozalloc.dll
ModLoad: 00a90000 00b20000   E:\thunderbird\mozsqlite3.dll
ModLoad: 00b20000 00b38000   E:\thunderbird\nssutil3.dll
ModLoad: 00b40000 00b68000   E:\thunderbird\softokn3.dll
ModLoad: 00b70000 00c0e000   E:\thunderbird\nss3.dll
ModLoad: 00c10000 00c35000   E:\thunderbird\ssl3.dll
ModLoad: 00c40000 00c58000   E:\thunderbird\smime3.dll
ModLoad: 00c60000 00e59000   E:\thunderbird\mozjs.dll
ModLoad: 76a60000 76a6b000   C:\WINDOWS\system32\PSAPI.DLL
ModLoad: 00e60000 01d8d000   E:\thunderbird\xul.dll
ModLoad: 01d90000 01db8000   E:\thunderbird\NSLDAP32V60.dll
ModLoad: 01dc0000 01dc7000   E:\thunderbird\NSLDAPPR32V60.dll
ModLoad: 01dd0000 01fe7000   E:\thunderbird\gkmedias.dll
ModLoad: 76110000 76115000   C:\WINDOWS\system32\MSIMG32.dll
ModLoad: 78050000 780b9000   E:\thunderbird\MSVCP100.dll
ModLoad: 7ca20000 7d205000   C:\WINDOWS\system32\SHELL32.dll
ModLoad: 77e80000 77ed2000   C:\WINDOWS\system32\SHLWAPI.dll
ModLoad: 77470000 775a9000   C:\WINDOWS\system32\ole32.dll
ModLoad: 77b30000 77b38000   C:\WINDOWS\system32\VERSION.dll
ModLoad: 76c00000 76c1a000   C:\WINDOWS\system32\IPHLPAPI.DLL
ModLoad: 71a20000 71a56000   C:\WINDOWS\system32\UxTheme.dll
ModLoad: 77970000 77ae7000   C:\WINDOWS\system32\SETUPAPI.dll
ModLoad: 775b0000 7763c000   C:\WINDOWS\system32\OLEAUT32.dll
ModLoad: 75810000 758ce000   C:\WINDOWS\system32\USERENV.dll
ModLoad: 77ca0000 77da3000   C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.4770_x-ww_05FDF087\comctl32.dll
ModLoad: 02210000 02217000   E:\thunderbird\xpcom.dll
ModLoad: 6d8e0000 6d988000   C:\WINDOWS\system32\dbghelp.dll
ModLoad: 743c0000 74410000   C:\WINDOWS\system32\MSCTF.dll
ModLoad: 75d00000 75d27000   C:\WINDOWS\system32\apphelp.dll
ModLoad: 4c3b0000 4c3de000   C:\WINDOWS\system32\msctfime.ime
ModLoad: 4c0e0000 4c0fa000   C:\WINDOWS\system32\imekr61.ime
ModLoad: 77640000 776c3000   C:\WINDOWS\system32\CLBCatQ.DLL
ModLoad: 76f20000 77087000   C:\WINDOWS\system32\COMRes.dll
ModLoad: 719d0000 71a11000   C:\WINDOWS\system32\mswsock.dll
ModLoad: 63270000 632c8000   C:\WINDOWS\system32\hnetcfg.dll
ModLoad: 71990000 71998000   C:\WINDOWS\System32\wshtcpip.dll
ModLoad: 04900000 04e5b000   C:\WINDOWS\system32\xpsp2res.dll
ModLoad: 76de0000 76e0b000   C:\WINDOWS\system32\DNSAPI.dll
ModLoad: 76e80000 76e87000   C:\WINDOWS\System32\winrnr.dll
ModLoad: 76e20000 76e4e000   C:\WINDOWS\system32\WLDAP32.dll
ModLoad: 76ac0000 76aec000   C:\WINDOWS\system32\WINTRUST.dll
ModLoad: 76040000 760d2000   C:\WINDOWS\system32\CRYPT32.dll
ModLoad: 76020000 76032000   C:\WINDOWS\system32\MSASN1.dll
ModLoad: 76b20000 76b4a000   C:\WINDOWS\system32\imagehlp.dll
ModLoad: 73b00000 73b21000   C:\WINDOWS\system32\t2embed.dll
ModLoad: 73be0000 73be3000   C:\WINDOWS\system32\LZ32.dll
ModLoad: 73950000 73966000   C:\WINDOWS\system32\mscms.dll
ModLoad: 72ec0000 72ee7000   C:\WINDOWS\system32\WINSPOOL.DRV
ModLoad: 03a70000 03a89000   E:\thunderbird\nssdbm3.dll
ModLoad: 03a90000 03ad5000   E:\thunderbird\freebl3.dll
ModLoad: 03ae0000 03b39000   E:\thunderbird\nssckbi.dll
ModLoad: 76e90000 76e95000   C:\WINDOWS\system32\rasadhlp.dll
ModLoad: 697c0000 697c9000   C:\WINDOWS\system32\feclient.dll
ModLoad: 71a80000 71a91000   C:\WINDOWS\system32\MPR.dll
ModLoad: 72bc0000 72bc9000   C:\WINDOWS\system32\wdmaud.drv
ModLoad: 72bc0000 72bc9000   C:\WINDOWS\system32\wdmaud.drv
ModLoad: 72bb0000 72bb8000   C:\WINDOWS\system32\msacm32.drv
ModLoad: 77b10000 77b24000   C:\WINDOWS\system32\MSACM32.dll
ModLoad: 77b00000 77b07000   C:\WINDOWS\system32\midimap.dll
(1398.135c): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=00000000 ebx=01c79664 ecx=fffffffc edx=00000000 esi=01c79660 edi=00000004
eip=7c98cd32 esp=0012fb38 ebp=0012fb60 iopl=0         nv up ei pl nz ac po cy
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010213
ntdll!RtlpWaitOnCriticalSection+0xdf:
7c98cd32 ff4014          inc     dword ptr [eax+14h]  ds:0023:00000014=????????
0:000> |* ~* kp

.  0  Id: 1398.135c Suspend: 1 Teb: 7ffdf000 Unfrozen
ChildEBP RetAddr  
0012fb60 7c97d107 ntdll!RtlpWaitOnCriticalSection+0xdf
*** WARNING: Unable to verify checksum for E:\thunderbird\xul.dll
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for E:\thunderbird\xul.dll - 
0012fb80 0186df29 ntdll!RtlEnterCriticalSection+0xa8
WARNING: Stack unwind information not available. Following frames may be wrong.
0012fbb0 0186e02b xul!mozilla::services::_external_GetHistoryService+0xd46f
0012fbf0 019047d2 xul!mozilla::services::_external_GetHistoryService+0xd571
0012fc0c 019048ee xul!NS_InvokeByIndex_P+0x76987
0012fc50 0190496b xul!NS_InvokeByIndex_P+0x76aa3
0012fc5c 7c95a19a xul!NS_InvokeByIndex_P+0x76b20
0012fc7c 7c979c8e ntdll!LdrpCallInitRoutine+0x14
0012fd90 7c82b1ab ntdll!LdrUnloadDll+0x41a
*** WARNING: Unable to verify checksum for thunderbird.exe
*** ERROR: Module load completed but symbols could not be loaded for thunderbird.exe
0012fda4 00401a22 kernel32!FreeLibrary+0x41
0012fe70 7c970a87 thunderbird+0x1a22
0012ff10 78ab0269 ntdll!RtlSetEnvironmentVariable+0x528
0012ff30 78ab02d1 MSVCR100!malloc(unsigned int size = 0x7c82b191)+0x4b [f:\dd\vctools\crt_bld\self_x86\crt\src\malloc.c @ 89]
0012ff4c 00000000 MSVCR100!operator new(unsigned int size = 0x3e3320)+0x1f [f:\dd\vctools\crt_bld\self_x86\crt\src\new.cpp @ 59]

   1  Id: 1398.1738 Suspend: 1 Teb: 7ffde000 Unfrozen
ChildEBP RetAddr  
0220fea0 7c967b69 ntdll!KiFastSystemCallRet
0220fea4 7c94e44b ntdll!NtWaitForMultipleObjects+0xc
0220ff48 7c94e332 ntdll!EtwpWaitForMultipleObjectsEx+0xf7
0220ffb8 7c82481f ntdll!EtwpEventPump+0x27f
0220ffec 00000000 kernel32!BaseThreadStart+0x34

   6  Id: 1398.128c Suspend: 1 Teb: 7ffd8000 Unfrozen
ChildEBP RetAddr  
035fff7c 7c967649 ntdll!KiFastSystemCallRet
035fff80 719d5914 ntdll!NtRemoveIoCompletion+0xc
035fffb8 7c82481f mswsock!SockAsyncThread+0x69
035fffec 00000000 kernel32!BaseThreadStart+0x34

  11  Id: 1398.6d0 Suspend: 1 Teb: 7ffd3000 Unfrozen
ChildEBP RetAddr  
03c3fe58 7c967b79 ntdll!KiFastSystemCallRet
03c3fe5c 7c821d0e ntdll!ZwWaitForSingleObject+0xc
03c3fecc 7c821c7d kernel32!WaitForSingleObjectEx+0xac
*** WARNING: Unable to verify checksum for E:\thunderbird\nspr4.dll
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for E:\thunderbird\nspr4.dll - 
03c3fee0 0098a21d kernel32!WaitForSingleObject+0x12
WARNING: Stack unwind information not available. Following frames may be wrong.
03c3fefc 009860b9 nspr4!PR_MD_WAIT_CV+0x8d
03c3ff14 009861b2 nspr4!PR_GetPrimordialCPU+0x79
*** WARNING: Unable to verify checksum for E:\thunderbird\mozjs.dll
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for E:\thunderbird\mozjs.dll - 
03c3ff2c 00c9c852 nspr4!PR_WaitCondVar+0x22
03c3ff50 0098695b mozjs!js_AddGCThingRootRT+0x11c2
03c3ff6c 00988b1d nspr4!PRP_TryLock+0x49b
00000000 00000000 nspr4!PR_Now+0x108d

  12  Id: 1398.e00 Suspend: 1 Teb: 7ff9f000 Unfrozen
ChildEBP RetAddr  
0413fe60 7c967b79 ntdll!KiFastSystemCallRet
0413fe64 7c821d0e ntdll!ZwWaitForSingleObject+0xc
0413fed4 7c821c7d kernel32!WaitForSingleObjectEx+0xac
0413fee8 0098a21d kernel32!WaitForSingleObject+0x12
WARNING: Stack unwind information not available. Following frames may be wrong.
0413ff04 009860b9 nspr4!PR_MD_WAIT_CV+0x8d
0413ff1c 009861b2 nspr4!PR_GetPrimordialCPU+0x79
0413ff34 013ac103 nspr4!PR_WaitCondVar+0x22
0413ff50 0098695b xul!DumpJSEval+0xdc66
0413ffac 78afc788 nspr4!PRP_TryLock+0x49b
0413ffb8 7c82481f MSVCR100!_threadstartex(void * ptd = 0x003ec258)+0x64 [f:\dd\vctools\crt_bld\self_x86\crt\src\threadex.c @ 292]
0413ffec 00000000 kernel32!BaseThreadStart+0x34

  13  Id: 1398.e14 Suspend: 1 Teb: 7ff9e000 Unfrozen
ChildEBP RetAddr  
047ffe18 7c9676a9 ntdll!KiFastSystemCallRet
047ffe1c 77c2869c ntdll!ZwReplyWaitReceivePortEx+0xc
047fff84 77c28882 RPCRT4!LRPC_ADDRESS::ReceiveLotsaCalls+0x198
047fff8c 77c2881d RPCRT4!RecvLotsaCallsWrapper+0xd
047fffac 77c1b1b3 RPCRT4!BaseCachedThreadRoutine+0x9d
047fffb8 7c82481f RPCRT4!ThreadStartRoutine+0x1b
047fffec 00000000 kernel32!BaseThreadStart+0x34

  14  Id: 1398.1a4 Suspend: 1 Teb: 7ff9d000 Unfrozen
ChildEBP RetAddr  
04f5ff08 7c966db9 ntdll!KiFastSystemCallRet
04f5ff0c 7c801ed9 ntdll!NtDelayExecution+0xc
04f5ff74 7c8024fd kernel32!SleepEx+0x68
04f5ff84 774bbaef kernel32!Sleep+0xf
04f5ff90 774bba94 ole32!CROIDTable::WorkerThreadLoop+0x14
04f5ffac 774b16e6 ole32!CRpcThread::WorkerLoop+0x26
04f5ffb8 7c82481f ole32!CRpcThreadCache::RpcWorkerThreadEntry+0x20
04f5ffec 00000000 kernel32!BaseThreadStart+0x34

  16  Id: 1398.588 Suspend: 1 Teb: 7ff9b000 Unfrozen
ChildEBP RetAddr  
056ffe18 7c9676a9 ntdll!KiFastSystemCallRet
056ffe1c 77c2869c ntdll!ZwReplyWaitReceivePortEx+0xc
056fff84 77c28882 RPCRT4!LRPC_ADDRESS::ReceiveLotsaCalls+0x198
056fff8c 77c2881d RPCRT4!RecvLotsaCallsWrapper+0xd
056fffac 77c1b1b3 RPCRT4!BaseCachedThreadRoutine+0x9d
056fffb8 7c82481f RPCRT4!ThreadStartRoutine+0x1b
056fffec 00000000 kernel32!BaseThreadStart+0x34

  25  Id: 1398.152c Suspend: 1 Teb: 7ff92000 Unfrozen
ChildEBP RetAddr  
0eeffec4 7c967b69 ntdll!KiFastSystemCallRet
0eeffec8 7c82201c ntdll!NtWaitForMultipleObjects+0xc
0eefff70 7c822fae kernel32!WaitForMultipleObjectsEx+0x11a
0eefff8c 72bc314a kernel32!WaitForMultipleObjects+0x18
0eefffb8 7c82481f wdmaud!MixerCallbackThread+0x42
0eefffec 00000000 kernel32!BaseThreadStart+0x34

  26  Id: 1398.12f0 Suspend: 1 Teb: 7ff91000 Unfrozen
ChildEBP RetAddr  
0f0fff54 77dfc811 ntdll!KiFastSystemCallRet
0f0fff7c 769a39fd USER32!NtUserGetMessage+0xc
0f0fffb8 7c82481f WINMM!mciwindow+0x80
0f0fffec 00000000 kernel32!BaseThreadStart+0x34
0:000> |* !analyze -v -f
*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************
Does this happens in -safe-mode too (ie with addons-disabled ) ?
(In reply to Ludovic Hirlimann [:Usul] from comment #4)
> Does this happens in -safe-mode too (ie with addons-disabled ) ?
yes it does.

0:000> g
ModLoad: 76120000 7613d000   C:\WINDOWS\system32\IMM32.DLL
ModLoad: 7f000000 7f009000   C:\WINDOWS\system32\LPK.DLL
ModLoad: 75220000 75285000   C:\WINDOWS\system32\USP10.dll
ModLoad: 10000000 1000e000   E:\thunderbird\mozglue.dll
ModLoad: 00970000 0099b000   E:\thunderbird\nspr4.dll
ModLoad: 71a60000 71a6b000   C:\WINDOWS\system32\WSOCK32.dll
ModLoad: 71ab0000 71ac7000   C:\WINDOWS\system32\WS2_32.dll
ModLoad: 77b40000 77b9a000   C:\WINDOWS\system32\msvcrt.dll
ModLoad: 71aa0000 71aa8000   C:\WINDOWS\system32\WS2HELP.dll
ModLoad: 76990000 769bb000   C:\WINDOWS\system32\WINMM.dll
ModLoad: 00a60000 00a67000   E:\thunderbird\plc4.dll
ModLoad: 00a70000 00a77000   E:\thunderbird\plds4.dll
ModLoad: 00a80000 00a86000   E:\thunderbird\mozalloc.dll
ModLoad: 00a90000 00b20000   E:\thunderbird\mozsqlite3.dll
ModLoad: 00b20000 00b38000   E:\thunderbird\nssutil3.dll
ModLoad: 00b40000 00b68000   E:\thunderbird\softokn3.dll
ModLoad: 00b70000 00c0e000   E:\thunderbird\nss3.dll
ModLoad: 00c10000 00c35000   E:\thunderbird\ssl3.dll
ModLoad: 00c40000 00c58000   E:\thunderbird\smime3.dll
ModLoad: 00c60000 00e59000   E:\thunderbird\mozjs.dll
ModLoad: 76a60000 76a6b000   C:\WINDOWS\system32\PSAPI.DLL
ModLoad: 00e60000 01d8d000   E:\thunderbird\xul.dll
ModLoad: 01d90000 01db8000   E:\thunderbird\NSLDAP32V60.dll
ModLoad: 01dc0000 01dc7000   E:\thunderbird\NSLDAPPR32V60.dll
ModLoad: 01dd0000 01fe7000   E:\thunderbird\gkmedias.dll
ModLoad: 76110000 76115000   C:\WINDOWS\system32\MSIMG32.dll
ModLoad: 78050000 780b9000   E:\thunderbird\MSVCP100.dll
ModLoad: 7ca20000 7d205000   C:\WINDOWS\system32\SHELL32.dll
ModLoad: 77e80000 77ed2000   C:\WINDOWS\system32\SHLWAPI.dll
ModLoad: 77470000 775a9000   C:\WINDOWS\system32\ole32.dll
ModLoad: 77b30000 77b38000   C:\WINDOWS\system32\VERSION.dll
ModLoad: 76c00000 76c1a000   C:\WINDOWS\system32\IPHLPAPI.DLL
ModLoad: 71a20000 71a56000   C:\WINDOWS\system32\UxTheme.dll
ModLoad: 77970000 77ae7000   C:\WINDOWS\system32\SETUPAPI.dll
ModLoad: 775b0000 7763c000   C:\WINDOWS\system32\OLEAUT32.dll
ModLoad: 75810000 758ce000   C:\WINDOWS\system32\USERENV.dll
ModLoad: 77ca0000 77da3000   C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.4770_x-ww_05FDF087\comctl32.dll
ModLoad: 02210000 02217000   E:\thunderbird\xpcom.dll
ModLoad: 6d8e0000 6d988000   C:\WINDOWS\system32\dbghelp.dll
ModLoad: 743c0000 74410000   C:\WINDOWS\system32\MSCTF.dll
ModLoad: 75d00000 75d27000   C:\WINDOWS\system32\apphelp.dll
ModLoad: 4c3b0000 4c3de000   C:\WINDOWS\system32\msctfime.ime
ModLoad: 4c0e0000 4c0fa000   C:\WINDOWS\system32\imekr61.ime
ModLoad: 77640000 776c3000   C:\WINDOWS\system32\CLBCatQ.DLL
ModLoad: 76f20000 77087000   C:\WINDOWS\system32\COMRes.dll
ModLoad: 719d0000 71a11000   C:\WINDOWS\system32\mswsock.dll
ModLoad: 63270000 632c8000   C:\WINDOWS\system32\hnetcfg.dll
ModLoad: 71990000 71998000   C:\WINDOWS\System32\wshtcpip.dll
ModLoad: 04700000 04c5b000   C:\WINDOWS\system32\xpsp2res.dll
ModLoad: 76ac0000 76aec000   C:\WINDOWS\system32\WINTRUST.dll
ModLoad: 76040000 760d2000   C:\WINDOWS\system32\CRYPT32.dll
ModLoad: 76020000 76032000   C:\WINDOWS\system32\MSASN1.dll
ModLoad: 76b20000 76b4a000   C:\WINDOWS\system32\imagehlp.dll
ModLoad: 73b00000 73b21000   C:\WINDOWS\system32\t2embed.dll
ModLoad: 73be0000 73be3000   C:\WINDOWS\system32\LZ32.dll
ModLoad: 76de0000 76e0b000   C:\WINDOWS\system32\DNSAPI.dll
ModLoad: 76e80000 76e87000   C:\WINDOWS\System32\winrnr.dll
ModLoad: 76e20000 76e4e000   C:\WINDOWS\system32\WLDAP32.dll
ModLoad: 73950000 73966000   C:\WINDOWS\system32\mscms.dll
ModLoad: 72ec0000 72ee7000   C:\WINDOWS\system32\WINSPOOL.DRV
ModLoad: 07d20000 07d39000   E:\thunderbird\nssdbm3.dll
ModLoad: 07d40000 07d85000   E:\thunderbird\freebl3.dll
ModLoad: 07d90000 07de9000   E:\thunderbird\nssckbi.dll
ModLoad: 76e90000 76e95000   C:\WINDOWS\system32\rasadhlp.dll
ModLoad: 697c0000 697c9000   C:\WINDOWS\system32\feclient.dll
ModLoad: 71a80000 71a91000   C:\WINDOWS\system32\MPR.dll
ModLoad: 72bc0000 72bc9000   C:\WINDOWS\system32\wdmaud.drv
ModLoad: 72bc0000 72bc9000   C:\WINDOWS\system32\wdmaud.drv
ModLoad: 72bb0000 72bb8000   C:\WINDOWS\system32\msacm32.drv
ModLoad: 77b10000 77b24000   C:\WINDOWS\system32\MSACM32.dll
ModLoad: 77b00000 77b07000   C:\WINDOWS\system32\midimap.dll
(d44.172c): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=00000000 ebx=01c79664 ecx=fffffffc edx=00000000 esi=01c79660 edi=00000004
eip=7c98cd32 esp=0012fb38 ebp=0012fb60 iopl=0         nv up ei pl nz ac po cy
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010213
ntdll!RtlpWaitOnCriticalSection+0xdf:
7c98cd32 ff4014          inc     dword ptr [eax+14h]  ds:0023:00000014=????????
0:000> |* ~* kp

.  0  Id: d44.172c Suspend: 1 Teb: 7ffdf000 Unfrozen
ChildEBP RetAddr  
0012fb60 7c97d107 ntdll!RtlpWaitOnCriticalSection+0xdf
*** WARNING: Unable to verify checksum for E:\thunderbird\xul.dll
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for E:\thunderbird\xul.dll - 
0012fb80 0186df29 ntdll!RtlEnterCriticalSection+0xa8
WARNING: Stack unwind information not available. Following frames may be wrong.
0012fbb0 0186e02b xul!mozilla::services::_external_GetHistoryService+0xd46f
0012fbf0 019047d2 xul!mozilla::services::_external_GetHistoryService+0xd571
0012fc0c 019048ee xul!NS_InvokeByIndex_P+0x76987
0012fc50 0190496b xul!NS_InvokeByIndex_P+0x76aa3
0012fc5c 7c95a19a xul!NS_InvokeByIndex_P+0x76b20
0012fc7c 7c979c8e ntdll!LdrpCallInitRoutine+0x14
0012fd90 7c82b1ab ntdll!LdrUnloadDll+0x41a
*** WARNING: Unable to verify checksum for thunderbird.exe
*** ERROR: Module load completed but symbols could not be loaded for thunderbird.exe
0012fda4 00401a22 kernel32!FreeLibrary+0x41
0012fe70 7c970a87 thunderbird+0x1a22
0012ff10 78ab0269 ntdll!RtlSetEnvironmentVariable+0x528
0012ff30 78ab02d1 MSVCR100!malloc(unsigned int size = 0x7c82b191)+0x4b [f:\dd\vctools\crt_bld\self_x86\crt\src\malloc.c @ 89]
0012ff4c 00000000 MSVCR100!operator new(unsigned int size = 0x3e7468)+0x1f [f:\dd\vctools\crt_bld\self_x86\crt\src\new.cpp @ 59]

   1  Id: d44.1740 Suspend: 1 Teb: 7ffde000 Unfrozen
ChildEBP RetAddr  
0220fea0 7c967b69 ntdll!KiFastSystemCallRet
0220fea4 7c94e44b ntdll!NtWaitForMultipleObjects+0xc
0220ff48 7c94e332 ntdll!EtwpWaitForMultipleObjectsEx+0xf7
0220ffb8 7c82481f ntdll!EtwpEventPump+0x27f
0220ffec 00000000 kernel32!BaseThreadStart+0x34

   6  Id: d44.105c Suspend: 1 Teb: 7ffd8000 Unfrozen
ChildEBP RetAddr  
035fff7c 7c967649 ntdll!KiFastSystemCallRet
035fff80 719d5914 ntdll!NtRemoveIoCompletion+0xc
035fffb8 7c82481f mswsock!SockAsyncThread+0x69
035fffec 00000000 kernel32!BaseThreadStart+0x34

  10  Id: d44.17d0 Suspend: 1 Teb: 7ffd4000 Unfrozen
ChildEBP RetAddr  
057ffe18 7c9676a9 ntdll!KiFastSystemCallRet
057ffe1c 77c2869c ntdll!ZwReplyWaitReceivePortEx+0xc
057fff84 77c28882 RPCRT4!LRPC_ADDRESS::ReceiveLotsaCalls+0x198
057fff8c 77c2881d RPCRT4!RecvLotsaCallsWrapper+0xd
057fffac 77c1b1b3 RPCRT4!BaseCachedThreadRoutine+0x9d
057fffb8 7c82481f RPCRT4!ThreadStartRoutine+0x1b
057fffec 00000000 kernel32!BaseThreadStart+0x34

  11  Id: d44.e70 Suspend: 1 Teb: 7ffd3000 Unfrozen
ChildEBP RetAddr  
03affe58 7c967b79 ntdll!KiFastSystemCallRet
03affe5c 7c821d0e ntdll!ZwWaitForSingleObject+0xc
03affecc 7c821c7d kernel32!WaitForSingleObjectEx+0xac
*** WARNING: Unable to verify checksum for E:\thunderbird\nspr4.dll
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for E:\thunderbird\nspr4.dll - 
03affee0 0098a21d kernel32!WaitForSingleObject+0x12
WARNING: Stack unwind information not available. Following frames may be wrong.
03affefc 009860b9 nspr4!PR_MD_WAIT_CV+0x8d
03afff14 009861b2 nspr4!PR_GetPrimordialCPU+0x79
*** WARNING: Unable to verify checksum for E:\thunderbird\mozjs.dll
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for E:\thunderbird\mozjs.dll - 
03afff2c 00c9c852 nspr4!PR_WaitCondVar+0x22
03afff50 0098695b mozjs!js_AddGCThingRootRT+0x11c2
03afff6c 00988b1d nspr4!PRP_TryLock+0x49b
00000000 00000000 nspr4!PR_Now+0x108d

  12  Id: d44.de8 Suspend: 1 Teb: 7ff9f000 Unfrozen
ChildEBP RetAddr  
03fffe60 7c967b79 ntdll!KiFastSystemCallRet
03fffe64 7c821d0e ntdll!ZwWaitForSingleObject+0xc
03fffed4 7c821c7d kernel32!WaitForSingleObjectEx+0xac
03fffee8 0098a21d kernel32!WaitForSingleObject+0x12
WARNING: Stack unwind information not available. Following frames may be wrong.
03ffff04 009860b9 nspr4!PR_MD_WAIT_CV+0x8d
03ffff1c 009861b2 nspr4!PR_GetPrimordialCPU+0x79
03ffff34 013ac103 nspr4!PR_WaitCondVar+0x22
03ffff50 0098695b xul!DumpJSEval+0xdc66
03ffffac 78afc788 nspr4!PRP_TryLock+0x49b
03ffffb8 7c82481f MSVCR100!_threadstartex(void * ptd = 0x003ed0a0)+0x64 [f:\dd\vctools\crt_bld\self_x86\crt\src\threadex.c @ 292]
03ffffec 00000000 kernel32!BaseThreadStart+0x34

  13  Id: d44.16c4 Suspend: 1 Teb: 7ff9e000 Unfrozen
ChildEBP RetAddr  
045ffe18 7c9676a9 ntdll!KiFastSystemCallRet
045ffe1c 77c2869c ntdll!ZwReplyWaitReceivePortEx+0xc
045fff84 77c28882 RPCRT4!LRPC_ADDRESS::ReceiveLotsaCalls+0x198
045fff8c 77c2881d RPCRT4!RecvLotsaCallsWrapper+0xd
045fffac 77c1b1b3 RPCRT4!BaseCachedThreadRoutine+0x9d
045fffb8 7c82481f RPCRT4!ThreadStartRoutine+0x1b
045fffec 00000000 kernel32!BaseThreadStart+0x34

  14  Id: d44.17d8 Suspend: 1 Teb: 7ff9d000 Unfrozen
ChildEBP RetAddr  
04d5ff08 7c966db9 ntdll!KiFastSystemCallRet
04d5ff0c 7c801ed9 ntdll!NtDelayExecution+0xc
04d5ff74 7c8024fd kernel32!SleepEx+0x68
04d5ff84 774bbaef kernel32!Sleep+0xf
04d5ff90 774bba94 ole32!CROIDTable::WorkerThreadLoop+0x14
04d5ffac 774b16e6 ole32!CRpcThread::WorkerLoop+0x26
04d5ffb8 7c82481f ole32!CRpcThreadCache::RpcWorkerThreadEntry+0x20
04d5ffec 00000000 kernel32!BaseThreadStart+0x34

  26  Id: d44.e5c Suspend: 1 Teb: 7ff91000 Unfrozen
ChildEBP RetAddr  
0f64fec4 7c967b69 ntdll!KiFastSystemCallRet
0f64fec8 7c82201c ntdll!NtWaitForMultipleObjects+0xc
0f64ff70 7c822fae kernel32!WaitForMultipleObjectsEx+0x11a
0f64ff8c 72bc314a kernel32!WaitForMultipleObjects+0x18
0f64ffb8 7c82481f wdmaud!MixerCallbackThread+0x42
0f64ffec 00000000 kernel32!BaseThreadStart+0x34

  27  Id: d44.139c Suspend: 1 Teb: 7ff90000 Unfrozen
ChildEBP RetAddr  
0f74ff54 77dfc811 ntdll!KiFastSystemCallRet
0f74ff7c 769a39fd USER32!NtUserGetMessage+0xc
0f74ffb8 7c82481f WINMM!mciwindow+0x80
0f74ffec 00000000 kernel32!BaseThreadStart+0x34
0:000> |* !analyze -v -f
*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************
0:000> |* !analyze -v -f
*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************

GetPageUrlData failed, server returned HTTP status 404
URL requested: http://watson.microsoft.com/StageOne/thunderbird_exe/16_0_0_4544/ntdll_dll/5_2_3790_4937/0004cd32.htm?Retriage=1

FAULTING_IP: 
ntdll!RtlpWaitOnCriticalSection+df
7c98cd32 ff4014          inc     dword ptr [eax+14h]

EXCEPTION_RECORD:  ffffffff -- (.exr 0xffffffffffffffff)
ExceptionAddress: 7c98cd32 (ntdll!RtlpWaitOnCriticalSection+0x000000df)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 00000001
   Parameter[1]: 00000014
Attempt to write to address 00000014

FAULTING_THREAD:  0000172c

PROCESS_NAME:  thunderbird.exe

ERROR_CODE: (NTSTATUS) 0xc0000005 - "0x%08lx"

EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - "0x%08lx"

EXCEPTION_PARAMETER1:  00000001

EXCEPTION_PARAMETER2:  00000014

WRITE_ADDRESS:  00000014 

FOLLOWUP_IP: 
xul!mozilla::services::_external_GetHistoryService+d46f
0186df29 56              push    esi

MOD_LIST: <ANALYSIS/>

NTGLOBALFLAG:  70

APPLICATION_VERIFIER_FLAGS:  0

BUGCHECK_STR:  APPLICATION_FAULT_NULL_CLASS_PTR_DEREFERENCE_INVALID_POINTER_WRITE

PRIMARY_PROBLEM_CLASS:  NULL_CLASS_PTR_DEREFERENCE

DEFAULT_BUCKET_ID:  NULL_CLASS_PTR_DEREFERENCE

LAST_CONTROL_TRANSFER:  from 7c97d107 to 7c98cd32

STACK_TEXT:  
0012fb60 7c97d107 000007a4 00000004 01c79660 ntdll!RtlpWaitOnCriticalSection+0xdf
0012fb80 0186df29 01c79660 01c9a648 09da7460 ntdll!RtlEnterCriticalSection+0xa8
WARNING: Stack unwind information not available. Following frames may be wrong.
0012fbb0 0186e02b 01487082 0012fbe8 003e8c80 xul!mozilla::services::_external_GetHistoryService+0xd46f
0012fbf0 019047d2 00000000 00000000 00e60000 xul!mozilla::services::_external_GetHistoryService+0xd571
0012fc0c 019048ee 003e8d40 003e8af8 003e8af8 xul!NS_InvokeByIndex_P+0x76987
0012fc50 0190496b 00e60000 0012fc7c 7c95a19a xul!NS_InvokeByIndex_P+0x76aa3
0012fc5c 7c95a19a 00e60000 00000000 00000000 xul!NS_InvokeByIndex_P+0x76b20
0012fc7c 7c979c8e 0190494d 00e60000 00000000 ntdll!LdrpCallInitRoutine+0x14
0012fd90 7c82b1ab 00e60000 7c82b191 0231a040 ntdll!LdrUnloadDll+0x41a
0012fda4 00401a22 00e60000 00000000 00401843 kernel32!FreeLibrary+0x41
0012fe70 7c970a87 7c9ca740 7c970a5c 003e7468 thunderbird+0x1a22
0012ff10 78ab0269 003e0000 40000060 0000000c ntdll!RtlSetEnvironmentVariable+0x528
0012ff30 78ab02d1 0000000c 0012ff7c 00000002 MSVCR100!malloc+0x4b [f:\dd\vctools\crt_bld\self_x86\crt\src\malloc.c @ 89]
0012ff4c 00000000 003e7468 00000000 00404498 MSVCR100!operator new+0x1f [f:\dd\vctools\crt_bld\self_x86\crt\src\new.cpp @ 59]


SYMBOL_STACK_INDEX:  2

SYMBOL_NAME:  xul!mozilla::services::_external_GetHistoryService+d46f

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: xul

IMAGE_NAME:  xul.dll

DEBUG_FLR_IMAGE_TIMESTAMP:  4fd4f09c

STACK_COMMAND:  dt ntdll!LdrpLastDllInitializer BaseDllName ; dt ntdll!LdrpFailureData ; ~0s ; kb

FAILURE_BUCKET_ID:  NULL_CLASS_PTR_DEREFERENCE_c0000005_xul.dll!mozilla::services::_external_GetHistoryService

BUCKET_ID:  APPLICATION_FAULT_NULL_CLASS_PTR_DEREFERENCE_INVALID_POINTER_WRITE_xul!mozilla::services::_external_GetHistoryService+d46f

WATSON_STAGEONE_URL:  http://watson.microsoft.com/StageOne/thunderbird_exe/16_0_0_4544/4fd4f188/ntdll_dll/5_2_3790_4937/4ecbcd49/c0000005/0004cd32.htm?Retriage=1

Followup: MachineOwner
need thunderbird symbols.
https://developer.mozilla.org/en/How_to_get_a_stacktrace_with_WinDbg will help you.
please attach stacktrace as file to bug, rather than in comments.
(In reply to Wayne Mery (:wsmwk) from comment #7)
> need thunderbird symbols.
> https://developer.mozilla.org/en/How_to_get_a_stacktrace_with_WinDbg will
> help you.
> please attach stacktrace as file to bug, rather than in comments.

 	ntdll.dll!_RtlpWaitOnCriticalSection@8()  + 0xfb92 bytes	
 	ntdll.dll!_RtlEnterCriticalSection@4()  + 0x22f5f bytes	
>	xul.dll!mozilla::CalibratedPerformanceCounter()  Line 495	C++
 	xul.dll!mozilla::TimeStamp::Now()  Line 616 + 0x5 bytes	C++
 	xul.dll!RecordShutdownEndTimeStamp()  Line 306	C++
 	xul.dll!_CRT_INIT(void * hDllHandle=0x003e8b7c, unsigned long dwReason=0x003e8928, void * lpreserved=0x003e8928)  Line 415	C
 	xul.dll!__DllMainCRTStartup(void * hDllHandle=0x010f0000, unsigned long dwReason=0x00000000, void * lpreserved=0xfffffffc)  Line 526 + 0x8 bytes	C
 	xul.dll!_DllMainCRTStartup(void * hDllHandle=0x010f0000, unsigned long dwReason=0x00000000, void * lpreserved=0x00000000)  Line 476 + 0xe bytes	C
 	ntdll.dll!_LdrpCallInitRoutine@16()  + 0x14 bytes	
 	ntdll.dll!_LdrUnloadDll@4()  + 0x5df bytes	
 	kernel32.dll!_FreeLibrary@4()  + 0x1a bytes	
 	thunderbird.exe!XPCOMGlueUnload()  Line 231	C++
 	thunderbird.exe!XPCOMGlueShutdown()  Line 117	C++
 	thunderbird.exe!NS_internal_main(int argc=0x00000001, char * * argv=0x003e32c0)  Line 204	C++
 	thunderbird.exe!wmain(int argc=0x00000000, wchar_t * * argv=0x003e3260)  Line 102	C++
 	thunderbird.exe!__tmainCRTStartup()  Line 552 + 0x17 bytes	C
 	kernel32.dll!_BaseProcessStart@4()  + 0x23 bytes
This appears to be a regression from bug 753461. In particular, the static destructor ~TimeStampeInitialization is running before the static destructor RecordShutdownEndTimeStamp, so it crashes.

I'm more than a little disappointed that the original patch landed without proper peer review: Taras is not a peer of nsAppStartup and this is the kind of thing that would have been caught by a proper review.
Assignee: nobody → respindola
Blocks: 753461
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
Summary: sigsegv during freelibrary → shutdown. sigsegv during freelibrary
I think the correct fix is to just call RecordShutdownEndTimeStamp from main. It would not give as accurate numbers, but we want to start calling _exit anyway, so it would have to move soon.

Taras, are you OK with that?
Status: NEW → ASSIGNED
(In reply to Rafael Ávila de Espíndola (:espindola) from comment #10)
> I think the correct fix is to just call RecordShutdownEndTimeStamp from
> main. It would not give as accurate numbers, but we want to start calling
> _exit anyway, so it would have to move soon.
> 
> Taras, are you OK with that?

I would prefer to continue measuring out of a carefully placed static dtor, but if that's too fragile I'm ok with doing it in main since the shutdown situation will be changing soon.

Benjamin, sorry. I'll route these types of changes through you in the future.
Attachment #638798 - Flags: review?(benjamin) → review+
https://hg.mozilla.org/mozilla-central/rev/393a38baf9fc
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 16.0
Could this fix be back-ported to comm-aurora? 
Because the blocked bug 753461 landed in Thunderbird 15 which is in aurora channel now.
There have been several requests to get this bug into Mozilla 15 (now in beta) to prevent problems in Thunderbird (see also bug 758826 comment 7) but I don't know enough about the issues to fill out the approval-mozilla-beta fields. Would it be possible for someone who knows the issues to request that?
Dear Thunderbird Experts!

Please decide about to getting this bug into Thunderbird 15 or not!
The bug 753461 - causing this shutdown crash regression - landed in 15, 
but this fix landed only in 16.
Moving across to toolkit so we can get better tracking for this as it is in core.
Component: General → Telemetry
Product: Thunderbird → Toolkit
Target Milestone: Thunderbird 16.0 → mozilla16
Version: Trunk → 15 Branch
Comment on attachment 638798 [details] [diff] [review]
Call RecordShutdownEndTimeStamp from XRE_main.

[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 753461
User impact if declined: Some users experience crashes on shutdown if they have telemetry enabled. Seen on Thunderbird, uncertain if this affects Firefox, but from the code I suspect it could.
Testing completed (on m-c, etc.): Landed in mozilla-central before the last merge, so already on aurora.
String or UUID changes made by this patch: None

Risk to taking this patch (and alternatives if risky): Rafael/Taras/Benjamin, please expand here - I'm suspecting low risk as this just changes the call order on shutdown, right?
Attachment #638798 - Flags: approval-mozilla-beta?
> Risk to taking this patch (and alternatives if risky):
> Rafael/Taras/Benjamin, please expand here - I'm suspecting low risk as this
> just changes the call order on shutdown, right?

I think so, yes. I guess an alternative is to just not call it, but I think that would delay us getting telemetry on shutdown times.
Since this likely has low risk, but we're not 100% confident, wouldn't it make the most sense to just back out bug 753461 for FF15? That seems like the lowest risk resolution. Hopefully the data in our test channels will carry enough actionable data in the meantime.
(In reply to Alex Keybl [:akeybl] from comment #23)
> Since this likely has low risk, but we're not 100% confident, wouldn't it
> make the most sense to just back out bug 753461 for FF15? That seems like
> the lowest risk resolution. Hopefully the data in our test channels will
> carry enough actionable data in the meantime.

Well, not calling RecordShutdownEndTimeStamp should be equivalent to backing 753461 out completely, so looks like we have three options
1) Back out 753461
2) Just drop the call to RecordShutdownEndTimeStamp
3) Backport this patch.
(In reply to Rafael Ávila de Espíndola (:espindola) from comment #24)
> Well, not calling RecordShutdownEndTimeStamp should be equivalent to backing
> 753461 out completely, so looks like we have three options
> 1) Back out 753461
> 2) Just drop the call to RecordShutdownEndTimeStamp
> 3) Backport this patch.

We'd prefer #1 unless you feel #2 is lower risk for whatever reason.
Attachment #638798 - Flags: approval-mozilla-beta? → approval-mozilla-beta-
> > 1) Back out 753461
> > 2) Just drop the call to RecordShutdownEndTimeStamp
> > 3) Backport this patch.
> 
> We'd prefer #1 unless you feel #2 is lower risk for whatever reason.

I think they are about the same.
I've updated bug 753461 to be tracked for backout so we don't need to track this bug for 15 anymore.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: