Issues

Select view

Select search mode

 
28 of 28

Found the unexpected error Probable I/O race condition detected while copying memory

Cannot Reproduce

Description

I'm using NH 4.1.0. I'm unable to reproduce the error: it seems to happen randomly, having show_sql set to true I get an exception that deadlock the application:

Environment

Windows Server 2012 R2

Details

Assignee

Reporter

Labels

Components

Affects versions

Priority

Who's Looking?

Open Who's Looking?
Created August 28, 2017 at 6:01 AM
Updated October 22, 2018 at 9:05 AM
Resolved October 22, 2018 at 9:04 AM

Activity

Show:

Frédéric DelaporteOctober 22, 2018 at 9:05 AM

Moved here.

For this issue to happen, and as the error message implies itself, it seems likely to me the session has ended-up shared among many threads, which is not supported. The session is not thread safe and must be used by a single thread. This includes implicit usages due to proxy initialization. (For example, when accessing an association, by default it is loaded on demand.)

Please add on the above linked GitHub issue any additional elements which would help reproducing the trouble if it can be done without a multi-threaded usage of a session.

Who's Looking?
Loading...