perl 5.8.5 segfaults on patternmatch

P

peter pilsl

I recently discovered segfaulting of perl 5.8.5 doing many
patternmatches like /abc.*$/ and /^.*abc/ on a big datastructure.

I seem to able to avoid the problem by using the more accurate
searchpatterns /abc.*/ and /.*abc/ instead, but I generally wonder what
to do with a segfaulting perl ?

I tried to create a very short script demonstrating the problem, but
could not. The shortest version of my tool is still about 100 lines of
code and the inputfile (a stored hash) is about 1M. Does it make any
sense to upload the script, the inputfile and the coredump somewhere to
let anyone peek into it or is it just a bug and I should be happy to
have found a way around it?

thnx,
peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top