Questions tagged [backtrace]

A backtrace is the series of currently active function calls for the program.

On linux and mac, it is possible to obtain the backtrace using the backtrace() function.

417 questions
0
votes
1 answer

How do I read a Python backtrace?

I have a Python script that copies pictures to a new directory (to remove duplicates) and tags them with Python XMP Toolkit which relies on the exempi library. After a random amount of time that can range between about a minute to 30 minutes, the…
Phistrom
  • 539
  • 5
  • 20
0
votes
1 answer

Where do I use BackTrace calls on the Mac

I want to get a BackTrace from my crashing C++ Mac application however I am new to the Mac and am not sure how best to go about it. I found a question on stackoverflow that details its usage: getting the current stack trace on mac os x However my…
Phil Hannent
  • 12,047
  • 17
  • 71
  • 118
0
votes
2 answers

Ruby Compass outputting backtrace in CSS

Compass is outputting a backtrace in the CSS instead of generating the CSS. I have had the same results for Windows 7 and Ubuntu Linux 12.0 I have tested this on Compass 0.12.2 AND 0.11.1 and I tested this on Ruby 1.9.3p385 AND 1.9.1P378. My…
AusME
  • 41
  • 4
0
votes
0 answers

Get the final SQLite expression when using PHP PDO

I experience some weird results on certain queries to an SQLite database. Therefore I'd like to see the real query sent to the database. I'm using PDO, and the closest I can get is $statement->debugDumpParams(); but this is just an abstract…
Boldewyn
  • 81,211
  • 44
  • 156
  • 212
0
votes
1 answer

The stack trace from Unwind_Backtrace does not match map file addresses

Created a function pair to produce stack dumps (backtrace wannabe) using Unwind_Backtrace. However, the resulting dump of addresses have no correlation with addresses I'm seeing in the linker map file. What am I doing wrong? It seems all the…
Erol
  • 191
  • 1
  • 5
0
votes
1 answer

How can I get the filename and line number when Backtracing?

I saw a very good way to get the symbol name from the following post. Win32 - Backtrace from C code But what about getting the file name and line number. I tried to use the SymGetLineFromAddr64 but could not get this debug information.
Imran
  • 103
  • 1
  • 1
  • 9
0
votes
1 answer

Is it possible to find which server an android application connects to

I am wondering if it is possible to trace which server an application connects to to get data. I'm thinking of using the Google APK Expansion to bundle my media files (textures, video's etc) and was wondering since the LVL is said to be so buggy, if…
Raigex
  • 1,205
  • 12
  • 32
0
votes
2 answers

zombie, gdb cannot attach, how to check last call or backtrace

My application goes into zombie on a Linux box, it cannot be killed and gdb cannot attach to it, I cannot debug. Now I want to know the last called function or backtrace, is there anyway I can get this? Is there any information under /proc/pid/stat…
hexiay
  • 1
  • 1
0
votes
1 answer

Who could explain error backtrace of erlang?

Is there a good method to print pretty error trace in shell? How to understand the error trace? Thanks! error 2012-05-30 15:53:49 <0.132.0> {supervisor_report, [{supervisor,{local,ems_media_sup}}, {errorContext,child_terminated}, …
why
  • 23,923
  • 29
  • 97
  • 142
0
votes
1 answer

SIGSEGV backtrace with libc is repeating entries

I was using libunwind prior to moving to the available execinfo backtrace. After implementing a new backtrace I was enjoying it until I removed the libunwind from the project and did a full rebuild. Now my backtrace function refuses to produce a…
Ulterior
  • 2,786
  • 3
  • 30
  • 58
-1
votes
1 answer

Minimal coredump needed to get backtraces for all threads with gdb

We want to pull stack traces from a running process. Pulling stack traces directly with gstack is not an option and using a gdbserver works, but is quite slow due to the network. We were curious if we can pull a core dump of the process with gdb…
-4
votes
2 answers

How Backtrace works on Linux x86_64?

i have several questions: int backtrace(void **buffer, int size); Here buffer is array of pointers. and the array elements on returns points to each frame of stack in return. So, backtrace() internally calls malloc() number of times as that of…
sandeep
  • 513
  • 9
  • 17
1 2 3
27
28