# New Ticket Created by  chromatic 
# Please include the string:  [perl #55000]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=55000 >


I'm seeing several test failures from an optimized build (Ubuntu Hardy Heron 
x86 32-bit).  Here's the verbose output from prove.  I can post backtraces if 
necessary.

As far as I can tell, they've been present for at least a thousand commits.

t/pmc/threads.t.....
1..20
ok 1 - interp identity
not ok 2 - thread type 1

#   Failed test 'thread type 1'
#   at t/pmc/threads.t line 80.
# Exited with error code: 139
# Received:
# thread
# main 10
# Segmentation fault
# 
# Expected:
# thread
# main 10
# 
not ok 3 - thread type 1 -- repeated

#   Failed test 'thread type 1 -- repeated'
#   at t/pmc/threads.t line 115.
# Exited with error code: 139
# Received:
# thread
# main 10
# Segmentation fault
# 
# Expected:
# thread
# main 10
# thread
# main 10
# 
not ok 4 - thread type 2

#   Failed test 'thread type 2'
#   at t/pmc/threads.t line 161.
# Exited with error code: 139
# Received:
# ok 1
# hello from thread
# ParrotThread tid 1
# from 10 interp
# Segmentation fault
# 
# Expected:
# ok 1
# hello from thread
# ParrotThread tid 1
# from 10 interp
# 
ok 5 - thread - kill
not ok 6 - join, get retval

#   Failed test 'join, get retval'
#   at t/pmc/threads.t line 237.
# Exited with error code: 139
# Received:
# Segmentation fault
# 
# Expected:
# 500500
# 500500
# 
not ok 7 - detach

#   Failed test 'detach'
#   at t/pmc/threads.t line 290.
# Exited with error code: 139
# Received:
# thread
# done
# Segmentation fault
# 
# Expected:
# /(done\nthread\n)|(thread\ndone\n)/
# 
not ok 8 - share a PMC

#   Failed test 'share a PMC'
#   at t/pmc/threads.t line 319.
# Exited with error code: 139
# Received:
# thread
# 20
# Segmentation fault
# 
# Expected:
# thread
# 20
# done
# 21
# 
not ok 9 - multi-threaded

#   Failed test 'multi-threaded'
#   at t/pmc/threads.t line 355.
# Exited with error code: 139
# Received:
# 3
# 1
# 2
# 3
# done thread
# Segmentation fault
# 
# Expected:
# 3
# 1
# 2
# 3
# done thread
# done main
# 
not ok 10 - sub name lookup in new thread

#   Failed test 'sub name lookup in new thread'
#   at t/pmc/threads.t line 403.
# Exited with error code: 139
# Received:
# ok
# ok
# Segmentation fault
# 
# Expected:
# ok
# ok
# 
not ok 11 - CLONE_CODE only

#   Failed test 'CLONE_CODE only'
#   at t/pmc/threads.t line 436.
# Exited with error code: 139
# Received:
# ok 1
# ok 2
# ok 3
# ok 4
# Segmentation fault
# 
# Expected:
# ok 1
# ok 2
# ok 3
# ok 4
# ok 5
# 
not ok 12 - CLONE_CODE | CLONE_GLOBALS

#   Failed test 'CLONE_CODE | CLONE_GLOBALS'
#   at t/pmc/threads.t line 495.
# Exited with error code: 139
# Received:
# in thread:
# ok alpha
# ok beta1
# ok beta2
# ok beta3
# Segmentation fault
# 
# Expected:
# in thread:
# ok alpha
# ok beta1
# ok beta2
# ok beta3
# in main:
# ok alpha
# ok beta1
# ok beta2
# ok beta3
# 
not ok 13 - CLONE_CODE | CLONE_CLASSES; superclass not built-in # TODO vtable 
overrides aren't properly cloned RT# 46511
#   Failed (TODO) test 'CLONE_CODE | CLONE_CLASSES; superclass not built-in'
#   at t/pmc/threads.t line 580.
# Exited with error code: 139
# Received:
# in thread:
# Segmentation fault
# 
# Expected:
# in thread:
# A Bar
# called Bar's barmeth
# called Foo's foometh
# Integer? 0
# Foo? 1
# Bar? 1
# in main:
# A Bar
# called Bar's barmeth
# called Foo's foometh
# Integer? 0
# Foo? 1
# Bar? 1
# 
not ok 14 - CLONE_CODE | CLONE_CLASSES; superclass built-in

#   Failed test 'CLONE_CODE | CLONE_CLASSES; superclass built-in'
#   at t/pmc/threads.t line 665.
# Exited with error code: 139
# Received:
# in thread:
# A Bar
# called Bar's barmeth
# called Foo's foometh
# Integer? 1
# Foo? 1
# Bar? 1
# Segmentation fault
# 
# Expected:
# in thread:
# A Bar
# called Bar's barmeth
# called Foo's foometh
# Integer? 1
# Foo? 1
# Bar? 1
# in main:
# A Bar
# called Bar's barmeth
# called Foo's foometh
# Integer? 1
# Foo? 1
# Bar? 1
# 
not ok 15 - CLONE_CODE | CLONE_GLOBALS| CLONE_HLL

#   Failed test 'CLONE_CODE | CLONE_GLOBALS| CLONE_HLL'
#   at t/pmc/threads.t line 750.
# Exited with error code: 139
# Received:
# in thread:
# ok 1
# ok 2
# Segmentation fault
# 
# Expected:
# in thread:
# ok 1
# ok 2
# in main:
# ok 1
# ok 2
# 
not ok 16 - globals + constant table subs issue

#   Failed test 'globals + constant table subs issue'
#   at t/pmc/threads.t line 816.
# Exited with error code: 139
# Received:
# ok 1
# ok 2
# ok 3
# ok 4
# ok 5
# ok 6
# ok 7
# ok 8
# ok 9
# ok 10
# ok 11
# ok 12
# ok 13
# ok 14
# ok 15
# ok 16
# ok 17
# ok 18
# ok 19
# ok 20
# ok 21
# ok 22
# ok 23
# ok 24
# ok 25
# ok 26
# ok 27
# ok 28
# ok 29
# ok 30
# ok 31
# ok 32
# ok 33
# ok 34
# ok 35
# ok 36
# ok 37
# ok 38
# ok 39
# ok 40
# ok 41
# ok 42
# ok 43
# ok 44
# ok 45
# ok 46
# ok 47
# ok 48
# ok 49
# ok 50
# ok 51
# ok 52
# ok 53
# ok 54
# ok 55
# ok 56
# ok 57
# ok 58
# ok 59
# ok 60
# ok 61
# ok 62
# ok 63
# ok 64
# ok 65
# ok 66
# ok 67
# ok 68
# ok 69
# ok 70
# ok 71
# ok 72
# ok 73
# ok 74
# ok 75
# ok 76
# ok 77
# ok 78
# ok 79
# ok 80
# ok 81
# ok 82
# ok 83
# ok 84
# ok 85
# ok 86
# ok 87
# ok 88
# ok 89
# ok 90
# ok 91
# ok 92
# ok 93
# ok 94
# ok 95
# ok 96
# Segmentation fault
# 
# Expected:
# (?-xism:not)
not ok 17 - CLONE_CODE|CLONE_GLOBALS|CLONE_HLL|CLONE_LIBRARIES # TODO RT#41373
#   Failed (TODO) test 'CLONE_CODE|CLONE_GLOBALS|CLONE_HLL|CLONE_LIBRARIES'
#   at t/pmc/threads.t line 947.
# Exited with error code: 1
# Received:
# Class 'PerlInt' not found
# current instr.: 'main' pc 85 
(/home/chromatic/dev/parrot/t/pmc/threads_17.pir:46)
# 
# Expected:
# in thread:
# 0
# ok (equal)
# 42
# in main:
# 0
# ok (equal)
# 42
# 
not ok 18 - multi-threaded strings via SharedRef
ok 19 # SKIP no shared Strings yet
ok 20 # SKIP no shared Strings yet

#   Failed test 'multi-threaded strings via SharedRef'
#   at t/pmc/threads.t line 1016.
# Exited with error code: 139
# Received:
# 3
# ok 1
# ok 2
# ok 3
# done thread
# Segmentation fault
# 
# Expected:
# 3
# ok 1
# ok 2
# ok 3
# done thread
# done main
# 
# Looks like you failed 14 tests of 20.
 Dubious, test returned 14 (wstat 3584, 0xe00)
 Failed 14/20 subtests 
        (less 2 skipped subtests: 4 okay)
t/src/extend.t......
1..17
ok 1 - set/get_intreg
ok 2 - set/get_numreg
ok 3 - Parrot_new_string
ok 4 - set/get_strreg
ok 5 - PMC_set/get_intval
ok 6 - PMC_set/get_intval_intkey
ok 7 - set/get_pmcreg
ok 8 - PMC_set/get_numval
ok 9 - PMC_set/get_string
ok 10 - PMC_set/get_cstring
ok 11 - PMC_set/get_cstringn
ok 12 - call a parrot sub
ok 13 - call a parrot sub, catch exception
ok 14 - eval code through a parrot sub - \#39669
ok 15 - compile string in a fresh interp - \#39986
not ok 16 - call multi sub from C - \#41511 # TODO RT #41511
#   Failed (TODO) test 'call multi sub from C - \#41511'
#   at t/src/extend.t line 666.
# Exited with error code: [SIGNAL 11]
# Received:
# 
# Expected:
# Result is 300.
# 
not ok 17 - multiple Parrot_new/Parrot_exit cycles

#   Failed test 'multiple Parrot_new/Parrot_exit cycles'
#   at t/src/extend.t line 698.
# Exited with error code: [SIGNAL 11]
# Received:
# 
# Expected:
# Starting interp 1
# Destroying interp 1
# Starting interp 2
# Destroying interp 2
# 
# Looks like you failed 1 test of 17.
 Dubious, test returned 1 (wstat 256, 0x100)
 Failed 1/17 subtests 
t/stm/basic_mt.t....
1..4
not ok 1 - wait (simple)
ok 2 # SKIP Intermittent failures on all platforms
ok 3 # SKIP Intermittent failures on all platforms

#   Failed test 'wait (simple)'
#   at t/stm/basic_mt.t line 31.
# Exited with error code: 139
# Received:
# okay
# Segmentation fault
# 
# Expected:
# okay
# 
not ok 4 - wait + invalidate outer transcation

#   Failed test 'wait + invalidate outer transcation'
#   at t/stm/basic_mt.t line 217.
# Exited with error code: 139
# Received:
# okay
# Segmentation fault
# 
# Expected:
# okay
# 
# Looks like you failed 2 tests of 4.
 Dubious, test returned 2 (wstat 512, 0x200)
 Failed 2/4 subtests 
        (less 2 skipped subtests: 0 okay)
Cannot determine source for 2 at /usr/local/share/perl/5.8.8/App/Prove.pm line 
341

-- c

Reply via email to