From: <no...@so...> - 2002-06-20 19:26:30
|
Bugs item #571355, was opened at 2002-06-19 15:18 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=104664&aid=571355&group_id=4664 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Hans-Bernhard Broeker (broeker) Summary: Cscope/cygwin aborts if invoked with -d Initial Comment: I am trying to use cscope version 15.3 on cygwin. I was able to compile and run it. I wanted to use cscope with vim. But when I tried to use it with vim, vim gave an error that it can not establish the connection. It seems that vim invokes cscope with "-dl" option. When I tried to invoke cscope with -d option from cygwin shell, it gave the following error: cscope: cannot read list size from file cscope.out This seems to be because of some file i/o error. ( May be some conversion issue ) The main problem is that it makes cscope unusable with vim on cygwin. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-06-20 12:26 Message: Logged In: NO I tried the current cvs version. When I was compiling it gave me the following error: In file included from /usr/include/fcntl.h:14, from vp.h:47, from build.c:46: /usr/include/sys/fcntl.h:51: warning: `O_BINARY' redefined global.h:123: warning: this is the location of the previous definition /usr/include/sys/fcntl.h:52: warning: `O_TEXT' redefined global.h:115: warning: this is the location of the previous definition After installing it, I rebuilt symbol reference file again. When I tried to invoke it with -d, it did a core dump with segmentation violation. Here is the stack trace: Exception: STATUS_ACCESS_VIOLATION at eip=6108AE76 eax=00000000 ebx=00000000 ecx=73630072 edx=0000FF00 esi=00000000 edi=10066B74 ebp=0022FAE8 esp=0022FAD0 program=C:\cygwin\usr\local\bin\cscope.exe cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023 Stack trace: Frame Function Args 0022FAE8 6108AE76 (00000000, 0022FB24, 00446178, 0044375A) 0022FB24 0044619D (0044375A, 00443758, 00000000, 00000000) 0022FC24 004464F8 (0044375A, 00443758, 00000001, 10066B74) 0022FEB4 00444526 (00000000, 615624FC, 10050278, 00000000) 0022FF10 61003F42 (00000000, 00000000, 0A02B0A0, 00000001) 0022FF40 61004236 (0044388C, 0A02B0A0, 838B3120, 00000000) 0022FF60 61004275 (00000000, 00000000, 838B32B0, 00000005) 0022FF90 004503A7 (0044388C, FFFFFFFF, 80430B27, 00000000) 0022FFC0 0040103D (0A02B0A0, 0022F7F8, 7FFDF000, 00000000) 0022FFF0 77E87903 (00401000, 00000000, 000000C8, 00000100) Regarding cygwin mount flags, here are those: C:\cygwin\bin on /usr/bin type system (textmode C:\cygwin\lib on /usr/lib type system (textmode C:\cygwin on / type system (textmode) c: on /cygdrive/c type user (textmode,noumount) d: on /cygdrive/d type user (textmode,noumount) e: on /cygdrive/e type user (textmode,noumount) g: on /cygdrive/g type user (textmode,noumount) ---------------------------------------------------------------------- Comment By: Hans-Bernhard Broeker (broeker) Date: 2002-06-20 08:19 Message: Logged In: YES user_id=27517 By all means try the current CVS sources. Esp. in the area of DOS/Windows line-end handling, quite a lot has changed since 15.3. If it still doesn't seem to work, please include the setting of your Cygwin mount options (binary? automode? text?), as reported if you type mount at the Cygwin Bash prompt. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=104664&aid=571355&group_id=4664 |