11-28-2014
Can you get a stack trace 'where' from a core dump?
10 More Discussions You Might Find Interesting
1. Linux
Hello all,
I'm trying to use gethostbyname_r function with 6 arguments in one of my functions. But the call to this crashes the program. Kindly help me in resolving this...
Compiler Info:
Linux target: i686-hardhat-linux
version: 3.3.1
The following is the piece of code I'm trying to... (1 Reply)
Discussion started by: rajans
1 Replies
2. Solaris
Hi All,
we have an application that is written in 'C' programming to connects to various servers in the organization.
The bellow code establish a TCP connection to connect to the remote servers. the application works perfectly ok, but, after some time the entire process get's crashed and... (2 Replies)
Discussion started by: sudharma
2 Replies
3. Programming
Hi,
Could anyone tell me the reason why the following program crashes?
class A {
int x;
public:
A() {
cout << "from A()" << endl;
}
~A() {
cout << "from ~A()" << endl;
}
};
class B : public A {
public:
B() {
cout << "from B()"... (2 Replies)
Discussion started by: royalibrahim
2 Replies
4. SuSE
I am running openSUSE 11.2 with KDE4.5 on my eMachines e525. I just did a "zypper up" on my system and it reported that Chromium was going to be updated. I agreed and the when the update was finished I shut down Chromium and started it again. It flickered on the screen for a moment and crashed.... (6 Replies)
Discussion started by: Druonysus
6 Replies
5. Solaris
Production server crashes when there is no traffic on it. Can only recover by going to ALOM and reboot the server. This seems to happen about the same time every month. The only good thing is the server is not in production at the time of the crash.
I have been unable to locate any information in... (5 Replies)
Discussion started by: Joeentech
5 Replies
6. Red Hat
Can someone tell my why every time I try to use 7z it freezes my system? I can't move my mouse, I can't type, I can't kill my xsession. I then restart my system and everything returns to normal. When I try to use 7z my system again freezes. (11 Replies)
Discussion started by: cokedude
11 Replies
7. Programming
Hi,
I am a newbie to linux programming. I have implemented msgqueue in C.
msgrcv() call at the client end is as below:
msgrcv( msgqid, msgptr, msgsize, msgtype, 0 );
My program works fine when msgrcv () from /lib/libc.so.6 is called.
However it crashes when __libc_msgrcv() is called.
... (3 Replies)
Discussion started by: praasanna
3 Replies
8. Programming
Hi,
Can anyone tell me why the below program is crashing? and where exactly it is crashing. What is the corrective measure to be taken to make it work fine?
#include <iostream>
#include <cstring>
using namespace std;
class CString {
char* m_data;
public:
CString() :... (6 Replies)
Discussion started by: royalibrahim
6 Replies
9. Shell Programming and Scripting
I am running a perl/tk function that suddenly crashes in MainLoop. The gui just disappears and an X error is
thrown when the code tries to update the non-existent GUI. Any suggestions to debug the root cause which
destroys the mw gui?
-D- <block name> : <block_name> - 1
-D- row_column_id... (0 Replies)
Discussion started by: bob.pepple
0 Replies
10. UNIX and Linux Applications
I am trying to run apcupsd, but it will not retain contact the UPS
root@meow:/home/ethan/UPS/gapcmon-0.8.9# /etc/init.d/apcupsd start
Starting UPS power management:
A copy of the daemon is still running. If you just stopped it,
please wait about 5 seconds for it to shut down.... (0 Replies)
Discussion started by: Meow613
0 Replies
LEARN ABOUT MOJAVE
observe
observe(n) observe(n)
__________________________________________________________________________________________________________________________________________________
NAME
observe - Runtime debugging output in TkCon
SYNOPSIS
observe command cmdname ?maxlevel?
observe cdelete cmdname
observe cinfo cmdname
observe variable varname operation ?args?
observe vdelete varname operation
observe vinfo varname
_________________________________________________________________
DESCRIPTION
This command provides runtime debugging output for variables and commands without the need to edit your code. For variables, the underly-
ing mechanism uses trace and dump var. For commands, it renames the observed procedure and uses a special wrapper procedure. WARNING:
using this procedure after checkpointing state will result in major problems if you clean state because the renamed (true) commands will be
lost.
This procedure is experimental. Comments are encouraged.
observe command cmdname ?maxlevel?
This will create a wrapper command which prints out (using dump) the call stack to the console. maxlevel represents the maximum
number of levels of the call stack which will be printed (defaults to 4).
observe cdelete cmdname
Removes the wrapper around an observed command.
observe cinfo cmdname
Prints out useless info.
observe variable varname operation ?args?
Currently a wrapper around trace that uses dump to print out the value of the named variable whenever the specified operation on
that variable occurs (must be read, write or unset).
observe vdelete varname operation
Deletes the trace wrapper around the named variable.
observe vinfo varname
Prints out trace info about the named variable.
SEE ALSO
dump(n), idebug(n), tkcon(1), tkcon(n), tkconrc(5)
KEYWORDS
Tk, console, debug
COPYRIGHT
Copyright (c) Jeffrey Hobbs <jeff at hobbs.org>
TkCon 2.5 observe(n)