Crash - Adium 1.4b18

Paul Aurich paul at darkrain42.org
Sun May 16 19:00:13 UTC 2010


On 2010-05-16 11:37, Evan Schoenberg, M.D. wrote:
> 
> On May 16, 2010, at 2:28 AM, David Smith wrote:
> 
>> Hmmm. DNS lookup failed. I bet one could reproduce this by purposefully using an invalid DNS server.
> 
> This is the classic issue with the lack of reference counting in Purple's various objects implemented in C.  The result of the DNS lookup (which could be a success or a failure) is coming after the account or connection has been deallocated because of a disconnected; the result is a crash.  The lookup needs to be canceled when a disconnection occurs.
> 
> -Evan
> 
>>
>> 	David

http://pidgin.im/nopaste/106 should fix this (and various other
occurrences along the way).  I haven't tested it at all, though I asked
John to review it when he gets a chance.

~Paul

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20100516/d0b7e5ed/attachment.sig>


More information about the devel mailing list