[erlang-questions] Undefined function call kills linked-in driver.

Sten Gruener <>
Fri Feb 13 21:05:40 CET 2009

Hello paul,

the port owning process is the erl shell. It imho does not terminate with


2009/2/13 Paul Fisher <>

> Sten Gruener wrote:
>> Hello group,
>> we are developing a linked-in driver. Unfortunately calling *any*
>> undefined function causes the linked driver to die. Is it an Erlang bug? Are
>> there any workouts?
> I'm guess at what is going on for you here, but this is probably what is
> happening...
> If the port owning process terminates (for example with a undef as
> suggest,) the port instance will be closed.  If you want the port instance
> to remain available then you would need to have it owned by another process,
> and use driver_send_term() to send replies to non-owner  processes making
> requests.
> --
> paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090213/8452e48f/attachment.html>

More information about the erlang-questions mailing list