Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2012 20:54:28 +0100
From:      "C. P. Ghost" <cpghost@cordula.ws>
To:        chalpin@cs.wisc.edu
Cc:        freebsd-ports@freebsd.org, carsten@dvdisaster.org
Subject:   Re: sysutils/dvdisaster coredumps on FreeBSD/amd64 RELENG_9
Message-ID:  <CADGWnjVFwSgBvYddU33EAPZW0B5to35UJcrW=uvUv8UXEWFawQ@mail.gmail.com>
In-Reply-To: <CADGWnjWFkxQaSbsg=OmTGu-02hDaTU0rs9Oy5tafppFdsynADg@mail.gmail.com>
References:  <CADGWnjWFkxQaSbsg=OmTGu-02hDaTU0rs9Oy5tafppFdsynADg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 2, 2012 at 3:20 PM, C. P. Ghost <cpghost@cordula.ws> 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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADGWnjVFwSgBvYddU33EAPZW0B5to35UJcrW=uvUv8UXEWFawQ>