Access violation help

S

SteveB

Hello All

I'm getting this chain of errors from an app. I was wondering if anyone
recognised what the problem might relate to. I really need to know if
they point to hardware or software. We are running under Windows Server
2003 with 30 virtual users, although the app falls over after a few
mins and 5 users. It also takes COM+ out and the dllhost process needs
to be stopped via 'end process' in task manager. Any help appreciated.

Cheers

Process: 668
Thread: 5452
Unique Identifier: {927B21B6-B4A9-49F7-B993-4E91FF535B8E}
Exception: 0xc0000005 (EXCEPTION_ACCESS_VIOLATION)
Location: 0x7C82F583
0x7c82f583 ntdll.dll, RtlGetLastWin32Error (+ 192 bytes),
0x7c82ff8a ntdll.dll, RtlAllocateHeap (+ 1421 bytes),
0x7c34218a MSVCR71.dll, free (+ 57 bytes),
0x02b8a1cb CDC.dll, DllUnregisterServer (+ 13627 bytes),
0x02bc913c CDC.dll, DllUnregisterServer (+ 271532 bytes),
0x02b3026e DCC.dll, <unknown symbol>
0x02b3345e DCC.dll, <unknown symbol>
0x02126a85 SOAPPListGenerator_P5.dll, modCreditReport::GenerateReport
(+ 200 bytes), CreditReport.bas, Line 30 (+ 50 bytes)
0x0211d2c4 SOAPPListGenerator_P5.dll,
clsBSBBlock::ISOAPJob_PerformSOAPJob (+ 1434 bytes),
clsBureauSummaryBlock.cls, Line 133
0x00d0652a ZJobController.dll, CSOAPJobPerformer::ExecuteSOAPJob (+ 164
bytes), SOAPJobPerformer.cpp, Line 868 (+ 48 bytes)
0x00d058d4 ZJobController.dll,
CSOAPJobPerformer::ValidateAndExecuteSOAPJob (+ 582 bytes),
SOAPJobPerformer.cpp, Line 509 (+ 15 bytes)

Process: 668
Thread: 5452
Unique Identifier: {8283205F-C91A-4D00-86E3-027ADAD77527}
Exception: 0xc0000005 (EXCEPTION_ACCESS_VIOLATION)
Location: 0x7C812009
0x7c812009 ntdll.dll, RtlInitializeSListHead (+ 417 bytes),
0x7c3416b3 MSVCR71.dll, _crtLCMapStringA (+ 773 bytes),
0x7c3416db MSVCR71.dll, _crtLCMapStringA (+ 813 bytes),
0x033685f0 <unknown module>, <unknown symbol>
0x02a00100 <unknown module>, <unknown symbol>
0x02e6c0ff BsbBlockGenerator.dll, CConcept_ZQB_1::CalculateData (+ 95
bytes),


We also get this regularly:

Process: 5912
Thread: 6176
Unique Identifier: {EEB5548C-8E3B-4286-B66F-FE496E09C412}
Exception: 0xc0000005 (EXCEPTION_ACCESS_VIOLATION)
Location: 0x7C8327F9
0x7c8327f9 ntdll.dll, RtlInitializeCriticalSection (+ 60 bytes),
0x7c82ff8a ntdll.dll, RtlAllocateHeap (+ 1421 bytes),
0x7c34218a MSVCR71.dll, free (+ 57 bytes),
0x0302e032 DCC.dll, <unknown symbol>
0x0303345e DCC.dll, <unknown symbol>
0x02526a85 SOAPPListGenerator_P5.dll, modCreditReport::GenerateReport
(+ 200 bytes), CreditReport.bas, Line 30 (+ 50 bytes)
0x0251d2c4 SOAPPListGenerator_P5.dll,
clsBSBBlock::ISOAPJob_PerformSOAPJob (+ 1434 bytes),
clsBureauSummaryBlock.cls, Line 133
0x00d0652a ZJobController.dll, CSOAPJobPerformer::ExecuteSOAPJob (+ 164
bytes), SOAPJobPerformer.cpp, Line 868 (+ 48 bytes)
0x00d058d4 ZJobController.dll,
CSOAPJobPerformer::ValidateAndExecuteSOAPJob (+ 582 bytes),
SOAPJobPerformer.cpp, Line 509 (+ 15 bytes)
0x00d061cd ZJobController.dll, CSOAPJobPerformer::performGenericSOAPJob
(+ 1917 bytes), SOAPJobPerformer.cpp, Line 740 (+ 15 bytes)
0x00d05509 ZJobController.dll,
CSOAPJobPerformer::performGenericSOAPAPIJob (+ 632 bytes),
SOAPJobPerformer.cpp, Line 340
..
 
M

mlimber

SteveB said:
I'm getting this chain of errors from an app. I was wondering if anyone
recognised what the problem might relate to. [snip]
Exception: 0xc0000005 (EXCEPTION_ACCESS_VIOLATION)
[snip]

That's an indication of a wayward pointer in software. Either you went
ouside the bounds of an array or you dereferenced a null or invalid
pointer. The actual pointer error may be in a part of code unrelated to
where the error appears.

Cheers! --M
 
V

Victor Bazarov

SteveB said:
I'm getting this chain of errors from an app. I was wondering if
anyone recognised what the problem might relate to. I really need to
know if they point to hardware or software. We are running under
Windows Server 2003 with 30 virtual users, although the app falls
over after a few mins and 5 users. It also takes COM+ out and the
dllhost process needs to be stopped via 'end process' in task
manager. Any help appreciated.

[..Windows-specific COM-specific errors..]

Wrong newsgroup. Try a newsgroup with 'microsoft' it its name.

V
 
S

Salt_Peter

SteveB said:
Hello All

I'm getting this chain of errors from an app. I was wondering if anyone
recognised what the problem might relate to. I really need to know if
they point to hardware or software. We are running under Windows Server
2003 with 30 virtual users, although the app falls over after a few
mins and 5 users. It also takes COM+ out and the dllhost process needs
to be stopped via 'end process' in task manager. Any help appreciated.

<snip>

Take a look at the addresses:
Location: 0x7C82F583
0x7c82f583 ntdll.dll, RtlGetLastWin32Error (+ 192 bytes),
Location: 0x7C812009
0x7c812009 ntdll.dll, RtlInitializeSListHead (+ 417 bytes),
Location: 0x7C8327F9
0x7c8327f9 ntdll.dll, RtlInitializeCriticalSection (+ 60 bytes),

Locations: 0x7C82F583, 0x7C812009, 0x7C8327F9
Thats might, though not neccessarily, indicate faulty RAM. Try
reseating the memory and running a full docmem test or better: swap the
memory.
 
H

Howard

Salt_Peter said:
<snip>

Take a look at the addresses:




Locations: 0x7C82F583, 0x7C812009, 0x7C8327F9
Thats might, though not neccessarily, indicate faulty RAM. Try
reseating the memory and running a full docmem test or better: swap the
memory.

What kind of advice is that? Why would those addresses indicate faulty RAM,
or a poorly seated memory chip? It's generally not a good idea for most
users to fool around with hardware, unless they know what they're doing.
It's quite easy to destroy a chip through static electricity by mishandling.

Look at the rest of that info. Those are functions in the dynamic library
"ntdll.dll", and are part of the "run time library" (this the "Rtl" prefix).
That's why they occuppy nearby addresses, not because the chip is bad (most
likely). A bad chip is more likely to freeze the computer entirely, not
throw an access violation exception.

It's far more likely to be a bug in the OP's code. (OP: Check
"GenerateReport" and "CalculateData".)

Given that the OP's code appears to be in a DLL, it may be that an exception
thrown there is not being caught and handled. In Windows, it's an error to
allow an unhandled exception to propogate out of a DLL. (OP: in those
functions, make sure you handle any exceptions that might get thrown.)

-Howard
 
J

Jim Langston

SteveB said:
Hello All

I'm getting this chain of errors from an app. I was wondering if anyone
recognised what the problem might relate to. I really need to know if
they point to hardware or software. We are running under Windows Server
2003 with 30 virtual users, although the app falls over after a few
mins and 5 users. It also takes COM+ out and the dllhost process needs
to be stopped via 'end process' in task manager. Any help appreciated.

Cheers

Process: 668
Thread: 5452
Unique Identifier: {927B21B6-B4A9-49F7-B993-4E91FF535B8E}
Exception: 0xc0000005 (EXCEPTION_ACCESS_VIOLATION)
Location: 0x7C82F583
0x7c82f583 ntdll.dll, RtlGetLastWin32Error (+ 192 bytes),
0x7c82ff8a ntdll.dll, RtlAllocateHeap (+ 1421 bytes),

Here the error is in the call RtlGetLastWin32Error, which doesn't tell you
much, but the call before that was RtlAllocateHeap. Perhaps you've run out
of system memory. (Just a guess).
0x7c34218a MSVCR71.dll, free (+ 57 bytes),
0x02b8a1cb CDC.dll, DllUnregisterServer (+ 13627 bytes),
0x02bc913c CDC.dll, DllUnregisterServer (+ 271532 bytes),
0x02b3026e DCC.dll, <unknown symbol>
0x02b3345e DCC.dll, <unknown symbol>
0x02126a85 SOAPPListGenerator_P5.dll, modCreditReport::GenerateReport
(+ 200 bytes), CreditReport.bas, Line 30 (+ 50 bytes)
0x0211d2c4 SOAPPListGenerator_P5.dll,
clsBSBBlock::ISOAPJob_PerformSOAPJob (+ 1434 bytes),
clsBureauSummaryBlock.cls, Line 133
0x00d0652a ZJobController.dll, CSOAPJobPerformer::ExecuteSOAPJob (+ 164
bytes), SOAPJobPerformer.cpp, Line 868 (+ 48 bytes)
0x00d058d4 ZJobController.dll,
CSOAPJobPerformer::ValidateAndExecuteSOAPJob (+ 582 bytes),
SOAPJobPerformer.cpp, Line 509 (+ 15 bytes)

Process: 668
Thread: 5452
Unique Identifier: {8283205F-C91A-4D00-86E3-027ADAD77527}
Exception: 0xc0000005 (EXCEPTION_ACCESS_VIOLATION)
Location: 0x7C812009
0x7c812009 ntdll.dll, RtlInitializeSListHead (+ 417 bytes),
0x7c3416b3 MSVCR71.dll, _crtLCMapStringA (+ 773 bytes),
0x7c3416db MSVCR71.dll, _crtLCMapStringA (+ 813 bytes),
0x033685f0 <unknown module>, <unknown symbol>
0x02a00100 <unknown module>, <unknown symbol>
0x02e6c0ff BsbBlockGenerator.dll, CConcept_ZQB_1::CalculateData (+ 95
bytes),


We also get this regularly:

Process: 5912
Thread: 6176
Unique Identifier: {EEB5548C-8E3B-4286-B66F-FE496E09C412}
Exception: 0xc0000005 (EXCEPTION_ACCESS_VIOLATION)
Location: 0x7C8327F9
0x7c8327f9 ntdll.dll, RtlInitializeCriticalSection (+ 60 bytes),
0x7c82ff8a ntdll.dll, RtlAllocateHeap (+ 1421 bytes),

Hmm... RtlAllocateHeap again. How much memory does your server have?
0x7c34218a MSVCR71.dll, free (+ 57 bytes),
0x0302e032 DCC.dll, <unknown symbol>
0x0303345e DCC.dll, <unknown symbol>
0x02526a85 SOAPPListGenerator_P5.dll, modCreditReport::GenerateReport
(+ 200 bytes), CreditReport.bas, Line 30 (+ 50 bytes)
0x0251d2c4 SOAPPListGenerator_P5.dll,
clsBSBBlock::ISOAPJob_PerformSOAPJob (+ 1434 bytes),
clsBureauSummaryBlock.cls, Line 133
0x00d0652a ZJobController.dll, CSOAPJobPerformer::ExecuteSOAPJob (+ 164
bytes), SOAPJobPerformer.cpp, Line 868 (+ 48 bytes)
0x00d058d4 ZJobController.dll,
CSOAPJobPerformer::ValidateAndExecuteSOAPJob (+ 582 bytes),
SOAPJobPerformer.cpp, Line 509 (+ 15 bytes)
0x00d061cd ZJobController.dll, CSOAPJobPerformer::performGenericSOAPJob
(+ 1917 bytes), SOAPJobPerformer.cpp, Line 740 (+ 15 bytes)
0x00d05509 ZJobController.dll,
CSOAPJobPerformer::performGenericSOAPAPIJob (+ 632 bytes),
SOAPJobPerformer.cpp, Line 340

It sounds like the application is trying to allocate memory, but there is a
problem (maybe not enough memory, object too big, whatever) and it sounds
like that Microsoft is not handling the error correctly.

Try seeing how much memory the application is using.
 
S

SteveB

Jim said:
Here the error is in the call RtlGetLastWin32Error, which doesn't tell you
much, but the call before that was RtlAllocateHeap. Perhaps you've run out
of system memory. (Just a guess).


Hmm... RtlAllocateHeap again. How much memory does your server have?


It sounds like the application is trying to allocate memory, but there is a
problem (maybe not enough memory, object too big, whatever) and it sounds
like that Microsoft is not handling the error correctly.

Try seeing how much memory the application is using.

The apps are fine - the servers have 4 gig
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top