On Saturday 18 August 2007 14:00:45 Ron Blaschke wrote:
> # New Ticket Created by  Ron Blaschke
> # Please include the string:  [perl #44763]
> # in the subject line of all future correspondence about this issue.
> # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=44763 >
>
>
> Not sure if this is Windows specific or not, but I'm seeing this with
> Visual C++ 8.0 on Windows XP, Parrot r20678.
>
> With PCRE(.dll) unavailable there are assertion failures.
>
> t/library/pcre....................................
> #     Failed test (t/library/pcre.t at line 35)
> # Exited with error code: 3
> # Received:
> # ok 1
> #
> # This application has requested the Runtime to terminate it in an
> unusual way.
> # Please contact the application's support team for more information.
> # src\ops\core.ops:1197: failed assertion
> '((&(interp)->ctx)->bp_ps.regs_p[-1L-(cur_opcode[2])])->pmc_ext'
> #
> # Expected:
> # ok 1
> # ok 2
> # ok 3
> # ok 4
> # ok 5
> #
> # Looks like you failed 1 test of 1.
> t/library/pcre....................................dubious
>         Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED test 1
>         Failed 1/1 tests, 0.00% okay
> ...
> t/examples/library................................ok
> 1/4src\ops\core.ops:1197: failed assertion '((&(interp)->ctx)->bp_p
> s.regs_p[-1L-(cur_opcode[2])])->pmc_ext'
>
> This application has requested the Runtime to terminate it in an unusual
> way.
> Please contact the application's support team for more information.
>
> #     Failed test (t/examples/library.t at line 67)
> #          got: ''
> #     expected: 'asdf =~ /as/
> # 1 match(es):
> # as
> # '
> # Looks like you failed 1 test of 4.
> t/examples/library................................dubious
>         Test returned status 1 (wstat 256, 0x100)
> DIED. FAILED test 3
>         Failed 1/4 tests, 75.00% okay
>
>
> With PCRE(.dll) available the tests are fine.
>
> $ runtests t/library/pcre.t t/examples/library.t
> t/library/pcre..........ok
> t/examples/library......ok
> All tests successful.
> Files=2, Tests=5,  1 wallclock secs ( 0.00 cusr +  0.00 csys =  0.00 CPU)
>
> Could someone please try this on another platform too?

I think this is because runtime/parrot/library/pcre.pir doesn't check the 
definedness of whatever it gets from loadlib.

-- c

Reply via email to