debug-backtrace Questions

1

The backtrace from core-file cut the useful information due to this: Backtrace stopped: Not enough registers or memory available to unwind further. Why this message occurs and can I do someth...
Mclyman asked 17/8, 2012 at 9:11

8

Solved

function log( msgOrObj ){ if(dev_mode){ console.log({ 'message': msgOrObj, 'caller': arguments.callee.caller.toString() }); } } So, I have attempted to write a simple custom console log fun...
Northwesterly asked 11/12, 2013 at 16:34

2

I am not able to backtrace using the bt command in debug mode after crash. I have searched but did not get the solution. I have tried [NSThread callStackSymbols], but it gives the same message in c...
Elyot asked 1/10, 2016 at 18:41

5

Solved

While tinkering for an answer to this question, I found that debug_backtrace() doesn't trace beyond the function registered to register_shutdown_function(), when called from within it. This was me...
Woodcutter asked 30/8, 2011 at 10:29

1

I want to use register_tick_function() to hook the following calls and print their stack trace with debug_backtrace(). If I run the following code. <?php function dump() { // Replace this wi...
Mahoney asked 31/12, 2017 at 11:5

1

Solved

I've been wondering but haven't found anywhere an useful list of commands that are useful in Xcode. One I know, and I use a lot is Backtrace which the input command is bt , after you encounter an ...
Rokach asked 19/7, 2017 at 14:58

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

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

I have a application which forks a child process. Child process does some work and somewhere in the middle it gives Segmentation fault. I used GDB to debug this, I used: set follow-fork-mode chil...
Orsay asked 4/3, 2012 at 2:26

3

It's functionality is so strong that I worry about its stability and performance. What do you think? UPDATE What I'm doing is this: $old_dir = getcwd(); chdir( dirname($included_file) ); inc...
Freehanded asked 13/3, 2010 at 12:46
1

© 2022 - 2024 — McMap. All rights reserved.