ports/5071: SVN::Core causes core dump when perl tries a syntax check

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ports/5071: SVN::Core causes core dump when perl tries a syntax check

Joachim Schipper
>Number:         5071
>Category:       ports
>Synopsis:       SVN::Core causes core dump when perl tries a syntax check
>Confidential:   yes
>Severity:       non-critical
>Priority:       low
>Responsible:    bugs
>State:          open
>Quarter:        
>Keywords:      
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 08 13:50:01 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Joachim Schipper
>Release:        3.8-stable
>Organization:
net
>Environment:
        System      : OpenBSD 3.8
        Architecture: OpenBSD.i386
        Machine     : i386
>Description:
        /usr/bin/perl segfaults when validating the syntax on any file
containing 'use SVN::Core'. The file does run normally, though.
        The following software is used:

        $ perl --version | head -n 2
        This is perl, v5.8.6 built for i386-openbsd
        (with 2 registered patches, see perl -V for more detail)
        $ pkg_info | grep -i subversion
        p5-SVN-1.2.1        perl interface to subversion
        subversion-1.2.1    subversion revision control system

        This was marked as a low priority as perl -c is not used that much, and
neither is SVN::Core. Also note that syntax validation actually does work -
perl crashes after it's done.

        It is also possible that SVN::Core tickles some obscure perl bug, in
which case the priority might be a little higher.
>How-To-Repeat:
        $ echo 'use SVN::Core;' > tmp.pl
        $ echo 'print "Hello world!\n";' >> tmp.pl
        $ perl tmp.pl # This should work
        Hello world!
        $ perl -c tmp.pl # This doesn't work for me
        tmp.pl syntax OK
        Segmentation fault (core dumped)
>Fix:
        Might be fixed in -current and/or a newer Subversion version, I did not
check. Otherwise, no idea.

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

Reply | Threaded
Open this post in threaded view
|

Re: ports/5071: SVN::Core causes core dump when perl tries a syntax check

Sigfred Håversen
The following reply was made to PR ports/5071; it has been noted by GNATS.

From: =?ISO-8859-1?Q?Sigfred_H=E5versen?= <[hidden email]>
To: Joachim Schipper <[hidden email]>
Cc: [hidden email]
Subject: Re: ports/5071: SVN::Core causes core dump when perl tries a syntax check
Date: Sun, 09 Apr 2006 09:47:22 +0200

 Joachim Schipper wrote:
 
 >>How-To-Repeat:
 >
 > $ echo 'use SVN::Core;' > tmp.pl
 > $ echo 'print "Hello world!\n";' >> tmp.pl
 > $ perl tmp.pl # This should work
 > Hello world!
 > $ perl -c tmp.pl # This doesn't work for me
 > tmp.pl syntax OK
 > Segmentation fault (core dumped)
 >
 >>Fix:
 >
 > Might be fixed in -current and/or a newer Subversion version, I did not
 > check. Otherwise, no idea.
 
 I can reproduce this in -current/sparc64 with subversion 1.3.1.
 
 /Sigfred