#5085: internal error: evacuate: strange closure type
-------------------------------+--------------------------------------------
Reporter: mitar | Owner: simonmar
Type: bug | Status: new
Priority: highest | Milestone: 7.4.1
Component: Runtime System | Version: 7.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Linux | Blocking:
Architecture: x86_64 (amd64) | Failure: Runtime crash
-------------------------------+--------------------------------------------
Comment(by mitar):
Hm, this does not look like successful run, it seems your computer is
slower (or probably because of the debugging is now slower) than mine and
timeout is too low and not all paths have been found. ;-) It should find
100 % of shortest paths. Maybe a little explanation of the program:
* it generates a random graph of some size
* it runs Dijkstra among all graph nodes
* it generates a data-flow structure for search for shortest paths among
all graph nodes
* this structure is a structure of spark-based IO computations and
connections between them
* it runs search for all shortest paths, this is a message-passing
algorithm among all nodes and a lot of sparks and inter-spark
communication is happening (this is where a segfault occurs, because it
really extensively use Haskell sparks)
* stopping condition is that for some time (5 s timeout by default) no
path has been improved, assuming all shortest paths have been found
* it compares found shortest paths with known shortest paths (found with
Dijkstra)
So that only 0.75 % paths have been found means that in fact the
problematic part of the code have not run long (enough). This is probably
why it has succeeded.
So when running in debug mode timeout should be increased. Please increase
`minCollectTimeout` and `initialCollectTimeout` in `src/Test.hs`.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5085#comment:14>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs