Debian Bug report logs - #923078
hurd: tmpfs not ready for shm support yet

version graph

Package: hurd; Maintainer for hurd is GNU Hurd Maintainers <[email protected]>;

Reported by: Samuel Thibault <[email protected]>

Date: Sat, 23 Feb 2019 20:54:01 UTC

Severity: important

Tags: upstream

Found in version hurd/1:0.9.git20181030-4

Blocking fix for 923231: initscripts: remove workaround for hurd tmpfs, introduced in 922915

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], GNU Hurd Maintainers <[email protected]>:
Bug#923078; Package hurd. (Sat, 23 Feb 2019 20:54:04 GMT) (full text, mbox, link).


Acknowledgement sent to Samuel Thibault <[email protected]>:
New Bug report received and forwarded. Copy sent to GNU Hurd Maintainers <[email protected]>. (Sat, 23 Feb 2019 20:54:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Samuel Thibault <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: hurd: tmpfs not ready for shm support yet
Date: Sat, 23 Feb 2019 20:46:38 +0000
Package: hurd
Version: 1:0.9.git20181030-4
Severity: important
Tags: upstream

tmpfs currently crashes if one does:

- open a file
- mmap it
- close the file
- unlink the file
- dereference the map

because the map doesn't keep a reference, and thus the memory object is
gone.

See in hurd/tmpfs/node.c's diskfs_free_node, DT_REG case:

    case DT_REG:
      if (np->dn->u.reg.memobj != MACH_PORT_NULL) {
	/* XXX GNU Mach will terminate the object, and thus existing mappings
	 * will get SIGBUS.  */
	vm_deallocate (mach_task_self (), np->dn->u.reg.memref, 4096);
	mach_port_deallocate (mach_task_self (), np->dn->u.reg.memobj);
      }	
      break;

Samuel

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unreleased'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: hurd-i386 (i686-AT386)

Kernel: GNU-Mach 1.8+git20190109-486-dbg/Hurd-0.9
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages hurd depends on:
ii  hurd-libs0.3  1:0.9.git20181030-4
ii  libblkid1     2.33.1-0.1
ii  libbz2-1.0    1.0.6-9
ii  libc0.3       2.28-7
ii  libdaemon0    0.14-7
ii  libgcrypt20   1.8.4-5
ii  liblwip0      2.0.3-3
ii  libncursesw6  6.1+20181013-2
ii  libtinfo6     6.1+20181013-2
ii  libx11-6      2:1.6.7-1
ii  lsb-base      10.2018112800
ii  netdde        0.0.20150828-5
ii  sysv-rc       2.93-8
ii  xkb-data      2.26-2
ii  zlib1g        1:1.2.11.dfsg-1

Versions of packages hurd recommends:
ii  bf-utf-source  0.08

Versions of packages hurd suggests:
ii  hurd-doc  1:0.9.git20181030-4

-- Configuration Files:
/etc/hurd/rc changed [not included]

-- no debconf information

-- 
Samuel Thibault <[email protected]>



Added indication that bug 923078 blocks 923231 Request was from Dmitry Bogatov <[email protected]> to [email protected]. (Mon, 25 Feb 2019 09:36:05 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 13:08:45 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.