|
|
| Author |
Message |
< Erlang bugs mailing list ~ async driver in multithread mode - segmentation fault |
| Guest |
Posted: Mon Jan 22, 2007 9:49 pm |
|
|
|
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 |
|
|
| Back to top |
|
| Guest |
Posted: Tue Jan 23, 2007 4:42 pm |
|
|
|
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 |
|
|
| Back to top |
|
| Shemalicious |
Posted: Tue Apr 10, 2007 2:28 pm |
|
|
|
Guest
|
|
| Back to top |
|
|
|
All times are GMT
|
|
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
|
|
|