Re: [erlang-questions] beam crasher: ets + write_concurrency

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: [erlang-questions] beam crasher: ets + write_concurrency

by Sverker Eriksson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dave Smith wrote:
> I believe that I have identified a VM crasher when using ETS with
> write concurrency enabled. Sample code is as follows:
>
> T = ets:new(?MODULE, [{write_concurrency, true}]),
> ets:insert_new(T, {foo, 1}),
> ets:match(T, {nosuchvalue, '$1'})

Yes, it's repeatable on my machine as well (Linux x86_64, 64-bit VM).
I will have a look at it right now.

Thanks for reporting.
/Sverker, Erlang/OTP


________________________________________________________________
erlang-bugs mailing list. See http://www.erlang.org/faq.html
erlang-bugs (at) erlang.org