callstack Questions

2

Solved

I run Valgrind with the following parameters: --leak-check=full --show-reachable=yes --leak-resolution=high --num-callers=100 --trace-children=yes In memory leaks log, I see some error messages ...
Austerity asked 28/6, 2012 at 10:36

1

Solved

I'm running an android emulator with Flutter in VSCode on Windows. When I run debug the call stack runs 2 main threads. Is this abnormal? I am getting emulator connections dropouts. With other (sma...
Shantell asked 23/7, 2021 at 17:25

15

Solved

Is there any way to dump the call stack in a running process in C or C++ every time a certain function is called? What I have in mind is something like this: void foo() { print_stack_trace(); /...
Hyperboloid asked 10/10, 2010 at 10:11

39

Solved

I am using a Direct Web Remoting (DWR) JavaScript library file and am getting an error only in Safari (desktop and iPad) It says Maximum call stack size exceeded. What exactly does this erro...
Mentholated asked 23/5, 2011 at 9:49

10

Solved

When you allocate memory on the heap, the only limit is free RAM (or virtual memory). It makes GB of memory. So why is stack size so limited (around 1 MB)? What technical reason prevents you to cre...
Muskogee asked 7/5, 2012 at 13:29

3

Solved

While on a break point, how do I see the call stack to find the callee method/function?
Sham asked 12/1, 2014 at 6:29

0

I am trying to read a dump to get the call stack where a crash happened. 1st Scenario - When reading and writing the dump file in the same application, I am getting the right call stack from the du...
Chilcote asked 11/5, 2023 at 5:26

13

What can cause a java.lang.StackOverflowError? The stack printout that I get is not very deep at all (only 5 methods).
Maurizia asked 7/7, 2010 at 18:26

38

Solved

function main() { Hello(); } function Hello() { // How do you find out the caller function is 'main'? } Is there a way to find out the call stack?
Heeley asked 11/11, 2008 at 9:4

2

Solved

I continue working on my TCP sockets, as mentioned this morning. I have discovered that the amount of sockets keeps growing, every time I send a message over such a socket. This simply means that I...
Carsick asked 15/12, 2022 at 14:56

12

Solved

When I run my code, Node.js throws a "RangeError: Maximum call stack size exceeded" exception caused by too many recursive calls. I tried to increase Node.js stack size by sudo node --stack-size=16...
Chiu asked 5/1, 2014 at 17:8

5

Solved

How can we list all the functions being called in an application. I tried using GDB but its backtrace list only upto the main function call. I need deeper list i.e list of all the functions being...
Pelayo asked 3/3, 2012 at 20:41

4

Solved

In Javascript, suppose I want to perform some cleanup when an exception happens, but let the exception continue to propagate up the stack, eg: try { enterAwesomeMode(); doRiskyStuff(); // might ...
Mcclees asked 17/9, 2010 at 9:46

3

Solved

I'm debugging a program in Visual Studio and I'm wondering why my program passes next to a function in a particular unit (source code file). I thought that the call stack would show this, but this ...
Tonsillectomy asked 17/2, 2017 at 10:18

7

In Objective-C, you can print the call stack by doing the following: NSLog(@"%@", [NSThread callStackSymbols]); How do you do this in Swift without using Foundation class?
Excruciating asked 10/6, 2015 at 11:20

3

Solved

How to dump or search in call stacks of ALL threads in Visual Studio? We have a server process to debug and it has hundreds of threads running, so it should be hard to manually check each threads. ...

2

I recently checked for my GP crash logs and I am getting this callstack very frequently. Could you please help me. A few things: The failed to add asset path sometimes shows /data/app/com.xxx.x...
Thole asked 17/5, 2017 at 5:17

13

I would like some help on this matter, Example: public class A { private void foo() { //Who invoked me? } } public class B extends A {} public class C extends A {} public class D { C.foo(...
Disgust asked 8/11, 2009 at 13:33

2

Solved

When the click event is fired from the mouse, it behaves as expected: First the listener 1 is pushed into the stack where it queues promise 1 in Microtask Queue(or Job Queue). When listener 1 is po...
Kemerovo asked 11/12, 2021 at 17:17

1

Solved

As far as I'm concerned the following code will create an array on the stack: unsafe struct Foo { public fixed int bar[10]; } var foo = new Foo(); And stackalloc statement will do the same thi...
Marsiella asked 12/11, 2021 at 12:32

7

Solved

I'd like to log the call trace during certain points, like failed assertions, or uncaught exceptions.
Pants asked 20/10, 2008 at 22:24

7

Solved

I am working on very huge java web based application. As there is no proper logging done while development so its very difficult for me to put break point and debug the app as i dont know execution...
Agronomics asked 5/2, 2013 at 10:35

5

Solved

If I run Array.apply(null, new Array(1000000)).map(Math.random); on Chrome 33, I get RangeError: Maximum call stack size exceeded Why?
Tourer asked 2/3, 2014 at 4:15

1

In backtraces produced by perf record --call-graph dwarf and printed by perf script, I am consistently getting wrong addresses for maybe 5% of call stacks, i.e. unwinding fails. One example is my_b...
Donofrio asked 18/6, 2021 at 14:15

2

Solved

We are doing a research around LLVM libraries and we have found that the IR library sometimes reaches call stacks up to 29 method calls. Sometimes when I see some crashes in iOS frameworks I also ...
Darling asked 28/12, 2016 at 23:5

© 2022 - 2024 — McMap. All rights reserved.