Ticket #2152 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

t/pmc/string.t, t/library/streams.t: new test failures

Reported by: jkeenan Owned by:
Priority: major Milestone:
Component: core Version: 3.5.0
Severity: high Keywords:
Cc: NotFound Language:
Patch status: Platform:

Description (last modified by jkeenan) (diff)

New failures have emerged in these files within the last 24 hours.

t/pmc/string.t

ok 112 - ... substr
src/string/encoding/utf8.c:551: failed assertion 'i->bytepos <= str->bufused'
Backtrace - Obtained 16 stack frames (max trace depth is 32).
/home/jimk/gitwork/parrot/blib/lib/libparrot.so.3.5.0 [0x400a727a]
/home/jimk/gitwork/parrot/blib/lib/libparrot.so.3.5.0(Parrot_confess+0x9a) [0x400a742a]
/home/jimk/gitwork/parrot/blib/lib/libparrot.so.3.5.0 [0x401fd122]
/home/jimk/gitwork/parrot/blib/lib/libparrot.so.3.5.0 [0x4016ef0a]
/home/jimk/gitwork/parrot/blib/lib/libparrot.so.3.5.0 [0x401b0b8f]
/home/jimk/gitwork/parrot/blib/lib/libparrot.so.3.5.0 [0x4008b86b]
/home/jimk/gitwork/parrot/blib/lib/libparrot.so.3.5.0 [0x400f28e8]
/home/jimk/gitwork/parrot/blib/lib/libparrot.so.3.5.0 [0x400f20fa]
/home/jimk/gitwork/parrot/blib/lib/libparrot.so.3.5.0 [0x400ca5a5]
/home/jimk/gitwork/parrot/blib/lib/libparrot.so.3.5.0(Parrot_pcc_invoke_from_sig_object+0x1c2) [0x400c2f62]
/home/jimk/gitwork/parrot/blib/lib/libparrot.so.3.5.0(Parrot_pcc_invoke_sub_from_c_args+0x11e) [0x400c30ce]
/home/jimk/gitwork/parrot/blib/lib/libparrot.so.3.5.0(Parrot_pf_execute_bytecode_program+0x1d5) [0x40104ed5]
/home/jimk/gitwork/parrot/blib/lib/libparrot.so.3.5.0(Parrot_api_run_bytecode+0x15a) [0x400a1e4a]
./parrot [0x804a5b7]
/lib/libc.so.6(__libc_start_main+0xe5) [0x40e80455]
./parrot [0x80491d1]
Attempting to get PIR backtrace.  No guarantees.  Here goes...
current instr.: 'is_integer__check_integer' pc 3094 (t/pmc/string.t:700)
called from Sub 'main' pc 290 (t/pmc/string.t:53)
t/library/streams.t

ok 12 - Stream::Coroutine
not ok 13 - Stream::ParrotIO

#   Failed test 'Stream::ParrotIO'
#   at t/library/streams.t line 334.
#          got: 'read:[    1 ]
# read:[    2 This file is used as a source for ParrotIO streams in t/library/streams.t]
# read:[    3 ]
# read:[    4         Larry   0              Classified.     Don't ask.]

[# cut very long error output]

# read:[ 5.8.5-RC2     2004-Jul-08\n                 5.8.5 ]
# read:[        2004-Jul-19\n\n        Hugo     5.9.0       ]
# read:[  2003-Oct-27\n        Rafael   5.9.1         2004-]
# read:[Mar-16\n]
# done
# finished
# '
ok 18 # skip broken method invocation

These have to be fixed ASAP. Otherwise, I will revert the relevant commits so that we can go forward with the release.

Thank you very much.

kid51

Change History

  Changed 3 years ago by jkeenan

  • description modified (diff)

follow-up: ↓ 3   Changed 3 years ago by NotFound

The string pmc was my fault, fixed in 4b344e6cfe

The other I think is fixed in 8c150e26c3

in reply to: ↑ 2   Changed 3 years ago by jkeenan

  • status changed from new to closed
  • resolution set to fixed

Replying to NotFound:

The string pmc was my fault, fixed in 4b344e6cfe The other I think is fixed in 8c150e26c3

Confirmed; see  Smolder 17717.

Thank you very much for the quick response.

kid51

Note: See TracTickets for help on using tickets.