Opened 9 years ago

Closed 9 years ago

#4285 closed bug (invalid)

STM bug on Windows?

Reported by: eevar Owned by:
Priority: normal Milestone:
Component: Runtime System Version: 6.12.3
Keywords: Cc:
Operating System: Windows Architecture: x86_64 (amd64)
Type of failure: Runtime performance bug Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


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

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.

Attachments (2)

AntsVis.hp (7.3 KB) - added by eevar 9 years ago. (15.4 KB) - added by eevar 9 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 9 years ago by eevar

Binaries would be too large, I'll attach the profiling output I have so far instead.

The source is commit cfeec71ef93f1a632e82700d2c7a33f0f92d35bf from here: , but the problem's been present in all revisions I've tested.

Changed 9 years ago by eevar

Attachment: AntsVis.hp added

Changed 9 years ago by eevar

Attachment: added

comment:2 Changed 9 years ago by eevar

Resolution: invalid
Status: newclosed

Never mind. I'll track down the issue and reopen this if it's really a runtime issue.

Note: See TracTickets for help on using tickets.