Skip to content

STM bug on Windows?

I think I've found a bug in the RTS or STM library for Windows (HP 2010.2.0.0 on Vista x64), after running the ants program from fatvat.co.uk.

After some random period (0-10 seconds), the ant activity suddenly drops by 90% or so. I guess it's a deadlock issue, as ram usage doesn't change much.

Recompiling with -threaded seems to fix the problem. I don't see the same issue on my Linux pc.

I've attached a zip archive containing binaries compiled without threading, with threading, and with profiling support.

There's also output from a 10-sec profiling run (I have no idea what options would make sense..), where said slowdown occurs after about 3 sec.

Trac metadata
Trac field Value
Version 6.12.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Runtime System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information