Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jan 2006 12:57:32 +0100 (CET)
From:      Frank Behrens <frank@pinky.sax.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/91789: rcorder(8) coredumps on dependency conflict
Message-ID:  <200601141157.k0EBvWe7003104@moon.behrens>
Resent-Message-ID: <200601141200.k0EC0GTW001332@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         91789
>Category:       bin
>Synopsis:       rcorder(8) coredumps on dependency conflict
>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:   Sat Jan 14 12:00:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Frank Behrens
>Release:        FreeBSD 6.0-STABLE-200601131811 i386
>Organization:
>Environment:
>Description:
rcorder(8) aborts with coredump when in a script REQUIRE and BEFORE
lines have the same entry.

Of course this is an error in the script itself, but rcorder should not abort.
In case of rcorder abort most of the system services are not started.

The error message is:
rcorder: Circular dependency on file `/etc/rc.d/NETWORKING'.
rcorder in free(): error: chunk is already free
Abort trap (core dumped)

>How-To-Repeat:
Run the following script:

#!/bin/sh

testscript=/etc/rc.d/testcrash
cat >$testscript << EOF
#!/bin/sh
# PROVIDE: test
# REQUIRE: NETWORK
# BEFORE: NETWORK
EOF
chmod +x $testscript
rcorder /etc/rc.d/*
rm $testscript

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601141157.k0EBvWe7003104>