468,107 Members | 1,312 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,107 developers. It's quick & easy.

"Non-continuable xception during process load"

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.
(sd*******@NO-SPAMrogers.com)

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).
Nov 17 '05 #1
2 1715
"thorax" <th****@nospam.nospam> wrote in message
news:MP************************@msnews.microsoft.c om...
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
Nov 17 '05 #2
In article <#$**************@TK2MSFTNGP14.phx.gbl>,
cp*****************************@mvps.org.nospam says...
"thorax" <th****@nospam.nospam> wrote in message
news:MP************************@msnews.microsoft.c om...
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


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.
Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Adrian Parker | last post: by
14 posts views Thread by mirnazim | last post: by
1 post views Thread by JKop | last post: by
1 post views Thread by Mat DeLong | last post: by
15 posts views Thread by Sander Tekelenburg | last post: by
reply views Thread by Robert Oschler | last post: by
8 posts views Thread by Bern McCarty | last post: by
7 posts views Thread by Benton | last post: by
3 posts views Thread by Pierre Barbier de Reuille | last post: by
1 post views Thread by =?Utf-8?B?QWxleCBNYWdoZW4=?= | last post: by
1 post views Thread by Solo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.