Questions tagged [stack-trace]
A report of the active stack frames at a certain point in time during the execution of a program.
2,335
questions
0
votes
1
answer
67
views
Get details of multiple-propagated errors in Rust?
I can see several questions about propagating errors in Rust, but none really is about what I'm trying to achieve.
Developing this first small Rust project I've got into the habit of having this ...
-3
votes
1
answer
67
views
Why Java method has length like method().length?
I don't understand how the method can have length? method1().lenght. Following the same logic we can write main().length
public class Solution {
public static void main(String[] args) {
...
0
votes
1
answer
20
views
How to output stack traces pointing to the original files instead of the bundled files in a node app?
I have a node app that is bundled with sourcemaps (inline or not makes no difference) using Rollup.
When an error is thrown, I get something like
Error: FF
at Function.<anonymous> (/.../...
-1
votes
0
answers
109
views
C++23 <stacktrace> dependency on glibc version
I have been trying to use stacktrace library in C++23 standard.
I was able to successfully use it on one of my server yesterday.
However, when I tried to do the same in another machine, linking failed....
0
votes
0
answers
38
views
Meaning of square bracket in java stacktrace [duplicate]
I encountered below error. I can solve NosuchMethodError by changing some of the dependency in gradle file.
Caused by: java.lang.NoSuchMethodError: io.netty.util.internal.PlatformDependent....
0
votes
0
answers
75
views
c++23 building with <stacktrace> library
I'm trying to use "stacktrace" library from my c++ project.
https://en.cppreference.com/w/cpp/header/stacktrace
I'm using GCC 13 and CPP standard 23.
In my cmake file, I am adding
...
0
votes
1
answer
112
views
JVM option --XX MaxJavaStackTraceDepth when I decrease any value below 10, It is not working
I am trying to set the jvm option maxJavaStackTraceDepth. So when I increase the JVM option --XX MaxJavaStackTraceDepth above 10. it is working as expected. But when I decrease any value below 10 so ...
1
vote
0
answers
40
views
How to print TraceStack in Haskell
I am learning haskell-language-server code. Add I cannot print out the tracestack.
Following 3 approaches failed.
defaultMain :: Recorder (WithPriority Log) -> Arguments -> IdePlugins IdeState -&...
0
votes
0
answers
43
views
.NET MAUI Exception Line Number Doesn't Show In AppCenter or StackTrace On Android
I am using NET MAUI with .net 7 and Microsoft App Center for Android diagnostics. When in debug mode it works fine and all exceptions sended to App Center has exception Line Numbers. But when I try it ...
-2
votes
1
answer
71
views
Tweaking regular expression for Java stack trace element
I'm creating a Java regular expression for matching the string form of a Java StackTraceElement. (Note that this is not a regular expression for the stack trace itself.) The typical forms are shown at ...
1
vote
0
answers
36
views
How can I get Python stacktraces to show up properly in Google Cloud Trace?
I have a web service written in python, running on GKE. I've enabled opentelemetry instrumentation via FastAPI contrib package, OTel SDK and cloud trace exporter.
I am able to send and view successful ...
0
votes
0
answers
93
views
How do I configure a nx build to generate a stacktrace?
I am using the Nrwl nx console in Visual Studio Code. When I use the build command in the nx console I get the following error.
Building Angular Package
NX Entry point "name-of-the-library&...
0
votes
0
answers
63
views
How to retrieve a complete C++ stack trace on GCC with <stacktrace> standard library?
When I try to retrieve a stack trace from GCC I always have the same result. I doesn't depend on where it has been called because the software I am working on is giving me exactly the same stack.
Main....
0
votes
0
answers
33
views
Cannot find a differ supporting object template error - stacktrace doesn't show where it comes from
I'm writing an angular16 application and I encountered something that i don't understand, i see that i get this error:
ERROR Error: NG02200: Cannot find a differ supporting object '[object Object]' of ...
0
votes
0
answers
21
views
Logstash multiline codec doesn't work for stacktraces
I'm using the ELK stack to process my app's logs. So, the problem is that Logstash multiline codec doesn't work properly for the stacktraces. The input multiline logs are not parsed by the pattern and ...
0
votes
0
answers
45
views
C# What is "at null.null" in raw stack trace?
Below is part of raw stack trace from my xamarin app showed on appCenter portal.
Xamarin Exception Stack:
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than ...
1
vote
0
answers
55
views
Why is RtlCaptureStackBackTrace 10 times slower in 64-bit mode compared to 32-bit?
I've recently encountered a perplexing performance discrepancy when utilizing the RtlCaptureStackBackTrace function between its 32-bit and 64-bit executions.
My system:
Visual Studio 2022
Windows 11 ...
0
votes
2
answers
60
views
Get implementer class type
I have the below code
public abstract class abstract1
{
public void Test1()
{
// << Log the caller >>
// Environment.StackTrace gives no information about class1
...
0
votes
1
answer
129
views
Decode react native firebase Crashlytics stack trace
I'm using firebase crashlytics with my react native app version 0.71.4, and I've this stack trace from crashlytics console:
Non-fatal Exception: io.invertase.firebase.crashlytics.a: undefined is not a ...
0
votes
0
answers
28
views
"Incorrect" information from boost::stacktrace [duplicate]
In my program under Linux, in one of the functions, for academic purposes, a null pointer was dereferenced. Before this dereference, the stack trace is printed to standard output.
// -std=c++17 -ldl -...
0
votes
1
answer
32
views
I have a problem with my react native application. When I try to run my application, this message pops up:
enter image description here
I tried add into android studio setings>build, execution, deployment>compiler few opction into gradle, like "--stacktrace or --debug" but that dont work. ...
0
votes
0
answers
14
views
How to get full history executed function inside parrent function in Python / Django
I have function like this
def test_func_1(angka):
angka = angka + 3
result = test_func_2(angka)
return result
def test_func_2(angka):
angka = angka + 5
return test_func_3(angka)
...
0
votes
0
answers
103
views
How to create CPU Flame Graphs for Delphi applications?
I would like to visualize CPU usage of my Delphi application as a Flame Graph image. To make it work a periodical dump of the function names existing on the call stack is required. How can I make a ...
0
votes
1
answer
89
views
Linux - Handle stack overflow and buffer overflow with sigaction
sigaction works only with some SIGSEGV scenarios.
When I try to handle a SIGSEGV that was caused via a buffer overflow or stack overflow, the handler is never called.
But when other scenarios that ...
3
votes
0
answers
46
views
Boost stacktrace printing weird file names
I'd like to print a callstack with Boost::stacktrace. I have read official documentation from Here
Actually I have already done, but I guess there's something wrong about printed file names: it does ...
0
votes
1
answer
47
views
How do I expand 3 dots in selector in selenium stack trace
Is there a way to expand 3 dots and see full selector in the selenium stacktrace on element click intercepted error? Without it, it is really hard to understand what is blocking the click.
Maybe I ...
0
votes
0
answers
13
views
C70__PACKET not found in mediapipe library in python
i am making a landmark detection of hand using mediapipe library of python and this is the code i wrote :
import cv2
import mediapipe as mp
import time
class handDetector():
def __init__(self, ...
0
votes
1
answer
330
views
How to properly build & link the libunwind library
I need to build the libary libunwind(https://github.com/libunwind/libunwind) on my ubuntu x86_64 pc for my pc and compile and link everything with g++. I am able to build some files, including the ...
6
votes
1
answer
298
views
Inlined function appears in std::stacktrace, but main doesn't
I have the following code:
#include <stacktrace>
#include <iostream>
void bar() {
for (const auto &entry : std::stacktrace::current()) {
std::cout << entry << '...
1
vote
0
answers
290
views
How can I know where the "panic: runtime error: invalid memory address or nil pointer dereference [recovered] error" is in my code?
The code doesn't matter, I need to know how to interpret the invalid memory address errors.
For example, this error:
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
...
0
votes
0
answers
230
views
How to print stack trace with line numbers in C++ and macOS
I want to produce stacktraces for certain errors. I tried Boost's stacktrace header, and I don't get line numbers. I'm compiling with the latest Clang. I'm using -g so it should be adding debug info.
#...
0
votes
0
answers
37
views
IDE Fatal Errors: getChildren failed for ActionGroup
When I am opening a project with Android Studio IDE, I am getting Android Studio IDE Fatal Error.
How can I resolve this issue?
Stacktrace:
getChildren failed for ActionGroup(com.android.tools.idea....
4
votes
1
answer
234
views
Is there a way to log stacktrace which called System.exit in Java
I think there is a way to do this with SecurityManager, but I don't want to introduce it in an App just for this.
Is there a way to catch and log stacktrace of what called exit() using some other ...
0
votes
0
answers
44
views
`debug_backtrace()` reports abstract classes in trace rather than concrete classes. Is there a fix?
I wrote the following code which turns the result of debug_backtrace() into a string:
function debug_backtrace_string($skip = 1)
{
try
{
$calls = debug_backtrace();
$calls = ...
0
votes
0
answers
535
views
FastAPI get exception stacktrace
I have a problem with my Exception handler in my FastAPI app. Here's my current code:
@app.exception_handler(Exception)
async def server_error(request: Request, error: Exception):
logger.error(f&...
0
votes
0
answers
109
views
Can't resolve null pointer exception
This is the stack trace of my app given by playstore . I can't find what is causing null pointer exception.
Everything is working fine on my device.
Exception java.lang.NullPointerException:
at in....
0
votes
0
answers
197
views
How to dump stack trace for Windows version of an application developed on Linux?
I am developing an application (computer game) that will run on both Linux and Windows. My development is performed in Linux and for the Windows version I cross-compile in my Linux env using i686-w64-...
-1
votes
1
answer
59
views
I am getting a "'tuple' object has no attribute 'set_width" error and I don't know what to do
first post on stackoverflow, apologies if this is not written correctly
I am pretty new to Python and Very new to Manim. I am a big fan of 3b1b, and was using one of his files from gitlab as a ...
1
vote
1
answer
160
views
In Intellij, no clickable links to file in stack trace
In my Java project, the stack trace in the debug console no longer offers clickable links to the source file, seemingly without any reason. Although clickable links are still present in the stack ...
0
votes
1
answer
61
views
how to get a human readable call stack from an ipynb error traceback['stack']?
I'm hitting an error in a notebook and instead of showing a full call stack, it's a truncated stack with only the last few calls and the following message printed on top:
Output exceeds the size limit....
0
votes
1
answer
130
views
Suppress/redirect stack trace print out with logger.exception?
A great way to process exceptions is to use Logger.exception:
try:
do_something()
except BaseException:
logger.exception('some message')
... this not only prints out the user message, but ...
0
votes
0
answers
261
views
Get function names for given stack trace
Our application produces stack traces where some addresses aren't resolved to symbols.
At the moment there is no way to change the code that produces stack traces.
In particular there are no symbols ...
0
votes
0
answers
50
views
Hook the document.cookie using stack trace/error trace in javascript
I'm trying to write code to hook the dcument.cookie (both write and read property) and the corresponding scripts and script URLs by using the call stack trace or error stack facility of javascript ...
1
vote
1
answer
204
views
Deserialize JSON to Exception object
I'm using Jackson to deserialize an Exception object from JSON. Here's a simplified demo (using an implicit delegating creator):
throw new ObjectMapper().readValue("\"custom error message\&...
0
votes
0
answers
65
views
Pyodide: runPythonAsync exceptions show asyncio stacktrace instead of inner one
When running python using runPythonAsync, and there is an exception i get the stacktrace of asyncio call, instead of the original code stacktrace.
How do I get access to the internal stacktrace ...
0
votes
0
answers
56
views
How should I read this python traceback/what is causing "breaks" in?
I know what a key error is, and why I am getting it, this question is about what is occurring to the call stack not why I am getting a key error. I am also not looking to know exactly what's happening ...
0
votes
0
answers
31
views
Is there a way to generate a deeper outline view than eclipse does?
Outline view
I'd like to get the methods that these methods call and so on.
For example getApplications() -> service.findAll() ->repository.findAll() etc until it ends (including split paths).
...
0
votes
2
answers
185
views
Is there a Python library that shows execution time per line? [closed]
I have found this library called heartrate which shows how many times each line has been hit. I'm wondering if there is a similar library that can show the execution time of each line? Sometimes a ...
1
vote
2
answers
490
views
How to display formatted Jupyter stack trace from "full output data"
I am debugging Python code in VS Code using the Jupyter integration in interactive mode.
The stack trace I get is only partially displayed, because "Output exceeds the size limit." I would ...