Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #41257] [tru64] core dump in t/pmc/io_1.pir

6 views
Skip to first unread message

Jarkko Hietaniemi

unread,
Jan 11, 2007, 11:38:44 PM1/11/07
to bugs-bi...@rt.perl.org
# New Ticket Created by Jarkko Hietaniemi
# Please include the string: [perl #41257]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41257 >


---
osname= dec_osf
osvers= 5.1a
arch= alpha-dec_osf-thread-multi
cc= cc V6.4-014
---
Flags:
category=core
severity=high
ack=no
---
(dbx) run t/pmc/io_1.pir
Undef ok 1
Undef ok 2
Assertion failed: (unsigned long)l != 0xdeadbeefUL, file src/io/io.c, line 1012
thread 0x3 signal IOT/Abort trap at >*[__nxm_thread_kill, 0x3ff805c5908] ret zero, (ra), 1
(dbx) where> 0 __nxm_thread_kill(0x6, 0x3ffc01b6000, 0x3ff805c3788, 0x3ffc01b6000, 0x3ffc01b6000) [0x3ff805c5908]
1 pthread_kill(0x11fffbcd7, 0x11fffbce0, 0x11fffbcd0, 0x11fffbcdd, 0x0) [0x3ff805c37a0]
2 __tis_raise(0x11fffbcd0, 0x11fffbcdd, 0x0, 0x1, 0x3ff801d27bc) [0x3ff801405d4]
3 abort(0x3ff801d2224, 0x0, 0x3ff805c4cc0, 0x0, 0x600000000) [0x3ff801d27b8]
4 __assert(0x3ff800c2ad0, 0x3ff800c2ac0, 0x2, 0x1, 0x2) [0x3ff801d2220]
5 PIO_putps(interp = 0x140166000, pmc = 0x1400c34c0, s = 0x140467020) ["src/io/io.c":1012, 0x120126394]
6 Parrot_print_p_sc(cur_opcode = 0x1404d16b8, interp = 0x140166000) ["src/ops/io.ops":318, 0x12013ebf8]
7 runops_slow_core(interp = 0x140166000, pc = 0x1404d16b8) ["src/runops_cores.c":184, 0x1201bdbf8]
8 runops_int( = 0x140166000, = 0x140166000, interp = 0x140166000, offset = 0) ["src/interpreter.c":775, 0x120167458]
9 runops(interp = 0x140166000, offs = 0) ["src/inter_run.c":87, 0x1201656c0]
10 runops_args(interp = 0x140166000, sub = 0x14048e998, obj = 0x1400c34c0, meth = (nil), sig = 0x14009c7a8 = "vP", ap = struct { _a0 = 0x11fffbf20 _offset = 24}) ["src/inter_run.c":193, 0x1201659f0]
11 Parrot_runops_fromc_args(interp = 0x140166000, sub = 0x14048e998, sig = 0x14009c7a8 = "vP") ["src/inter_run.c":295, 0x120165bc0]
12 Parrot_runcode(interp = 0x140166000, argc = 1, argv = 0x11fffc020) ["src/embed.c":805, 0x12010edc4]
13 main(argc = 1, argv = 0x11fffc020) ["compilers/imcc/main.c":721, 0x1200edd50]
(dbx)

The pmc in PIO_putps() is full of dead beef:

(dbx) p pmc->obj
struct {
u = union {
_b = struct {
_bufstart = 0xdeadbeef
_buflen = 3735928559
}
_ptrs = struct {
_struct_val = 0xdeadbeef
_pmc_val = 0xdeadbeef
}
_i = struct {
_int_val = 3735928559
_int_val2 = 3735928559
}
_num_val = Denormalized number 0xdeadbeef
_string_val = 0xdeadbeef
}
flags = 4608
}
(dbx)

---
Summary of my parrot 0.4.7 (r0) configuration:
configdate='Fri Jan 12 03:51:38 2007'
Platform:
osname=dec_osf, archname=alpha-dec_osf
jitcapable=0, jitarchname=nojit,
jitosname=dec_osf, jitcpuarch=alpha
execcapable=0
perl=/u/vieraat/vieraat/jhi/Perl/Platform/OSF1/bin/perl
Compiler:
cc='cc', ccflags='-std -D_INTRINSICS -fprm d -ieee -I/p/include -DLANGUAGE_C -pthread -D_XOPEN_SOURCE=500',
Linker and Libraries:
ld='ld', ldflags=' -L/p/lib',
cc_ldflags='',
libs='-lm -lutil -lpthread -laio -lrt -lgmp'
Dynamic Linking:
share_ext='.so', ld_share_flags='-shared -expect_unresolved "*" -O4 -msym -std -L/p/lib',
load_ext='.so', ld_load_flags='-shared -expect_unresolved "*" -O4 -msym -std -L/p/lib'
Types:
iv=long, intvalsize=8, intsize=4, opcode_t=long, opcode_t_size=8,
ptrsize=8, ptr_alignment=8 byteorder=12345678,
nv=double, numvalsize=8, doublesize=8

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

0 new messages