473,394 Members | 1,761 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,394 software developers and data experts.

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

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

Similar topics

15
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...
0
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...
7
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...
1
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 ->...
2
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. ...
1
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...
2
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...
1
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...
39
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.