Questions tagged [stack-dump]

29 questions
22
votes
3 answers

How can I interpret a .stackdump file?

this question is likely a repeat of Using a stackdump from Cygwin executable - but I'm a beginner, and I didn't understand the answers, or even parts of the question. I'm pretty new to c++ and programming and I'm developing in NetBeans. I'm working…
jlsecrest
  • 537
  • 1
  • 5
  • 15
7
votes
1 answer

How to analyze core dump

After application[rtorrent] crashed, it produced core file, 250MB. Caught Segmentation fault, dumping stack:B] [Port: 58940][U 0/0] [D 0/10] [H 1/32] [S 72/75/768] [F 0/128] Stack dump not enabled. Aborted (core dumped) What I need is to analyze…
Pablo
  • 28,133
  • 34
  • 125
  • 215
7
votes
3 answers

Why is this Hotspot JVM option not the default? -XX:+PrintConcurrentLocks

By default, with Hotspot, a CTRL-Break thread dump will not list what threads are holding java.lang.concurrent locks. And I understand that with these locks, Hotspot cannot have information about at which stack frame a lock was acquired. If you…
Eddie
  • 53,828
  • 22
  • 125
  • 145
6
votes
1 answer

how to debug using "*.stackdump" file in cygwin

I am newbie on cygwin(and linux). When I tried to run my executable file based on C language, segmentation fault occured, and I take stackdump file. but, I don't know how to use it for debugging. I have been searching for the way how to debug using…
LKB
  • 457
  • 6
  • 16
6
votes
2 answers

Can't open HPROF file with Eclipse Memory Analyzer

Eclipse Memory Analyzer prompts me only with this message: "Invalid HPROF file header". Stack dump: java.io.IOException: Invalid HPROF file header. at org.eclipse.mat.hprof.AbstractParser.readVersion(AbstractParser.java:135) at…
veronica
  • 61
  • 1
  • 1
  • 2
5
votes
6 answers

stack dump accessing malloc char array

gcc 4.4.3 c89 I have the following source code. And getting a stack dump on the printf. char **devices; devices = malloc(10 * sizeof(char*)); strcpy(devices[0], "smxxxx1"); printf("[ %s ]\n", devices[0]); /* Stack dump trying to print */ I am…
ant2009
  • 27,094
  • 154
  • 411
  • 609
4
votes
1 answer

Stored Procedure Failing when run by SSIS

I have an execute SQL step in SSIS that is failing inconsistently with the following error: [Execute SQL Task] Error: Executing the query "sp name" failed with the following error: "The statement has been terminated.". Possible failure reasons:…
Bill
  • 176
  • 2
  • 12
2
votes
1 answer

Getting cygwin_exception::open_stackdumpfile working with vectors

I get cygwin_exception::open_stackdumpfile trying to run my code. I guess it is an error concerning memory. I am almost 100% sure I get this error because of not properly creating, sending to function or dealing with maximalSets and/or compsub…
user3608127
  • 105
  • 1
  • 7
1
vote
0 answers

Error "3 [main] a 8724 cygwin_exception::open_stackdumpfile: Dumping stack trace to a.exe.stackdump"

I am trying to create a hash map to store characters from a string. I cannot seem to find the issue causing the error "3 [main] a 8724 cygwin_exception::open_stackdumpfile: Dumping stack trace to a.exe.stackdump". I believe it is somewhere in the…
1
vote
1 answer

Linux core-dump location and abrtd configuration

I'm trying to change the Linux (RHEL6.7) core-dump location to a different directory using the abrtd configuration (normally it is going to the location core,but according to my research, if you enable abrtd, that will overwrite the default…
Tharanga Abeyseela
  • 3,255
  • 4
  • 33
  • 45
1
vote
1 answer

g++ optimization -O3 causing strange stackdump error?

First off, I only started programming C/C++ 2 months ago (but have more experience in Java) so I am far from experienced in C/C++. I'm working on a thesis and am using/expanding other code that has been written for previous research for that…
Shiwayari
  • 315
  • 3
  • 12
1
vote
1 answer

C: Stack Dump error for infix to postfix conversion

I have written the following code for converting infix expression to postfix,but a run-time error is displayed. The error is as follows: Input string: a+b-c*d 1 [main] infix_to_postfix 7340 cygwin_exception::open_stackdumpfile: Dumping stack trace…
Jainam Jhaveri
  • 1,479
  • 1
  • 18
  • 31
1
vote
2 answers

While loop is causing a stack dump and the program to crash in C++

I am just getting back into programming in C++. I wrote a program that is supposed to read hex colors from a file, mathematically compare them to an array of colors identified within the program to determine which one is the closest, and then write…
1
vote
0 answers

linux core dump size doubles

I have a rather weird issue at hand. I am trying to setup kdump/kexec with linux 2.6.35-14. Everything works fine and I am effecting the crash via "echo c > /proc/sysrq-trigger". However, I see that the size of the core file generated DOUBLES for…
helpmelearn
  • 381
  • 1
  • 6
  • 16
1
vote
1 answer

Where are *.stackdump files created by programs running under Cygwin?

I run an autotest system that uses some external tools to conduct the testing. If one of them crashes - although the tool itself is not what I'm testing - I'd like to save the foo.exe.stackdump file that is created. However, I have been unable to…
Ffejery
  • 21
  • 1
1
2