#3745: Non-deterministic behavior with FFI
---------------------------------+------------------------------------------
    Reporter:  gchrupala         |        Owner:                             
        Type:  bug               |       Status:  new                        
    Priority:  high              |    Milestone:  6.12.2                     
   Component:  Compiler (FFI)    |      Version:  6.10.4                     
    Keywords:                    |   Difficulty:                             
          Os:  Unknown/Multiple  |     Testcase:                             
Architecture:  Unknown/Multiple  |      Failure:  Incorrect result at runtime
---------------------------------+------------------------------------------

Comment(by simonmar):

 I can't reproduce it here on my laptop (x86/Linux).  Some questions:

  * can you make it happen on more than one machine? what platform(s)?
  * do you get different results when the program is compiled with
 `-debug`?
  * does valgrind say anything?
  * does it happen with 6.12.1?

 Is it possible there's a memory error in the FFI code, or the C++ code?
 perhaps an off-by-one array size?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3745#comment:2>
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

Reply via email to