473,473 Members | 2,169 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Memory Fault

3 New Member
Am getting an error Memory Fault(coreDump)
--------------------------------------------------------------------------------

Am getting the above mentioned error
MemoryFault(Coredump)while running an executable compiled with ProC

what shud i do?
and what can be the cause
Apr 26 '08 #1
2 7820
arne
315 Recognized Expert Contributor
Am getting an error Memory Fault(coreDump)
--------------------------------------------------------------------------------

Am getting the above mentioned error
MemoryFault(Coredump)while running an executable compiled with ProC

what shud i do?
and what can be the cause
When producing a segfault you're typically accessing a memory region that you should not access, e.g. dereferencing a NULL pointer.

The core file that has been produced will give you a clue where the problem lies. (If you're using gcc use the '-g' option for producing debugging info; gdb -c <core file> <executable file> will then help you to identify the problem).

HTH,
arne
Apr 27 '08 #2
gpraghuram
1,275 Recognized Expert Top Contributor
When producing a segfault you're typically accessing a memory region that you should not access, e.g. dereferencing a NULL pointer.

The core file that has been produced will give you a clue where the problem lies. (If you're using gcc use the '-g' option for producing debugging info; gdb -c <core file> <executable file> will then help you to identify the problem).

HTH,
arne
As suggested by arne you can use gdb with core toidentify the problem.
after u have started the program with gdb and core type "where" which will give you the place where the program has crashed

Raghuram
Apr 28 '08 #3

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

Similar topics

0
by: Franz | last post by:
Greetings, I get this error when I run the "mysql_init" command in C. My operating system is QNX. Apart from the obvious - could this be due to bad programming practice? Is there anything I...
7
by: Adi | last post by:
hi guys, i have a weird problem with printf statement. I have a function which just prints a string literal. In my program this function will be called > 2000 times. I get a segmentation fault...
6
by: I_have_nothing | last post by:
Hi! I am new in C. I try to use dynamical allocation fuction malloc( ) and realloc( ). I found something strange. After several calling realloc( ), the malloc( ) will give me a Segmentation...
1
by: andrew browning | last post by:
can someone tell me what a segmentation fault is???? does it mean i am dividing by 0 somewhere?
7
by: Salvador | last post by:
Hi, I am using WMI to gather information about different computers (using win2K and win 2K3), checking common classes and also WMI load balance. My application runs every 1 minute and reports...
3
by: Aptripathi | last post by:
Am getting the above mentioned error MemoryFault(Coredump)while running an executable compiled with ProC what shud i do? and what can be the cause
1
by: =?Utf-8?B?UGV0ZXI=?= | last post by:
I am getting a memory fault exception that I've traced to a TreeView nodes clear method. I am not using unsafe mode and am not doing anything outside normal application programming. ...
3
by: jr.freester | last post by:
I have created to classes Matrix and System. System is made up of type matrix. ---------------------------------------------------------------------------------- class Matrix { private: int...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.