473,382 Members | 1,710 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

NTDLL.DLL - Access Violation


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 14584
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
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
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
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

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

Similar topics

by: Steven Reddie | last post by:
I understand that access violations aren't part of the standard C++ exception handling support. On Windows, a particular MSVC compiler option enables Microsoft's Structured Exception Handling...
by: Steven Reddie | last post by:
In article <slrnbnj19j.av.juergen@monocerus.manannan.org>, Juergen Heinzl wrote: >In article <f93791bd.0309282133.650da850@posting.google.com>, Steven Reddie wrote: >> I understand that access...
by: Daniel | last post by:
I want to write a method to remove the last node of the linked list. But the error "Access Violation" exists and the error point to this method. What does it means by Access Violation and how can...
by: Thomas Albrecht | last post by:
My application fails during initialization of the dlls with an ExecutionEngineException and a access violation in the MFC app. The structure of the program looks like: MFC app -> mixed DLL ->...
by: Tim Peer | last post by:
Are the debug symbols for 'c:\WINNT\system32\NTDLL.DLL' available anywhere? I am debugging a multi-threaded application and it appears to get hang in NTDLL. Any help would be appreciated. ...
by: BillyO | last post by:
In the attached code fragment I have a buffer overflow and a memory access violation. When I run the code .Net fails to verify the IL because of the buffer overflow and I get an exception as...
by: Olaf | last post by:
I'm writing an application that can disable and enable a given network adapter (NIC) using C#. I realize that this can be handled using netsh.exe, but I don't want to call a process for an...
by: ashutosh | last post by:
Hello all Fellow Programmers! I am making a Dll which Use Symbol from Kernel.dll or rather say NTDLL.dll. every time i execute my Exe it fails on symbol(Function) exported by Ntdll.dll when I...
by: Martin | last post by:
I have an intranet-only site running in Windows XPPro, IIS 5.1, PHP 5.2.5. I have not used or changed this site for several months - the last time I worked with it, all was well. When I tried it...
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.