dosemu.bin crashed with SIGSEGV in memcpy()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dosemu (Ubuntu) |
Invalid
|
Undecided
|
Kees Cook |
Bug Description
Binary package hint: dosemu
After the latest update, dosemu stopped working. Now, when one tries to run it gives a:
LOWRAM mmap: Invalid argument
Falha de segmentação (core dumped)
It looks like it fails when tries to allocate memory to the emulation. If one run it as root it does work which makes me suspect some security problem.
ProblemType: Crash
Architecture: i386
Date: Tue Apr 15 09:36:34 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/dosemu.bin
NonfreeKernelMo
Package: dosemu 1.4.0+svn.1828-1
PackageArchitec
ProcCmdline: /usr/bin/dosemu.bin -p
ProcEnviron:
PATH=/
LANG=pt_BR.UTF-8
SHELL=/bin/bash
Signal: 11
SourcePackage: dosemu
Stacktrace:
#0 0xb7e5d9b5 in memcpy () from /lib/tls/
#1 0x0810c928 in memory_init ()
#2 0x080649f1 in main ()
StacktraceTop:
memcpy () from /lib/tls/
memory_init ()
main ()
ThreadStacktrace:
.
Thread 1 (process 9442):
#0 0xb7e5d9b5 in memcpy () from /lib/tls/
#1 0x0810c928 in memory_init ()
#2 0x080649f1 in main ()
Title: dosemu.bin crashed with SIGSEGV in memcpy()
Uname: Linux 2.6.24-16-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin plugdev scanner video
Looks like AppArmor is on the way
* AppArmor: implement mmap_min_addr check as done in mainline.
According to the kernel logs.
I tried to create a dosemu profile but it didn't work:
# Last Modified: Tue Apr 15 10:53:53 2008
#include <tunables/global>
/usr/bin/dosemu {
#include <abstractions/base>
/bin/dash ixr, shm/dosemu_ 13075 w, shm/dosemu_ 13427 w, shm/dosemu_ 13720 w, shm/dosemu_ 13814 w, shm/dosemu_ 14158 w, shm/dosemu_ 14412 w, shm/dosemu_ 14584 w, shm/dosemu_ 15211 w, shm/dosemu_ 15321 w, shm/dosemu_ 15664 w, dosemu/ dosemu. conf r, dosemu/ dosemu. users r, */.dosemu/ boot.log w, */.dosemu/ drives/ r, bin/dosemu. bin mpxr, share/locale- langpack/ pt_BR/LC_ MESSAGES/ libc.mo r,
/bin/mkdir ixr,
/dev/
/dev/
/dev/
/dev/
/dev/
/dev/
/dev/
/dev/
/dev/
/dev/
/etc/
/etc/
/home/
/home/
/proc/*/maps r,
/proc/*/mounts r,
/proc/cpuinfo r,
/proc/filesystems r,
/usr/bin/basename ixr,
/usr/bin/dosemu mr,
/usr/
/usr/bin/id ixr,
/usr/
}