backtrace Questions

1

Solved

I have been working in a Big C++ project, which has a huge source of size nearly 300 MB and more than 800 Files. I want to get the Call Stack when the Binary Crashes, so i have captured the Signal ...
Doody asked 10/12, 2013 at 9:54

2

Solved

In my application I have setup signal handler to catch Segfaults, and print bactraces. My application loads some plugins libraries, when process starts. If my application crashes with a segfault, ...
Dodona asked 19/9, 2013 at 10:18

2

In the man page, the backtrace() function on Linux says: Note that names of "static" functions are not exposed, and won't be available in the backtrace. However, with debugging symbols enable...
Irremovable asked 8/9, 2013 at 1:34

5

Solved

I have a plugin that access the length property on many elements. However, the javascript console points to line 12 of jquery.min.js. How can I backtrace to find the offending line in my plugin?
Gibbous asked 14/6, 2010 at 19:0

2

I need to get the information provided by addr2line (source file and line from backtracing a function call) from within a C++ program. I know I can call addr2line directly as a subprocess and I kno...
Dramatist asked 19/7, 2012 at 7:58

1

I have a core dump and I am looking at the core dump with gdb. I was wondering if there is a way to be able to examine the value of a boost::any value in gdb? In the core, I had the address to th...
Ancon asked 14/12, 2012 at 20:42

1

Solved

I'm trying to learn how to understand crash logs better and am doing OK so far. I've noticed one part that wasn't explained in Diagnosing Issues Using Crash Reports and Device Logs. This is the + n...
Rafi asked 14/1, 2013 at 9:54

1

Solved

I am developing a game on android using native C++ and NDK(with eclipse) to build it. I found very difficult to debug the native c++ code with eclipse and NDK when it hits a crash, is there any way...
Meantime asked 18/12, 2012 at 0:33

2

Solved

Looking at this question and this question I can see that for backtrace_symbols() to work, one must compile with the -rdynamic flag. I've tried it into a test program and it works, but I'm writing...
Tsarina asked 9/11, 2012 at 12:9

3

I have a test more or less like this: class FormDefinitionTest < ActiveSupport::TestCase context "a form_definition" do setup do @definition = SeedData.form_definition # ... I've purposel...
Alixaliza asked 18/11, 2010 at 11:26

1

Solved

The Call Trace contains entries like that: [<deadbeef>] FunctionName+0xAB/0xCD [module_name] [<f00fface>] ? AnotherFunctionName+0x12/0x40 [module_name] [<deaffeed>] ClearFunct...
Aleurone asked 28/10, 2012 at 21:53

4

I am trying to make sense out of the executable code that GCC (4.4.3) is generating for an x86_64 machine running under Ubuntu Linux. In particular, I don't understand how the code keeps track of s...
Abdullah asked 24/12, 2011 at 15:28

2

I use BrB to share a datasource for various worker processes in Ruby 1.9 that I fork with Process#fork: Thread.abort_on_exception = true fork do puts "Initializing data source process... (PID: #...
Acquit asked 30/6, 2010 at 20:40

2

Solved

I am using backtrace() and backtrace_symbols() to output backtrace on SIGSEGV and other signals in format like this: 0: [0xb750818] 1: /opt/server/libQtScript.so.4(+0x6f42a) [0xb782c42a] 2: /opt/s...
Danika asked 10/4, 2012 at 13:40

1

Solved

Using gcc 4.6.2, make_shared() gives a useless backtrace (apparently due to some rethrow) if a constructor throws an exception. I'm using make_shared() to save a bit of typing, but this is show sto...
Plaything asked 10/2, 2012 at 19:8

2

Solved

I'm using backtrace to print application's stack trace and I'm getting something like libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x843) [0x7f889d20cf33] libQtGui.so.4(_ZN7QAction9t...
Goolsby asked 8/12, 2011 at 16:5

1

Solved

I want to dump a backtrace from a C++ program in Linux in a similar format as it is done in gdb. I tried to use the backtrace() and backtrace_symbols() functions for this purpose. These returned fu...
Jotham asked 2/11, 2011 at 10:44

3

Solved

I am trying to get a backtrace at some point of the execution of my (c++) program. for that I am using backtrace and backtrace_symbols. Something along this lines: std::string stacktrace( unsigne...
Shaduf asked 4/8, 2011 at 20:59

2

Solved

I have PHPUnit and xdebug installed, and in my php.ini files for CLI I've got: display_errors = On xdebug.default_enable = 1 I've verified that an xdebug backtrace is printed when I create an er...
Midday asked 3/8, 2011 at 22:46

1

Solved

I have question about gdb or gcc (but not firefox). I see only absolute paths in gdb when i debugging firefox. Example: 5 0x01bb0c52 in nsAppShell::ProcessNextNativeEvent (this=0xb7232ba0, mayW...
Melanite asked 24/6, 2011 at 20:42

2

Solved

My program is statically compiled with dietlibc. It is compiled on ubuntu x64 (compiled for x86 using the -m32 flag) and is run on a centos x86. The compiled size is only about 100KB. I compile it...
Nagano asked 13/3, 2011 at 15:17

3

Solved

I am using backtrace to get the information from where the exception is thrown. In the constructor of my exception, I am storing the backtrace in a std::string, and in the catch block for exception...
Consequential asked 26/11, 2010 at 9:18

3

Solved

I'm debugging an application write in ansi C, a multiple threads program. Sometime, in the main thread cause a SIGSEGV fault. (gdb) backtrace full #0 0x0000000000000000 in ?? () No symbol table in...
Dispose asked 21/11, 2010 at 19:5

2

We are running the uclibc linux on ARM 9. The problem is uclibc doesn't support backtrace. When a core dump happens, I cannot grab the call stack. Does anyone have a good solution for that? For ...
Tainataint asked 29/3, 2010 at 5:57

5

Usually I use gdb backtrace to debug my application, but recently I can no longer do it when testing on iPhone simulator. The blue gdb word stops being displayed on console, and nothing happens whe...
Siobhansion asked 9/7, 2010 at 15:33

© 2022 - 2024 — McMap. All rights reserved.