On Wednesday 03 March 2004 19:50, Leopold Toetsch wrote: > Daniel Grunblatt <[EMAIL PROTECTED]> wrote: > > When updating the old version I had at the TD machine to the current cvs > > version I realize that it fails right after start running, entering in an > > eternal loop, I could not find out exactly what is the problem but I > > think it's related to threads. > > It's Debian 3.0 on parisc using gcc 3.0.4 > > Any idea how to solve it? > > Provide more informatiion? > > $ cat myconfig
Summary of my parrot 0.1.0 configuration: configdate='Wed Mar 3 12:56:25 2004' Platform: osname=HPUX, archname=PA-RISC1.1-thread-multi jitcapable=1, jitarchname=hppa-HPUX, jitosname=HPUX, jitcpuarch=hppa execcapable=0 perl=perl Compiler: cc='cc', ccflags='-DUSE_REENTRANT_API -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -L/lib/pa1.1 -DUINT32_MAX_BROKEN -mpa-risc-1-1 -fPIC -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='-lnsl -lnm -lmalloc -ldld -lm -lpthread -lndir -lcrypt -lsec' Dynamic Linking: so='.so', ld_shared='-b -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=4321, nv=double, numvalsize=8, doublesize=8 > > Does it run: > > print "hi\n" > end No > > If not, does it use threads? What does ps/top/whatever have? Where does > it hang? Run it with s?trace or such. Or attach a debugger... spe170> gdb parrot GNU gdb 2002-04-01-cvs Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "hppa-linux"... (gdb) r t.pasm Starting program: /house/grunblat/hp-ux/parrot/parrot t.pasm -- I press ^C after some time -- Program received signal SIGINT, Interrupt. 0x401e2d54 in ?? () (gdb) bt #0 0x401e2d54 in ?? () (gdb) So it's not so usefull. In top it has the R stat. I think it fails at: (gdb) b pmc.c:40 Breakpoint 2 at 0x5b5c8: file src/pmc.c, line 40. (gdb) r Starting program: /house/grunblat/hp-ux/parrot/parrot Breakpoint 1, pmc_init_null (interpreter=0x205030) at src/pmc.c:40 40 LOCK(init_null_mutex); (gdb) n Program received signal SIGINT, Interrupt. 0x401e2d54 in ?? () (gdb) bt #0 0x401e2d54 in ?? () (gdb) > > Could 3.0.4 be too old? Too many questions ... I'll try to install 3.3.3, but I'm not sure if it will compile given it's a TD machine. > > > Daniel. > > leo