cygwin_exception::open_stackdumpfile: Dumping stack trace to cscope.exe.stackdump

Naeem Khan

I'm issuing Cscope command using cmd in Winform.Sometimes it return successfully and some times gives(Most of the times) cygwin_exception::open_stackdumpfile: Dumping stack trace to cscope.exe.stackdump

I'm not able to identify the issue. Code of C# which turns into command is below:

Code :

CalledFunctionsNameCmdArgument = "/C cscope -k -u "+ FileNameAlongWIthDirectoryPath(in Windows Style i.e. G:\ABC\DEF.c) + " -L -3 " + @""".*""" + " | gawk '{$1=" + "\"" + "\"" + "; $3=" + "\"" + "\"" + ";sub(" + "\"" + " \"" + ", " + "\"" + "\"" + ");" + "sub(" + "\"" + " \"" + ", " + "\"" + "#" + "\"" + ");" + "print}' > " + OutputDirectory(In linux Style i.e. G:/ABC/DEF)

Output of Code Line mentioned above is:

/C cscope -k -u FileNameAlongWIthDirectoryPath -L -3 ".*" | gawk '{$1=""; $3="";sub(" ", "");sub(" ", "#");print}' > OutputDirectory

What can be the issue?

Stack Trace Dump

Exception: STATUS_ACCESS_VIOLATION at rip=0010040DCE8    
rax=0000000000000035 rbx=0000000000000001 rcx=0000000000000001    
rdx=0000000600055CE0 rsi=0000000600055CE0 rdi=0000000000000001    
r8 =00000000FFFFB7BC r9 =00000001801523A0 r10=0000000100000000    
r11=000000010040DF72 r12=00000000FFFFBE00 r13=00000001004DCDA8    
r14=0000000000000000 r15=00000001004DC880    
rbp=0000000000000000 rsp=00000000FFFFBA60    
program=G:\Cygwin\usr\local\bin\cscope.exe, pid 64364, thread main
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B    
Stack trace:    
Frame        Function    Args    
00000000000  0010040DCE8 (0060007A3CA, 0000000000A, 00180042D46, 000FFFFBFE0)    
000FFFFBB00  0010040EF1B (00100430038, 000FFFFCC70, 00000000006, 000FFFFCC70)    
00100430038  0010040C676 (001000001C0, 000FFFFC8F0, 001004DCEE0, 0000000FB6C)    
00100430038  0010042F7AA (00180276D60, 006000283A0, 00000000000, 000FFFFCCC0)    
000FFFFCCC0  00180047BD2 (00000000000, 00000000000, 00000000000, 00000000000)    
00000000000  0018004591C (00000000000, 00000000000, 00000000000, 00000000000)    
000FFFFFFF0  001800459B4 (00000000000, 00000000000, 00000000000, 00000000000)    
End of stack trace    
Naeem Khan

Though I could not find the exact cause of the problem but i guess it was of File permission.I needed to edit the file (Result of another command "unifdef") and saved the result in another file,then providing those resultant files to the cscope did not create problem.Saving file after applying unifdef command , somehow changed the file permissions(I guess not because of unifdef but saving the file through Command Prompt changed the Permissions of files ).

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

Get exception description and stack trace which caused an exception, all as a string

From Java

How to print the stack trace of an exception object in Python?

From Dev

Why does android logcat not show the stack trace for a runtime exception?

From Dev

locals() and globals() in stack trace on exception (Python)

From Dev

Rethrow an Exception with correct line numbers in the stack trace

From Dev

How can an Exception be created/thrown with no stack trace?

From Dev

Exception Stack Trace Missing Items

From Dev

Why is the exception stack trace not logged in?

From Dev

How to use a stack trace dump to debug an exception?

From Dev

Dumping a stack trace from C++ (Windows) - fails to find symbols

From Dev

Dumping only stack trace in linux core dumps

From Dev

logback: newline before exception stack trace but not otherwise?

From Dev

Suppressing stack trace when catching exception

From Dev

How to print the selenium exception stack trace in Extent reports

From Dev

Exception that emails stack trace when raised

From Dev

Android phone not dumping stack trace

From Dev

Exception stack trace and aggregation in Parallel.ForEach

From Dev

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

From Dev

How to print the stack trace of an exception object in Python?

From Dev

locals() and globals() in stack trace on exception (Python)

From Dev

How to use a stack trace dump to debug an exception?

From Dev

Finding the Stack Trace Log from an EXE that crashes

From Dev

cxf null pointer exception without stack trace

From Dev

Printing the stack trace vs the exception itself

From Dev

How does the console obtain the stack trace of an exception?

From Dev

Android phone not dumping stack trace

From Dev

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

From Dev

Creating a pointer to a struct gives open_stackdumpfile

From Dev

How to handle the error cygwin_exception::open_stackdumpfile

Related Related

  1. 1

    Get exception description and stack trace which caused an exception, all as a string

  2. 2

    How to print the stack trace of an exception object in Python?

  3. 3

    Why does android logcat not show the stack trace for a runtime exception?

  4. 4

    locals() and globals() in stack trace on exception (Python)

  5. 5

    Rethrow an Exception with correct line numbers in the stack trace

  6. 6

    How can an Exception be created/thrown with no stack trace?

  7. 7

    Exception Stack Trace Missing Items

  8. 8

    Why is the exception stack trace not logged in?

  9. 9

    How to use a stack trace dump to debug an exception?

  10. 10

    Dumping a stack trace from C++ (Windows) - fails to find symbols

  11. 11

    Dumping only stack trace in linux core dumps

  12. 12

    logback: newline before exception stack trace but not otherwise?

  13. 13

    Suppressing stack trace when catching exception

  14. 14

    How to print the selenium exception stack trace in Extent reports

  15. 15

    Exception that emails stack trace when raised

  16. 16

    Android phone not dumping stack trace

  17. 17

    Exception stack trace and aggregation in Parallel.ForEach

  18. 18

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

  19. 19

    How to print the stack trace of an exception object in Python?

  20. 20

    locals() and globals() in stack trace on exception (Python)

  21. 21

    How to use a stack trace dump to debug an exception?

  22. 22

    Finding the Stack Trace Log from an EXE that crashes

  23. 23

    cxf null pointer exception without stack trace

  24. 24

    Printing the stack trace vs the exception itself

  25. 25

    How does the console obtain the stack trace of an exception?

  26. 26

    Android phone not dumping stack trace

  27. 27

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

  28. 28

    Creating a pointer to a struct gives open_stackdumpfile

  29. 29

    How to handle the error cygwin_exception::open_stackdumpfile

HotTag

Archive