From nobody@FreeBSD.org  Mon Mar 30 09:08:44 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 44C3E1065675
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 30 Mar 2009 09:08:44 +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 338928FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 30 Mar 2009 09:08:44 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n2U98hjX046409
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 30 Mar 2009 09:08:43 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n2U98hX5046408;
	Mon, 30 Mar 2009 09:08:43 GMT
	(envelope-from nobody)
Message-Id: <200903300908.n2U98hX5046408@www.freebsd.org>
Date: Mon, 30 Mar 2009 09:08:43 GMT
From: Andrew Stadtler <astadtler@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: rtorrent-devel rtorrent std::bad_alloc
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         133196
>Category:       ports
>Synopsis:       net/xmlrpc-c: rtorrent-devel rtorrent std::bad_alloc
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 30 09:10:01 UTC 2009
>Closed-Date:    Fri Sep 18 13:54:48 UTC 2009
>Last-Modified:  Fri Sep 18 13:54:48 UTC 2009
>Originator:     Andrew Stadtler
>Release:        7.1-Release
>Organization:
>Environment:
FreeBSD libria 7.1-RELEASE-p4 FreeBSD 7.1-RELEASE-p4 #0: Sun Mar 22 09:43:46 UTC 2009     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
After building rtorrent-devel from ports with the xmlrpc option checked:

rtorrent-devel-0.8.4
libtorrent-devel-0.12.4
xmlrpc-c-devel-1.11.00_3

When you try and run rtorrent you get this error:

% rtorrent
rtorrent: std::bad_alloc

There is an open ticket on the rtorrent trac where this problem is being
discussed in the comments http://libtorrent.rakshasa.no/ticket/1643 .
It appears to be an xmlrpc-c problem, the current stable version is 1.16.13
>How-To-Repeat:
install rtorrent-devel and run rtorrent
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->chinsan 
Responsible-Changed-By: pav 
Responsible-Changed-When: Mon Mar 30 21:44:38 UTC 2009 
Responsible-Changed-Why:  
This really looks like xmlrpc-c-devel update request 

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

From: Andrew Stadtler <astadtler@gmail.com>
To: bug-followup@FreeBSD.org, astadtler@gmail.com, flz@FreeBSD.org
Cc:  
Subject: Re: ports/133196: net/xmlrpc-c: rtorrent-devel rtorrent 
	std::bad_alloc
Date: Sun, 12 Apr 2009 10:06:36 -0500

 After having xmlrpc-c-devel updated the bug remains.  Upon further research
 I found that is related to the
 patch-src_command__network.cc<http://www.freebsd.org/cgi/cvsweb.cgi/ports/net-p2p/rtorrent-devel/files/patch-src_command__network.cc>patch.
  I was able to compile the port without the patch and the
 std::bad_alloc problem went away but of course I now had core dumps.
 
 "terminate called after throwing an instance of 'torrent::internal_error'
  what():  PollKQueue::modify() error: Bad file descriptor
  Abort (core dumped)"
 
From: Florent Thoumie <flz@FreeBSD.org>
To: Andrew Stadtler <astadtler@gmail.com>
Cc: bug-followup@freebsd.org
Subject: Re: ports/133196: net/xmlrpc-c: rtorrent-devel rtorrent 
	std::bad_alloc
Date: Fri, 17 Jul 2009 12:13:40 +0100

 On Sun, Apr 12, 2009 at 4:06 PM, Andrew Stadtler<astadtler@gmail.com> wrote=
 :
 > After having xmlrpc-c-devel updated the bug remains.=A0 Upon further rese=
 arch
 > I found that is related to the patch-src_command__network.cc patch.=A0 I =
 was
 > able to compile the port without the patch and the std::bad_alloc problem
 > went away but of course I now had core dumps.
 >
 > "terminate called after throwing an instance of 'torrent::internal_error'
 > =A0what():=A0 PollKQueue::modify() error: Bad file descriptor
 > =A0Abort (core dumped)"
 
 Can you still reproduce with current xmlrpc-c-devel and rtorrent? I've
 removed the stale patch you've mentioned.
 
 --=20
 Florent Thoumie
 flz@FreeBSD.org
 FreeBSD Committer

From: Andrew Stadtler <astadtler@gmail.com>
To: bug-followup@freebsd.org, astadtler@gmail.com, flz@FreeBSD.org
Cc:  
Subject: Re: ports/133196: net/xmlrpc-c: rtorrent-devel rtorrent 
	std::bad_alloc
Date: Fri, 17 Jul 2009 08:47:00 -0500

 Compiles fine and everything seems to be working now.  I'll checkout 8.5
 when I get a chance too.
 
 Thanks
 
Responsible-Changed-From-To: chinsan->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Aug 28 17:43:10 UTC 2009 
Responsible-Changed-Why:  
Maintainer was reset. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133196 
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Fri Sep 18 13:53:36 UTC 2009 
State-Changed-Why:  
Submitter reports latest version works 

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