From nobody@FreeBSD.org  Wed Aug 12 08:13:05 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 05385106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 12 Aug 2009 08:13:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id DCFCD8FC44
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 12 Aug 2009 08:13:04 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7C8D4pY059870
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 12 Aug 2009 08:13:04 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n7C8D4bN059869;
	Wed, 12 Aug 2009 08:13:04 GMT
	(envelope-from nobody)
Message-Id: <200908120813.n7C8D4bN059869@www.freebsd.org>
Date: Wed, 12 Aug 2009 08:13:04 GMT
From: Norbert Koch <nkoch@demig.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: fetchmail in malloc(): error: recursive call
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: chalpin@cs.wisc.edu

>Number:         137690
>Category:       ports
>Synopsis:       mail/fetchmail in malloc(): error: recursive call
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pav
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 12 08:20:06 UTC 2009
>Closed-Date:    Thu Sep 17 13:38:23 UTC 2009
>Last-Modified:  Thu Sep 17 13:38:23 UTC 2009
>Originator:     Norbert Koch
>Release:        6.4
>Organization:
>Environment:
FreeBSD firewall.XXXXX.intra 6.4-RELEASE-p3 FreeBSD 6.4-RELEASE-p3 #2: Fri Jan 30 14:38:42 CET 2009     root@firewall.demig.intra:/usr/obj/usr/src/sys/FIREWALL  i386

>Description:
I updated the fetchmail port from 6.3.10 to 6.3.11.

As soon as I run "fetchmail" I see endless messages
"fetchmail in malloc(): error: recursive call".
I have to "kill -kill fetchmail".

"fetchmail -v" and "fetchmail -V" are ok.
After downgrading to fetchmail 6.3.10 all is ok again.


Output of fetchmail -V
fetchmail: WARNING: Running as root is discouraged.
This is fetchmail release 6.3.11+RPA+SDPS+SSL+OPIE.

Copyright (C) 2002, 2003 Eric S. Raymond
Copyright (C) 2004 Matthias Andree, Eric S. Raymond, Robert M. Funk, Graham Wilson
Copyright (C) 2005 - 2006 Sunil Shetye
Copyright (C) 2005 - 2009 Matthias Andree
Fetchmail comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. For details,
please see the file COPYING in the source or documentation directory.

Fallback MDA: (none)
FreeBSD firewall.XXXXX.intra 6.4-RELEASE-p3 FreeBSD 6.4-RELEASE-p3 #2: Fri Jan 30 14:38:42 CET 2009     root@firewall.XXXXX.intra:/usr/obj/usr/src/sys/FIREWALL  i386
Taking options from command line and /root/.fetchmailrc
Idfile is /root/.fetchids
Fetchmail will forward misaddressed multidrop messages to postmaster.
Fetchmail will direct error mail to the postmaster.
Options for retrieving from webmaster@XXXXX.de@XXXXX.de:
  Mail will be retrieved via XXXXXXXX.de
  True name of server is XXXXXXXX.de.
  Protocol is POP3.
  All available authentication methods will be tried.
  SSL encrypted sessions enabled.
  Server nonresponse timeout is 300 seconds (default).
  Default mailbox selected.
  All messages will be retrieved (--all on).
  Fetched messages will not be kept on the server (--keep off).
  Old messages will be flushed before message retrieval (--flush on).
  Oversized messages will not be flushed before message retrieval (--limitflush off).
  Rewrite of server-local addresses is enabled (--norewrite off).
  Carriage-return stripping is disabled (stripcr off).
  Carriage-return forcing is disabled (forcecr off).
  Interpretation of Content-Transfer-Encoding is enabled (pass8bits off).
  MIME decoding is disabled (mimedecode off).
  Idle after poll is disabled (idle off).
  Nonempty Status lines will be kept (dropstatus off)
  Delivered-To lines will be kept (dropdelivered off)
  Fetch message size limit is 100 (--fetchsizelimit 100).
  Do binary search of UIDs during 3 out of 4 polls (--fastuidl 4).
  Messages will be SMTP-forwarded to: localhost (default)
  Multi-drop mode: 1 local name recognized.
  DNS lookup for multidrop addresses is disabled.
  Envelope header is assumed to be: Envelope-to
  Predeclared mailserver aliases: pop.XXXXXX.de
  Local domains: XXXXXX.de
  125 UIDs saved.
>How-To-Repeat:
see above
>Fix:
downgrading to 6.3.10

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Aug 13 22:08:42 UTC 2009 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137690 
State-Changed-From-To: feedback->open 
State-Changed-By: pav 
State-Changed-When: Thu Sep 17 12:32:43 UTC 2009 
State-Changed-Why:  
No feedback from maintainer received 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137690 
State-Changed-From-To: open->feedback 
State-Changed-By: pav 
State-Changed-When: Thu Sep 17 12:34:53 UTC 2009 
State-Changed-Why:  
Does this still happen with 6.3.11_1 ? 


Responsible-Changed-From-To: freebsd-ports-bugs->pav 
Responsible-Changed-By: pav 
Responsible-Changed-When: Thu Sep 17 12:34:53 UTC 2009 
Responsible-Changed-Why:  
Does this still happen with 6.3.11_1 ? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137690 

From: Norbert Koch <nkoch@demig.de>
To: bug-followup@FreeBSD.org, nkoch@demig.de
Cc:  
Subject: Re: ports/137690: mail/fetchmail in malloc(): error: recursive call
Date: Thu, 17 Sep 2009 14:59:24 +0200

 I have just tested 6.3.11_1. The problem seems to be fixed. Thank you.
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Thu Sep 17 13:38:06 UTC 2009 
State-Changed-Why:  
Submitter reports latest version no longer exhibits this problem 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137690 
>Unformatted:
