#haskell - Mon 19 Feb 2007 between 15:59 and 16:30

NY Lost Funds



SamBouch!
Syzygy-Igloo: I probably mean you.
SamBwhat is it miscompiling itself to do?
Syzygy-Igloo: There are two builds defined for mnemosyne, but only on ever runs. Is this deliberate?
IglooSyzygy-: We haven't got around to making them alternate yet
Syzygy-Ah. Ok.
fastaOk, this is not good. GHC and ghci produce different out comes....
soreareh?
shaprshazam!
sorearwhat does -xc say?
fastasorear: I was only working in ghci "mode" first, I will compile it with the right options now.
Perhaps you haven't installed the profiling libraries for package EdisonAPI-1.2.1? <- ARG
Build profiling libraries by default, please...
sorearoh, that could be a problem ...
actionfasta builds edison with profiling libs...
fastabuilds edison with profiling libs...
sorear(./Setup.lhs configure -p btw)
fastasorear: Ok, I ran as you specified. It doesn't give any extra output.
sorear: in other words: GHC runs the code correctly, ghci doesn't.
sorearwow
sjanssenfasta: how does ghc react with -threaded?
sorear(compile time option)
sjanssenghci uses the threaded RTS iirc
fastasorear: thanks
ghc-6.6: combination not supported: Threaded/Profiling
Disable profiling?
sjanssenyeah
fastaNo difference
sorearunfortunately -xc only works with profiling (it uses the cost-centre stacks), so you won't get a backtrace
sjanssenso ghci is reporting deadlock, but ghc isn't (with and without -threaded)?
fastasjanssen: yes
sjanssen: I am not catching any exceptions.
sjanssen: maybe that matters
sjanssen: The exception only gets thrown when I do C-c C-c at the moment the computation uses zero CPU
sjanssencan you paste the code?
fastasjanssen: no :(
sjanssen: I could try to produce a simpler instance.
Ok, that's cool. I let ghci segfault
Probably some .o files are reused by ghci incorrectly and then it dies.
Not good
sjanssenthat sounds likely

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 

IrcArchive

NY Lost Funds