[erlang-bugs] dets hangs sometimes
Ulf Wiger
ulf.wiger@REDACTED
Tue May 17 15:30:02 CEST 2011
On 17 May 2011, at 15:24, Hans Bolinder wrote:
> Hi again!
>
> [John Hughes:]
>> QuickCheck found another dets bug at Klarna. The following test makes dets hang:
>>
>> ...
>
> It's not a bug. You can try adding the line
>
> dets:verbose(),
>
> It'll then output
>
> =ERROR REPORT==== 17-May-2011::15:20:42 ===
> ** dets: traversal of dets_table needs safe_fixtable
Hmm, the more conventional way to signal failure would be to raise an exception, rather than hanging. ;-)
BR,
Ulf W
Ulf Wiger, CTO, Erlang Solutions, Ltd.
http://erlang-solutions.com
More information about the erlang-bugs
mailing list