Skip to main content

Questions tagged [stack-trace]

A report of the active stack frames at a certain point in time during the execution of a program.

1 vote
0 answers
18 views

What is the correct way to use addr2line for a Linux PIE program?

We have raw addresses from a Linux program's call stack, but how do we use addr2line to convert the addresses if the program is a position-independent executable (PIE)? In Windows, we can record the ...
Myria's user avatar
  • 3,727
0 votes
0 answers
52 views

How to combine exception handling with a termination handler? [duplicate]

The high level problem I'm trying to solve is to log stacktrace for every exception that is being thrown from [legacy] code. The solution I'm trying to find an alternative to is logging stacktrace ...
Dmitry Kuzminov's user avatar
-1 votes
1 answer
108 views

React-Native iOS app is crashing immediately upon launch when creating development build

I have created an app for iOS using React Native. I've gotten the app to a point where it works on the iPhone simulator via the Expo App. It even works when creating a build of the app to distribute ...
Jaylen J's user avatar
1 vote
0 answers
27 views

Stack trace printed even though SSLException is being handled

I'm getting SSLHandshakeException when making requests through WebClient. Even though I am catching the exception succesfully (custom LOG4J log.error message is being displayed) the stack trace is ...
Pomelooo's user avatar
0 votes
0 answers
7 views

In .NET stacktrace exception, file path and line number are lost while logging in Console with JSON format

In an ASP.NET 8 web API project, the default log system (ILogger to Console) logs well the exceptions raised to the destination (AWS CloudWatch). If I change the log format to JSON, I don't have ...
Nicolas's user avatar
  • 6,394
5 votes
1 answer
72 views

Exception stack trace not clickable in PyCharm

PyCharm suddenly changed the way it shows the stack trace on the run tab and does not let me click on the exception (or anywhere else) and go to the specific point of the error file anymore. How can I ...
sofia's user avatar
  • 492
1 vote
0 answers
16 views

How to parse actively fetched stack information of '[NSThread callStackSymbols]'?

I use '[NSThread callStackSymbols]' method to record app stack information and write to log file. In debug environment, it works fine. But in release environment(app submitted by App Store), '[...
lauren1573's user avatar
0 votes
0 answers
38 views

Anonymous stack trace for function expressions in safari browser

I am trying to get stack trace of a error which is thrown inside a function expression using console.trace. Int Safari stacktrace does not have function names and instead just gives anonymous ...
user8245171's user avatar
0 votes
0 answers
14 views

Pycharm Frames incomplete and Unhelpful

I suspect this is a straightforward problem but I haven't been able to find the solution elsewhere. I'm using the JetBrains PyCharm Debugger and when the program hits an exception, the debugger shows ...
Joshua Evans's user avatar
1 vote
0 answers
36 views

Is it possible to have more than 10 lines in the stack trace of Jasmine/Karma?

I use Jasmine/Karma for unit tests in Angular. When there's an error in a test, the maximum number of lines in the stack trace is 10 and I would to like to increase it (in order to know what test ...
Zlotz's user avatar
  • 187
3 votes
1 answer
77 views

Why does `to_string( std::stacktrace::current() )` hang if called during Windows DLL loading

I use Visual Studio 2022 version 17.9.2, and in an exception handler of my application I started logging call stacks using new C++23 feature to_string( std::stacktrace::current() ). In general it ...
Fedor's user avatar
  • 19.2k
3 votes
0 answers
56 views

How to catch the exception stacktrace in Firemonkey mobile app run-time?

Is there anything to easily catch human readable stack traces from exceptions happened on android/ios applications? I can log exception classname and message. Provided human made log trace (how user ...
AlexLL's user avatar
  • 195
1 vote
1 answer
183 views

Compilation and linking errors using std::stacktrace

I am working in Fedora 39 Linux, and would like to start using std::stacktrace from C++23, which is available in libstdc++. Unfortunately, I bumped in some errors even with the simplest example: #...
Fedor's user avatar
  • 19.2k
0 votes
1 answer
54 views

System.IndexOutOfRangeException mysteriously thrown from System.Collections.Generic.List.Add(T item)

I have been struggling to figure out the cause of an exception with the following stack trace (deliberately shortened): System.IndexOutOfRangeException: Index was outside the bounds of the array. ...
Borislav-K's user avatar
1 vote
1 answer
56 views

Go compiler flag -trimpath not working completely

I have an issue where the -trimpath is not removing the GOPATH from the last line of the stacktrace. Below is the snapshot of the stacktrace: Apr 15 09:56:59 10-79-108-22 system-health[3923528]: [...
Hemant Yadav's user avatar

15 30 50 per page
1
2 3 4 5
157