RE: assert

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bron,

Thank you very much for info.

Henryk 



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

On Thu, Sep 18, 2008 at 05:00:39PM +0200, DEMBKOWSKI, Henryk (Henryk)
wrote:
> Hi,
> 
> When I run tool hammer_skiplist to test new version of 
> cyrusdb_skiplist.c I got
> 
> root@xxxxxxxxxxx# ./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!

Bron.
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux