Bug 211924 - lib/libc/sys/mmap_test:mmap_truncate_signal fails with SIGSEGV instead of SIGBUS
Summary: lib/libc/sys/mmap_test:mmap_truncate_signal fails with SIGSEGV instead of SIGBUS
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: tests (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-testing mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-17 06:38 UTC by Enji Cooper
Modified: 2016-08-17 06:41 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enji Cooper freebsd_committer 2016-08-17 06:38:02 UTC
NetBSD expects this testcase to fail with SIGBUS, but instead it fails with SIGSEGV on FreeBSD.

This test case is new to FreeBSD and only available on ^/projects/netbsd-tests-update-12 so far..

$ svn info /usr/src/svn/ | grep ^URL:
URL: svn+ssh://ngie@repo.freebsd.org/base/projects/netbsd-tests-update-12
$ svnversion /usr/src/svn
304238M
$ sudo kyua debug -k /usr/tests/lib/libc/sys/Kyuafile mmap_test:mmap_truncate_signal
mmap_test:mmap_truncate_signal  ->  failed: child process got SIGSEGV instead of SIGBUS
Comment 1 commit-hook freebsd_committer 2016-08-17 06:41:13 UTC
A commit references this bug:

Author: ngie
Date: Wed Aug 17 06:41:06 UTC 2016
New revision: 304257
URL: https://svnweb.freebsd.org/changeset/base/304257

Log:
  Expect :mmap_truncate_signal to fail on FreeBSD

  Additional investigation is being done as part of bug 211924

  PR:	211924
  Sponsored by:	EMC / Isilon Storage Division

Changes:
  projects/netbsd-tests-update-12/contrib/netbsd-tests/lib/libc/sys/t_mmap.c