From: Petr S. <pe...@us...> - 2000-04-28 16:42:20
|
Hi, After some long debugging, found out that -q was failing in two areas: 1) In sufficient buffer size (causing the occasional core dump) 2) An embarassing misunderstanding of the return value of regexec All is fixed now. If somebody want to try it out on the Linux kernel source please do (I ran out of disk space - you'll probably need 200Mb or more). Petr |
From: Joshua U. <uz...@li...> - 2000-04-28 19:14:32
|
* Petr Sorfa <pe...@us...> [000428 10:45]: > After some long debugging, found out that -q was failing in two areas: > > 1) In sufficient buffer size (causing the occasional core dump) > 2) An embarassing misunderstanding of the return value of regexec > > All is fixed now. If somebody want to try it out on the Linux kernel source > please do (I ran out of disk space - you'll probably need 200Mb or more). It still segfaults here, using my Linux kernel Makefile "cscope" rule: [root@puffin linux]# make cscope ... cscope -b cscope: building symbol database 30 files built, 0 files copied 130 files built, 0 files copied ... 3290 files built, 0 files copied 3370 files built, 0 files copied make: *** [cscope] Segmentation fault [root@puffin linux]# -- Joshua Uziel, Senior Linux Consultant, Linuxcare, Inc. 415.354.4878 tel, 415.701.7457 fax uz...@li..., http://www.linuxcare.com/ Linuxcare. Support for the revolution. |
From: Petr S. <pe...@sc...> - 2000-04-28 20:09:01
|
Hi Joshua, > > After some long debugging, found out that -q was failing in two areas: > > > > 1) In sufficient buffer size (causing the occasional core dump) > > 2) An embarassing misunderstanding of the return value of regexec > > > > All is fixed now. If somebody want to try it out on the Linux kernel source > > please do (I ran out of disk space - you'll probably need 200Mb or more). > > It still segfaults here, using my Linux kernel Makefile "cscope" rule: > > [root@puffin linux]# make cscope > ... > cscope -b > cscope: building symbol database > 30 files built, 0 files copied > 130 files built, 0 files copied > ... > 3290 files built, 0 files copied > 3370 files built, 0 files copied > make: *** [cscope] Segmentation fault > [root@puffin linux]# Are you sure that you used the right executable? Also you have -b up there, I assume you meant -q. Petr > > -- > Joshua Uziel, Senior Linux Consultant, Linuxcare, Inc. > 415.354.4878 tel, 415.701.7457 fax > uz...@li..., http://www.linuxcare.com/ > Linuxcare. Support for the revolution. > > _______________________________________________ > Cscope-devel mailing list > Csc...@li... > http://lists.sourceforge.net/mailman/listinfo/cscope-devel -- -------------------------------------------------------- Petr Sorfa Software Engineer Santa Cruz Operation (SCO) 430 Mountain Ave. http://www.sco.com Murray Hill 07974 NJ, USA -------------------------------------------------------- Disclaimer: All my comments are my own and nobody else's ---------------------------------------------------------- |
From: Joshua U. <uz...@li...> - 2000-04-28 20:29:37
|
* Petr Sorfa <pe...@sc...> [000428 13:15]: > Are you sure that you used the right executable? Also you have -b up > there, I assume you meant -q. Yep, I'm using the right binary, and I forgot to include that I have these lines being executed in the Makefile: [root@puffin linux]# make cscope rm -f cscope.files cscope.out echo "-q -k" >> cscope.files echo "-I include/asm-sparc" >> cscope.files find include/* -maxdepth 0 -type d -not \( -name "asm*" -o \ -name config -o -name CVS \) -exec echo "-I" {} \; \ >> cscope.files find include/asm-sparc -name '*.h' >> cscope.files find `find include/* -maxdepth 0 -type d -not \( -name "asm*" \ -o -name config -o -name CVS \)` -name '*.h' >> cscope.files find kernel drivers mm fs net ipc lib arch/sparc/kernel arch/sparc/lib arch/sparc/prom arch/sparc/mm arch/sparc/math-emu arch/sparc/boot init -name '*.[chS]' >> cscope.files cscope -b cscope: building symbol database 100 files built, 0 files copied ... So I have that 'echo "-q -k" >> cscope.files' line in there, so I don't need to give it -q... -- Joshua Uziel, Senior Linux Consultant, Linuxcare, Inc. 415.354.4878 tel, 415.701.7457 fax uz...@li..., http://www.linuxcare.com/ Linuxcare. Support for the revolution. |
From: Petr S. <pe...@sc...> - 2000-04-28 20:38:27
|
Hi Joshua, Apologies, you are right. I managed to get the same error. I'm looking at it now. Petr > > Are you sure that you used the right executable? Also you have -b up > > there, I assume you meant -q. > > Yep, I'm using the right binary, and I forgot to include that > I have these lines being executed in the Makefile: > > [root@puffin linux]# make cscope > rm -f cscope.files cscope.out > echo "-q -k" >> cscope.files > echo "-I include/asm-sparc" >> cscope.files > find include/* -maxdepth 0 -type d -not \( -name "asm*" -o \ > -name config -o -name CVS \) -exec echo "-I" {} \; \ > >> cscope.files > find include/asm-sparc -name '*.h' >> cscope.files > find `find include/* -maxdepth 0 -type d -not \( -name "asm*" \ > -o -name config -o -name CVS \)` -name '*.h' >> cscope.files > find kernel drivers mm fs net ipc lib arch/sparc/kernel arch/sparc/lib > arch/sparc/prom arch/sparc/mm arch/sparc/math-emu arch/sparc/boot init > -name '*.[chS]' >> cscope.files > cscope -b > cscope: building symbol database > 100 files built, 0 files copied > ... > > So I have that 'echo "-q -k" >> cscope.files' line in there, so I > don't need to give it -q... > > -- > Joshua Uziel, Senior Linux Consultant, Linuxcare, Inc. > 415.354.4878 tel, 415.701.7457 fax > uz...@li..., http://www.linuxcare.com/ > Linuxcare. Support for the revolution. -- -------------------------------------------------------- Petr Sorfa Software Engineer Santa Cruz Operation (SCO) (908) 790 2376 430 Mountain Ave. http://www.sco.com Murray Hill 07974 NJ, USA -------------------------------------------------------- Disclaimer: All my comments are my own and nobody else's ---------------------------------------------------------- |