» Home » stack » Page 1
how to expand size of Java stack trace to see bottom of stack? (triggering a stack overflow)
by glenn1 in Java

In Java, is there any way to view the complete, untruncated stack trace (e.g. by increasing the number of frames recorded), or otherwise get at the bottom of a stack trace? Normally the stack trace is truncated from the top at 1024 frames worth, but for a stack overflow problem this is fairly worthless as you really need to see who made the call that triggered the recursion, down near the bott

Need a way to periodically log the call stack/stack trace for EVERY method/procedure/function called
by The Merg in Programming Languages

I'm working on a very large application where periodically I'd like to log the ENTIRE call stack up until the current execution point (not on an exception). The idea here is that I want a map of the exact code path that led me to the point that I am. I have been working with madExcept, tooled around with jclDebug and while I can get some of the call stack, I can't seem to get EVERY method/pro

Is there any way to create a stack traceback and log the call stack to a trace log file that will work with visual C++ 6.0?
by Wilson Mar in C & C++ & C#

I have a legacy codebase that has binary-library dependencies on Visual C++ 6.0 and I cannot obtain source code for those binary libraries. So I am stuck debugging crashes on a Visual C++ 6.0 application. I notice that CrashRpt would be really handy if I could use at least Visual C++ 2005 or later, but since I can't, are there any other choices with at least some kind of global ability to cat

Java stack overflow error - how to increase the stack size in Eclipse?
by Timo in Programming Languages

I am running a program that I've written in Java in Eclipse. The program has a very deep level of recursion for very large inputs. For smaller inputs the program runs fine however when large inputs are given, I get the following error:

Exception in thread "main" java.lang.StackOverflowError

Can this be solved by increasing the Java stack size and if so, how d

How to make parent stack active when nested stack responds to route
by vasil in Web Design

I'm developing a fairly large app and I've run into a problem that seems common. But I haven't been able to find any solutions to it on the spine groups or here at SO.

So the question is, how do I make sure, that parent stacks becomes active when nested stacks responds to a route. How is this solved properly?

Return the stack element at a given index without modifying the original Stack in Java
by CRaul87 in Java

Ok I was recently asked this in an interview, and I am intrigued. Basically I have a stack with a certain set of values, I want to pass the stack object in a function and return the value at certain index. The catch here is that after the function is complete, I need the stack unmodified; which is tricky because Java passes reference by value for objects. I am curious if there is purely a java

Order of exception handling stack frames on the call stack
by DOOR3 James in Programming Languages

What is the order in which exception handling stack frames are pushed onto the call stack in say C#. If i have a method:

private void MyMethod() {
try {
catch (Exception ex)

Is a separate stack frame created for each exception handler as follows?


Does Linux .so functions have independent stack of share the stack with the caller?
by onurtopcu in Operating Systems

It is known each thread has independent stack but what about functions in static shared object in linux system?

I don't understand stack overflow with repeated DispatchMessageW in the call stack
by Kumar Anand in Operating Systems

This is a Delphi application, but I suppose it is a general Windows programming question.

I left my application running (in the Delphi IDE)over the weekend and have just come back to find a Stack Overflow.

The stack starts like this ...

:75c4417e kernel32.GetDriveTypeW + 0x23
:75c452ae kernel32.IsProcessorFeaturePresent + 0xa9
:75c45272 kernel3

GDB core dump having corrupt stack, showing “Stack frame at Cannot access memory at address 0x12”
by yarry in Databases

I got an core dump in my application and when I try to analyze it seems that it has corrup stack. Could anyone help me how can get to the root of the problem.

Program terminated with signal 11, Segmentation fault.
#0 0x40173f54 in nanosleep () from /lib/libc.so.6
(gdb) bt
#0 0x40173f54 in nanosleep () from /lib/libc.so.6
#1 0x401b2a1c in __libc_enable_async


Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .