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

Memory Fault

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 7808
arne
315 Expert 100+
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 Expert 1GB
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
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...
0
isladogs
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 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.