Page 1 of 1

cscope problem: cscope.exe.stackdump

Posted: Thu Aug 05, 2010 3:20 pm
by erikk
Hello

when i try "cscope"->"find this c symbol" or other cscope rated function i get a cscope.exe.stackdump in my project dir, the contents is:

Exception: STATUS_ACCESS_VIOLATION at eip=00402507
eax=00000000 ebx=00000015 ecx=007358C1 edx=00000000 esi=007358C1 edi=007358C0
ebp=0022C348 esp=0022C320 program=D:\codelite\cscope.exe, pid 4888, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame Function Args
0022C348 00402507 (00000190, 00735454, 0022C368, 00735454)
0022C3F8 00408795 (007C3630, 00000000, 00000BBF, 00405260)
0022C9A8 00405717 (007355F8, 00000002, 0045E280, 00001318)
0022CC78 004108DB (00000000, 0073348C, 00730090, 00000004)
0022CD98 61006198 (00000000, 0022CDD0, 61005510, 0022CDD0)
61005510 61004416 (0000009C, A02404C7, E8611021, FFFFFF48)
1601128 [main] cscope 4888 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
1634746 [main] cscope 4888 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)

is there something wrong?

Re: cscope problem: cscope.exe.stackdump

Posted: Fri Aug 06, 2010 6:48 pm
by eranif
Looks like cscope has crashed... (codelite uses an already built cscope - try to find another cscope.exe binary on the net and replace that comes with codelite)

You might also want to try and use Ctrl-D to locate symbols (it is working much better than cscope plugin)
Eran

Re: cscope problem: cscope.exe.stackdump

Posted: Fri Aug 06, 2010 8:22 pm
by erikk
Thanks, the CTRL-D works, but I found the reason could be followings:

1) The contents of cscope_file.list includes files that is not the source files, eg.
..\..\cygwin\usr\src\u-boot-1.1.4\tools\bddb\README
My question is how to exclude the none-source file?

2) The path is not direct represented , I remember I have used vim+cscope, that can not work with relative path, this will make the ncscope.out empty; my question is if it possible make as direct path eg. d:\cygwin\usr\src\abc.c, not ..\..\cygwin\usr\src\abc.c