[erlang-patches] Fix efile_drv crash when using async thread pool

Björn-Egil Dahlberg egil@REDACTED
Fri Jan 11 21:00:28 CET 2013


On 2013-01-08 11:46, Filipe David Manana wrote:
> Any reason for no feedback on this submission? It's quite critical
> imho, it affects all file:open/2 calls that specify the 'compressed'
> option, even for files that are not compressed. For example,
> file_sorter always opens file with the 'compressed' option, and
> shutting down a process that uses it, leads to these crashes when
> using the async thread pool.

Though your patch probably solves this (crucial) issue something is off.

We have mechanisms in place to guard against exactly this but apparently 
the guards are unsuccessful in this case, so therein lies a bug.

I, or someone else from the VM team, needs to look closer at this.

// Björn-Egil


>
> Thanks.
>
> On Thu, Dec 27, 2012 at 1:07 PM, Filipe David Manana <fdmanana@REDACTED> wrote:
>> https://github.com/fdmanana/otp/compare/master...fix_efile_drv_crash.patch
>> https://github.com/fdmanana/otp/compare/master...fix_efile_drv_crash
>>
>> git  fetch  git://github.com/fdmanana/otp.git  fix_efile_drv_crash
>>
>>
>>
>> --
>> Filipe David Manana,
>>
>> "Reasonable men adapt themselves to the world.
>>   Unreasonable men adapt the world to themselves.
>>   That's why all progress depends on unreasonable men."
>
>




More information about the erlang-patches mailing list