<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thanks for the problem report.<br>
It appears to be a bug, I'm working on it.<br>
<br>
Kevin<br>
<br>
#0 0x00007ffff7265473 in poll () from
/lib/x86_64-linux-gnu/libc.so.6<br>
#1 0x0000000000575a42 in default_sleep (v=<optimized out>,
fds=0x7ffff4bc81b0) at ../../../src/racket/gc2/../src/port.c:9815<br>
#2 0x00000000006104bd in check_sleep (need_activity=<optimized
out>, sleep_now=1) at
../../../src/racket/gc2/../src/thread.c:3980<br>
#3 0x000000000061e07b in scheme_thread_block (sleep_time=0) at
../../../src/racket/gc2/../src/thread.c:4692<br>
#4 0x0000000000620886 in scheme_out_of_fuel () at
../../../src/racket/gc2/../src/thread.c:4034<br>
#5 scheme_out_of_fuel () at
../../../src/racket/gc2/../src/thread.c:4030<br>
#6 0x000000000056dc3e in places_deep_copy_worker
(so=0x7ffff0db4058, ht=0x2, mode=2, gcable=1, can_raise_exn=1,
master_chain=0x0, invalid_object=0x0) at
../../../src/racket/gc2/../src/place.c:1764<br>
#7 0x000000000056de11 in do_places_deep_copy (so=<optimized
out>, mode=<optimized out>, gcable=<optimized out>,
master_chain=<optimized out>, invalid_object=<optimized
out>) at ../../../src/racket/gc2/../src/place.c:1098<br>
#8 0x0000000000571582 in scheme_places_deserialize
(so=0x7ffff0db4058, msg_memory=0xda1420) at
../../../src/racket/gc2/../src/place.c:2590<br>
#9 0x000000000057171a in scheme_place_async_try_receive
(ch=0x7ffff49dd088) at ../../../src/racket/gc2/../src/place.c:3117<br>
#10 0x0000000000571781 in place_channel_ready (so=<optimized
out>, sinfo=0x7fffffffcbd0) at
../../../src/racket/gc2/../src/place.c:3143<br>
#11 0x000000000061eef6 in syncing_ready (s=0x7ffff4318668,
sinfo=0x7fffffffcd30) at
../../../src/racket/gc2/../src/thread.c:6126<br>
#12 0x000000000061df15 in scheme_thread_block
(sleep_time=1.76330559e-06) at
../../../src/racket/gc2/../src/thread.c:4749<br>
#13 0x000000000061eb0c in scheme_block_until (_f=0x61ed00
<syncing_ready>, fdf=0x60e570 <syncing_needs_wakeup>,
data=0x7ffff4318668, delay=<optimized out>) at
../../../src/racket/gc2/../src/thread.c:4818<br>
#14 0x000000000061ff50 in do_sync (name=0x6a7c6f "sync/timeout",
argc=<optimized out>, argv=0x7ffff5ba9f10, with_break=0,
with_timeout=1, _tailok=1) at
../../../src/racket/gc2/../src/thread.c:6486<br>
#15 0x00007ffff7ff75d4 in ?? ()<br>
#16 0x00007ffff5ba9ec8 in ?? ()<br>
#17 0x00007ffff49bc36d in ?? ()<br>
#18 0x00007fffffffd0f8 in ?? ()<br>
#19 0x0000000000000002 in ?? ()<br>
#20 0x0000000000000000 in ?? ()<br>
<br>
<br>
<br>
On 03/13/2012 06:49 AM, Tim Brown wrote:
<blockquote cite="mid:4F5F4258.50307@cityc.co.uk" type="cite">Hello,
<br>
<br>
I have written a number of programs that attempt to "farm" work
out
<br>
to a number of places... for example, the attached file which
calculates
<br>
the square of *ALL THE NUMBERS* between 0 and 99 inclusive!
<br>
<br>
Intermittently, this pooling loop stops (usually at the last
place)...
<br>
e.g.
<br>
<br>
9999999999999999cpu time: 320 real time: 492 gc time: 44
<br>
place finished work for 99
<br>
<br>
It sits waiting forever... and certainly longer than my 1s
timeout.
<br>
<br>
In my defence of not paring the program down to its bare minimum;
it
<br>
seems to fail more often with the kind of IO stress I'm putting it
<br>
under.
<br>
<br>
I ^\ core the program (stack trace below).
<br>
<br>
Linux XXXX 2.6.32-5-amd64 #1 SMP Mon Jan 16 16:22:28 UTC 2012
x86_64 GNU/Linux
<br>
<br>
racket version 5.2, but this happens on any (many) combination of
<br>
Windows amd64 (6 core)/Linux amd64 (4 core), racket, drracket, 5.2
<br>
and 5.2.1
<br>
<br>
First, is there anything wrong with my logic?
<br>
(Happy to accept that as an option)
<br>
<br>
Otherwise... what's up? Can I do owt to help?
<br>
<br>
tim-brown on #racket, ping me if you need to know more
<br>
<br>
Tim Brown
<br>
<br>
<br>
(gdb) where
<br>
#0 0x00007f78f77a90e3 in select () from /lib/libc.so.6
<br>
#1 0x00007f78f84d59dc in default_sleep (v=<value optimized
out>,
<br>
fds=0x7f78f8890008) at ./../src/port.c:9318
<br>
#2 0x00007f78f8575dc8 in check_sleep (need_activity=<value
optimized out>,
<br>
sleep_now=1) at ./../src/thread.c:3523
<br>
#3 0x00007f78f857da3d in scheme_thread_block (
<br>
sleep_time=<value optimized out>) at
./../src/thread.c:4205
<br>
#4 0x00007f78f8580b2b in scheme_out_of_fuel () at
./../src/thread.c:3577
<br>
#5 0x00007f78f84c6291 in places_deep_copy_worker
(so=0x7f78f284c058,
<br>
ht=0x7fff75ad3448, mode=<value optimized out>,
<br>
gcable=<value optimized out>, can_raise_exn=<value
optimized out>)
<br>
at ./../src/place.c:1657
<br>
#6 0x00007f78f84c63ad in do_places_deep_copy (so=0x7f78f284c058,
mode=2,
<br>
gcable=1) at ./../src/place.c:1058
<br>
#7 0x00007f78f84c6486 in scheme_places_deserialize
(so=0x7f78f284c058,
<br>
msg_memory=0x7f78e801fc60) at ./../src/place.c:2348
<br>
#8 0x00007f78f84c6603 in scheme_place_async_try_receive
(ch=0x7f78efae6e98)
<br>
at ./../src/place.c:2823
<br>
#9 0x00007f78f84c66af in place_channel_ready (so=0x7f78efad6438,
<br>
sinfo=0x7fff75ad3670) at ./../src/place.c:2849
<br>
#10 0x00007f78f857e848 in syncing_ready (s=0x7f78f6494480,
<br>
sinfo=0x7fff75ad37e0) at ./../src/thread.c:5644
<br>
#11 0x00007f78f857d839 in scheme_thread_block (
<br>
sleep_time=<value optimized out>) at
./../src/thread.c:4266
<br>
#12 0x00007f78f857e47a in scheme_block_until (
<br>
_f=0x7f78f857e670 <syncing_ready>,
<br>
fdf=0x7f78f856fc10 <syncing_needs_wakeup>,
data=0x7f78f6494480, delay=0)
<br>
at ./../src/thread.c:4335
<br>
#13 0x00007f78f857fa70 in do_sync (name=0x7f78f85d93a6
"sync/timeout",
<br>
argc=<value optimized out>, argv=0x7f78f6145ee0,
<br>
with_break=<value optimized out>,
with_timeout=1974287344,
<br>
_tailok=<value optimized out>) at
./../src/thread.c:5961
<br>
#14 0x00007f78f8a7d727 in ?? ()
<br>
#15 0x00007f78f6145ef8 in ?? ()
<br>
#16 0x00007f78f6510e9f in ?? ()
<br>
#17 0x00007fff75ad3c10 in ?? ()
<br>
#18 0x00007f78f5195f88 in ?? ()
<br>
#19 0x0000000000000000 in ?? ()
<br>
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">____________________
Racket Users list:
<a class="moz-txt-link-freetext" href="http://lists.racket-lang.org/users">http://lists.racket-lang.org/users</a>
</pre>
</blockquote>
<br>
</body>
</html>