Subject: Re: threading bug in mail-notification?
To: None <pkgsrc-users@netbsd.org>
From: Greg Troxel <gdt@ir.bbn.com>
List: pkgsrc-users
Date: 04/20/2007 12:33:03
Greg Troxel <gdt@ir.bbn.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[1] == md_count[1]" failed: file
> "/usr/home/gdt/NetBSD-current/src/crypto/dist/openssl/crypto/rand/md_rand.c",
> 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.

  https://savannah.nongnu.org/bugs/index.php?19643

Should our openssl be compiled with thread support?
Is mail-notification doing something wrong?