Closed Bug 529691 Opened 15 years ago Closed 15 years ago

[64 bit unofficial version only] Shredder reopens after I quit

Categories

(Thunderbird :: General, defect, P5)

x86_64
Windows 7
defect

Tracking

(Not tracked)

RESOLVED INVALID
Thunderbird 11.0

People

(Reporter: jpteuf, Unassigned)

References

()

Details

(Keywords: 64bit, Whiteboard: [support])

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.33 Safari/532.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.4pre) Gecko/20090929 Shredder/3.0b4

Whenever I exit Shredder, it will reopen by itself 2-3 seconds afterwards. The only way to stop it is to kill the process with task manager.

Reproducible: Always

Steps to Reproduce:
1.open Thunderbird
2.close it with File\Exit or X
3.wait for it to reappear
Actual Results:  
it just reopens infinitly

Expected Results:  
shut down
Whiteboard: [support]
Do you have addons and themes in shredder ?

Does it happens all the time shredder wants to quit ?


How do you feel following these instructions https://developer.mozilla.org/en/How_to_get_a_stacktrace_with_WinDbg (replace firefox with Thunderbird) and get us a stack trace when it's half quitted ?
it happens every single time and for as long as I don't shut it down with task manager.

I'll do the procedure a bit later today after class or tomorrow when I have the time.
I installed the debugger and tried to follow the procedure written on the page. First of all, I could not download the symbols as required I entered the commands written on the page:

.sympath SRV*c:\symbols*http://symbols.mozilla.org/firefox
.symfix+ c:\symbols
.reload /f

I substituted firefox with thunderbird in the first command and also tried as is. Both times I would get something like this:

*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Program Files (x86)\Shredder 3.0 Beta 4\plc4.dll - 
.*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Program Files (x86)\Shredder 3.0 Beta 4\plds4.dll - 
.*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Program Files (x86)\Shredder 3.0 Beta 4\smime3.dll - 
.*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Program Files (x86)\Shredder 3.0 Beta 4\nss3.dll - 
.*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Program Files (x86)\Shredder 3.0 Beta 4\nssutil3.dll - 
.*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Program Files (x86)\Shredder 3.0 Beta 4\ssl3.dll - 
.*** WARNING: Unable to verify checksum for C:\Program Files (x86)\Shredder 3.0 Beta 4\NSLDAP32V60.dll
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Program Files (x86)\Shredder 3.0 Beta 4\NSLDAP32V60.dll - 
.*** WARNING: Unable to verify checksum for C:\Program Files (x86)\Shredder 3.0 Beta 4\NSLDAPPR32V60.dll
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Program Files (x86)\Shredder 3.0 Beta 4\NSLDAPPR32V60.dll - 
......*** ERROR: Symbol file could not be found.  Defaulted to export symbols for thunderbird.exe - 
.*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Program Files (x86)\Shredder 3.0 Beta 4\nspr4.dll - 
.*** WARNING: Unable to verify checksum for C:\Program Files (x86)\Shredder 3.0 Beta 4\js6450.dll
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Program Files (x86)\Shredder 3.0 Beta 4\js6450.dll - 
..*** WARNING: Unable to verify checksum for C:\Program Files (x86)\Shredder 3.0 Beta 4\sqlite3.dll
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Program Files (x86)\Shredder 3.0 Beta 4\sqlite3.dll - 
.*** WARNING: Unable to verify checksum for C:\Program Files (x86)\Shredder 3.0 Beta 4\xpcom_core.dll
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Program Files (x86)\Shredder 3.0 Beta 4\xpcom_core.dll 

I still proceeded to see if I could get a result nonetheless and tried to input the next command:

.logopen /t c:\thunderbird-debug.log

Again nothing worked. I would get a message like this:

Log file could not be opened

I thought maybe I was supposed to create the file and tried to make a dummy one using notepad and naming it "thunderbird-debug.log" 

No luck with this either. Can someone explain to me how I'm supposed to be doing this as I have absolutly no clue.
(In reply to comment #3)
> I installed the debugger and tried to follow the procedure written on the page.
> First of all, I could not download the symbols as required I entered the
> commands written on the page:
> 
> .sympath SRV*c:\symbols*http://symbols.mozilla.org/firefox
> .symfix+ c:\symbols

Make sure that this directory exists and that anybody can write in it.

> .reload /f
> 
> I substituted firefox with thunderbird in the first command and also tried as
> is. Both times I would get something like this:
> 
> *** ERROR: Symbol file could not be found.  Defaulted to export symbols for
> C:\Program Files (x86)\Shredder 3.0 Beta 4\plc4.dll - 
> .*** ERROR: Symbol file could not be found.  Defaulted to export symbols for
> C:\Program Files (x86)\Shredder 3.0 Beta 4\plds4.dll - 
> .*** ERROR: Symbol file could not be found.  Defaulted to export symbols for
> C:\Program Files (x86)\Shredder 3.0 Beta 4\smime3.dll - 
> .*** ERROR: Symbol file could not be found.  Defaulted to export symbols for
> C:\Program Files (x86)\Shredder 3.0 Beta 4\nss3.dll - 
> .*** ERROR: Symbol file could not be found.  Defaulted to export symbols for
> C:\Program Files (x86)\Shredder 3.0 Beta 4\nssutil3.dll - 
> .*** ERROR: Symbol file could not be found.  Defaulted to export symbols for
> C:\Program Files (x86)\Shredder 3.0 Beta 4\ssl3.dll - 
> .*** WARNING: Unable to verify checksum for C:\Program Files (x86)\Shredder 3.0
> Beta 4\NSLDAP32V60.dll
> *** ERROR: Symbol file could not be found.  Defaulted to export symbols for
> C:\Program Files (x86)\Shredder 3.0 Beta 4\NSLDAP32V60.dll - 
> .*** WARNING: Unable to verify checksum for C:\Program Files (x86)\Shredder 3.0
> Beta 4\NSLDAPPR32V60.dll
> *** ERROR: Symbol file could not be found.  Defaulted to export symbols for
> C:\Program Files (x86)\Shredder 3.0 Beta 4\NSLDAPPR32V60.dll - 
> ......*** ERROR: Symbol file could not be found.  Defaulted to export symbols
> for thunderbird.exe - 
> .*** ERROR: Symbol file could not be found.  Defaulted to export symbols for
> C:\Program Files (x86)\Shredder 3.0 Beta 4\nspr4.dll - 
> .*** WARNING: Unable to verify checksum for C:\Program Files (x86)\Shredder 3.0
> Beta 4\js6450.dll
> *** ERROR: Symbol file could not be found.  Defaulted to export symbols for
> C:\Program Files (x86)\Shredder 3.0 Beta 4\js6450.dll - 
> ..*** WARNING: Unable to verify checksum for C:\Program Files (x86)\Shredder
> 3.0 Beta 4\sqlite3.dll
> *** ERROR: Symbol file could not be found.  Defaulted to export symbols for
> C:\Program Files (x86)\Shredder 3.0 Beta 4\sqlite3.dll - 
> .*** WARNING: Unable to verify checksum for C:\Program Files (x86)\Shredder 3.0
> Beta 4\xpcom_core.dll
> *** ERROR: Symbol file could not be found.  Defaulted to export symbols for
> C:\Program Files (x86)\Shredder 3.0 Beta 4\xpcom_core.dll 
> 
> I still proceeded to see if I could get a result nonetheless and tried to input
> the next command:
> 
> .logopen /t c:\thunderbird-debug.log

Yes this sis due to the fact that under windows 7 c:\ is protected, so you should direct the log to be written in maybe Docuement settings\ , a place where you usually write files.
 
> Again nothing worked. I would get a message like this:
> 
> Log file could not be opened
> 
> I thought maybe I was supposed to create the file and tried to make a dummy one
> using notepad and naming it "thunderbird-debug.log" 
> 
> No luck with this either. Can someone explain to me how I'm supposed to be
> doing this as I have absolutly no clue.

I hope the above helps.
The program: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) Gecko/20091126 Shredder/3.0
I have it installed on: Microsoft Windows 7 Professional (6.1 Build 7600).
Every time I try to quit the e-mail application it pops up again after a few seconds.
I'm using IMAP4 account if it is a hint for you.
Regards,

Michal
Some preinstalled tools automatically restarts "defaulted mailer" always by default(i.e. You requested so.)
Next is an example of such one on ThinkPad by IBM.
> http://forums.mozillazine.org/viewtopic.php?f=39&t=332269&st=0&sk=t&sd=a&start=0

What is automatically restarted if other than Tb(Windows Mail on Win 7?) is set as default mailer?
I've checked the settings of the default internet programs and reset them to "Windows Live Messenger" for both the email client and newsgroup client to no avail. Shredder reinstates itself every time I try to close it normally.
There is no such option at tools -> options -> general settings ->  as "use thunderbird as the default email application" so there is nothing to uncheck in Shredder. What I did is that Shredder no longer check if it is a default email client in the system.
Still in trouble so.
When debugging the bug disappears for both: thunderbird process started from debugger and thunderbird process attached to. When I start Thunderbird.exe and do not attach to it from the debugger the bug appears.
It's irrelevant whether thunderbird is default mail or news client.
Attached please find log from debugger:

Opened log file 'c:\temp\thunder_0b14_2009-11-30_18-37-23-806'
0:000> .childdbg 1
Processes created by the current process will be debugged
0:000> .tlist
    0n0 System Process
    0n4 System
  0n312 smss.exe
  0n448 csrss.exe
  0n516 wininit.exe
  0n548 csrss.exe
  0n584 services.exe
  0n608 winlogon.exe
  0n636 lsass.exe
  0n644 lsm.exe
  0n736 svchost.exe
  0n816 svchost.exe
  0n864 atiesrxx.exe
  0n936 svchost.exe
  0n980 svchost.exe
 0n1016 svchost.exe
  0n752 svchost.exe
 0n1104 atieclxx.exe
 0n1220 svchost.exe
 0n1352 spoolsv.exe
 0n1412 svchost.exe
 0n1500 agr64svc.exe
 0n1536 ekrn.exe
 0n1592 ePowerSvc.exe
 0n1612 svchost.exe
 0n1676 GregHSRW.exe
 0n1716 MWLService.exe
 0n1748 IScheduleSvc.exe
 0n1792 SchedulerSvc.exe
 0n1832 UpdaterService.exe
 0n1904 winvnc.exe
 0n1980 svchost.exe
 0n2004 WLIDSVC.EXE
 0n2264 SearchIndexer.exe
 0n2556 WLIDSVCM.EXE
 0n2580 svchost.exe
 0n2612 winvnc.exe
 0n1900 sppsvc.exe
 0n2668 wmpnetwk.exe
  0n640 WmiPrvSE.exe
 0n1760 taskhost.exe
 0n1492 dwm.exe
  0n348 explorer.exe
 0n3080 mwlDaemon.exe
 0n3104 RAVCpl64.exe
 0n3112 PLFSetI.exe
 0n3120 ePowerTray.exe
 0n3128 egui.exe
 0n3140 Apoint.exe
 0n3452 unsecapp.exe
 0n3620 ApMsgFwd.exe
 0n3652 ApntEx.exe
 0n3676 conhost.exe
 0n3684 Hidfind.exe
 0n3764 ePowerEvent.exe
 0n3972 BackupManagerTray.exe
 0n3980 EgisUpdate.exe
 0n4084 LManager.exe
 0n4092 ArcadeDeluxeAgent.exe
 0n3096 PMVService.exe
 0n3840 MOM.exe
 0n4076 CCC.exe
  0n264 firefox.exe
 0n3360 Procmon.exe
 0n3544 Procmon64.exe
  0n956 procexp.exe
 0n2500 procexp64.exe
 0n3440 taskmgr.exe
 0n2568 cmd.exe
 0n2968 conhost.exe
 0n2836 windbg.exe
 0n1288 thunderbird.exe
0:000> sxn gp
0:000> lm
start             end                 module name
00000000`00020000 00000000`0002a000   plc4       (deferred)             
00000000`000d0000 00000000`000d8000   plds4      (deferred)             
00000000`000e0000 00000000`000ff000   smime3     (deferred)             
00000000`00100000 00000000`00109000   NSLDAPPR32V60   (deferred)             
00000000`00150000 00000000`00169000   nssutil3   (deferred)             
00000000`00170000 00000000`0019a000   ssl3       (deferred)             
00000000`001a0000 00000000`001d6000   NSLDAP32V60   (deferred)             
00000000`00310000 00000000`003e1000   nss3       (deferred)             
00000000`6e750000 00000000`6e823000   MOZCRT19   (deferred)             
00000000`773f0000 00000000`774ea000   USER32     (deferred)             
00000000`774f0000 00000000`7760f000   kernel32   (deferred)             
00000000`77610000 00000000`777bb000   ntdll      (pdb symbols)          c:\symbols\ntdll.pdb\CFF40300FD804691B73E12CF2A150EE02\ntdll.pdb
00000001`3f930000 00000001`40c03000   thunderbird   (deferred)             
00000001`80000000 00000001`80038000   nspr4      (deferred)             
000007fe`ec810000 000007fe`ec8de000   sqlite3    (deferred)             
000007fe`ec8e0000 000007fe`ec9c0000   js6450     (deferred)             
000007fe`f2500000 000007fe`f25ae000   xpcom_core   (deferred)             
000007fe`f9210000 000007fe`f9219000   WSOCK32    (deferred)             
000007fe`f9910000 000007fe`f9980000   WINSPOOL   (deferred)             
000007fe`fb250000 000007fe`fb28b000   WINMM      (deferred)             
000007fe`fb390000 000007fe`fb397000   MSIMG32    (deferred)             
000007fe`fc1a0000 000007fe`fc394000   COMCTL32   (deferred)             
000007fe`fc6e0000 000007fe`fc6ec000   VERSION    (deferred)             
000007fe`fd7d0000 000007fe`fd83b000   KERNELBASE   (deferred)             
000007fe`fd940000 000007fe`fd95f000   sechost    (deferred)             
000007fe`fd960000 000007fe`fda2a000   USP10      (deferred)             
000007fe`fda30000 000007fe`fdaa1000   SHLWAPI    (deferred)             
000007fe`fdab0000 000007fe`fdafd000   WS2_32     (deferred)             
000007fe`fdb00000 000007fe`fdd01000   ole32      (deferred)             
000007fe`fddd0000 000007fe`fded9000   MSCTF      (deferred)             
000007fe`fdf30000 000007fe`fdfcf000   msvcrt     (deferred)             
000007fe`fdfd0000 000007fe`fe0fe000   RPCRT4     (deferred)             
000007fe`fe100000 000007fe`fe12e000   IMM32      (deferred)             
000007fe`fe130000 000007fe`fe138000   NSI        (deferred)             
000007fe`fe140000 000007fe`fe21b000   ADVAPI32   (deferred)             
000007fe`fe2a0000 000007fe`fe377000   OLEAUT32   (deferred)             
000007fe`fe380000 000007fe`ff106000   SHELL32    (deferred)             
000007fe`ff110000 000007fe`ff1a8000   COMDLG32   (deferred)             
000007fe`ff720000 000007fe`ff787000   GDI32      (deferred)             
000007fe`ff910000 000007fe`ff91e000   LPK        (deferred)             
0:000> g
ModLoad: 000007fe`fbe20000 000007fe`fbe76000   C:\Windows\system32\uxtheme.dll
ModLoad: 000007fe`fb9f0000 000007fe`fba08000   C:\Windows\system32\dwmapi.dll
ModLoad: 000007fe`fd4a0000 000007fe`fd4af000   C:\Windows\system32\CRYPTBASE.dll
ModLoad: 000007fe`ff540000 000007fe`ff717000   C:\Windows\system32\SETUPAPI.dll
ModLoad: 000007fe`fd620000 000007fe`fd656000   C:\Windows\system32\CFGMGR32.dll
ModLoad: 000007fe`fd920000 000007fe`fd93a000   C:\Windows\system32\DEVOBJ.dll
ModLoad: 000007fe`fdd30000 000007fe`fddc9000   C:\Windows\system32\CLBCatQ.DLL
ModLoad: 000007fe`fbe80000 000007fe`fbfac000   C:\Windows\system32\propsys.dll
ModLoad: 000007fe`fb360000 000007fe`fb38d000   C:\Windows\system32\ntmarta.dll
ModLoad: 000007fe`fdee0000 000007fe`fdf30000   C:\Windows\system32\WLDAP32.dll
ModLoad: 000007fe`fd570000 000007fe`fd57f000   C:\Windows\system32\profapi.dll
ModLoad: 000007fe`fcdb0000 000007fe`fce04000   C:\Windows\system32\mswsock.dll
ModLoad: 000007fe`fc7b0000 000007fe`fc7b7000   C:\Windows\System32\wshtcpip.dll
ModLoad: 000007fe`fac90000 000007fe`facb7000   C:\Windows\system32\iphlpapi.dll
ModLoad: 000007fe`fac80000 000007fe`fac8b000   C:\Windows\system32\WINNSI.DLL
ModLoad: 000007fe`fa830000 000007fe`fa848000   C:\Windows\system32\dhcpcsvc.DLL
ModLoad: 000007fe`fa540000 000007fe`fa551000   C:\Windows\system32\dhcpcsvc6.DLL
ModLoad: 000007fe`fa520000 000007fe`fa53d000   C:\Program Files (x86)\Shredder\components\jar50.dll
ModLoad: 000007fe`fb230000 000007fe`fb245000   C:\Windows\system32\NLAapi.dll
ModLoad: 000007fe`fcc30000 000007fe`fcc8b000   C:\Windows\system32\DNSAPI.dll
ModLoad: 000007fe`f7730000 000007fe`f773b000   C:\Windows\System32\winrnr.dll
ModLoad: 000007fe`f7710000 000007fe`f7725000   C:\Windows\system32\napinsp.dll
ModLoad: 000007fe`f76f0000 000007fe`f7709000   C:\Windows\system32\pnrpnsp.dll
ModLoad: 00000000`73230000 00000000`7325e000   C:\Program Files\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL
ModLoad: 00000000`777e0000 00000000`777e7000   C:\Windows\system32\PSAPI.DLL
ModLoad: 000007fe`fce10000 000007fe`fce27000   C:\Windows\system32\CRYPTSP.dll
ModLoad: 000007fe`fcb10000 000007fe`fcb57000   C:\Windows\system32\rsaenh.dll
ModLoad: 000007fe`fd550000 000007fe`fd564000   C:\Windows\system32\RpcRtRemote.dll
ModLoad: 000007fe`f8060000 000007fe`f8089000   C:\Windows\system32\t2embed.dll
ModLoad: 000007fe`fb7d0000 000007fe`fb8fa000   C:\Windows\system32\WindowsCodecs.dll
ModLoad: 000007fe`fd440000 000007fe`fd497000   C:\Windows\system32\apphelp.dll
ModLoad: 00000000`10000000 00000000`10026000   C:\Program Files (x86)\EgisTec\MyWinLocker 3\x64\psdprotect.dll
ModLoad: 000007fe`f9980000 000007fe`f9aa5000   C:\Windows\system32\dbghelp.dll
ModLoad: 00000000`029f0000 00000000`02a38000   C:\Program Files (x86)\EgisTec\MyWinLocker 3\x64\sysenv.dll
ModLoad: 000007fe`fb9b0000 000007fe`fb9e5000   C:\Windows\system32\XmlLite.dll
ModLoad: 000007fe`fb660000 000007fe`fb676000   C:\Windows\system32\NETAPI32.dll
ModLoad: 000007fe`fb650000 000007fe`fb65c000   C:\Windows\system32\netutils.dll
ModLoad: 000007fe`fd300000 000007fe`fd323000   C:\Windows\system32\srvcli.dll
ModLoad: 000007fe`fb630000 000007fe`fb645000   C:\Windows\system32\wkscli.dll
ModLoad: 000007fe`fb610000 000007fe`fb624000   C:\Windows\system32\SAMCLI.DLL
ModLoad: 000007fe`fad60000 000007fe`fad95000   C:\Windows\system32\EhStorShell.dll
ModLoad: 000007fe`f74e0000 000007fe`f755e000   C:\Windows\System32\cscui.dll
ModLoad: 000007fe`fad50000 000007fe`fad5c000   C:\Windows\System32\CSCDLL.dll
ModLoad: 000007fe`f8020000 000007fe`f802f000   C:\Windows\system32\CSCAPI.dll
ModLoad: 000007fe`f7460000 000007fe`f74e0000   C:\Windows\system32\ntshrui.dll
ModLoad: 000007fe`fb160000 000007fe`fb16b000   C:\Windows\system32\slc.dll
ModLoad: 00000000`02f60000 00000000`02faa000   C:\Program Files\Acer\Acer ePower Management\SysHook.dll
ModLoad: 000007fe`f23c0000 000007fe`f245c000   C:\Windows\system32\mscms.dll
ModLoad: 000007fe`fc8d0000 000007fe`fc8ee000   C:\Windows\system32\USERENV.dll
ModLoad: 00000000`03d70000 00000000`03da2000   C:\Program Files (x86)\Shredder\softokn3.dll
ModLoad: 00000000`03e50000 00000000`03e72000   C:\Program Files (x86)\Shredder\nssdbm3.dll
ModLoad: 00000000`04160000 00000000`041c7000   C:\Program Files (x86)\Shredder\freebl3.dll
ModLoad: 00000000`03e80000 00000000`03edd000   C:\Program Files (x86)\Shredder\nssckbi.dll
ModLoad: 000007fe`fcda0000 000007fe`fcda7000   C:\Windows\System32\wship6.dll
ModLoad: 000007fe`f8010000 000007fe`f8018000   C:\Windows\system32\rasadhlp.dll
ModLoad: 000007fe`faa90000 000007fe`faae3000   C:\Windows\System32\fwpuclnt.dll
Symbol search path is: SRV*c:\symbols*http://symbols.mozilla.org/firefox;srv*
Executable search path is: 
ModLoad: 00000001`3f930000 00000001`40c03000   thunderbird.exe
ModLoad: 00000000`77610000 00000000`777bb000   ntdll.dll
ModLoad: 00000000`774f0000 00000000`7760f000   C:\Windows\system32\kernel32.dll
ntdll!NtWaitForMultipleObjects+0xa:
00000000`7766046a c3              ret
===================================================================
Opened log file 'c:\temp\firefox-debug_0edc_2009-11-30_18-59-51-876.log'
*** wait with pending attach
Symbol search path is: SRV*c:\symbols*http://symbols.mozilla.org/thunderbird;SRV*c:\symbols*http://msdl.microsoft.com/download/symbols
Executable search path is: 
ModLoad: 00000001`3f640000 00000001`40913000   C:\Program Files (x86)\Shredder\thunderbird.exe
ModLoad: 00000000`77610000 00000000`777bb000   C:\Windows\SYSTEM32\ntdll.dll
ModLoad: 00000000`774f0000 00000000`7760f000   C:\Windows\system32\kernel32.dll
ModLoad: 000007fe`fd7d0000 000007fe`fd83b000   C:\Windows\system32\KERNELBASE.dll
ModLoad: 000007fe`ec830000 000007fe`ec910000   C:\Program Files (x86)\Shredder\js6450.dll
ModLoad: 00000001`80000000 00000001`80038000   C:\Program Files (x86)\Shredder\nspr4.dll
ModLoad: 000007fe`fe140000 000007fe`fe21b000   C:\Windows\system32\ADVAPI32.dll
ModLoad: 000007fe`fdf30000 000007fe`fdfcf000   C:\Windows\system32\msvcrt.dll
ModLoad: 000007fe`fd940000 000007fe`fd95f000   C:\Windows\SYSTEM32\sechost.dll
ModLoad: 000007fe`fdfd0000 000007fe`fe0fe000   C:\Windows\system32\RPCRT4.dll
ModLoad: 000007fe`f9210000 000007fe`f9219000   C:\Windows\system32\WSOCK32.dll
ModLoad: 000007fe`fdab0000 000007fe`fdafd000   C:\Windows\system32\WS2_32.dll
ModLoad: 000007fe`fe130000 000007fe`fe138000   C:\Windows\system32\NSI.dll
ModLoad: 000007fe`fb250000 000007fe`fb28b000   C:\Windows\system32\WINMM.dll
ModLoad: 00000000`773f0000 00000000`774ea000   C:\Windows\system32\USER32.dll
ModLoad: 000007fe`ff720000 000007fe`ff787000   C:\Windows\system32\GDI32.dll
ModLoad: 000007fe`ff910000 000007fe`ff91e000   C:\Windows\system32\LPK.dll
ModLoad: 000007fe`fd960000 000007fe`fda2a000   C:\Windows\system32\USP10.dll
ModLoad: 00000000`747c0000 00000000`74893000   C:\Program Files (x86)\Shredder\MOZCRT19.dll
ModLoad: 000007fe`f2500000 000007fe`f25ae000   C:\Program Files (x86)\Shredder\xpcom_core.dll
ModLoad: 00000000`00020000 00000000`0002a000   C:\Program Files (x86)\Shredder\plc4.dll
ModLoad: 00000000`000d0000 00000000`000d8000   C:\Program Files (x86)\Shredder\plds4.dll
ModLoad: 000007fe`fe380000 000007fe`ff106000   C:\Windows\system32\SHELL32.dll
ModLoad: 000007fe`fda30000 000007fe`fdaa1000   C:\Windows\system32\SHLWAPI.dll
ModLoad: 000007fe`fdb00000 000007fe`fdd01000   C:\Windows\system32\ole32.dll
ModLoad: 000007fe`fc6e0000 000007fe`fc6ec000   C:\Windows\system32\VERSION.dll
ModLoad: 00000000`000e0000 00000000`000ff000   C:\Program Files (x86)\Shredder\smime3.dll
ModLoad: 00000000`002a0000 00000000`00371000   C:\Program Files (x86)\Shredder\nss3.dll
ModLoad: 00000000`00100000 00000000`00119000   C:\Program Files (x86)\Shredder\nssutil3.dll
ModLoad: 00000000`00120000 00000000`0014a000   C:\Program Files (x86)\Shredder\ssl3.dll
ModLoad: 00000000`00150000 00000000`00186000   C:\Program Files (x86)\Shredder\NSLDAP32V60.dll
ModLoad: 00000000`00190000 00000000`00199000   C:\Program Files (x86)\Shredder\NSLDAPPR32V60.dll
ModLoad: 000007fe`ec920000 000007fe`ec9ee000   C:\Program Files (x86)\Shredder\sqlite3.dll
ModLoad: 000007fe`ff110000 000007fe`ff1a8000   C:\Windows\system32\COMDLG32.dll
ModLoad: 000007fe`fc1a0000 000007fe`fc394000   C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16385_none_fa645303170382f6\COMCTL32.dll
ModLoad: 000007fe`fe2a0000 000007fe`fe377000   C:\Windows\system32\OLEAUT32.dll
ModLoad: 000007fe`f9910000 000007fe`f9980000   C:\Windows\system32\WINSPOOL.DRV
ModLoad: 000007fe`fe100000 000007fe`fe12e000   C:\Windows\system32\IMM32.dll
ModLoad: 000007fe`fddd0000 000007fe`fded9000   C:\Windows\system32\MSCTF.dll
ModLoad: 000007fe`fb390000 000007fe`fb397000   C:\Windows\system32\MSIMG32.dll
ModLoad: 000007fe`fbe20000 000007fe`fbe76000   C:\Windows\system32\uxtheme.dll
ModLoad: 000007fe`fb9f0000 000007fe`fba08000   C:\Windows\system32\dwmapi.dll
ModLoad: 000007fe`fd4a0000 000007fe`fd4af000   C:\Windows\system32\CRYPTBASE.dll
ModLoad: 000007fe`ff540000 000007fe`ff717000   C:\Windows\system32\SETUPAPI.dll
ModLoad: 000007fe`fd620000 000007fe`fd656000   C:\Windows\system32\CFGMGR32.dll
ModLoad: 000007fe`fd920000 000007fe`fd93a000   C:\Windows\system32\DEVOBJ.dll
ModLoad: 000007fe`fdd30000 000007fe`fddc9000   C:\Windows\system32\CLBCatQ.DLL
ModLoad: 000007fe`fbe80000 000007fe`fbfac000   C:\Windows\system32\propsys.dll
ModLoad: 000007fe`fb360000 000007fe`fb38d000   C:\Windows\system32\ntmarta.dll
ModLoad: 000007fe`fdee0000 000007fe`fdf30000   C:\Windows\system32\WLDAP32.dll
ModLoad: 000007fe`fd570000 000007fe`fd57f000   C:\Windows\system32\profapi.dll
ModLoad: 000007fe`fcdb0000 000007fe`fce04000   C:\Windows\system32\mswsock.dll
ModLoad: 000007fe`fc7b0000 000007fe`fc7b7000   C:\Windows\System32\wshtcpip.dll
ModLoad: 000007fe`fac90000 000007fe`facb7000   C:\Windows\system32\iphlpapi.dll
ModLoad: 000007fe`fac80000 000007fe`fac8b000   C:\Windows\system32\WINNSI.DLL
ModLoad: 000007fe`f6f20000 000007fe`f6f3d000   C:\Program Files (x86)\Shredder\components\jar50.dll
ModLoad: 000007fe`fb230000 000007fe`fb245000   C:\Windows\system32\NLAapi.dll
ModLoad: 000007fe`fcc30000 000007fe`fcc8b000   C:\Windows\system32\DNSAPI.dll
ModLoad: 000007fe`f7730000 000007fe`f773b000   C:\Windows\System32\winrnr.dll
ModLoad: 000007fe`f7710000 000007fe`f7725000   C:\Windows\system32\napinsp.dll
ModLoad: 000007fe`f76f0000 000007fe`f7709000   C:\Windows\system32\pnrpnsp.dll
ModLoad: 00000000`73230000 00000000`7325e000   C:\Program Files\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL
ModLoad: 00000000`777e0000 00000000`777e7000   C:\Windows\system32\PSAPI.DLL
ModLoad: 000007fe`fce10000 000007fe`fce27000   C:\Windows\system32\CRYPTSP.dll
ModLoad: 000007fe`fcb10000 000007fe`fcb57000   C:\Windows\system32\rsaenh.dll
ModLoad: 000007fe`fd550000 000007fe`fd564000   C:\Windows\system32\RpcRtRemote.dll
ModLoad: 000007fe`f8060000 000007fe`f8089000   C:\Windows\system32\t2embed.dll
ModLoad: 000007fe`fb7d0000 000007fe`fb8fa000   C:\Windows\system32\WindowsCodecs.dll
ModLoad: 000007fe`fd440000 000007fe`fd497000   C:\Windows\system32\apphelp.dll
ModLoad: 000007fe`fad60000 000007fe`fad95000   C:\Windows\system32\EhStorShell.dll
ModLoad: 000007fe`f74e0000 000007fe`f755e000   C:\Windows\System32\cscui.dll
ModLoad: 000007fe`fad50000 000007fe`fad5c000   C:\Windows\System32\CSCDLL.dll
ModLoad: 000007fe`f8020000 000007fe`f802f000   C:\Windows\system32\CSCAPI.dll
ModLoad: 000007fe`f7460000 000007fe`f74e0000   C:\Windows\system32\ntshrui.dll
ModLoad: 000007fe`fd300000 000007fe`fd323000   C:\Windows\system32\srvcli.dll
ModLoad: 000007fe`fb160000 000007fe`fb16b000   C:\Windows\system32\slc.dll
ModLoad: 000007fe`f23c0000 000007fe`f245c000   C:\Windows\system32\mscms.dll
ModLoad: 000007fe`fc8d0000 000007fe`fc8ee000   C:\Windows\system32\USERENV.dll
ModLoad: 00000000`03370000 00000000`033a2000   C:\Program Files (x86)\Shredder\softokn3.dll
ModLoad: 00000000`03450000 00000000`03472000   C:\Program Files (x86)\Shredder\nssdbm3.dll
ModLoad: 00000000`03480000 00000000`034e7000   C:\Program Files (x86)\Shredder\freebl3.dll
ModLoad: 00000000`03610000 00000000`0366d000   C:\Program Files (x86)\Shredder\nssckbi.dll
ModLoad: 000007fe`fcda0000 000007fe`fcda7000   C:\Windows\System32\wship6.dll
ModLoad: 000007fe`f8010000 000007fe`f8018000   C:\Windows\system32\rasadhlp.dll
ModLoad: 000007fe`faa90000 000007fe`faae3000   C:\Windows\System32\fwpuclnt.dll
(9a4.da4): Break instruction exception - code 80000003 (first chance)
ntdll!DbgBreakPoint:
00000000`7765f190 cc              int     3
0:020> .childdbg 1
Processes created by the current process will be debugged
0:020> g
Symbol search path is: SRV*c:\symbols*http://symbols.mozilla.org/thunderbird;SRV*c:\symbols*http://msdl.microsoft.com/download/symbols
Executable search path is: 
ModLoad: 00000001`3f640000 00000001`40913000   thunderbird.exe
ModLoad: 00000000`77610000 00000000`777bb000   ntdll.dll
ModLoad: 00000000`774f0000 00000000`7760f000   C:\Windows\system32\kernel32.dll
ModLoad: 000007fe`fd7d0000 000007fe`fd83b000   C:\Windows\system32\KERNELBASE.dll
ModLoad: 000007fe`fb650000 000007fe`fb65c000   C:\Windows\system32\netutils.dll
ModLoad: 000007fe`ec830000 000007fe`ec910000   C:\Program Files (x86)\Shredder\js6450.dll
ntdll!NtWaitForWorkViaWorkerFactory+0xa:
00000000`776617ba c3              ret
The TB instance process id I kill is the parent process id of the newly spawned TB instance.
One can kill TB from within its UI only before list of messages appear.
If you try hard and keep closing it before any message appear you may be lucky to close it eventually.
If you startup offline, can you shut down? Tools | options | advanced | network & disk space, configure offline settings, pick "remember previous online state", go offline (click on the little widget at the left bottom corner of the mail window), shutdown. Perhaps you'll have to kill the process to get it to truly stop. Then startup, you should be offline, does exiting make the process die?
It dies all right.
Although it closes fine I have difficulty reading the downloaded mail after I reopen it. I get randomly the following message instead of a full message:

The body of this message has not been downloaded from the server for reading offline. To read this message, you must reconnect to the network, choose Offline from the File menu and then uncheck Work Offline. In the future, you can select which messages or folders to read offline. To do this, choose Offline from the file menu and then select Synchronize. You can adjust the Disk Space preference to prevent the downloading of large messages.

Any clue?
After switching to normal or on-line mode the hindrance of not being able to close the program persists.
It's a bit of a long shot, but you might try a build from here:

http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-comm-1.9.1/

these builds contain a fix for an imap shutdown issue when you have the imap server Thunderbird settings configured to use TLS if available. You could first try using the config editor (tools | options | advanced | general, config editor, search for socketType, and see if you have one set to 1 - if so, try setting it to 2.
Originally the setting mail.server.default.socketType was set to 0.
After I changed it to 1 I could close the application but if I tried to run it again it did not saying that another instance had been already running. I confirmed it because there was thunderbird.exe task active.
After I changed it to 2 I could not close the aplication just like with value 0.
I changed it back to 0 then.
I will try the newest build though.
Thanks,

Michal
Ups,

I will not try the latest build unless you send me a link to x64. Mind that we are discussing x64 version here.
Regards,

Michal
So from what I understand this is only an issue on 64 bit builds that are *not* currently produced by Mozilla.

If anyone can reproduce this with official 32 bit builds downloaded via http://www.mozillamessaging.com/ then please let us know.

Assuming that this is non-official builds only, I would normally mark as invalid - as it is an issue for the person who created the build. However as we'll eventually be heading into 64 bit builds, I don't think that is really appropriate.

So I suggest we leave this open as a future bug, although if anyone can come up with a fix for it we'd welcome it.
Priority: -- → P5
Summary: Shredder reopens after I quit → [64 bit unofficial version only] Shredder reopens after I quit
Target Milestone: --- → Future
Keywords: 64bit
This is compiler's bug.  VC++ 2005 x64 compiler with -Ox options causes that it generates invalid code.

In http://mxr.mozilla.org/comm-1.9.1/source/mozilla/toolkit/xre/nsAppRunner.cpp#3372

3372     if (needsRestart) {

But, generated code is

thunderbird!XRE_main+0x190d [c:\workspace\mozilla-hg\comm-1.9.1\mozilla\toolkit\xre\nsapprunner.cpp @ 3369]:
00000001`3f508b00 39ac2498000000  cmp     dword ptr [rsp+98h],ebp ; [rsp + 0x98] -> needRestart, @ebp -> 1
00000001`3f508b07 0f8491010000    je      thunderbird!XRE_main+0x1aae (00000001`3f508c9e)

0:000> r @ebp
ebp=1

Also, you shouldn't file a bug for unofficial binaries.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
Makoto do you have read comment #21?
(In reply to comment #22)
> This is compiler's bug.  VC++ 2005 x64 compiler with -Ox options causes that it
> generates invalid code.

Should that be something we're incorporating in core code to fix? (e.g. configure.in)
We need some patches for 1.9.1 and 1.9.2 tree when we build x64 binaries.  (Currently, mozilla-central supports x64 configuration).  And I don't land x64 configuration patch to comm-central yet.  (I will file a bug for comm-central generic)

As long as I tests using optimization flag on x64 environment, VC2005 generates invalid code with -O2 or -Ox.  And I don't tests with -O1 yet.  2005 with -O2 generates invalid code on xpconnect and layout.  -Ox is this bug.

Even if on VS2008, -Ox generates invalid code into other point.

If we releases x64 binaries as official, we need consider it.  (I think it should use #prgma).
(In reply to comment #25)
> If we releases x64 binaries as official, we need consider it.  (I think it
> should use #prgma).

Ok, thanks for the info, at some stage in the next year or so, I can see us heading towards 64 bit binaries, but getting the config in early doesn't hurt IMO.
You need to log in before you can comment on or make changes to this bug.