"Non-continuable xception during process load"

  • Thread starter Thread starter thorax
  • Start date Start date
T

thorax

I'm having problems running a release build of an
application. The application is a native C++ .NET 2003
MFC application which links to a number of other DLLs,
one of which is mixed (SLGSE.dll) (VB.NET/C++). Most of
the DLLS are statically linked to the main exe (directly
or indirectly) but a few are dynamically linked at
runtime.

When I try and run the app, it gets "An unhandled non-
continuable exception was thrown during process load"
and it exits before it starts. (Fwiw, XP SP2)

I've removed all traces of winmm.lib and taken the steps
in MSDN 814472 but it hasn't helped. A debug build of
the same app works. Any thoughts or hints on debugging
this would be appreciated.

Thanks in advance.

Steve.
([email protected])

P.S. I've included the Output window contents below:

'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\MOSAIDTestController.exe', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\WINDOWS\SYSTEM32
\ntdll.dll', No symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\WINDOWS\SYSTEM32
\kernel32.dll', No symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\SLCAPI.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\SLTSCommon.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\WINDOWS\SYSTEM32
\MFC71.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\WINDOWS\SYSTEM32
\msvcr71.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\WINDOWS\SYSTEM32
\gdi32.dll', No symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\WINDOWS\SYSTEM32
\user32.dll', No symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\WINDOWS\SYSTEM32
\shlwapi.dll', No symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\WINDOWS\SYSTEM32
\msvcrt.dll', No symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\WINDOWS\SYSTEM32
\advapi32.dll', No symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\WINDOWS\SYSTEM32
\rpcrt4.dll', No symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\WINDOWS\SYSTEM32
\oleaut32.dll', No symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\WINDOWS\SYSTEM32
\ole32.dll', No symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\SLPatternSequence.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\SLSystemLibrary.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\WINDOWS\SYSTEM32
\shell32.dll', No symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\WINDOWS\SYSTEM32
\odbc32.dll', No symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\WINDOWS\SYSTEM32
\comctl32.dll', No symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\WINDOWS\SYSTEM32
\comdlg32.dll', No symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\WINDOWS\SYSTEM32
\version.dll', No symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\SLAppBase.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\SLUserLibraryBase.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\SLTOTS.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\ts_tst.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\tscsmp.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\ts.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\ts_pit.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\tspwr.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\tsdrv.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\tshal.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\WINDOWS\SYSTEM32
\setupapi.dll', No symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\WINDOWS\SYSTEM32
\msvcp71.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\ts_pin.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\tspgn.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\ts_tgn.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\tspin.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\ts_tif.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\ts_cif.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\tscal.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\tsvcal.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\fs.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\SLWindowServices.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\SLSystemResources.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\SLUIControls.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\SLGroupBase.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\SLGlobal.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\ts_tst_6.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\ts_pla.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\ts_tgn_6.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\ts_pin_6.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\ts_tst_4.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\CLMPSCSI.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\SLSequenceUserDefined.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\SLSequence.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\SLSequenceRange.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\SLPatternDebugger.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\SLTestBase.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\RBResultBase.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\SLGlobalSet.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\TS_DIM.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\SLSequenceVectorLists.dll', Symbols loaded.
[SLGSE is a mixed DLL]
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\SLGSE.dll', Symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\WINDOWS\SYSTEM32
\mscoree.dll', No symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\WINDOWS\SYSTEM32
\MFC71ENU.DLL', No symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\WINDOWS\WinSxS
\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_
6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll', No symbols
loaded.
'MOSAIDTestController.exe': Loaded 'C:\WINDOWS\SYSTEM32
\odbcint.dll', No symbols loaded.
'MOSAIDTestController.exe': Loaded 'C:\msdwin32\Release
\UCALC32.DLL', No symbols loaded.
'MOSAIDTestController.exe': Unloaded 'C:\WINDOWS
\SYSTEM32\mscoree.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\SLSequence.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\SLPatternDebugger.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\TS_DIM.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\SLTestBase.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\SLGlobalSet.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\RBResultBase.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\SLSequenceRange.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\SLTOTS.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\ts_tst.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\tscsmp.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\ts_tst_4.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\CLMPSCSI.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\ts.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\ts_tst_6.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\ts_tgn_6.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\ts_pin_6.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\ts_pla.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\fs.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\SLWindowServices.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\SLGroupBase.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\SLGlobal.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\SLSystemResources.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\SLUIControls.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\tscal.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\tsvcal.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\ts_pit.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\tspgn.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\ts_cif.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\ts_tgn.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\tspin.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\ts_tif.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\tspwr.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\ts_pin.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\tsdrv.dll'
'MOSAIDTestController.exe': Unloaded 'C:\WINDOWS
\SYSTEM32\msvcp71.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\tshal.dll'
'MOSAIDTestController.exe': Unloaded 'C:\WINDOWS
\SYSTEM32\setupapi.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\SLSystemLibrary.dll'
'MOSAIDTestController.exe': Unloaded 'C:\WINDOWS
\SYSTEM32\version.dll'
'MOSAIDTestController.exe': Unloaded 'C:\WINDOWS
\SYSTEM32\odbc32.dll'
'MOSAIDTestController.exe': Unloaded 'C:\WINDOWS
\SYSTEM32\comdlg32.dll'
'MOSAIDTestController.exe': Unloaded 'C:\WINDOWS
\SYSTEM32\shell32.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\SLTSCommon.dll'
'MOSAIDTestController.exe': Unloaded 'C:\WINDOWS
\SYSTEM32\MFC71.dll'
'MOSAIDTestController.exe': Unloaded 'C:\WINDOWS
\SYSTEM32\msvcr71.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\UCALC32.DLL'
'MOSAIDTestController.exe': Unloaded 'C:\WINDOWS
\SYSTEM32\oleaut32.dll'
'MOSAIDTestController.exe': Unloaded 'C:\WINDOWS
\SYSTEM32\ole32.dll'
'MOSAIDTestController.exe': Unloaded 'C:\WINDOWS
\SYSTEM32\odbcint.dll'
'MOSAIDTestController.exe': Unloaded 'C:\WINDOWS
\SYSTEM32\MFC71ENU.DLL'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\SLGSE.dll'
Debugger:: An unhandled non-continuable exception was
thrown during process load
The program '[3712] MOSAIDTestController.exe: Native'
has exited with code -1073741819 (0xc0000005).
 
thorax said:
I'm having problems running a release build of an
application. The application is a native C++ .NET 2003
MFC application which links to a number of other DLLs,
one of which is mixed (SLGSE.dll) (VB.NET/C++). Most of
the DLLS are statically linked to the main exe (directly
or indirectly) but a few are dynamically linked at
runtime.

It's an access violation that's causing your ills (status code 0xc0000005).
I'd be suspicious of the startup code in UCALC32.DLL since that's the last
DLL loaded before everything comes undone.

-cd
 
It's an access violation that's causing your ills (status code 0xc0000005).
I'd be suspicious of the startup code in UCALC32.DLL since that's the last
DLL loaded before everything comes undone.

-cd

I removed ucalc32.dll and the same problem exists except
that now it starts unwinding after odbcint.dll:

'MOSAIDTestController.exe': Loaded 'C:\WINDOWS\WinSxS
\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_
6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll', No symbols
loaded.
'MOSAIDTestController.exe': Loaded 'C:\WINDOWS\SYSTEM32
\odbcint.dll', No symbols loaded.
'MOSAIDTestController.exe': Unloaded 'C:\WINDOWS
\SYSTEM32\mscoree.dll'
'MOSAIDTestController.exe': Unloaded 'C:\msdwin32
\Release\SLSequence.dll'

Thanks.

Steve.
 
Back
Top