Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

SUA Core Dump?

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> Windows Server 2003 R2 SUA >> SUA Core Dump? Page: [1]
Login
Message << Older Topic   Newer Topic >>
SUA Core Dump? - Apr. 3, '06, 2:23:47 AM   
shailishi

 

Posts: 15
Joined: Jan. 6, '06,
Status: offline
I am using Windows2003 R2 + SUA SDK installed from microsoft sit. Also i have installed some utilities (including unixODBC, automake, autoconf,libiconv etc) from interop site. I have an application that we are porting to Windows. This application start and run well for some time and then exit by giving core dump. Intially i thought its DEP issues so turned it off on 2003 server. But still i am getting same core dump. while looking the core dump i can see lots of things related to Heap issue...i dont know if this is the problem. Please help ...Thanks
Post #: 1
RE: SUA Core Dump? - Apr. 3, '06, 2:52:05 AM   
Rodney

 

Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: online
What do you mean "looking the core dump i can see lots of things related to Heap issue" ?
We need some details to know what you're basing this on.
Is program written using pthreads?

(in reply to shailishi)
Post #: 2
RE: SUA Core Dump? - Apr. 3, '06, 5:09:51 AM   
shailishi

 

Posts: 15
Joined: Jan. 6, '06,
Status: offline
Yes, we are using pthreads library.
I can see some error like this program cannot be run in DOS mode.
i have added few things from core files below

LDR: LdrpCheckForLoadedDll - Unable To Locate %ws: 0x%08x
LdrLoadDll
LDR: %s - failing because LdrpLoadDll(%wZ) returned status %x
LdrpRunInitializeRoutinesLdrpRunInitializeRoutines
LDR: %s - failed to allocate dynamic array of %u DLL initializers to run
LDR: %s - failed to allocate dynamic array of %u DLL initializers to run
RtlpFindActivationContextSection_CheckParameters
SXS: %s() flags contains return_assembly_metadata but they don't fit in size, re
turn invalid_parameter 0x%08lx.
SVWt6
LDR: Fixups successfully re-applied @ %pLdrpRunInitializeRoutines
LDR: %s - Failed running kernel32 post-import function; status 0x%08lx
|QjU
_LdrpInitialize
LDR: ***NONFATAL*** %s - call to NtDelayExecution waiting on loader lock failed;
ntstatus = %x[%lx,%lx] LDR: Recursive DLL load
[%lx,%lx] Previous DLL being loaded: "%wZ"
[%lx,%lx] DLL being requested: "%wZ"
[%lx,%lx] DLL whose initializer was currently running: "%wZ"
AcMg
_Wj3
SXS: Assembly storage resolution trying %Id roots (-1 is ok)
SXS: Getting assembly storage root #%Iu
|Wj3
SXS: Storage resolution for root number %lu returned blank root; skipping prob
g logic and moving to next.
|Wj3
SXS: Assembly storage map probing root %wZ for assembly directory %wZ
SXS: Found good storage root for %wZ at index %Iu
AcMgNT Kernel Logger
G,PhX4
LDR: Tls Found in %wZ at %p
HEAP[%wZ]:
Invalid flags (%08x) specified to RtlCreateHeap
r h(8
[%x,%x] LDR: Real INIT LIST for process %wZ pid %u 0x%x
[%x,%x] %wZ init routine %p
F,Ph89
ShL9
LDR: %wZ loaded.
- About to call init routine at %p
N,Qd
[%x,%x] LDR: %wZ loaded
- Calling init routine at %p
[%x,%x] LDR: calling init routine %p for DLL_PROCESS_ATTACH
|QjU
[%x,%x] LDR: DLL_PROCESS_ATTACH for dll "%wZ" (InitRoutine: %p) failed
LdrpSnapIAT
|PjU
LdrpSnapIAT
LDR: %s - caught exception %08lx snapping thunks (#1)
LdrpSnapIAT
|PjU
LdrpSnapIAT
LDR: %s - caught exception %08lx snapping thunks (#2)
[%lx,%lx] No DLL initializer was running
QPShd=
[%lx,%lx] No DLL initializer was running
QPShd=
LDR: TlsVector %x Index %d = %x copied from %x to %x
VPWh
LDR: Tls Callbacks Found. Imagebase %p Tls %p CallBacks %p
PWh.>
LDR: Calling Tls Callback Imagebase %p Function %p
LdrpCallTlsInitializers
|u~8
|uvj
|PjU
LdrpCallTlsInitializers
LDR: %s - caught exception %08lx calling TLS callbacks
;E s~
HEAP[%wZ]:
Failed to initialize a new segment (%p)
HEAP[%wZ]:
Abandoning uncommitted range (%p for %x)
,Ph\H
HEAP[%wZ]:
Failing creating uncommitted range (%p for %x)
@ONu
t,!E
9MZu
.txt
.txt2
Wj=3
t!8]
Set 0x%X protection for %p section for %d bytes, old protection 0x%X
Ou"j
YYtHf
CLIENT(ntdll): Tyring to fix protection for %ws section in %wZ module to 0x%X
Vh^T
CLIENT(ntdll): Processing %ws for patching section protection for %wZ
CLIENT(ntdll): Processing section info %ws...
SVhlU
|SVW
@0Vj
It:Iu-;
<qf;}
0f;u
|u f9M
\t:f
/t4f
QQVW
PVhs^
VVVV
_^[]
jPh`b
tAVW
LDR: LdrGetProcedureAddress by
NAME - %s
ORDINAL - %lx
LdrpGetProcedureAddress
XQhFf
|h^f
|PjU
LdrpGetProcedureAddress
LDR: %s - Exception %x thrown by LdrpRunInitializeRoutines

LdrpGetProcedureAddress
LDR: %s - Exception %x thrown by LdrpRunInitializeRoutines
LdrVerifyImageMatchesChecksum
|SjU
LdrVerifyImageMatchesChecksum
LDR: %s - caught exception %08lx while checking image checksums
LdrReadMemory
|PjU
LdrReadMemory
LDR: %s - exception %08lx caught while copying %u bytes from %p to %p
LdrpSendDllNotifications
LdrLockLoaderLock
|PjU
LdrLockLoaderLock
LDR: %s - Caught exception %08lx
LdrUnlockLoaderLock
LdrEnumerateLoadedModules
Ph$p
LDR: LdrGetDllHandle, searching for %wZ from %ws
LDR: UNINIT LIST
(%d) [%ws] %ws (%lx) deinit %lx
p0hTq
LDR: Unmapping [%ws]
LDR: Calling deinit %lx
LdrUnloadDll
|PjU
|PjU
|PjU
LdrUnloadDll
LDR: %s - exception %08lx caught while sending DLL_PROCESS_DETACH
Dll Name: %wZ
InitRoutine: %p
|QjU
LdrpLoadDll
LDR: %s - Dll name missing extension; with extension added the length is too lon
g
DllName: (@ %p) "%wZ"
DllName->Length: %u
PhRt
LDR: LdrLoadDll, loading %ws from %ws
LdrpLoadDll
|ux8
|upj
|PjU
LdrpLoadDll
LDR: %s - Exception %x thrown by LdrpWalkImportDescriptor
LDR: Unloading %wZ due to error %x walking import descriptors
LDR: Unloading %wZ because either its init routine or one of its static imports
failed; status = 0x%08lx
PSSS
AddDrz
PSSS
PSSS
PSSS
PSSS
|n9u
PRRh
LDR: LdrpInitializeProcess() threw an exception: %lu (0x%08lx)
Exception record: .exr %p
Search Path: %wZ
|QjU
|QjU
LdrpInitializeProcess
LDR: %s - unable to set current directory to "%wZ"; status = %x
LdrpInitializeProcess
LDR: %s - unable to set current directory to NtSystemRoot; status = %x
|ut8
|ulj
LdrpInitializeProcess
LDR: %s - unable to allocate heap for the image's .local path
XVhr
LdrpInitializeProcess
LDR: %s - failing because we were unable initialize phase 1 of Applicaiton Veri
ier (ntstatus %x)
LDR: Unable to load kernel32.dll. Status=%x
LDR: Failed to find post-import process init function in kernel32; ntstatus 0x%
8lx
LDR: Failed to find BaseQueryModuleData in kernel32; ntstatus 0x%08lx
LdrpInitializeProcess
LDR: %s - call to LdrpWalkImportDescriptor failed with status %x
|PjU
LdrpInitializeProcess
LDR: %s - call to LdrpSetProtection(%p, FALSE) failed with status %x
LdrpInitializeProcess
LDR: %s - call to LdrRelocateImage failed with status %x
+A4P
LdrpInitializeProcess
LDR: %s - call to LdrpSetProtection(%p, TRUE) failed with status %x
XVhh
LdrpInitializeProcess
LDR: %s - failed to initialize TLS slots; status %x
Pj"j
XVh.
LdrpInitializeProcess
LDR: %s - Failed running initialization routines; status %x
LdrpInitializeProcess
LDR: %s - failed call to NtOpenSymbolicLinkObject with status %x
|u~8
|uvj
XWhp
|PjU
_LdrpInitialize
LDR: %s - Call to NtQueryVirtualMemory failed with ntstaus %x
|uz8
|urj
|PjU
_LdrpInitialize
LDR: %s - call to LdrpInitializeProcess() failed with ntstatus %x
}QhD
LDR: Unable to unprotect IAT to enable tagging by DLL.
|9>u
|SjU
LdrpResolveFullName
LDR: %s - Expanding full name of %wZ
|SjU
LdrpResolveFullName
LDR: %s - Expanded to %wZ
|SjUNTDLL: Calling thread (%X) not owner of CritSect: %p Owner ThreadId: %X
|;H$
@ VQRPh
RTL: Enter Critical Section Timeout (%I64u secs) %d
RTL: Pid.Tid %x.%x, owner tid %x Critical Section %p - ContentionCount == %lu
RTL: Re-Waiting
Initialization stack trace. Use dds to dump it if non-NULL.
Critical section debug info address
Critical section address
undeleted critical section in freed memory
Initialization stack trace. Use dds to dump it if non-NULL.
Address of the debug info found in the active list.
Invalid debug info address of this critical section
Critical section address
corrupted critical section
Second initialization stack trace. Use dds to dump it if non-NULL.
First initialization stack trace. Use dds to dump it if non-NULL.
Address of the debug info found in the active list.
Critical section address.
double initialized or corrupted critical section
t6h`
Initialization stack trace. Use dds to dump it if non-NULL.
Critical section debug info address
Critical section address
Thread identifier
Thread is in a state in which it cannot own a critical section
AVRF: provider %ws was not found in the initialization list
AVRF: provider %ws
YYuU
AVRF: chain: searching in %ws
AVRF: chain: dll: %ws
AVRF: chain: thunk: %s == %s ?
AVRF: Found duplicate for (%ws: %s) in %ws
|u[_^[
AVRF: Checking %ws for duplicate (%ws: %s)
AVRF: Chaining (%ws: %s) to %ws
t6VW
t`Wh
AVRF: AVrfDllUnloadNotification called for a provider (%p)
t&SVW
_^[]
$SVW
AVRF: Unable to unprotect IAT to modify thunks (status %08X).
p0hd
AVRF: Snapped (%ws: %s) with (%ws: %p).
AVRF: internal error: New thunk for %s is null.
AVRF: warning: did not find `%s' export in %ws .
AVRF: (%ws) %s export found.
Pj j
Pj j
AVRF: failed to enable handle checking (status %X)
AVRF: Failed to find verifier.dll among loaded providers!
YYt!
VerifierStopMessage
AVRF: Failed to find `VerifierStopMessage()' export in verifier.dll!
q Ph
===========================================================
Trace database: failed to release segment %p
vWSh@
Trace database: failing attempt to save biiiiig trace (size %u)
UnhandledExceptionFilter
SetUnhandledExceptionFilter
*** Unhandled exception 0x%08lx, hit in %ws:%s
*** enter .exr %p for the exception record
*** enter .cxr %p for the context
*** then kb to get the faulting stack
*** Restarting wait on critsec or resource at %p (in %ws:%s)
*** A stack buffer overrun occurred in %ws:%s
This is usually the result of a memory copy to a local buffer or structure where
the size is not properly calculated/checked.
If this bug ends up in the shipping product, it could be a severe security hole.
The stack trace should show the guilty function (the function directly above __r
eport_gsfailure).
v,hP
*** Resource timeout (%p) in %ws:%s
The resource is owned exclusively by thread %x
~8Ph
The resource is owned shared by %d threads
The resource is unowned. This usually implies a slow-moving machine due to memo
ry pressure
*** Critical Section Timeout (%p) in %ws:%s
The critical section is owned by thread %x.
Go determine why that thread has not released the critical section.
The critical section is unowned. This usually implies a slow-moving machine due
to memory pressure
*** Inpage error in %ws:%s
The instruction at %p referenced memory at %p.
This failed because of error %x.
This means that the I/O device reported an I/O error. Check your hardware.
This means the data could not be read, typically because of a bad block on the d
isk. Check your hardware.
This means the machine is out of memory. Use !vm to see where all the memory is
being used.
*** An Access Violation occurred in %ws:%s
write to
read from
The instruction at %p tried to %s
an invalid address, %p
a NULL pointer
Conflicting descriptors %08lx
Unable to allocate page descriptor
|tM3
PSh@
HEAP %p (Seg %p) At %p Error: %s
Wu&
v IQ@P
%p address isn't from the heap
YYVW
uaVh
%p address isn't from the heap
Error finding block from lookaside %p
Vh.C
Error, block %p from lookaside not found in allocated block list
_^[]
Entry User Heap Size PrevSize Flags
------------------------------------------------------------
busy

(in reply to shailishi)
Post #: 3
RE: SUA Core Dump? - Apr. 3, '06, 1:32:50 PM   
Rodney

 

Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: online
Where are these messages coming from?
Is the program managing it's own heap then?
You say the program is Pthreads, but I see Win32 stuff in the output above.
Is this a mixed-mode application on R2 ?

(in reply to shailishi)
Post #: 4
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> Windows Server 2003 R2 SUA >> SUA Core Dump? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.047