Package: maildrop
Version: 2.0.4-3
Severity: important

I've found lately that whenever I upgraded to a 2.0.4 version of maildrop from 
the
2.0.3 one that I was using maildrop would hang forever and chew up what little 
CPU
there is on my NSLU2 instead of filing mails.

Today, I've finally broken out gdb to take a closer look at what's going on. 
I've
found that maildrop was endlessly spinning through the loop in Message::Rewind 
in
message.C because in the second call to Rewind the value assigned to the counter
variable n, maildrop.msginfo.msgoffset, was negative (somewhere around -260000).
Further debugging revealed that it was actually the inlined Message::tell()
assigning that absurd value to msgoffset.

The mailfilter file I was using consisted of a single

to "./Maildir"

line, and the mail file I used had just a From:, To: and Subject: header and a
single line of data saying "Test".

Since I was using an unstripped but still optimized package which made things 
hard
to debug I recompiled maildrop (which only takes a bit over an hour on said
hardware) with the noopt flag set, only to discover that now suddenly everything
was working perfectly fine.

As I really don't have the time nor the experience to hunt what seems to be an
GCC ARM compiler bug - could you perhaps forward this compiler bug to the gcc
maintainer team and in the meantime build maildrop on ARM without optimizations?

Unless I'm really unlucky here I'm afraid I'd have to say that maildrop is
currently non-functional on ARM... :(


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: arm (armv5tel)

Kernel: Linux 2.6.22-3-ixp4xx
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages maildrop depends on:
ii  courier-authlib        0.60.1-1+b1       Courier authentication library
ii  courier-mta [mail-tran 0.58.0.20080127-1 Courier mail server - ESMTP daemon
ii  libc6                  2.7-6             GNU C Library: Shared libraries
ii  libgcc1                1:4.3.0~rc2-1     GCC support library
ii  libgdbm3               1.8.3-3           GNU dbm database routines (runtime
ii  libpcre3               7.4-1             Perl 5 Compatible Regular Expressi
ii  libstdc++6             4.3.0~rc2-1       The GNU Standard C++ Library v3

maildrop recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to