# New Ticket Created by Jens Rieks # Please include the string: [perl #31789] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31789 >
--- osname= openbsd osvers= 3.5 arch= i386-openbsd cc= cc --- Flags: category=core severity=high ack=no --- All except these 3 tests are passing on OpenBSD. They only fail when run with --gc-debug and -C. [EMAIL PROTECTED]:~/parrot> perl t/harness --gc-debug --running-make-test -C t/pmc/threads.t t/pmc/threads....NOK 6# Failed test (t/pmc/threads.t at line 256) # 'Memory fault (core dumped) # ' # doesn't match '/(done\nthread\n)|(thread\ndone\n)/ # ' # '(cd . && ./parrot -C --gc-debug "/home/parrot/parrot/t/pmc/threads_6.pasm")'failed with exit code 139 t/pmc/threads....NOK 8# Failed test (t/pmc/threads.t at line 319) # got: 'Memory fault (core dumped) # ' # expected: '3 # 1 # 2 # 3 # done thread # done main # ' # '(cd . && ./parrot -C --gc-debug "/home/parrot/parrot/t/pmc/threads_8.pasm")'failed with exit code 139 t/pmc/threads....NOK 9# Failed test (t/pmc/threads.t at line 367) # got: 'Memory fault (core dumped) # ' # expected: '3 # ok 1 # ok 2 # ok 3 # done thread # done main # ' # '(cd . && ./parrot -C --gc-debug "/home/parrot/parrot/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%) Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/pmc/threads.t 3 768 11 3 27.27% 6 8-9 2 subtests skipped. Failed 1/1 test scripts, 0.00% okay. 3/11 subtests failed, 72.73% okay. backtraces: (gdb) r -C --gc-debug "/home/parrot/parrot/t/pmc/threads_6.pasm" Starting program: /home/parrot/parrot/./parrot -C --gc-debug "/home/parrot/parrot/t/pmc/threads_6.pasm" Program received signal SIGSEGV, Segmentation fault. 0x1c08e8af in thread_func (arg=0x3c0ccfb8) at src/thread.c:47 47 runops(interpreter, (opcode_t *) PMC_struct_val(self) - (gdb) bt #0 0x1c08e8af in thread_func (arg=0x3c0ccfb8) at src/thread.c:47 #1 0x4ff003d in _thread_start () #2 0x1f in ?? () Error accessing memory address 0xffffffff: Invalid argument. (gdb) r -C --gc-debug "/home/parrot/parrot/t/pmc/threads_8.pasm" Starting program: /home/parrot/parrot/./parrot -C --gc-debug "/home/parrot/parrot/t/pmc/threads_8.pasm" Program received signal SIGSEGV, Segmentation fault. 0x1c08e8af in thread_func (arg=0x3c2acf70) at src/thread.c:47 47 runops(interpreter, (opcode_t *) PMC_struct_val(self) - (gdb) bt #0 0x1c08e8af in thread_func (arg=0x3c2acf70) at src/thread.c:47 #1 0x24c03d in ?? () from /usr/libexec/ld.so #2 0x1f in ?? () from /usr/libexec/ld.so Error accessing memory address 0xffffffff: Invalid argument. (gdb) r -C --gc-debug "/home/parrot/parrot/t/pmc/threads_9.pasm" Starting program: /home/parrot/parrot/./parrot -C --gc-debug "/home/parrot/parrot/t/pmc/threads_9.pasm" Program received signal SIGSEGV, Segmentation fault. 0x1c08e8af in thread_func (arg=0x3c2acf28) at src/thread.c:47 47 runops(interpreter, (opcode_t *) PMC_struct_val(self) - (gdb) bt #0 0x1c08e8af in thread_func (arg=0x3c2acf28) at src/thread.c:47 #1 0x221503d in ?? () from /usr/lib/libutil.so.9.0 #2 0x1f in ?? () from /usr/libexec/ld.so Error accessing memory address 0xffffffff: Invalid argument. --- Summary of my parrot 0.1.0 configuration: configdate='Wed Sep 29 20:09:43 2004' Platform: osname=openbsd, archname=i386-openbsd jitcapable=1, jitarchname=i386-openbsd, jitosname=OPENBSD, jitcpuarch=i386 execcapable=1 perl=perl Compiler: cc='cc', ccflags=' -I/usr/local/include -pthread', Linker and Libraries: ld='cc', ldflags='-Wl,-E ', cc_ldflags='', libs='-lm -lutil -lpthread -lpthread -lm -L/usr/local/lib -licuuc -lpthread -lm' Dynamic Linking: so='.so', ld_shared='-shared -fPIC ', ld_shared_flags='' Types: iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4, ptrsize=4, ptr_alignment=1 byteorder=1234, nv=double, numvalsize=8, doublesize=8 --- Environment: HOME LANG LANGUAGE LD_LIBRARY_PATH LOGDIR PATH SHELL