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

pattern match on long string causes core dump #513

Closed
p5pRT opened this issue Sep 13, 1999 · 2 comments
Closed

pattern match on long string causes core dump #513

p5pRT opened this issue Sep 13, 1999 · 2 comments

Comments

@p5pRT
Copy link

@p5pRT p5pRT commented Sep 13, 1999

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

Searchable as RT1360$

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Sep 13, 1999

From hlhamilt@aud.alcatel.com

I am trying to match on a string of this form​:
'signal \w+(\s*,\s*\w+){$x}'

When $x approaches 11000+, perl core dumps. The '\w+' are
between 10 and 300 characters each. The total string length
is around 600k characters. I have a test file which exhibits
this problem. It's 120k compressed.

Thanks,
Harlin!
hlhamilt@​aud.alcatel.com

Perl Info


Site configuration information for perl 5.00502:

Configured by hlhamilt at Fri Dec  4 15:28:55 CST 1998.

Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration:
  Platform:
    osname=solaris, osvers=2.5.1, archname=sun4-solaris
    uname='sunos rwasic23 5.5.1 generic_103640-12 sun4u sparc sunw,ultra-2 '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.7.2.3
    cppflags='-I/usr/local/include'
    ccflags ='-I/usr/local/include'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
    libc=, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'

Locally applied patches:
    


@INC for perl 5.00502:
    /rwasics_apps/gnu/lib/perl5.00502/sun4-solaris
    /rwasics_apps/gnu/lib/perl5.00502
    /rwasics_apps/gnu/lib/perl5.00502/site_perl/5.005/sun4-solaris
    /rwasics_apps/gnu/lib/perl5.00502/site_perl/5.005
    .


Environment for perl 5.00502:
    HOME=/homes/hlhamilt
    LANG=C
    LD_LIBRARY_PATH=.:/apps/CDS_PE13.0_sx/tools.sun4v/leapfrog/lib:/apps/CDS_PE13.0_sx/tools/vframe/lib:/apps/CDS_PE13.0_sx/tools/lib:/apps/dt1.0.2/lib:/usr/openwin/lib:.:/usr/lib:/home/hlhamilt/realplayer/rvplayer5.0
    LOGDIR (unset)
    PATH=.:/files/asic/ares/bin:/apps/CDS_PE13.0_sx/tools.sun4v/bin:/apps/CDS_PE13.0_sx/tools.sun4v/dfII/bin:/apps/CDS_PE13.0_sx/tools.sun4v/dfII/frame/bin:/apps/CDS_PE13.0_sx/tools.sun4v/lse/lemacs/lemacs:/apps/CDS_PE13.0_sx/tools.sun4v/lse/lemacs/lemacs/bin:/apps/CDS_PE13.0_sx/tools.sun4v/leapfrog/bin:/apps/CDS_PE13.0_sx/tools.sun4v/vtools/vfault/bin:/apps/CDS_PE13.0_sx/tools.sun4v/vtools/vtime/bin:/apps/CDS_PE13.0_sx/tools.sun4v/verilog/bin:/apps/CDS_PE13.0_sx/tools.sun4/infotools/viewer4.0/bin:/rwasics_apps/gnu/bin:/usr/openwin/bin:/usr/openwin/bin/xview:/usr/sbin:/bin:/usr/bin:/usr/ccs/bin:/usr/ucb:/homes/hlhamilt/bin:.:/usr/dt/bin:/files/asic/cprogs/bin
    PERL_BADLANG (unset)
    SHELL=/bin/csh

@p5pRT
Copy link
Author

@p5pRT p5pRT commented Mar 29, 2006

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

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

Successfully merging a pull request may close this issue.

None yet
1 participant