Erlang Mailing Lists

Author Message

<  Erlang bugs mailing list  ~  async driver in multithread mode - segmentation fault

Guest
Posted: Mon Jan 22, 2007 9:49 pm Reply with quote
Guest
Hi,
I was trying to implement asynchronous driver which is invoked in a
separate thread. It crashes with "segmentation fail" message when second
call is issued, in driver_async().

I'm attaching dummy short test which shows the problem. I intentionally
removed from the code most of driver_free() calls to reduce potential
problem source.

following command makes it failed:
erl +A4 -noshell -s drv t -s init stop
but no-thread-pool one works fine:
erl -noshell -s drv t -s init stop

Tested in R11-0, R11-2, smp and non-smp Linux.
Any idea / help is appreciated.
Thanks.


Post recived from mailinglist
Guest
Posted: Tue Jan 23, 2007 4:42 pm Reply with quote
Guest
Thanks for the bug report.

We have found the bug and we will include a correction in R11B-3
(probably to be released within 1 or 2 weeks).

/Bjorn

Dmitriy Kargapolov <dmitry.kargapolov@corp.idt.net> writes:

> Hi,
> I was trying to implement asynchronous driver which is invoked in a
> separate thread. It crashes with "segmentation fail" message when
> second call is issued, in driver_async().
>
> I'm attaching dummy short test which shows the problem. I
> intentionally removed from the code most of driver_free() calls to
> reduce potential problem source.
>
.
.
.

--
Bj
Shemalicious
Posted: Tue Apr 10, 2007 2:28 pm Reply with quote
Guest
Christina Ricci *beep*!
http://Christina-Ricci-*beep*.org/WindowsMediaPlayer.php?movie=231891

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum