James E Keenan wrote:
Vasily Chekalkin wrote:
> Hello.
>
> I would like to declare gc_massacre branch ready to merge back to
> trunk. It's not perfect, but I like it more than current GC.
bacek,
Thanks for all your hard work on this branch.
Unfortunately, I have to report a rather tricky bug. I have tested the
gc_massacre branch so far on two different Linux/i386 machines. On one
of them, t/pmc/filehandle.t runs without incident. However, on the other
-- my main box for testing Parrot -- I get this error:
$ prove -v t/pmc/filehandle.t
t/pmc/filehandle.t ..
1..23
ok 1 - new
...
ok 21 - exit status
not ok 22 - timely destruction
# Failed test 'timely destruction'
# at t/pmc/filehandle.t line 739.
# got: ''
# expected: 'a line
# '
ok 23 - get_bool
# Looks like you failed 1 test of 23.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/23 subtests
(less 1 skipped subtest: 21 okay)
Test Summary Report
-------------------
t/pmc/filehandle.t (Wstat: 256 Tests: 23 Failed: 1)
Failed test: 22
Non-zero exit status: 1
Files=1, Tests=23, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.34 cusr 0.16
csys = 0.53 CPU)
Result: FAIL
I get the same result during 'make test' and 'perl t/harness --gc-debug
t/pmc/filehandle.t'.
When I ran this code through 'gdb', this was the result:
chromatic noted on IRC that I was misunderstanding how to run 'gdb' --
and that, lacking a crash, I didn't really need to run it at all. In
any event, here's a better usage:
linux/i386
$ gdb ./parrot
GNU gdb 6.8-debian
...
This GDB was configured as "i486-linux-gnu"...
(gdb) run t/pmc/filehandle_22.pir
Starting program: /home/jimk/work/gc_massacre/parrot t/pmc/filehandle_22.pir
[Thread debugging using libthread_db enabled]
warning: Lowest section in /usr/lib/libicudata.so.36 is .hash at 000000b4
Program exited normally.
darwin/ppc
$ gdb ./parrot
GNU gdb 6.1-20040303 (Apple version gdb-437) (Sun Dec 25 08:31:29 GMT 2005)
...
This GDB was configured as "powerpc-apple-darwin"...Reading symbols for
shared libraries ......... done
(gdb) run t/pmc/filehandle_22.pir
Starting program: /Users/jimk/work/gc_massacre/parrot
t/pmc/filehandle_22.pir
Reading symbols for shared libraries .+.......++.+ done
Program exited normally.
So, 'gdb' doesn't shed any light on the problem I'm experiencing on one
of two linux/i386 boxes and on Darwin/PPC.
Thank you very much.
kid51
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev