Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Dec 2005 17:59:07 -0700
From:      Travis Poppe <tlp@liquidx.org>
To:        freebsd-emulation@freebsd.org
Subject:   Fwd: Regression in Wine on FreeBSD (DVD Shrink)
Message-ID:  <200512151759.07539.tlp@liquidx.org>

next in thread | raw e-mail | index | archive | help
Thought I would forward these messages here, as they might reach more 
FreeBSD-related folks than at the Wine list.

----------  Forwarded Message  ----------

Subject: Regression in Wine on FreeBSD (DVD Shrink)
Date: Tuesday 13 December 2005 05:53 pm
From: Travis Poppe <tlp@liquidx.org>
To: wine-devel@winehq.org
Cc: dpaun@rogers.com

Hello All,

Lately I've been trying to track down a problem that prevents DVD Shrink 3.2
from starting on FreeBSD in any version of Wine built on/after 04-20-2005
(including the recent beta releases). Any version built prior to this works
fine.

I've tracked the problem down to the changes made to x11drv/dib.c (and
associated) on 04-20-2005. I'm not fluent in C; I merely found the problem
through trial and error.

If I copy the x11drv/dib.c (and ntdll/, so the old dib.c will work) from
04-18-2005 in place of the one introduced on the 20th, the problem disappears
and DVD Shrink fires right up. Changing dib.c (and dib.c only) back to the
20th snapshot re-introduces the problem, and DVD Shrink hangs again.

As I don't understand the code, I don't know how to detect where the problem
really lies, as the dib.c changes may only be indirectly responsible. I am
very willing to test for or aid anyone who wouldn't mind helping with this
problem, however.

I have already contacted the author of the changes (dib.c and associated) and
he suggested I try this list. If anyone would like to glance at the
differences between the two files I've mentioned above, I have posted a diff
here:

http://lickwid.net/~tlp/dib.c.diff

--- are the old and working changes
+++ are the new and broken changes

Any help would be greatly appreciated.

Thanks,
--
Travis Poppe
IRC: tlp @ irc.freenode.net

-------------------------------------------------------

----------  Forwarded Message  ----------

Subject: Re: Regression in Wine on FreeBSD (DVD Shrink)
Date: Thursday 15 December 2005 07:46 am
From: Robert Shearman <rob@codeweavers.com>
To: Travis Poppe <tlp@liquidx.org>
Cc: wine-devel@winehq.org, dpaun@rogers.com

Travis Poppe wrote:
>Hello All,
>
>Lately I've been trying to track down a problem that prevents DVD Shrink 3.2
>from starting on FreeBSD in any version of Wine built on/after 04-20-2005
>(including the recent beta releases). Any version built prior to this works
>fine.
>
>I've tracked the problem down to the changes made to x11drv/dib.c (and
>associated) on 04-20-2005. I'm not fluent in C; I merely found the problem
>through trial and error.
>
>I have already contacted the author of the changes (dib.c and associated)
> and he suggested I try this list. If anyone would like to glance at the
> differences between the two files I've mentioned above, I have posted a
> diff here:
>
>http://lickwid.net/~tlp/dib.c.diff

It's possible that on FreeBSD the signal -> exception translation code
doesn't mark whether it was a read or write fault. Other than that, the
code should behave the same as before.

BTW, you don't need to host the file on a server. People are more likely
to look at it if you attach it to your message.

--
Rob Shearman




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