From nobody@FreeBSD.org  Fri Jul 21 06:20:47 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A41DD16A4DD
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 21 Jul 2006 06:20:47 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 75F2B43D45
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 21 Jul 2006 06:20:47 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k6L6Kl9d009404
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 21 Jul 2006 06:20:47 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k6L6Klss009403;
	Fri, 21 Jul 2006 06:20:47 GMT
	(envelope-from nobody)
Message-Id: <200607210620.k6L6Klss009403@www.freebsd.org>
Date: Fri, 21 Jul 2006 06:20:47 GMT
From: Xiao-Yong Jin <xj2106@columbia.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: audio/moc dumps core when detach/quit
X-Send-Pr-Version: www-2.3

>Number:         100650
>Category:       ports
>Synopsis:       audio/moc dumps core when detach/quit
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 21 06:30:18 GMT 2006
>Closed-Date:    Fri Apr 06 07:09:46 GMT 2007
>Last-Modified:  Fri Apr  6 07:10:14 GMT 2007
>Originator:     Xiao-Yong Jin
>Release:        6.1-STABLE
>Organization:
>Environment:
FreeBSD photonbsd.homelinux.org 6.1-STABLE FreeBSD 6.1-STABLE #0: Mon May 29 16:54:07 EDT 2006     toor@photonbsd.homelinux.org:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
mocp, from port audio/moc, dumps core when either detached or quit.  It works fine before you detach it or quit it.

I don't know how to debug the core file.  Please give me some direction.
>How-To-Repeat:
run mocp.  Press q for detach or Q for quit.  Following message appears with a file mocp.core in CWD.

Segmentation fault: 11 (core dumped)
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Fri Jul 21 06:30:25 UTC 2006 
State-Changed-Why:  
Awaiting maintainers feedback 

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

From: Xiao-Yong Jin <xj2106@columbia.edu>
To: Edwin Groothuis <edwin@FreeBSD.org>
Cc: freebsd-ports-bugs@FreeBSD.org
Subject: Re: ports/100650: audio/moc dumps core when detach/quit
Date: Fri, 21 Jul 2006 11:28:37 -0400

 I ran a back trace.
 
 (gdb) bt
 #0  0x00000000 in ?? ()
 #1  0x2862ef0c in __do_global_dtors_aux () from /usr/local/lib/libmpcdec.so.4
 #2  0x28636d98 in _fini () from /usr/local/lib/libmpcdec.so.4
 #3  0x2808a37e in _rtld_error () from /libexec/ld-elf.so.1
 #4  0x2808d3eb in dlclose () from /libexec/ld-elf.so.1
 #5  0x0806fafd in lt_dlseterror ()
 #6  0x08070bea in lt_dlclose ()
 #7  0x08070b09 in lt_dlpreload_default ()
 #8  0x08070bf4 in lt_dlclose ()
 #9  0x08070d2a in lt_dlexit ()
 #10 0x08059388 in decoder_cleanup ()
 #11 0x080533b0 in main ()
 
 Although no debugging symbols in the binary, it shows that there's
 something wrong with the libmpcdec.  Hope it helps.
 
 -- 
 Xiao-Yong
 

From: Captain Fourier <rzinkov@gmail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/100650: audio/moc dumps core when detach/quit
Date: Mon, 24 Jul 2006 01:56:44 -0400

 On Fri, 21 Jul 2006 06:30:22 UT
 Edwin Groothuis <edwin@FreeBSD.org> wrote:
 
 > Maintainer of audio/moc,
 > 
 > Please note that PR ports/100650 has just been submitted.
 > 
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 > 
 > The full text of the PR can be found at:
 >     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/100650
 > 
 > -- 
 > Edwin Groothuis
 > edwin@FreeBSD.org
 
 As far as I understand the issue. This is probably related to an
 ncurses issue. As far as the issue mentioned I am also running Freebssd
 6.1 and detaching/quitting works fine. Sorry if I can't be more help, I
 will forward this issue to the actual author.

From: Xiao-Yong Jin <xj2106@columbia.edu>
To: bug-followup@FreeBSD.org
Cc: Captain Fourier <rzinkov@gmail.com>
Subject: Re: ports/100650: audio/moc dumps core when detach/quit
Date: Thu, 27 Jul 2006 02:46:51 -0400

 Captain Fourier <rzinkov@gmail.com> writes:
 
 > As far as I understand the issue. This is probably related to an
 > ncurses issue. As far as the issue mentioned I am also running
 > Freebssd 6.1 and detaching/quitting works fine. Sorry if I can't be
 > more help, I will forward this issue to the actual author.
 
 It seems to me a libmpcdec issue.  As long as it's not compiled
 against libmpcdec, everything is fine.
 
 -- 
 Xiao-Yong

From: Stefan Walter <stefan@freebsd.org>
To: Captain Fourier <rzinkov@gmail.com>,
	Xiao-Yong Jin <xj2106@columbia.edu>
Cc: GNATS <FreeBSD-gnats-submit@FreeBSD.org>
Subject: Re: ports/100650: audio/moc dumps core when detach/quit
Date: Thu, 5 Apr 2007 13:39:22 +0200

 --5oH/S/bF6lOfqCQb
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Hi,
 
 can you tell me what the status is regarding this problem report? Has the
 problem been resolved or is there a patch to apply, maybe? Can this PR be
 closed?
 
 Regards,
 Stefan
 
 --5oH/S/bF6lOfqCQb
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.7 (FreeBSD)
 
 iQGVAwUBRhTf6VaRERsSueCzAQLeiQv9HKf5xlyji46Q1d35wLaDk6Q09m+SBpIv
 kTDoBT2A5W+FYtZI2qWEaSP6z9LPcUQsy+Jb3F9zMnFQfJp2iZLqvUpHoPDbmoD2
 q6rQc7Gmn0f8JJKTEoLsQQC2tR+tjpBJE8aGAV9qkvZGjVMoOERpthkPk6l/QOqr
 +Uc5b0yZCsFhFbqq89r18/brv90Xog/05H5AwLnRtofKpDQg8m+LDlLut7qKL3vQ
 I/xTkDrUfYcbrT9vx4ggO6kKzDRz7E/TXV/ggSSWqCmQfHx+/XuIpBKdjpisiDUf
 bB0UpfRSGPSiOp/qB+BByiJsaAhqguqTF89W8WuoXy55pspW1sFD1SQeLJvmQ5Yg
 IBDrdtbecuje9jfD5D1WDitkX+1lL/WC9YnhOiOVzUuuUeSzuudscPvQiVD8KysP
 YoZGDBjuV89ULYd1lhR5iXBbIzb919YPNJKPK2GTGPCM3oi3QpukgXnvtSsmHdug
 N/4mdZf9cR4ymolNdsTj+AKM92kB1zyO
 =6wBM
 -----END PGP SIGNATURE-----
 
 --5oH/S/bF6lOfqCQb--
State-Changed-From-To: feedback->closed 
State-Changed-By: stefan 
State-Changed-When: Fri Apr 6 07:08:42 UTC 2007 
State-Changed-Why:  
Maintainer reports the problem seems to be resolved. 

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

From: Stefan Walter <stefan@freebsd.org>
To: GNATS <FreeBSD-gnats-submit@FreeBSD.org>
Cc:  
Subject: Re: ports/100650: audio/moc dumps core when detach/quit
Date: Fri, 6 Apr 2007 09:07:29 +0200

 --oyUTqETQ0mS9luUI
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Reply received via private mail:
 
 Captain Fourier, 06.04.07, 00:36h CEST:
 
 > It seems resolved I think a patch for libmpcdec was added at some point.
 
 
 --oyUTqETQ0mS9luUI
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.7 (FreeBSD)
 
 iQGVAwUBRhXxsFaRERsSueCzAQLIyAv9GbWZMF0W07nLszTJLOEgvH4FmE3GrCFi
 msR5UUpi0jsPR4G/oF9fMpANvwYI34Ga+xy8ejYcZga1al8MgSTm85UnBUTVjAet
 wbyENQi4/Wpz7gxj+hrWmhhwYFqSsnx+5MLxTGvo3dN0d2Boghx4QeZ0S6oxUKag
 H3r8q5CuptG1uGV+4o7WVUeqYx/uRSsLhqvlzgb7txOtzG1/EVt2AKjfFpLeAHQT
 8ZD9Ac/OmT4SARDJDFTa+d9Jr76UkAaX/ulCXqwvmlq19Hulo9e9uuaYUa8LdacZ
 PFfap/1JW8VQXjmnPDHnB9AFiVjBnnk7I5DvZObyzjYlflWM4Wxw1KQbuIuXxRC1
 lwc2LC3Ii6dfakK+5RHwgUisIIPXBYfdGDlH0AvXGGkCBZ+quVXRAdnRR6ywMcu7
 SDWQjyoueXqweMrHqR8hfYPRGXSAOYK37+6zMoffmM08eiR5oGZ5t4jTcQPThwXh
 +RlktiUAGGTGSAM6BVDs7saIj4E5XCLi
 =C74c
 -----END PGP SIGNATURE-----
 
 --oyUTqETQ0mS9luUI--
>Unformatted:
