Re: [Haskell-cafe] Oracle Sessions in Takusen

2011-06-02 Thread Kevin Quick
Dmitry, I'm not directly familiar with Takusen or its use with OracleDB, but I would hazard a guess that the withSession is doing FFI resource management and that resources obtained inside the withSession environment are no longer valid outside of the withSession. If this is the case

Re: [Haskell-cafe] Oracle Sessions in Takusen

2011-06-02 Thread Alistair Bayley
On 3 June 2011 05:35, Kevin Quick qu...@sparq.org wrote: Dmitry, I'm not directly familiar with Takusen or its use with OracleDB, but I would hazard a guess that the withSession is doing FFI resource management and that resources obtained inside the withSession environment are no longer

[Haskell-cafe] Oracle Sessions in Takusen

2011-06-01 Thread Dmitry Olshansky
Hello, Could anyone explain strange behavior of Takusen with OracleDB (OraClient 11.x)? Several sequential sessions give Seqmentation Fault error. In case of nested sessions it works well. {-# LANGUAGE ScopedTypeVariables #-} module Main where import Database.Oracle.Enumerator import

Re: [Haskell-cafe] Oracle Sessions in Takusen

2011-06-01 Thread Jason Dagit
On Wed, Jun 1, 2011 at 7:44 AM, Dmitry Olshansky olshansk...@gmail.com wrote: Hello, Could anyone explain strange behavior of Takusen with OracleDB (OraClient 11.x)? Several sequential sessions give Seqmentation Fault error. In case of nested sessions it works well. I'm CC'ing the takusen

Re: [Haskell-cafe] Oracle Sessions in Takusen

2011-06-01 Thread Jason Dagit
On Wed, Jun 1, 2011 at 9:01 AM, Jason Dagit dag...@gmail.com wrote: I'm CC'ing the takusen email list so that Oleg and Alistair will see your message.  They are more familiar with the Oracle support than I am. I should really link to the original message: