dbus-daemon SIGSEGV on OSX

Pablo Martí Gamboa pmarti at warp.es
Thu May 20 08:20:09 PDT 2010


2010/5/20 Will Thompson <will.thompson at collabora.co.uk>

> On 20/05/10 15:53, Will Thompson wrote:
>
>> On 20/05/10 15:32, Pablo Martí Gamboa wrote:
>>
>>> # bus/dir-watch-kqueue.c
>>>
>>> for (i = 0; new_dirs[i]; i++)
>>> {
>>> for (j = 0; i < num_fds; j++)
>>>
>>
>> Hmm. This 'i' here ^^^ looks suspicious!
>>
>
> I think the attached patch should fix this issue (but I don't have an OS X
> machine to test it on). Pablo, any chance you could apply it and see if the
> crashes go away?
>


Sure thing, I have recompiled dbus-daemon with the fix and will report
tomorrow if the SIGSEGV is gone. Indeed it seems it should!

-- 
Pablo Martí
http://minimoesfuerzo.org
python -c "print '706d617267616d40676d61696c2e636f6d'.decode('hex')"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100520/0d7bedc2/attachment.html>


More information about the dbus mailing list