[erlang-bugs] ets table becomes unusable after a failed insert

Vincent de Phily <>
Fri Jul 24 12:17:55 CEST 2009

On Friday 24 July 2009 11:42:29 Maxim Treskin wrote:
> It is not a bug. It is shell-specific behaviour.
> Your ETS-table owned by one shell-process, and when you have exception
> error shell process have stopped and new one started. So, this new shell
> process have not access to ETS-table, because it owned by dead process.

Fair enough, it doesn't happen in an escript. I thought that making the table 
public protected me from this, but have corrected my understaning.

Vincent de Phily
Mobile Devices
+33 (0) 666 301 306
+33 (0) 142 119 325

This message (and any associated files) is intended only for the use of its
intended recipient and may contain information that is confidential, subject
to copyright or constitutes a trade secret. If you are not the intended
recipient you are hereby notified that any dissemination, copying or
distribution of this message, or files associated with this message, is
strictly prohibited. If you have received this message in error, please
notify us immediately by replying to the message and deleting it from your
computer. Any views or opinions presented are solely those of the author
 and do not necessarily represent those of 
company. Although the company has taken reasonable precautions to ensure no
viruses are present in this email, the company cannot accept responsibility
for any loss or damage arising from the use of this email or attachments.

More information about the erlang-bugs mailing list