Questions tagged [stack-dump]

29 questions
0
votes
0 answers

.dbg files, which language here

I found a weird language i can't understand it, I'd ask about it so I can learn it I think it's related to debug here is an example i can't understand it Registers: EAX=00000001 CS=0023 EIP=00421a0e EFLGS=00000202 EBX=042aa540 SS=002b ESP=0548efec…
0
votes
0 answers

how to use linux backtrace and backtrace_symbols API to find thread causing segmentation fault

Hello my fellow Developers, I am trying to analyse stack-dump from a C++ program, in this particular program we are creating signal handlers and and inside signal handler we have code something like below res = backtrace(arr, size); if (res > 0) { …
0
votes
2 answers

Need help in writing a function for Pisano Period in C++

int PisanoLength(int m){ std::vector v; v.push_back(0); v.push_back(1); int i; for(i = 2; ; i++){ v[i] = v[i - 1] + v[i - 2]; int a = v[i - 1] % m; int b = v[i] % m; if( a == 0 && b == 1) …
Soham Parate
  • 55
  • 1
  • 5
0
votes
0 answers

Make.exe giving me a STATUS_ACCESS_VIOLATION

So, I'm trying to compile a homebrew program for the 3DS but when ever I run "make" I get this: E:\3DS-Stuff\fasthax>make 0 [main] make 16616 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION 321 [main] make 16616 open_stackdumpfile: Dumping…
0
votes
1 answer

How to go to main stack

I am using alternate stack to handle signals for program in C over linux. When stack overflow occurs, my signal are delivered on to my alternate signal stack not on the main stack. So in this situation I want to dump the main stack.... how can I ?
Shyam Verma
  • 501
  • 2
  • 9
0
votes
1 answer

Cannot start Stack Dump

When I'm try to launch the start_web.sh script of Stack Dump, I've got this kind of error message: Traceback (most recent call last): File "/home/stephan/Schreibtisch/Stack Exchange/stackdump/python/packages/bottle.py", line 744, in _handle return…
Droper
  • 1
0
votes
1 answer

stack smashing detected by valgrind

a stack smashing is detected in my main function in a c++ code... here is the body of main: int main() { long int acn; char dot[15]; float open_balance=1; char k; int total_account=0; int c; static int ac=10000; …
SouvikMaji
  • 1,088
  • 3
  • 22
  • 39
0
votes
1 answer

How to solve error in code and interpret error message

So I'm working on a project using linked lists. The program basically takes in numbers until -999 is inputted and then does operations on it. The two operations I am having problems with are deleteAll, where all the same values are deleted from the…
0
votes
2 answers

Why my code giving me a stackdump error when I run it?

We are supposed to make classes of animals which inherit from classes of different types of animals, i.e the Dog class will inherit from the Carnivore class which will inherit from the Mammal class. I have tried using my classes in my own main…
0
votes
2 answers

Sorting file with 1.8 million records using script

I am trying to remove identical lines in a file having 1.8 million records and create a new file. Using the following command: sort tmp1.csv | uniq -c | sort -nr > tmp2.csv Running the script creates a new file sort.exe.stackdump with the following…
user2653586
  • 209
  • 4
  • 11
0
votes
1 answer

SQL Server - I need code that will cause a stack dump

I'm trying to create a repro script for a MS connect item, and need to be able to cause a stack dump at will. How could I do that?
mbourgon
  • 1,286
  • 2
  • 17
  • 35
0
votes
2 answers

try/catch to avoid .stackdump

In the code below i use try/catch in the python module code. In the try block i have a simple error (memory access violation) and trying to catch the corresponding exception and to terminate the program quietly without generation of the .stackdump…
user938720
  • 271
  • 3
  • 14
0
votes
1 answer

Analysing debugger output for an aplication in release mode

I develop a win32 application using i686-w64-mingw32-gcc 4.7.2 crosscompiler under Ubuntu 12.10. When I run my application compiled in the release mode and it crashes, I may receive an output like bellow. I am wondering how to interpret it? Is there…
David L.
  • 3,149
  • 2
  • 26
  • 28
-4
votes
1 answer

Stackdump - compiled .c code

If I execute the following code, it´s prin this stack dump error message: 1 [main] MyProg 10876 cygwin_exception::open_stackdumpfile: Dumping stack trace to MyProg.exe.stackdump after it prints Shellcode length: 601 Can you say me, what I should…
blaggyS
  • 1
  • 3
1
2