From owner-freebsd-ports@FreeBSD.ORG Tue Mar 6 19:54:30 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 38E7C10656AD for ; Tue, 6 Mar 2012 19:54:30 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id B8B0B8FC0A for ; Tue, 6 Mar 2012 19:54:29 +0000 (UTC) Received: by bkcjc3 with SMTP id jc3so6153424bkc.13 for ; Tue, 06 Mar 2012 11:54:28 -0800 (PST) Received-SPF: pass (google.com: domain of cpghost@cordula.ws designates 10.112.29.166 as permitted sender) client-ip=10.112.29.166; Authentication-Results: mr.google.com; spf=pass (google.com: domain of cpghost@cordula.ws designates 10.112.29.166 as permitted sender) smtp.mail=cpghost@cordula.ws Received: from mr.google.com ([10.112.29.166]) by 10.112.29.166 with SMTP id l6mr10466945lbh.78.1331063668561 (num_hops = 1); Tue, 06 Mar 2012 11:54:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.29.166 with SMTP id l6mr8613925lbh.78.1331063668454; Tue, 06 Mar 2012 11:54:28 -0800 (PST) Received: by 10.112.11.40 with HTTP; Tue, 6 Mar 2012 11:54:28 -0800 (PST) X-Originating-IP: [93.221.184.181] In-Reply-To: References: Date: Tue, 6 Mar 2012 20:54:28 +0100 Message-ID: From: "C. P. Ghost" To: chalpin@cs.wisc.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQmu2en+hQBOSnMuHcO/RFPNrqvABu0usBEmgqsO+U08/LlLlneAh5BI/Ql2CaSBAAqEL33g Cc: freebsd-ports@freebsd.org, carsten@dvdisaster.org Subject: Re: sysutils/dvdisaster coredumps on FreeBSD/amd64 RELENG_9 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 19:54:30 -0000 On Fri, Mar 2, 2012 at 3:20 PM, C. P. Ghost wrote: > Hello, > > the port sysutils/dvdisaster dumps core on FreeBSD RELENG_9/amd64 > when run in graphics mode. Using it with flags in text mode seems okay > though (I think). > > Recompiling with CFLAGS=3D-g doesn't produce a usable backtrace. > > Maybe there's something broken in scsi-freebsd.c:DefaultDevice() > or something called by DefaultDevice(); because if I short out > DefaultDevice (with #if 0 ... #endif) and replace it with a simple > call to g_strdup("no drives"), the GUI seems to work well -- it just > doesn't populate the list of available devices. > > This is on > =A0FreeBSD 9.0-STABLE #0 r232305 amd64 > with > =A0dvdisaster-0.72.3 I've submitted PR ports/165787: http://www.freebsd.org/cgi/query-pr.cgi?pr=3D165787 with a patch that temporarily comments out the breakage. @Carsten: I hope you can pinpoint the problem. I suspect a change in FreeBSD's CAM layer API/ABI that causes some sort of buffer overrun on RELENG_9. The patch points to the exact line of code that causes dvdisaster 0.72.3 to crash. Thanks, -cpghost. --=20 Cordula's Web. http://www.cordula.ws/