Whenever I leave cyradm with the quit command it segfaults.  From the 
stacktrace alone, I suspect a double free in IMAP.so from the perl 
module.  Stacktrace below.

PS. someone really should update the INSTALL doc to mention changing the 
permissions on the /etc/sasldb2 file to 660 and 'mail' group ( or 
whatever the correct permissions are ).

Perl 5.6.0 ( default perl RPM from Redhat 7.2 )
cyrus-imapd 2.1.3

#0  0x400dee8f in chunk_free (ar_ptr=0x40192620, p=0xfffe8d10)
     at malloc.c:3225
         hd = 1075389984
         sz = 137090952
         idx = 0
         next = 0x82a6498
         nextsz = 0
         prevsz = 1075389984
         bck = 0x40192648
         fwd = 0x82a6498
         islr = 0
         sz = 137090952
         next = 0x82a6498
         bck = 0x40192648
         islr = 0
#1  0x400debf4 in __libc_free (mem=0x82a64a0) at malloc.c:3154
         mem = (void *) 0x82a6498
         ar_ptr = (arena *) 0x40192620
         p = 0x82a6498
         hook = (void (*)()) 0x40192620 <main_arena>
#2  0x4020999f in XS_Cyrus__IMAP_DESTROY ()
    from /usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/Cyrus/IMAP/IMAP.so
No symbol table info available.
#3  0x0809d4bc in Perl_pp_entersub () at eval.c:41
         ap = (void **) 0x0
         digval = 1075389984
         digval = 1075389984
         digval = 1075389984
         digval = 1075389984
         p = 0x81aace0 "¤É\e\b\001"
         result = 0
         result = 135965920
...
...


-- 
http://linuxquestions.org/ - Ask linux questions, give linux help.
http://splint.org/ - Write safe C code. splint source-code analyzer.

Reply via email to