# New Ticket Created by Ilya Martynov
# Please include the string: [perl #29511]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=29511 >
-----------------------------------------------------------------
If I try example from dynclasses directory it segfaults:
[EMAIL PROTECTED]:~/devel/parrot$ LD_LIBRARY_PATH=.:blib/lib ./parrot
dynclasses/dynfoo.pasm
ok 1
55
ok 2
42
Segmentation fault (core dumped)
(gdb) bt
#0 0x40156bdd in free () from /lib/libc.so.6
#1 0x40156aa3 in free () from /lib/libc.so.6
#2 0x080983b6 in mem_sys_free (from=0x830f1a8) at src/memory.c:104
#3 0x0815f8f2 in Parrot_NCI_destroy (interpreter=0x830bb48, pmc=0x40b8c000)
at classes/nci.c:53
#4 0x080e5db3 in free_unused_pobjects (interpreter=0x830bb48, pool=0x830c480)
at src/dod.c:720
#5 0x0809753a in Parrot_really_destroy (exit_code=0, vinterp=0x830bb48)
at src/inter_create.c:332
#6 0x080e6535 in Parrot_exit (status=0) at src/exit.c:76
#7 0x08096f4d in main (argc=1, argv=0xbffff878) at imcc/main.c:563
-----------------------------------------------------------------
---
osname= linux
osvers= 2.4.13
arch= i386-linux
cc= cc
---
Flags:
category=
severity=
ack=no
---
Summary of my parrot 0.1.0 configuration:
configdate='Tue May 11 15:26:27 2004'
Platform:
osname=linux, archname=i686-linux-thread-multi
jitcapable=1, jitarchname=i386-linux,
jitosname=LINUX, jitcpuarch=i386
execcapable=1
perl=/home/ilya/perl-5.8.2-threads/bin/perl
Compiler:
cc='cc', ccflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
Linker and Libraries:
ld='cc', ldflags=' -L/usr/local/lib',
cc_ldflags='',
libs='-lbind -lnsl -ldl -lm -lcrypt -lutil -lpthread'
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=/home/ilya
LANG=ru_RU.KOI8-R
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/home/ilya/tla/bin:/home/ilya/bin:/home/ilya/j2sdk1.4.1_02/bin:/home/ilya/perl-current/bin:/home/ilya/perl-5.8.2-threads/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin
SHELL=/bin/bash