See attachment, which was run at commit 5ea2552ff45bd4f7feee65660c01e770530a496e.

Today I observed one failure in each of these two files. The error output is from Linux/i386 with an all-g++ build, but I got the same failures on the same box with an all-gcc build and on Darwin/x86_64.

Thank you very much.
Jim Keenan
#   Failed test 'partial multibyte char in buffer'
#   at t/pmc/filehandle.t line 1032.
# src/io/utilities.c:373: failed assertion 'byte_length > 0'
# Backtrace - Obtained 24 stack frames (max trace depth is 32).
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0 [0xb7d491ea]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0(Parrot_confess+0x9a) 
[0xb7d4939a]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0 [0xb7dc4295]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0 [0xb7dc4614]
# 
/home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0(Parrot_io_readline_s+0x273)
 [0xb7dbaa63]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0 [0xb7e55628]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0 [0xb7e62b5f]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0 [0xb7d2d699]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0 [0xb7d96d88]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0 [0xb7d9684a]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0 [0xb7d6d155]
# 
/home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0(Parrot_pcc_invoke_from_sig_object+0x1a0)
 [0xb7d65cb0]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0(Parrot_ext_call+0x103) 
[0xb7d4b013]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0 [0xb7eb4b4b]
# 
/home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0(Parrot_pcc_invoke_from_sig_object+0x13c)
 [0xb7d65c4c]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0(Parrot_ext_call+0x103) 
[0xb7d4b013]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0 [0xb7d9e1c5]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0 [0xb7d9e24e]
# 
/home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0(Parrot_cx_begin_execution+0x11b)
 [0xb7d9e53b]
# 
/home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0(Parrot_pf_execute_bytecode_program+0x185)
 [0xb7dac455]
# 
/home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0(Parrot_api_run_bytecode+0x15f)
 [0xb7d43a4f]
# ./parrot [0x804a112]
# /lib/libc.so.6(__libc_start_main+0xe5) [0xb6eb7455]
# ./parrot(__gxx_personality_v0+0x45) [0x8049061]
# Attempting to get PIR backtrace.  No guarantees.  Here goes...
# current instr.: 'read_600_lines' pc 173 
(/home/jimk/gitwork/parrot/t/pmc/filehandle_30.pir:56)
# called from Sub 'test' pc 69 
(/home/jimk/gitwork/parrot/t/pmc/filehandle_30.pir:25)
# called from Sub '__PARROT_ENTRY_MAIN__' pc 359 (frontend/parrot2/prt0.pir:129)
# 
# Looks like you failed 1 test of 33.
t/pmc/filehandle.t .. 
1..33
ok 1 - new
ok 2 - open and close - synchronous
ok 3 - wrong open
ok 4 - isatty
ok 5 # skip no async calls yet
ok 6 - read - synchronous
ok 7 - read_bytes - synchronous
ok 8 - print - synchronous
ok 9 - readline - synchronous
ok 10 - readline 10,000 lines
ok 11 - record_separator
ok 12 - record_separator, multiple chars
ok 13 - buffer_type
ok 14 - buffer_size
ok 15 - encoding
ok 16 - encoding - read/write
ok 17 - mode
ok 18 - clone preserves all attributes of filehandle
ok 19 - readall - closed filehandle
ok 20 - readall() - opened filehandle
ok 21 - readall - failure conditions
ok 22 - readall() - utf8 on closed filehandle
ok 23 - readall() - utf8 on opened filehandle
ok 24 - exit status
ok 25 # skip Timely destruction is deprecated. GH #278
ok 26 - get_bool
ok 27 - get_fd method
ok 28 - write after buffered read
ok 29 - small reads and seeks
not ok 30 - partial multibyte char in buffer
ok 31 - .write_bytes
ok 32 - .read_bytes
ok 33 - No null byte in .readall after readline
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/33 subtests 
        (less 2 skipped subtests: 30 okay)

#   Failed test 'utf16 readline'
#   at t/pmc/io.t line 766.
# 32018
# src/io/utilities.c:373: failed assertion 'byte_length > 0'
# Backtrace - Obtained 24 stack frames (max trace depth is 32).
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0 [0xb7d801ea]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0(Parrot_confess+0x9a) 
[0xb7d8039a]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0 [0xb7dfb295]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0 [0xb7dfb614]
# 
/home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0(Parrot_io_readline_s+0x273)
 [0xb7df1a63]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0 [0xb7e8c628]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0 [0xb7e99b5f]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0 [0xb7d64699]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0 [0xb7dcdd88]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0 [0xb7dcd84a]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0 [0xb7da4155]
# 
/home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0(Parrot_pcc_invoke_from_sig_object+0x1a0)
 [0xb7d9ccb0]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0(Parrot_ext_call+0x103) 
[0xb7d82013]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0 [0xb7eebb4b]
# 
/home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0(Parrot_pcc_invoke_from_sig_object+0x13c)
 [0xb7d9cc4c]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0(Parrot_ext_call+0x103) 
[0xb7d82013]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0 [0xb7dd51c5]
# /home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0 [0xb7dd524e]
# 
/home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0(Parrot_cx_begin_execution+0x11b)
 [0xb7dd553b]
# 
/home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0(Parrot_pf_execute_bytecode_program+0x185)
 [0xb7de3455]
# 
/home/jimk/gitwork/parrot/blib/lib/libparrot.so.5.1.0(Parrot_api_run_bytecode+0x15f)
 [0xb7d7aa4f]
# ./parrot [0x804a112]
# /lib/libc.so.6(__libc_start_main+0xe5) [0xb6eee455]
# ./parrot(__gxx_personality_v0+0x45) [0x8049061]
# Attempting to get PIR backtrace.  No guarantees.  Here goes...
# current instr.: 'main' pc 106 (/home/jimk/gitwork/parrot/t/pmc/io_34.pir:30)
# called from Sub '__PARROT_ENTRY_MAIN__' pc 359 (frontend/parrot2/prt0.pir:129)
# 
# Looks like you failed 1 test of 35.
t/pmc/io.t .......... 
1..35
ok 1 - read on invalid fh should throw exception
ok 2 # skip clone not finished yet
ok 3 - open and readline
ok 4 - open and readline, no final newline
ok 5 - open & print
ok 6 - 3-arg open
ok 7 - open and close
ok 8 - file contents
ok 9 - append
ok 10 - append file contents
ok 11 - write to file
ok 12 - file contents
ok 13 - Parrot_io_flush on buffer full
ok 14 - buffered file contents
ok 15 - turn off buffering
ok 16 - unbuffered file contents
ok 17 - I/O buffering
ok 18 - standard file descriptors
ok 19 - print method
ok 20 - print method - PIR
ok 21 - callmethod print
ok 22 - seek/tell
ok 23 - readline and tell
ok 24 - 32bit seek: exception
ok 25 - 64bit seek: exception
ok 26 - peek
ok 27 - peek on an empty file
ok 28 - substr after reading from file
ok 29 - multiple substr after reading from file
ok 30 - utf8 read enabled, read parts
ok 31 - utf16 io
ok 32 - PIO.readall() - classmeth
ok 33 - PIO.readall() - object
not ok 34 - utf16 readline
ok 35 - readline with multichar delimiter
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/35 subtests 
        (less 1 skipped subtest: 33 okay)

Test Summary Report
-------------------
t/pmc/filehandle.t (Wstat: 256 Tests: 33 Failed: 1)
  Failed test:  30
  Non-zero exit status: 1
t/pmc/io.t        (Wstat: 256 Tests: 35 Failed: 1)
  Failed test:  34
  Non-zero exit status: 1
Files=2, Tests=68,  2 wallclock secs ( 0.03 usr  0.01 sys +  1.10 cusr  0.50 
csys =  1.64 CPU)
Result: FAIL
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply via email to