[erlang-questions] Segmentation fault in tests

Manuel A. Rubio "Bombadil" bombadil@REDACTED
Thu Mar 14 18:54:43 CET 2013


Hi,

I'm using exmpp for development, and eunit for tests. When I need to 
launch tests, I write several times:

application:start(exmpp),
...
application:stop(exmpp).

In some cases this throws an "Segmentation fault" and stop erlang VM. I 
try this code in the shell:

[ begin application:start(exmpp), aplication:stop(exmpp), ok end || X 
<- lists:seq(1,100) ].

And the code fails, not always, but very often... I think could be a 
problem with unload and load the code when the port isn't unloaded 
completly... any suggestion?

Thanks.
Manuel Rubio.



More information about the erlang-questions mailing list