Bug 217161 - [linux]: 32-bit x11 apps fail to start on amd64 host (EFAULT in linux_recv())
Summary: [linux]: 32-bit x11 apps fail to start on amd64 host (EFAULT in linux_recv())
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Dmitry Chagin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-17 08:24 UTC by Andriy Voskoboinyk
Modified: 2017-02-18 07:57 UTC (History)
1 user (show)

See Also:


Attachments
Temporary workaround (r313862) (599 bytes, patch)
2017-02-17 08:24 UTC, Andriy Voskoboinyk
no flags Details | Diff
quick fix (784 bytes, patch)
2017-02-17 10:37 UTC, Dmitry Chagin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andriy Voskoboinyk freebsd_committer freebsd_triage 2017-02-17 08:24:04 UTC
Created attachment 180066 [details]
Temporary workaround (r313862)
Comment 1 Dmitry Chagin freebsd_committer freebsd_triage 2017-02-17 10:37:47 UTC
Created attachment 180068 [details]
quick fix
Comment 2 Dmitry Chagin freebsd_committer freebsd_triage 2017-02-17 10:38:10 UTC
grab
Comment 3 Andriy Voskoboinyk freebsd_committer freebsd_triage 2017-02-17 23:14:27 UTC
Works fine with amd64 / i386, cannot test with i386 / i386 (screen is refreshed too slowly with recent kernel when drm2 is loaded).
Comment 4 commit-hook freebsd_committer freebsd_triage 2017-02-18 07:22:08 UTC
A commit references this bug:

Author: dchagin
Date: Sat Feb 18 07:21:50 UTC 2017
New revision: 313912
URL: https://svnweb.freebsd.org/changeset/base/313912

Log:
  Finich r313684.

  Convert linux_recv(), linux_send() and linux_accept() system call arguments
  to the register_t type too.

  PR:		217161
  MFC after:	3 days
  xMFC with:	r313284,r313285,r313684

Changes:
  head/sys/compat/linux/linux_socket.c
  head/sys/compat/linux/linux_socket.h
Comment 5 Dmitry Chagin freebsd_committer freebsd_triage 2017-02-18 07:57:02 UTC
fixed, thanks