DEMBKOWSKI, Henryk (Henryk) hdembkowski at
Fri Sep 19 03:54:24 EDT 2008


Thank you very much for info.


-----Original Message-----
From: Bron Gondwana [mailto:brong at] 
Sent: Friday, September 19, 2008 7:53 AM
To: DEMBKOWSKI, Henryk (Henryk)
Cc: cyrus-devel at; info-cyrus at
Subject: Re: assert

On Thu, Sep 18, 2008 at 05:00:39PM +0200, DEMBKOWSKI, Henryk (Henryk)
> Hi,
> When I run tool hammer_skiplist to test new version of 
> cyrusdb_skiplist.c I got
> root at ms02.borsuk# ./hammer_skiplist -C /etc/imapd_p.conf -n 
> /home/tsc/dhenryk/hammer.out fatal error: Internal error: assertion 
> failed: cyrusdb_skiplist.c: 739:
> db->current_txn == NULL

        if (rop >= 999) {
          if (!r) r = DB_OLD->store(db, key, klen, value, vlen, tp);
          /* forget to commit */

This would cause the bug you're seeing.  Basically it's an invalid usage
of the API deliberately to cause this crash.

It only happens once per 1000 cycles through the loop!


More information about the Cyrus-devel mailing list