Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\b causes panic when using /aa option #11532

Closed
p5pRT opened this issue Jul 30, 2011 · 5 comments
Closed

\b causes panic when using /aa option #11532

p5pRT opened this issue Jul 30, 2011 · 5 comments

Comments

@p5pRT
Copy link

p5pRT commented Jul 30, 2011

Migrated from rt.perl.org#95964 (status was 'resolved')

Searchable as RT95964$

@p5pRT
Copy link
Author

p5pRT commented Jul 30, 2011

From @khwilliamson

Created by @cowens

This is a bug report for perl from chas.owens@​gmail.com,
generated with the help of perlbug 1.39 running under perl 5.15.0.

-----------------------------------------------------------------

[You can just copy perlbug's output into an email body and send to
perlbug@​perl.org, as I've done here. perlbug doesn't have to do the
actual sending.]

The following test script causes a panic in Perl 5.15.0 and 5.14.1 on
OS X 10.6.8.

It was originally reported in a more complicated case on Win32 using 5.14.1.

#!/usr/bin/perl

use 5.014;

my $foo = "foo";
$foo =~ s/\bfoo/bar/aa;
print "$foo\n";

The actual panic message is

panic​: Unexpected FLAGS 4 in op 12 at x.pl line 6.

Perl Info

Flags:
    category=core
    severity=critical

Site configuration information for perl 5.15.0:

Configured by cowens at Fri Jul  1 11:27:05 EDT 2011.

Summary of my perl5 (revision 5 version 15 subversion 0) configuration:

  Platform:
    osname=darwin, osvers=10.7.0, archname=darwin-2level
    uname='darwin amans.local 10.7.0 darwin kernel version 10.7.0: sat
jan 29 15:17:16 pst 2011; root:xnu-1504.9.37~1release_i386 i386 '
    config_args='-de
-Dprefix=/Users/cowens/apps/perlbrew/perls/perl-5.15.0 -Dusedevel'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-common -DPERL_DARWIN -fno-strict-aliasing
-pipe -fstack-protector -I/usr/local/include -I/opt/local/include',
    optimize='-O3',
    cppflags='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include -I/opt/local/include'
    ccversion='', gccversion='4.2.1 (Apple Inc. build 5664)', 
gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='
-fstack-protector -L/usr/local/lib -L/opt/local/lib'
    libpth=/usr/local/lib /opt/local/lib /usr/lib
    libs=-ldbm -ldl -lm -lutil -lc
    perllibs=-ldl -lm -lutil -lc
    libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup
-L/usr/local/lib -L/opt/local/lib -fstack-protector'

Locally applied patches:



@INC for perl 5.15.0:
 
/Users/cowens/apps/perlbrew/perls/perl-5.15.0/lib/site_perl/5.15.0/darwin-2level
    /Users/cowens/apps/perlbrew/perls/perl-5.15.0/lib/site_perl/5.15.0
    /Users/cowens/apps/perlbrew/perls/perl-5.15.0/lib/5.15.0/darwin-2level
    /Users/cowens/apps/perlbrew/perls/perl-5.15.0/lib/5.15.0
    .


Environment for perl 5.15.0:
    DYLD_LIBRARY_PATH (unset)
    HOME=/Users/cowens
    LANG=en_US.UTF-8
    LANGUAGE (unset)
    LD_LIBRARY_PATH=/Users/cowens/apps/brew/lib
    LOGDIR (unset)
 
PATH=/Users/cowens/apps/python/bin:/Users/cowens/apps/perlbrew/bin:/Users/cowens/apps/perlbrew/perls/perl-5.15.0/bin:~/bin:/Library/Application
Support/VMware 
Fusion/:/Users/cowens/apps/brew/sbin:/Users/cowens/apps/vim/bin:/Users/cowens/apps/python/bin:/Users/cowens/apps/citrusperl/bin:/Users/cowens/apps/brew/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
    PERLBREW_HOME=/Users/cowens/.perlbrew
 
PERLBREW_PATH=/Users/cowens/apps/perlbrew/bin:/Users/cowens/apps/perlbrew/perls/perl-5.15.0/bin
    PERLBREW_PERL=perl-5.15.0
    PERLBREW_ROOT=/Users/cowens/apps/perlbrew
    PERLBREW_VERSION=0.25
    PERL_BADLANG (unset)
    PERL_CPANM_OPT=--skip-installed --prompt
    PERL_INLINE_DIRECTORY=/Users/cowens/.inline
    SHELL=/bin/bash

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.


@p5pRT
Copy link
Author

p5pRT commented Jul 30, 2011

From @khwilliamson

--Karl Williamson

@p5pRT
Copy link
Author

p5pRT commented Jul 30, 2011

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Jul 30, 2011

@khwilliamson - Status changed from 'open' to 'resolved'

@p5pRT p5pRT closed this as completed Jul 30, 2011
@p5pRT
Copy link
Author

p5pRT commented Jul 30, 2011

From @khwilliamson

resolved by commitc973bd4f39028e70c9887cea72ea048a71347c9b
----Karl Williamson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant