Closed Bug 15417 Opened 25 years ago Closed 25 years ago

M9 Apprunner and Viewer Crash on Startup

Categories

(Core Graveyard :: Plug-ins, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: guyh, Assigned: serhunt)

Details

The M9 Apprunner crashes right after the 2 lines about the "Profile Wizard and
Manager activities" (begin/end). The VC 6.0 Debugger shows popup error window
stating "Unhandled exception in apprunner.exe (raptorplugin.exe): 0xC0000005:
Access Violation". The viewer.exe program crashes on startup in a very
similar way. Here is the apprunner 'output window':

Loaded 'D:\MOZILLA\M9\BIN\apprunner.exe', no matching symbolic information
found.
Loaded symbols for 'C:\WINNT\System32\ntdll.dll'
Loaded 'xpcom.exe', no matching symbolic information found.
Loaded 'plc3.exe', no matching symbolic information found.
Loaded 'nspr3.exe', no matching symbolic information found.
Loaded symbols for 'C:\WINNT\System32\wsock32.dll'
Loaded 'C:\WINNT\System32\ws2_32.dll', no matching symbolic information found.
Loaded 'APP01.EXE', no matching symbolic information found.
Loaded symbols for 'C:\WINNT\System32\kernel32.dll'
Loaded symbols for 'C:\WINNT\System32\user32.dll'
Loaded symbols for 'C:\WINNT\System32\gdi32.dll'
Loaded symbols for 'C:\WINNT\System32\advapi32.dll'
Loaded symbols for 'C:\WINNT\System32\rpcrt4.dll'
Loaded 'C:\WINNT\System32\ws2help.dll', no matching symbolic information found.
Loaded 'C:\WINNT\System32\winmm.dll', no matching symbolic information found.
Loaded 'mozreg.exe', no matching symbolic information found.
Loaded 'C:\WINNT\System32\shell32.dll', no matching symbolic information found.
Loaded 'COMCTL32.exe', no matching symbolic information found.
Loaded symbols for 'C:\WINNT\System32\ole32.dll'
Loaded 'plds3.exe', no matching symbolic information found.
Loaded 'Au88NT32.dll', no matching symbolic information found.
Loaded 'C:\WINNT\System32\mmdrv.dll', no matching symbolic information found.
Loaded 'Au88wtSynth.dll', no matching symbolic information found.
Loaded 'D:\VStudio\VC98\bin\profile.exe', no matching symbolic information
found.
Loaded 'nsappshell.exe', no matching symbolic information found.
Loaded 'js3250.exe', no matching symbolic information found.
Loaded 'xppref32.exe', no matching symbolic information found.
Loaded 'bin/OAHOOK32.dll', no matching symbolic information found.
Loaded 'oleaut32.exe', no matching symbolic information found.
Loaded 'C:\WINNT\System32\linkinfo.dll', no matching symbolic information found.
Loaded 'C:\WINNT\System32\mpr.dll', no matching symbolic information found.
Loaded 'C:\WINNT\System32\ntshrui.dll', no matching symbolic information found.
Loaded 'C:\WINNT\System32\netapi32.dll', no matching symbolic information found.
Loaded 'C:\WINNT\System32\NetRap.dll', no matching symbolic information found.
Loaded 'C:\WINNT\System32\samlib.dll', no matching symbolic information found.
Loaded 'jsdom.exe', no matching symbolic information found.
Loaded 'oji.exe', no matching symbolic information found.
Loaded 'jsj3250.exe', no matching symbolic information found.
Loaded 'pics.exe', no matching symbolic information found.
Loaded 'APP02.EXE', no matching symbolic information found.
Loaded 'raptorweb.exe', no matching symbolic information found.
Loaded 'raptorgfxwin.exe', no matching symbolic information found.
Loaded 'img3250.exe', no matching symbolic information found.
Loaded symbols for 'C:\WINNT\System32\comdlg32.dll'
Loaded 'necko.exe', no matching symbolic information found.
Loaded 'chardet.exe', no matching symbolic information found.
Loaded 'raptorwidget.exe', no matching symbolic information found.
Loaded 'C:\WINNT\System32\imm32.dll', no matching symbolic information found.
Loaded 'raptorhtmlpars.exe', no matching symbolic information found.
Loaded 'nsxpi.exe', no matching symbolic information found.
Loaded 'zlib.exe', no matching symbolic information found.
Loaded 'msgbase.exe', no matching symbolic information found.
Loaded 'msgbaseutil.exe', no matching symbolic information found.
Loaded 'rdf.exe', no matching symbolic information found.
Loaded 'chrome.exe', no matching symbolic information found.
Loaded 'raptorplugin.exe', no matching symbolic information found.
Loaded 'C:\WINNT\System32\version.dll', no matching symbolic information found.
Loaded 'C:\WINNT\System32\lz32.dll', no matching symbolic information found.
Loaded 'history.exe', no matching symbolic information found.
Loaded 'mork.exe', no matching symbolic information found.
Loaded 'necko_file.exe', no matching symbolic information found.
Loaded 'raptorhtml.exe', no matching symbolic information found.
Loaded 'uconv.exe', no matching symbolic information found.
Loaded 'necko_resource.exe', no matching symbolic information found.
Loaded 'ucvlatin.exe', no matching symbolic information found.
Loaded 'ucharuti.exe', no matching symbolic information found.
Loaded 'mimetype.exe', no matching symbolic information found.
Loaded 'appcores.exe', no matching symbolic information found.
Loaded 'cookie.exe', no matching symbolic information found.
Loaded 'walletlib.exe', no matching symbolic information found.
Loaded 'APP03.EXE', no matching symbolic information found.
Loaded 'oji.exe', no matching symbolic information found.
The thread 0x118 has exited with code 0 (0x0).

The 'call stack window' shows the following:

raptorplugin! 60a22ea7()
raptorplugin! 60a22cf4()
oji! 01cc1b25()
oji! 01cc1c02()
jsdom! 60877c4d()
raptorweb! 60a4632a()
raptorweb! 60a43f64()
raptorweb! 60a427ea()
raptorweb! 60a42b54()
necko_file! 603a1dae()
00472590()
The last instruction (60A256F9) in the following VC6 disassembly window was
flagged as the location causing the crash. I copied the nearby disassembly code
in the hope it might give you some context to work with:

60A25690   push        eax
60A25691   lea         eax,[ebp-4]
60A25694   push        eax
60A25695   push        dword ptr [ebp+0Ch]
60A25698   push        dword ptr [ebp+8]
60A2569B   call        60A258F4
60A256A0   cmp         dword ptr [ebp-4],0
60A256A4   je          60A256B1
60A256A6   push        dword ptr [ebp-4]
60A256A9   call        60A258B8
60A256AE   pop         ecx
60A256AF   leave
60A256B0   ret
60A256B1   xor         eax,eax
60A256B3   leave
60A256B4   ret
60A256B5   mov         ecx,dword ptr [esp+4]
60A256B9   push        1
60A256BB   test        ecx,ecx
60A256BD   pop         eax
60A256BE   jne         60A256C3
60A256C0   xor         eax,eax
60A256C2   ret
60A256C3   mov         edx,ecx
60A256C5   mov         cl,byte ptr [ecx]
60A256C7   test        cl,cl
60A256C9   je          60A256C2
60A256CB   cmp         cl,7Ch
60A256CE   jne         60A256D1
60A256D0   inc         eax
60A256D1   mov         cl,byte ptr [edx+1]
60A256D4   inc         edx
60A256D5   jmp         60A256C7
60A256D7   mov         eax,dword ptr [esp+4]
60A256DB   push        esi
60A256DC   mov         esi,dword ptr [esp+0Ch]
60A256E0   test        eax,eax
60A256E2   je          60A256F2
60A256E4   shl         eax,2
60A256E7   push        eax
60A256E8   call        60A25894
60A256ED   test        eax,eax
60A256EF   pop         ecx
60A256F0   jne         60A256F6
60A256F2   xor         eax,eax
60A256F4   pop         esi
60A256F5   ret
60A256F6   push        edi
60A256F7   mov         dword ptr [eax],esi
60A256F9   cmp         byte ptr [esi],0
guyh, are you certain that this is a plug-ins bug? If so, how have you determined
this? Have you tried deleting your registry, and re-launching? (mozregistry.dat)

There are many known problems with profile crashes in the current builds.
Oh, and thanks. ;)
Eli, do you think we should keep this bug open? Start up crashes may come and go
in course of one day, and they are always fixed in a matter of hours.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Andrei's wish is my command.

guyh, M10 should be coming out soon. Could you please try again with that build,
and delete your mozregistry.dat prior to installing? If it's still happening,
please re-open this bug.

(I believe the problem you're describing is already fixed, but am not certain.)
Status: RESOLVED → VERIFIED
Eli and Andre, I did a find in the installed Moz8 and Moz9 directories on my
disk, and there were NO .dat files except history.dat and panacea.dat there.
Can you give me some background on the known startup crashes and their causes?
I'm a little bewildered because Moz 8 and 9 used to work just fine for me...
Never Mind... Thanks to links from MozillaZine, I saw the posted caveat about
deleting mozprofile.dat from the 'Windows' directory. I did, m10 started up
fine. Please close this "bug". Its nice to see it elevated to Warning comments
in the Mozilla release posts, otherwise it would be known mostly to NS
developers, not the off-campus folks.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.