#170: Intermittent failures in t/op/arithmetics_27.pir
--------------------+-------------------------------------------------------
Reporter: barney | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: none | Version:
Severity: medium | Keywords:
Lang: | Patch:
Platform: linux |
--------------------+-------------------------------------------------------
In r35490 I get under Linux intermittent failures in
t/op/arithmetics_27.pir.
Here is a gdb backtrace:
bernh...@heist:~/devel/Parrot/master/parrot$ git log -1
commit 5952d5d6008216dbbf52d947a89c12b9d6d14675
Author: bernhard <bernh...@d31e2699-5ff4-0310-a27c-f18f2fbe73fe>
Date: Tue Jan 13 15:55:16 2009 +0000
[Pipp] Update docs WRT namespaces.
git-svn-id: https://svn.perl.org/parrot/tr...@35490 d31e2699-5ff4-0310
-a27c-f18f2fbe73fe
bernh...@heist:~/devel/Parrot/master/parrot$
bernh...@heist:~/devel/Parrot/master/parrot$ gdb parrot
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) r t/op/arithmetics_27.pir
Starting program: /home/bernhard/devel/Parrot/master/parrot/parrot
t/op/arithmetics_27.pir
[Thread debugging using libthread_db enabled]
2
4
8
16
32
64
128
256
512
1024
2048
4096
8192
16384
32768
65536
131072
262144
524288
1048576
2097152
4194304
8388608
16777216
33554432
67108864
134217728
268435456
536870912
1073741824
2147483648
4294967296
8589934592
17179869184
34359738368
68719476736
137438953472
274877906944
549755813888
1099511627776
Program exited normally.
(gdb) r t/op/arithmetics_27.pir
Starting program: /home/bernhard/devel/Parrot/master/parrot/parrot
t/op/arithmetics_27.pir
[Thread debugging using libthread_db enabled]
2
4
8
16
32
64
128
256
512
1024
2048
4096
8192
16384
32768
65536
131072
262144
524288
1048576
2097152
4194304
8388608
16777216
33554432
67108864
134217728
268435456
536870912
1073741824
2147483648
4294967296
8589934592
17179869184
34359738368
68719476736
137438953472
274877906944
549755813888
1099511627776
Program exited normally.
(gdb) r t/op/arithmetics_27.pir
Starting program: /home/bernhard/devel/Parrot/master/parrot/parrot
t/op/arithmetics_27.pir
[Thread debugging using libthread_db enabled]
2
4
8
16
32
64
128
256
512
1024
2048
4096
8192
16384
32768
65536
131072
262144
524288
1048576
2097152
4194304
8388608
16777216
33554432
67108864
134217728
268435456
536870912
1073741824
2147483648
4294967296
8589934592
17179869184
34359738368
68719476736
137438953472
274877906944
549755813888
1099511627776
Program exited normally.
(gdb) r t/op/arithmetics_27.pir
Starting program: /home/bernhard/devel/Parrot/master/parrot/parrot
t/op/arithmetics_27.pir
[Thread debugging using libthread_db enabled]
2
4
8
16
32
64
128
256
512
1024
2048
4096
8192
16384
32768
65536
131072
262144
524288
1048576
2097152
4194304
8388608
16777216
33554432
67108864
134217728
268435456
536870912
1073741824
2147483648
4294967296
8589934592
17179869184
34359738368
68719476736
137438953472
274877906944
549755813888
1099511627776
Program exited normally.
(gdb) r t/op/arithmetics_27.pir
Starting program: /home/bernhard/devel/Parrot/master/parrot/parrot
t/op/arithmetics_27.pir
[Thread debugging using libthread_db enabled]
2
4
8
16
32
64
128
256
512
1024
2048
4096
8192
16384
32768
65536
131072
262144
524288
1048576
2097152
4194304
8388608
16777216
33554432
67108864
134217728
268435456
536870912
1073741824
2147483648
4294967296
8589934592
17179869184
34359738368
68719476736
137438953472
274877906944
549755813888
1099511627776
Program exited normally.
(gdb) r t/op/arithmetics_27.pir
Starting program: /home/bernhard/devel/Parrot/master/parrot/parrot
t/op/arithmetics_27.pir
[Thread debugging using libthread_db enabled]
2
4
8
16
32
64
128
256
512
1024
2048
4096
8192
16384
32768
65536
131072
262144[New Thread 0xb76e18c0 (LWP 10315)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb76e18c0 (LWP 10315)]
0xb7c87aa3 in pobject_lives (interp=0x8d5d040, obj=0xbfd9bea4) at
src/gc/mark_sweep.c:516
516 else if (p->pmc_ext && PMC_metadata(p))
(gdb) backtrace
#0 0xb7c87aa3 in pobject_lives (interp=0x8d5d040, obj=0xbfd9bea4) at
src/gc/mark_sweep.c:516
#1 0xb7cda258 in mark_context (interp=0x8d5d040, ctx=0x8e2e320) at
src/sub.c:121
#2 0xb7cda148 in mark_context (interp=0x8d5d040, ctx=0x8e2e4a0) at
src/sub.c:91
#3 0xb7cda148 in mark_context (interp=0x8d5d040, ctx=0x8e2eea0) at
src/sub.c:91
#4 0xb7cda148 in mark_context (interp=0x8d5d040, ctx=0x8e2efc0) at
src/sub.c:91
#5 0xb7cda148 in mark_context (interp=0x8d5d040, ctx=0x8e2e7f8) at
src/sub.c:91
#6 0xb7cda148 in mark_context (interp=0x8d5d040, ctx=0x8e2e8b8) at
src/sub.c:91
#7 0xb7c87f61 in Parrot_gc_trace_root (interp=0x8d5d040,
trace=GC_TRACE_FULL) at src/gc/mark_sweep.c:310
#8 0xb7c88152 in trace_active_PMCs (interp=0x8d5d040,
trace=GC_TRACE_FULL) at src/gc/mark_sweep.c:885
#9 0xb7c88326 in Parrot_gc_ms_run (interp=0x8d5d040, flags=1) at
src/gc/mark_sweep.c:207
#10 0xb7c824f8 in Parrot_do_dod_run (interp=0x8d5d040, flags=1) at
src/gc/api.c:638
#11 0xb7c8795c in more_traceable_objects (interp=0x8d5d040,
pool=0x8d7dbb0) at src/gc/mark_sweep.c:703
#12 0xb7c86b0a in gc_ms_get_free_object (interp=0x8d5d040, pool=0x8d7dbb0)
at src/gc/mark_sweep.c:789
#13 0xb7c83071 in new_pmc_header (interp=0x8d5d040, flags=1024) at
src/gc/api.c:82
#14 0xb7ccd702 in get_new_pmc_header (interp=0x8d5d040, base_type=32,
flags=1024) at src/pmc.c:302
#15 0xb7ccdd34 in pmc_new (interp=0x8d5d040, base_type=32) at
src/pmc.c:121
#16 0xb7ebaf31 in Parrot_FileHandle_nci_is_closed (interp=0x8d5d040,
pmc=0x8dd32e8)
at
/home/bernhard/devel/Parrot/master/parrot/tools/build/../../lib/Parrot/Pmc2c/PCCMETHOD.pm:275
#17 0xb7e298b2 in Parrot_NCI_invoke (interp=0x8d5d040, pmc=0x8dd32e8,
next=0x0) at ./src/pmc/nci.pmc:321
#18 0xb7c906ee in Parrot_PCCINVOKE (interp=0x8d5d040, pmc=0x8e029e8,
method_name=0x8d7ebc0, signature=0xb7f96596 "->I") at
src/inter_call.c:2716
#19 0xb7ddaf59 in Parrot_io_is_closed (interp=0x8d5d040, pmc=0x8e029e8) at
src/io/api.c:187
#20 0xb7ddedb8 in Parrot_io_flush_filehandle (interp=0x8d5d040,
pmc=0x8e029e8) at src/io/filehandle.c:725
#21 0xb7ebd06c in Parrot_FileHandle_nci_flush (interp=0x8d5d040,
pmc=0x8dd3270) at ./src/pmc/filehandle.pmc:464
#22 0xb7e298b2 in Parrot_NCI_invoke (interp=0x8d5d040, pmc=0x8dd3270,
next=0x0) at ./src/pmc/nci.pmc:321
#23 0xb7c906ee in Parrot_PCCINVOKE (interp=0x8d5d040, pmc=0x8e029e8,
method_name=0x8d7eb9c, signature=0xb7f965a3 "->") at src/inter_call.c:2716
#24 0xb7ddae99 in Parrot_io_flush (interp=0x8d5d040, pmc=0x8e029e8) at
src/io/api.c:209
#25 0xb7ddbf3e in Parrot_io_write_buffer (interp=0x8d5d040,
filehandle=0x8e029e8, s=0xbfd9bea4) at src/io/buffer.c:619
#26 0xb7ebcaa7 in Parrot_FileHandle_nci_puts (interp=0x8d5d040,
pmc=0x8dd3240) at ./src/pmc/filehandle.pmc:517
#27 0xb7e298b2 in Parrot_NCI_invoke (interp=0x8d5d040, pmc=0x8dd3240,
next=0x0) at ./src/pmc/nci.pmc:321
#28 0xb7c906ee in Parrot_PCCINVOKE (interp=0x8d5d040, pmc=0x8e029e8,
method_name=0x8d7eb0c, signature=0xb7f96588 "S->I") at
src/inter_call.c:2716
#29 0xb7dda82c in Parrot_io_putps (interp=0x8d5d040, pmc=0x8e029e8,
s=0xbfd9bea4) at src/io/api.c:432
#30 0xb7ddab9f in Parrot_io_write (interp=0x8d5d040, pmc=0x8e029e8,
buffer=0xb7f7ee21, length=1) at src/io/api.c:288
#31 0xb7ddb1a4 in Parrot_io_puts (interp=0x8d5d040, pmc=0x8e029e8,
s=0xb7f7ee21 "\n") at src/io/api.c:408
#32 0xb7c3a130 in Parrot_say_s (cur_opcode=0x8e2f2e4, interp=0x8d5d040) at
src/ops/io.ops:195
#33 0xb7cceb50 in runops_slow_core (interp=0x8d5d040, pc=0x8e2f2e4) at
src/runops_cores.c:228
---Type <return> to continue, or q <return> to quit---
#34 0xb7c96529 in runops_int (interp=0x8d5d040, offset=0) at
src/interpreter.c:984
#35 0xb7c96f21 in runops (interp=0x8d5d040, offs=0) at src/inter_run.c:108
#36 0xb7c97311 in runops_args (interp=0x8d5d040, sub=0x8e028e0,
obj=0x8dc4f30, meth_unused=0x0, sig=0xb7f8ce43 "vP",
ap=0xbfd9c0ac "�(�\b��ٿ\2200\t�p��\b�(�\b�(�\b�\177\006���ٿ<
�...@��\b\001") at src/inter_run.c:248
#37 0xb7c981d6 in Parrot_runops_fromc_args (interp=0x8d5d040,
sub=0x8e028e0, sig=0xb7f8ce43 "vP") at src/inter_run.c:315
#38 0xb7c75977 in Parrot_runcode (interp=0x8d5d040, argc=1,
argv=0xbfd9c228) at src/embed.c:984
#39 0xb7f6203c in imcc_run_pbc (interp=0x8d5d040, obj_file=0,
output_file=0x0, argc=1, argv=0xbfd9c228) at compilers/imcc/main.c:824
#40 0xb7f62c55 in imcc_run (interp=0x8d5d040, sourcefile=0xbfd9c61e
"t/op/arithmetics_27.pir", argc=1, argv=0xbfd9c228) at
compilers/imcc/main.c:1116
#41 0x08048988 in main (argc=1, argv=0xbfd9c228) at src/main.c:61
(gdb) q
The program is running. Exit anyway? (y or n) y
bernh...@heist:~/devel/Parrot/master/parrot$ uname -a
Linux heist 2.6.27-9-generic #1 SMP Thu Nov 20 21:57:00 UTC 2008 i686
GNU/Linux
bernh...@heist:~/devel/Parrot/master/parrot$
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/170>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets