Re: reformime malloc: Invalid or incomplete multibyte or wide character

Rubén Cardenal <[email protected]> Fri, 04 Nov 2011 09:54:05 +0100
Newsgroups gmane.mail.qmail.scanner
Message-ID <[email protected]>
--===============3985052541964790932==
Content-Type: multipart/alternative;
	boundary="=_4469928b92649a1a60ec83445ff7daa7"

--=_4469928b92649a1a60ec83445ff7daa7
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8

  

Hi Jason, 

That was the 1st thing I tried :) No matter how much
memory you give to the qmail-smtpd process running under
softlimit/tcpserver: you can raise it as much as you want (I started
raising bit a bit and even tried with 1Gb hehe) but you'll get the same
error anyway. Downgrading works. 

Ruben. 

On 03.11.2011 23:25, Jason
Haar wrote: 

> malloc means "memory allocation" - sounds to me like
your softlimits are
> too low... Try increasing that and see if the
error disappears
> 
> On 04/11/11 10:00, Rubén Cardenal wrote:
> 
>> Hi
Oliver, I've had this problem on quite a lot of servers in the last few
weeks. You need to downgrade your reformime binary to, at least, version
2.4.3. There seems to be some kind of problems with certain kind of
encodings in 2.5 series. Maybe it's just a LANG/locales issue, I don't
know, and my tests in that direction have been unsuccessful. I just
subscribed to this list to answer you and point a solution just in case
anyone else falls into the same problem. All my servers are Debian.
Regards, Ruben. --- Original message-- Hi Folks, after upgrading my
servers I get a lot of these lines in my logs: d_m: output spotted from
/usr/bin/reformime -x/var/spool/qscan/tmp/xxxx/ (malloc: Invalid or
incomplete multibyte or wide character It seems to happen only one some
documents and not all and I did not manage to fiddle out the criteria
when it happens... Any ideas? Oliver
> 
> -- 
> Cheers
> 
> Jason Haar
>
Information Security Manager, Trimble Navigation Ltd.
> Phone: +1 408
481 8171
> PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D
66D1
> 
>
------------------------------------------------------------------------------
>
RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
>
http://p.sf.net/sfu/rsa-sfdev2dev1 [1]
>
_______________________________________________
> Qmail-scanner-general
mailing list
> [email protected] [2]
>
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general [3]




Links:
------
[1] http://p.sf.net/sfu/rsa-sfdev2dev1
[2]
mailto:[email protected]
[3]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

--=_4469928b92649a1a60ec83445ff7daa7
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Hi Jason,</p>
<p>That was the 1st thing I tried :) No matter how much memory you give to =
the qmail-smtpd process running under softlimit/tcpserver: you can raise it=
 as much as you want (I started raising bit a bit and even tried with 1Gb h=
ehe) but you'll get the same error anyway. Downgrading works.</p>
<p>Ruben.</p>
<p>On 03.11.2011 23:25, Jason Haar wrote:</p>
<blockquote type=3D"cite" style=3D"padding-left:5px; border-left:#1010ff 2p=
x solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignore=
d --><!-- meta ignored -->
<pre>malloc means "memory allocation" - sounds to me like your softlimits a=
re
too low... Try increasing that and see if the error disappears



On 04/11/11 10:00, Rub&eacute;n Cardenal wrote:</pre>
<blockquote type=3D"cite" style=3D"padding-left:5px; border-left:#1010ff 2p=
x solid; margin-left:5px; width:100%">Hi Oliver, I've had this problem on q=
uite a lot of servers in the last few weeks. You need to downgrade your ref=
ormime binary to, at least, version 2.4.3. There seems to be some kind of p=
roblems with certain kind of encodings in 2.5 series. Maybe it's just a LAN=
G/locales issue, I don't know, and my tests in that direction have been uns=
uccessful. I just subscribed to this list to answer you and point a solutio=
n just in case anyone else falls into the same problem. All my servers are =
Debian. Regards, Ruben. --- Original message-- Hi Folks, after upgrading my=
 servers I get a lot of these lines in my logs: d_m: output spotted from /u=
sr/bin/reformime -x/var/spool/qscan/tmp/xxxx/ (malloc: Invalid or incomplet=
e multibyte or wide character It seems to happen only one some documents an=
d not all and I did not manage to fiddle out the criteria when it happens=
=2E.. Any ideas? Oliver</blockquote>
<pre>--=20
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +1 408 481 8171
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1


---------------------------------------------------------------------------=
---
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
<a href=3D"http://p.sf.net/sfu/rsa-sfdev2dev1">http://p.sf.net/sfu/rsa-sfde=
v2dev1</a>
_______________________________________________
Qmail-scanner-general mailing list
<a href=3D"mailto:[email protected]">Qmail-scanne=
[email protected]</a>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/qmail-scanner-gener=
al">https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general</a>
</pre>
</blockquote>
<p>&nbsp;</p>
<div>&nbsp;</div>
</body></html>

--=_4469928b92649a1a60ec83445ff7daa7--



--===============3985052541964790932==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
--===============3985052541964790932==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Qmail-scanner-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

--===============3985052541964790932==--