By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,501 Members | 2,871 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,501 IT Pros & Developers. It's quick & easy.

NTDLL.DLL - Access Violation

P: 11
Hello,

I am using MS VC++ 6.0 in a win xp sp2 os. I'm getting a error NTDLL.DLL - 0xC00000005: Access Violation.

Can any one tell me whats this error means?

Is there any patch related problem. I'm not getting this error in all the machines. Is it related to the OS that executable is running..


Please help..

Thanks & Regards,

Sourav Mallik.
Aug 14 '07 #1
Share this Question
Share on Google+
7 Replies


weaknessforcats
Expert Mod 5K+
P: 9,197
Most likely you are making a call to a function in that DLL using an ininitialized pointer.
Aug 14 '07 #2

P: 11
Most likely you are making a call to a function in that DLL using an ininitialized pointer.
Okya, so what I need to do.. as I'm not calling the function. I can see the dll being referenced from the call stack. But how can I solve it...

Please help...
Aug 14 '07 #3

weaknessforcats
Expert Mod 5K+
P: 9,197
Someone's calling a function in the DLL.

At the point of failure, the access violation, can you see the call stack with your debugger?? That might be the clue here.
Aug 15 '07 #4

P: 1
Even i am facing a similar kind of problem.This is my stack info when the exeption occurs.And while debugging, i found that dynamic memory allocation is failing, and it gives an NTDLL access violation.Pls provide me with a solution.


NTDLL! 7c91b3fb()
NTDLL! 7c96d6aa()
NTDLL! 7c949d18()
NTDLL! 7c91b298()
_heap_alloc_base(unsigned int 34608) line 161
_heap_alloc_dbg(unsigned int 34560, int 1, const char * 0x00000000, int 0) line 367 + 9 bytes
_nh_malloc_dbg(unsigned int 34560, int 0, int 1, const char * 0x00000000, int 0) line 242 + 21 bytes
malloc(unsigned int 34560) line 130 + 21 bytes
Demod(double * 0x0004c4f0, unsigned long 47520, unsigned short * 0x0003b420, short * 0x0004b458, short * 0x0004b454) line 53 + 21 bytes
Dec(double * 0x014a0068, unsigned short 1) line 320 + 55 bytes
Rec(double * 0x00550040, unsigned long 51870) line 260 + 14 bytes
main_funct() line 69 + 13 bytes
main() line 31
mainCRTStartup() line 206 + 25 bytes
KERNEL32! 7c816fd7()
Aug 17 '07 #5

weaknessforcats
Expert Mod 5K+
P: 9,197
malloc(unsigned int 34560) line 130 + 21 bytes
Demod(double * 0x0004c4f0, unsigned long 47520, unsigned short * 0x0003b420, short * 0x0004b458, short * 0x0004b454) line 53 + 21 bytes
It looks like a malloc() on line 130 of the Demod() function. Do you have a code snippet of that area?
Aug 18 '07 #6

P: 2
Maybe have leak memory in application
Dec 21 '09 #7

P: 2
You should check source code to find any pointer (ex, byte array) having out-of-range memory accesses.
Dec 22 '09 #8

Post your reply

Sign in to post your reply or Sign up for a free account.