On Tue, Jul 03, 2007 at 01:28:30PM -0700, Mark Glines wrote: > On Tue, 3 Jul 2007 10:18:59 -0700 > Mark Glines <[EMAIL PROTECTED]> wrote: > > So, while I agree that the "crashing on NULL rep" bug needs to be > > fixed, I've been mostly focusing on staring at regexdna.pir, hoping > > to find a fix for the "passing a NULL rep in the first place" bug. > > The behavior of this testcase changed last Thursday, in svn r19441. > Patrick's patch to compilers/pge/PGE/Exp.pir seems to be the cause. > > ------------------------------------------------------------------------ > r19441 | pmichaud | 2007-06-28 19:14:11 -0700 (Thu, 28 Jun 2007) | 3 lines > > [pge]: > * Remove find_type from PGE/Exp.pir (w/test). > > > The test case is: > > $ ./parrot examples/shootout/regexdna.pir > <examples/shootout/regexdna.pir.input > > > Output before the patch (r19440): > > agggtaaa|tttaccct 0 > [cgt]gggtaaa|tttaccc[acg] 3 > a[act]ggtaaa|tttacc[agt]t 9 > ag[act]gtaaa|tttac[agt]ct 8 > agg[act]taaa|ttta[agt]cct 10 > aggg[acg]aaa|ttt[cgt]ccct 3 > agggt[cgt]aa|tt[acg]accct 4 > agggta[cgt]a|t[acg]taccct 3 > agggtaa[cgt]|[acg]ttaccct 5 > > 101745 > 100000 > 133640 > > > Output after the patch: > > agggtaaa|tttaccct 0 > [cgt]gggtaaa|tttaccc[acg] 3 > a[act]ggtaaa|tttacc[agt]t 9 > ag[act]gtaaa|tttac[agt]ct 8 > agg[act]taaa|ttta[agt]cct 10 > aggg[acg]aaa|ttt[cgt]ccct 3 > agggt[cgt]aa|tt[acg]accct 4 > agggta[cgt]a|t[acg]taccct 3 > agggtaa[cgt]|[acg]ttaccct 5 > Segmentation fault > > This is on gentoo linux x86. I ran Configure.pl with no arguments. > Apparently this test passes on chromatic's linux box, and on particle's > win32 box, but fails on my gentoo box and particle's ubuntu box. So its > a bit sporadic. > > I'll post another followup to this ticket if I can find a fix. > > Mark
I just tried this test case with a fresh parrot from svn on a sparc machine running gentoo and got the first set of output. I don't know if this helps or confuses. Bob