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


---
osname= freebsd
osvers= 4.9-stable
arch=   i386-freebsd
cc=     cc 
---
Flags:
    category=core
    severity=medium
    ack=no
---
When I run make test I see this:

t/pmc/threads..............NOK 6#     Failed test (t/pmc/threads.t at line 256)
#                   'done
# Segmentation fault (core dumped)
# '
#     doesn't match '/(done\nthread\n)|(thread\ndone\n)/
# '
# '(cd . && ./parrot -b --gc-debug 
"/export/home/nwc10/Parrot/parrot00/t/pmc/threads_6.pasm")' failed with exit code 139
t/pmc/threads..............NOK 8#     Failed test (t/pmc/threads.t at line 313)
#          got: 'Segmentation fault (core dumped)
# '
#     expected: '3
# 1
# 2
# 3
# done thread
# done main
# '
# '(cd . && ./parrot -b --gc-debug 
"/export/home/nwc10/Parrot/parrot00/t/pmc/threads_8.pasm")' failed with exit code 139
t/pmc/threads..............NOK 9#     Failed test (t/pmc/threads.t at line 361)
#          got: 'Segmentation fault (core dumped)
# '
#     expected: '3
# ok 1
# ok 2
# ok 3
# done thread
# done main
# '
# '(cd . && ./parrot -b --gc-debug 
"/export/home/nwc10/Parrot/parrot00/t/pmc/threads_9.pasm")' failed with exit code 139
t/pmc/threads..............ok 11/11# Looks like you failed 3 tests of 11.
t/pmc/threads..............dubious
        Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 6, 8-9
        Failed 3/11 tests, 72.73% okay (less 2 skipped tests: 6 okay, 54.55%)

If I run just this test under the harness, or if I run it standalone, it
passes. eg

$ perl t/harness t/pmc/threads.t
t/pmc/threads....ok
        2/11 skipped: no shared PerlStrings yet
All tests successful, 2 subtests skipped.
Files=1, Tests=11,  4 wallclock secs ( 1.41 cusr +  0.13 csys =  1.55 CPU)


This doesn't make sense, and I'm not sure what to do to debug this further.

Nicholas Clark
---
Summary of my parrot 0.1.0 configuration:
  configdate='Sat Jun 12 20:39:54 2004'
  Platform:
    osname=freebsd, archname=i386-freebsd
    jitcapable=1, jitarchname=i386-freebsd,
    jitosname=FREEBSD, jitcpuarch=i386
    execcapable=1
    perl=/export/home/nwc10/bin/perl
  Compiler:
    cc='ccache gcc', ccflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING  
-I/usr/local/include',
  Linker and Libraries:
    ld='gcc', ldflags='-Wl,-E  -L/usr/local/lib',
    cc_ldflags='',
    libs='-lm -lcrypt -lutil -pthread'
  Dynamic Linking:
    so='.so', ld_shared='-shared  -L/usr/local/lib',
    ld_shared_flags=''
  Types:
    iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4,
    ptrsize=4, ptr_alignment=4 byteorder=1234, 
    nv=double, numvalsize=8, doublesize=8

---
Environment:
    HOME    LANG    LANGUAGE    LD_LIBRARY_PATH    LOGDIR    PATH    SHELL

Reply via email to