Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2017 16:28:55 +0200
From:      Frank Steinborn <steinex@nognu.de>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        Jan Kokem??ller <jan.kokemueller@gmail.com>, freebsd-stable@freebsd.org
Subject:   Re: 11.1-RC2 breaks wine, creates unkillable process
Message-ID:  <20170726142855.GA69449@krenn.local>
In-Reply-To: <20170709122301.GI1935@kib.kiev.ua>
References:  <176da83a-f6be-7f20-3416-f961c2ae91e0@gmx.net> <e26f4e71-e88b-f339-19ab-93b39e1fee5e@gmail.com> <20170709122301.GI1935@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Konstantin Belousov <kostikbel@gmail.com> wrote:
> On Sun, Jul 09, 2017 at 01:53:24PM +0200, Jan Kokem??ller wrote:
> > Same here on -CURRENT r320620. r319481 (I think) was working fine.
> > 
> > I'm using the i386-wine-devel package from the official repository.
> 
> This should fix creation of the unkillable processes, but untested.
> 
> After that, if wine still does not work, you need to look exactly
> what breaks, perhaps using ktrace.  Most likely there would be some
> unsuccessfull mmap(2) syscall.
> 
> diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
> index 0a99ddde486..a0688fe4f0c 100644
> --- a/sys/vm/vm_map.c
> +++ b/sys/vm/vm_map.c
> @@ -1571,7 +1571,7 @@ vm_map_find_min(vm_map_t map, vm_object_t object, vm_ooffset_t offset,
>  		    find_space, prot, max, cow);
>  		if (rv == KERN_SUCCESS || min_addr >= hint)
>  			return (rv);
> -		*addr = min_addr;
> +		*addr = hint = min_addr;
>  	}
>  }
>  

Can someone tell me if this got fixed before 11.1-RELEASE?

Thanks in advance and best regards,
Frank




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