Re: At a loss

From: Murrgon (murrgon_at_hotmail.com)
Date: 09/07/04


Date: Tue, 07 Sep 2004 15:19:13 -0400

Okay, this is what I got from your suggestion:

F:\WorkRoot\Igor\SystemD>\devtools\windebugtools\cdb consoletest.exe

Microsoft (R) Windows Debugger Version 6.3.0017.0
Copyright (c) Microsoft Corporation. All rights reserved.

CommandLine: consoletest.exe
Symbol search path is: *** Invalid ***
****************************************************************************
* Symbol loading may be unreliable without a symbol search path. *
* Use .symfix to have the debugger choose a symbol path. *
* After setting your symbol path, use .reload to refresh symbol locations. *
****************************************************************************
Executable search path is:
ModLoad: 00400000 00439000 ConsoleTest.exe
ModLoad: 77f80000 77ffd000 ntdll.dll
ModLoad: 10000000 100f5000 F:\WorkRoot\Igor\SystemD\IgorKernel.dll
ModLoad: 7c570000 7c628000 C:\WINNT\system32\KERNEL32.dll
ModLoad: 77820000 77827000 C:\WINNT\system32\VERSION.dll
ModLoad: 759b0000 759b6000 C:\WINNT\system32\LZ32.DLL
ModLoad: 77e10000 77e75000 C:\WINNT\system32\USER32.dll
ModLoad: 77f40000 77f7e000 C:\WINNT\system32\GDI32.DLL
(74.280): Break instruction exception - code 80000003 (first chance)
eax=00000000 ebx=00131f04 ecx=00000009 edx=00000000 esi=7ffdf000
edi=00131f78
eip=77f813b1 esp=0012f984 ebp=0012fc98 iopl=0 nv up ei pl nz na
pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000
efl=00000202
*** ERROR: Symbol file could not be found. Defaulted to export symbols
for ntdll.dll -
ntdll!DbgBreakPoint:
77f813b1 cc int 3
0:000> ~*kb

. 0 Id: 74.280 Suspend: 1 Teb: 7ffde000 Unfrozen
ChildEBP RetAddr Args to Child
WARNING: Stack unwind information not available. Following frames may be
wrong.
0012fc98 77f916cb 0012fd30 00000000 0012fcfc ntdll!DbgBreakPoint
0012fd1c 77f9ff3b 0012fd30 77f80000 00000000
ntdll!CsrClientConnectToServer+0x145
00000000 00000000 00000000 00000000 00000000 ntdll!KiUserApcDispatcher+0x7

Ivan Brugiolo [MSFT] wrote:
> This looks like a global-object intialization problem in some DLL.
> The global order of initialization of global / static objects
> is not guaranteed, and it's guaranteed only within a compilation unit.
> Global objects are initialized before your entry-point is reached,
> and it's performed by the CRT_INIT function of all your modules
> who have separate instances of the C-Rutnime linked.
>
> Can you start your process under debugger
> c:\debuggers>cdb.exe YourApp.exe
> and report what the stack looks like (the '~*kb' command with good symbols)
> when you crash ?
>



Relevant Pages

  • Re: At a loss
    ... it's not a crash. ... > Executable search path is: ... > ModLoad: 00400000 00439000 ConsoleTest.exe ... >> This looks like a global-object intialization problem in some DLL. ...
    (microsoft.public.vc.language)
  • Re: At a loss
    ... Symbol search path is: C:\WINNT\Symbols ... Executable search path is: ... ModLoad: 00400000 00439000 ConsoleTest.exe ... > This looks like a global-object intialization problem in some DLL. ...
    (microsoft.public.vc.language)
  • Re: Debug OK! Release Wrong! - ntdll.dll heap manager
    ... Microsoft Windows Debugger Version 6.9.0003.113 X86 ... Copyright Microsoft Corporation. ... Executable search path is: ... ModLoad: 00400000 00648000 Motion.exe ...
    (microsoft.public.vc.language)
  • Re: VS2003 hangs creating ASP.NET webservice
    ... Microsoft Windows Debugger Version 6.6.0007.5 ... Copyright Microsoft Corporation. ... ModLoad: 509d0000 509f5000 C:\Program Files\Microsoft Visual Studio ...
    (microsoft.public.vsnet.general)
  • Re: Add Printer Wizard and Spooler Subsystem
    ... ModLoad: 7c900000 7c9b0000 C:\WINDOWS\system32\ntdll.dll ... Windows Printing Team ... AcGenral.DLL Windows Compatibility DLL Microsoft Corporation ...
    (microsoft.public.windowsxp.print_fax)