Subject: Re: [Greg Troxel] Re: threading bug in mail-notification?
To: None <email@example.com>
From: Christos Zoulas <firstname.lastname@example.org>
Date: 04/20/2007 22:11:21
In article <email@example.com>,
Greg Troxel <firstname.lastname@example.org> wrote:
>mail-notification is crashing on post-newlock2 current, and works on
>netbsd-4. I think the problem is a lack of locking and openssl being
>called on the same context in two threads. But, I was asked about
>whether openssl declares OPENSSL_THREADS, and it seems that it does not.
>I had meant to send the following here instead of pkgsrc-users:
>Greg Troxel <email@example.com> writes:
>> I've been using gnome mail notification applet mail/mail-notification
>> under NetBSD for a while, and it works on uniprocessors under netbsd-4
>> and used to work on current under MP (T60, Core Duo). I monitor 2
>> mailboxes, both IMAP/SSL.
>> On the T60 (4.99.17), it hits an assertion at startup:
>> assertion "md_c == md_count" failed: file
>> line 312, function "ssleay_rand_add"
>> It seems this is about openssl operations being invoked on a single
>> context in more than one thread at once.
>I've filed a bug with mail-notification about this, and was asked about
>whether our openssl is built with thread support.
>Should our openssl be compiled with thread support?
>Is mail-notification doing something wrong?
Yes, we should do that.