Hylafax Mailing List Archives

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

[hylafax-users] [Fwd: 2.0.6 Bugs]



 


Please forward... :)


I've compiled cyrus-imapd 2.0.6 and db3 and sasl from Rawhide
on a redhat 6.2 system.

It is unusable ...

But let me explain.

I've identified 2 Problems (not more time for now).

[1] Core dump

you can send mails to a create mailbox , that works fine.

If you try to read the mail the first time with netscape
everything is fine.

Close the connection and try to reconnect
... core dump of imapd...

gdb /usr/cyrus/bin/imapd core

#0  0x4011f4a7 in memcpy (dstpp=0x810c3b0, srcpp=0x4057b044, len=4294967295)
    at ../sysdeps/generic/memcpy.c:55
55      ../sysdeps/generic/memcpy.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  0x4011f4a7 in memcpy (dstpp=0x810c3b0, srcpp=0x4057b044, len=4294967295)
    at ../sysdeps/generic/memcpy.c:55
#1  0x806c137 in seen_readit ()
#2  0x806c1c0 in seen_lockread ()
#3  0x8055c59 in index_check ()
#4  0x80558a9 in index_newmailbox ()
#5  0x804f37f in cmd_select ()
#6  0x804d1f0 in cmdloop ()
#7  0x804ba02 in service_main ()
#8  0x804a76a in main ()
#9  0x400d79cb in __libc_start_main (main=0x804a500 <main>, argc=1, 
    argv=0xbffffb44, init=0x8049b34 <_init>, fini=0x807900c <_fini>, 
    rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffffb3c)
    at ../sysdeps/generic/libc-start.c:92


A quick patch showed that
in seen_db.c   
in function seen_readit

uidlen = datalen - (data - dstart);
syslog(LOG_ERR, "seen_readit() uidlen = %i", uidlen);

--> uidlen == -1 !!!!

I fixed this  with setting uidlen == 1 for test purposes.
Than i could see my folder with netscape again.



[2] Drag And Drop A Email

Create a Subfolder (works)
Try to drag an email into that Subfolder (with Netscape).
Fails 

/var/log/messages

Aug 26 18:06:41 tiger imapd[18982]: IOERROR: writing /var/imap/user/d/dietmar.seen.NEW: Das Argument ist ungültig
Aug 26 18:06:41 tiger imapd[18982]: IOERROR: writing /var/imap/user/d/dietmar.seen.NEW: Ungültiger Dateideskriptor

Sorry that it is in german

means 
Das Argument ist ungültig  == argument is not valid
Ungültiger Dateideskriptor == invalid file descriptor


Regards
Dietmar




Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services