473,386 Members | 2,042 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,386 software developers and data experts.

Coredump/backtrace


Hi, how can I manualy dump a backtrace and/or coredump to a file and/or
console?

Can I do it without aborting the program?
--
~~~~=~~~~l_;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
_|\___J \____, Pozdrawiam, moje www, C++, kontakt, itd.:
X-( ssn256 ) Rafal Maj Raf256 - http://www.raf256.com/me-news/
,"-------------" (strona w budowie)
Nov 14 '05 #1
2 1991
On 11 Apr 2005 11:25:40 GMT, "Rafal 'Raf256' Maj" <sp**@raf256.com> wrote:

Hi, how can I manualy dump a backtrace and/or coredump to a file and/or
console?


We have no idea. The C language doesn't include any information about
backtracing or core dumping.

You may want to ask on a unix group (such as comp.unix.programmer) or a GCC
newsgroup (gnu.gcc)

Nov 14 '05 #2
Rafal 'Raf256' Maj wrote:
Hi, how can I manualy dump a backtrace and/or coredump to a file and/or
console?

Can I do it without aborting the program?


try gcore
Nov 14 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Tim Tyler | last post by:
I'm getting fatal errors when executing code - and my error handler is failing to trap them - so I get no stack backtrace :-( The error I am getting is: "Fatal error: Call to a member function...
0
by: dsclements | last post by:
>Description: I'm running mysql in a 3 server configuration, with 2 servers being slaves to the first. I'm running vpopmail, which means a connection every incoming mail and every check. I woke up...
2
by: nrhayyal | last post by:
hi guys, i am using AIX 5.2 OS and working on c++ and the compiler is gcc-3.3.2 i have a c++ application which was developed on solaris. now i am porting it to AIX. most of my modules work fine....
13
by: tomy | last post by:
Hi all: There is an amazing coredump in my C code, I was thinking it over and over... The code is simple as below: //************************************* const unsigned long int len =...
0
by: linbl352 | last post by:
When I executed a MYSQL query command, a coredump cames out. But not all the time, it means the program will appear core dump sometimes. Does anybody can tell me why it happens? The following is the...
0
by: coolvinayak | last post by:
The backtrace() provides complete stacktrace. Using backtrace_symbols(), stacktrace can be printed as: ./build/gtest(func1_name+0x129) ./build/gtest(func2_name+0x193) ...
3
by: cgable2003 | last post by:
I copied this code fragment from http://www.gnu.org/software/libc/manual/html_node/Backtraces.html #include <execinfo.h> #include <stdio.h> #include <stdlib.h> /* Obtain a backtrace and print...
18
by: sophia | last post by:
Dear all, can any one suggest ways of implementing a backtrace function in ANSI/ standard C as given in the following link ? ...
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
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
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
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...

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.