1
голосов
4ответов
1017 просмотров

Help interpret this stack trace

I know that it fails at strcmp. I've provided operator On line #1 there's the value @0xbfffeeac. What does the @ mean? #0 0x00212bd8 in strcmp () from /lib/libc.so.6 #1 0x0012ed2f in Json::Value::CZString::operator< (this=0x8317300, [email protected]) at src/lib_json/json_value.cpp:221...

1
голосов
1ответов
172 просмотров

How can I get the stack trace in Specman?

Is there any way to get the stack trace in Specman? I patched the functions that force signals to tell me when signals are forced. I want to be able to tell where the forcing originated.

1
голосов
3ответов
218 просмотров

Are there any function level debugging/logging tools for Java?

I'm sorry if the title is confusing but I couldn't think of anything similar to call it. What I'm looking for is if there is any sort of tool (or eclipse plugin, etc) that will log all the translated lines from a program. For example: int b = 20; for (int x = 0; x < z; x++) b = b + 5; Would...

1
голосов
1ответов
669 просмотров

Linenumber for Exception thrown in runtime-compiled DotNET code

Not quite the same as this thread, but pretty close. My program allows people to enter some VB or C# code which gets compiled, loaded and executed at runtime. My CompilerParams are: CompilerParameters params = new CompilerParameters(); params.GenerateExecutable = false; params.GenerateInMemory ...

1
голосов
2ответов
225 просмотров

WinDbg, How to display version control file path in stack trace with source server?

I am using WinDbg with the source server so that it will display the source information in stack traces. But it shows the path where the source was built, not where it exists in my version control system. Is there a way to have it display the paths from my version control system?

9
голосов
2ответов
1633 просмотров

What does __forwarding__ in the stack trace mean?

(gdb) bt #0 0x302ac924 in ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ () #1 0x92077e3b in objc_exception_throw () #2 0x302d6ffb in -[NSObject doesNotRecognizeSelector:] () #3 0x3026e056 in ___forwarding___ () #4 0x3024a0a2 in __forwarding_prep_0___ () #5 0x00004ae9 in -[GameObject doesTouch...

10
голосов
2ответов
1062 просмотров

Getting a longer stacktrace from FastMM?

When FastMM logs a memory leak it includes a stacktrace going back 9 calls. Problem is that the stacktrace is too general to locate the problem easily. The last function call in the trace is called at least 50 times and the object leaked is a very common one. What can I do to make the stacktrace...

1
голосов
2ответов
1937 просмотров

How to get a full stacktrace from a crashed mixed mode exe/dll?

I wrote an application in C++/CLR. It uses a native lib/dll. On rare occasions, it crashes insider this native dll. I then get a stacktrace, but only up to the managed part, the inside native part is left out. Is there a way to let it display the whole stacktrace? I made the following test: I ad...

263
голосов
15ответов
164237 просмотров

Print PHP Call Stack

I'm looking for a way to print the call stack in PHP. Bonus points if the function flushes the IO buffer.

1
голосов
2ответов
677 просмотров

StackTrace from Exception on different thread?

There is a constructor on StackTrace that takes an exeption as an argument. All fine and well, but I noticed that all the other constructors say that it will get the StackTrace from the current thread, but the constructor taking the exception does not say anything about that other than The r...

0
голосов
1ответов
2025 просмотров

How to read a crash report from iPhone

Got a crash report from a beta tester and I'm having trouble identifying the root of the problem. Clearly something went wrong when trying to set a UIButton (screenOverlay). Here's its creation in ViewDidLoad: UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom]; button.frame = CGRect...

7
голосов
1ответов
2120 просмотров

Why are the names of generic types mangled in a .NET stack trace?

I have an exception being thrown from a C# method, that takes a generic list as a paremeter. private static void DoWork(List<ClassName> a) { } When it throws an exception, the stack trace shows an `1 instead of the class name for the list. Why is this? This is what the stack trace has. ...

3
голосов
5ответов
2248 просмотров

Showing stack trace of exception that is re-thrown, rather than stack trace from throw point

I've confirmed this same behavior in VS2005, so I was wrong to call it a .NET (1.1) bug. I'm leaving the original question below, but my revised question is this: how do I get Visual Studio to give me the stack trace of the exception I've caught and re-thrown in the Call Stack window, rather tha...

2
голосов
1ответов
2769 просмотров

XCode Global Breakpoints don't show stack trace

I set up global break points from locations libobjc.A.dylib and CoreFoundation. I run my iphone app and it hits the exception. XCode stops at the breakpoint but does not show any error in the log besides: Pending breakpoint 1 - "objc_exception_throw" resolved Pending breakpoint 2 - "-[NSExcept...

12
голосов
3ответов
14671 просмотров

Getting full string stack trace including inner exception

Java's e.printStackTrace() doesn't print all the details of the inner exception's stack trace. Is there a ready way to generate the complete stack trace in string form? (besides formatting it myself) Edit I just found out what printStackTrace() does - apparently the stack frames it filters out...

258
голосов
4ответов
228511 просмотров

When I catch an exception, how do I get the type, file, and line number?

Catching an exception that would print like this: Traceback (most recent call last): File "c:/tmp.py", line 1, in <module> 4 / 0 ZeroDivisionError: integer division or modulo by zero I want to format it into: ZeroDivisonError, tmp.py, 1

5
голосов
4ответов
888 просмотров

How to get the stacktrace in a mobile device?

I'm getting a NullPointerException in a Nokia S40. I want to know what is causing this exception. The device shows: NullPointerException java/lang/NullPointerException This error only occurs in the device, running in the emulator the application works fine. I use microlog to debug my app...

3
голосов
2ответов
1827 просмотров

Generating C++ BackTraces in OS/X (10.5.7)

I've been utilizing backtrace and backtrace_symbols to generate programmatic stack traces for the purposes of logging/diagnosis. It seems to roughly work, however, I'm getting a little bit of mangling and there are no accompanying file/line numbers associated with each function invocation (as I'...

0
голосов
3ответов
471 просмотров

Why would traceback.extract_stack() return [] when there is definitely a call stack?

I have a class that calls traceback.extract_stack() in its __init__(), but whenever I do that, the value of traceback.extract_stack() is []. What are some reasons that this could be the case? Is there another way to get a traceback that will be more reliable? I think the problem is that the ...

0
голосов
2ответов
1674 просмотров

Can somebody give me a hand about this stacktrace in iPhone app?

Program received signal: “EXC_BAD_ACCESS”. (gdb) bt #0 0x30011940 in objc_msgSend () #1 0x30235f24 in CFRelease () #2 0x308f497c in -[UIImage dealloc] () #3 0x30236b78 in -[NSObject release] () #4 0x30a002a0 in FlushNamedImage () #5 0x30250a26 in CFDictionaryApplyFunction () #6 0x30a001a4...

22
голосов
5ответов
4112 просмотров

Detect Who Created a Thread (w. Eclipse)

How can I find out who created a Thread in Java? Imagine the following: You use ~30 third party JARs in a complex plugin environment. You start it up, run lots of code, do some calculations and finally call shutdown(). This life-cycle usually works fine, except that on every run some (non-dae...

1
голосов
2ответов
528 просмотров

Java StackTrace Editor or GUI

My java app is dumping stacktrace to a log file. However, the solution center wants an "easier" way to understand the generated stacktrace. Other than training them in java, is there a stacktrace editor or gui that could make their life easier? Thanks so much in advance!

0
голосов
2ответов
179 просмотров

What are the numbers on the end of lines in a stacktrace

What do the the numbers after the "+" at the end of the lines in a stack trace represent? Function Source ntdll!KiFastSystemCallRet ntdll!ZwRemoveIoCompletion+c kernel32!GetQueuedCompletionStatus+29 w3tp!THREAD_POOL_DATA::ThreadPoolThread+33 w3tp!THREAD_POOL_DATA::ThreadPoolTh...

0
голосов
1ответов
207 просмотров

Find the source of (eval:...) code

I've got code which produces a stack trace at some point: fileA.rb:1670:in `flow_completed_for' (eval):58:in `on_success_res_for_register' fileB:312:in `send' fileC:312:in `request_specific_response_dispatch' ... How can I find the source where on_success_res_for_register was defined? The code...

50
голосов
11ответов
58346 просмотров

How can I get PHP to produce a backtrace upon errors?

Trying to debug PHP using its default current-line-only error messages is horrible. How can I get PHP to produce a backtrace (stack trace) when errors are produced?

283
голосов
7ответов
133551 просмотров

Print current call stack from a method in Python code

In Python, how can I print the current call stack from within a method (for debugging purposes).

1522
голосов
31ответов
615661 просмотров

How can I convert a stack trace to a string?

What is the easiest way to convert the result of Throwable.getStackTrace() to a string that depicts the stacktrace?

8
голосов
2ответов
3295 просмотров

Why does log4j disable stack trace after (lots of) repetition of the same exception?

At one of our customer installations we had thousands of occurrences of the same exception. After a lot of well logged stacktraces (9332) the occurrence of the exception is still logged, but without stacktrace. After restarting the java process, the same thing: This time we had 17858 stacktraces ...

0
голосов
2ответов
1025 просмотров

getting strange stacktrace on compiling groovy class

I'm coding a small test app in Groovy. I have the following code. class Address { static constraints = { street(blank:false, maxSize:100) residencenumber(min:1, max:65000) addition() zip() city(blank:false, maxSize:100) county() country(blank:false, maxSize:50) } St...

3
голосов
4ответов
8748 просмотров

Трассировка стека ошибок времени выполнения или расположение в VB6

Я поддерживаю старое приложение, написанное на VB6. В клиентской среде это вызывает ошибки времени выполнения, которые я не могу воспроизвести в отладчике. Есть ли способ получить трассировку стека или местоположение ошибки? Я имею в виду, не помещая операторы трассировки по всему коду, напри...