Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352310 - games-emulation/dosbox crashes on hardened amd64 with --enable-dynamic-core
Summary: games-emulation/dosbox crashes on hardened amd64 with --enable-dynamic-core
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-21 04:47 UTC by Oleg Popov
Modified: 2013-01-31 20:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Popov 2011-01-21 04:47:50 UTC
Both versions of games-emulation/dosbox (0.74 and live) crash on hardened amd64 when running 32-bit apps (16-bit ones are ok).
gdb showed that crash happens in dynamic-core functions.
Ebuild passes --disable-dynamic-x86 to configure on hardened, but this seems not to work on amd64.
Quick glance into ./configure.in revealed option --disable-dynamic-core. It fixed the problem for me, at least with live ebuild. I didn't check if this makes any troubles on x86.

Reproducible: Always

Steps to Reproduce:
Comment 1 Permjacov E. A. 2011-05-08 09:48:04 UTC
dosbox crushes when tries to run game stargunner on amd64 as well. I did not do research, but looks like it is the same problem.
Comment 2 Hans 2011-11-30 16:58:57 UTC
If you use core=auto or core=dynamic in your dosbox.conf, it crashes.
Change it to core=normal (or simple), and it stops crashing.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2013-01-31 20:18:13 UTC
ok, I made it disable all kinds of dynamic core for hardened.  I didn't rev bump it since I don't think there are many people using dosbox on hardened so resync and re-emerge to have it disabled by default without manually disabling it from the config file.