Control: tag -1 patch

Gergely Nagy <alger...@balabit.hu> writes:

>>> I then can see syslog-ng master-process spawining childs, which segfault 
>>> immidiatly:
>>> http://paste.debian.net/239439/
>>
>> This sounds like another issue, also in ivykis, but a race condition:
>>
>>   
>> https://github.com/buytenh/ivykis/commit/144b88cbe4a04d53acbf4525d06cc1860571d36f.patch
>>
>> This should apply reasonably cleanly to lib/ivykis aswell.
>
> Turns out, this doesn't apply cleanly, or at all. It is not needed
> either, as the code in syslog-ng's ivykis fork does not suffer from this
> problem. The crash is likely due to something else, perhaps even related
> to the eventfd fix.

Turns out, it *is* related to the eventfd bug. What happens is,
syslog-ng tries to register an event, but that doesn't work, and instead
of aborting, it goes and and tries to post that event, which results in
a segfault.

Since ivykis can now fall back to $whatever, the event registration
succeeds, and all is well.

I reproduced the original issue on gabrielli, and after fixing the
eventfd bug, I could not reproduce the crash anymore, either. So the
patch I attached earlier should be enough.

-- 
|8]


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to