469,271 Members | 1,431 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

NTDLL.DLL - Access Violation

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
7 14317
weaknessforcats
9,208 Expert Mod 8TB
Most likely you are making a call to a function in that DLL using an ininitialized pointer.
Aug 14 '07 #2
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
9,208 Expert Mod 8TB
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
Aniths
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
9,208 Expert Mod 8TB
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
Maybe have leak memory in application
Dec 21 '09 #7
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.

Similar topics

15 posts views Thread by Steven Reddie | last post: by
reply views Thread by Steven Reddie | last post: by
7 posts views Thread by Daniel | last post: by
1 post views Thread by Thomas Albrecht | last post: by
2 posts views Thread by Tim Peer | last post: by
2 posts views Thread by Olaf | last post: by
1 post views Thread by ashutosh | last post: by
39 posts views Thread by Martin | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.