Date: Mon, 19 May 2014 21:55:43 GMT From: Richard Kettlewell <rjk@greenend.org.uk> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/189975: sccs create segfaults Message-ID: <201405192155.s4JLthOe021036@cgiserv.freebsd.org> Resent-Message-ID: <201405192200.s4JM00tI079537@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 189975 >Category: misc >Synopsis: sccs create segfaults >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon May 19 22:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Richard Kettlewell >Release: 10 >Organization: >Environment: FreeBSD neutraloid 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: [richard@neutraloid ~]$ mkdir test [richard@neutraloid ~]$ cd test [richard@neutraloid ~/test]$ touch one [richard@neutraloid ~/test]$ mkdir SCCS [richard@neutraloid ~/test]$ sccs create one one: sccs: admin: Signal 11 (core dumped) [richard@neutraloid ~/test]$ gdb /usr/local/libexec/cssc/admin admin.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols found)... Core was generated by `admin'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/libc++.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libc++.so.1 Reading symbols from /lib/libcxxrt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libcxxrt.so.1 Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x0000000800b02e96 in __cxa_begin_catch () from /lib/libcxxrt.so.1 (gdb) bt #0 0x0000000800b02e96 in __cxa_begin_catch () from /lib/libcxxrt.so.1 #1 0x0000000000404399 in ?? () #2 0x00007fffffffd330 in ?? () #3 0x0000000000404389 in ?? () Previous frame identical to this frame (corrupt stack?) [richard@neutraloid ~/test]$ pkg info cssc cssc-1.3.0 Name : cssc Version : 1.3.0 Installed on : Mon May 19 22:32:41 BST 2014 Origin : devel/cssc Architecture : freebsd:10:x86:64 Prefix : /usr/local Categories : devel Licenses : GPLv3 Maintainer : oliver@fromme.com WWW : http://www.gnu.org/software/cssc/ Comment : Workalike for the source code control system SCCS Options : BINARY : on Flat size : 1.21MiB Description : CSSC is the GNU Project's replacement for SCCS. SCCS is a proprietary suite of tools which is provided with most commercial versions of Unix. The purpose behind CSSC is to provide a work-alike for SCCS which can be used on the various Free versions of Unix. SCCS was the only major form of source code control on Unix platforms for many years, until RCS came along. SCCS was an effective method for small projects, but these days it is less popular, particularly for projects involving large numbers of files. A certain amount of old software is still in SCCS form, and CSSC is designed to retrieve that software. Once retrieved, it is recommended to bring the source under the control of a more modern source code control system, such as git or Apache Subversion. However, SCCS (and CSSC) is still perfectly adequate for small projects. For example, if you are familiar with SCCS, it is not unreasonable to control the files in /etc and /usr/local/etc on your private FreeBSD machine with CSSC. WWW: http://www.gnu.org/software/cssc/ >How-To-Repeat: [richard@neutraloid ~]$ mkdir test [richard@neutraloid ~]$ cd test [richard@neutraloid ~/test]$ touch one [richard@neutraloid ~/test]$ mkdir SCCS [richard@neutraloid ~/test]$ sccs create one one: sccs: admin: Signal 11 (core dumped) >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405192155.s4JLthOe021036>