Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165920 - app-emulation/virtualbox contains textrels/execstacs
Summary: app-emulation/virtualbox contains textrels/execstacs
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Markus Ullmann (RETIRED)
URL:
Whiteboard:
Keywords:
: 212972 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-08 14:50 UTC by n.chandler
Modified: 2008-03-12 15:09 UTC (History)
3 users (show)

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 n.chandler 2007-02-08 14:50:23 UTC
"emerge virtualbox" generated the following warnings:

QA Notice: the following files contain runtime text relocations
 Text relocations force the dynamic linker to perform extra
 work at startup, waste system resources, and may pose a security
 risk.  On some architectures, the code may not even function
 properly, if at all.
 For more information, see http://hardened.gentoo.org/pic-fix-guide.xml
 Please include this file in your report:
 /var/tmp/portage/virtualbox-9999/temp/scanelf-textrel.log
TEXTREL opt/VirtualBox/VBoxC.so
TEXTREL opt/VirtualBox/VBoxDD.so
TEXTREL opt/VirtualBox/VBoxDD2.so
TEXTREL opt/VirtualBox/VBoxREM.so
TEXTREL opt/VirtualBox/VBoxRT.so
TEXTREL opt/VirtualBox/VBoxVMM.so
TEXTREL opt/VirtualBox/VBoxXML.so
TEXTREL opt/VirtualBox/components/VBoxC.so


QA Notice: the following files contain executable stacks
 Files with executable stacks will not work properly (or at all!)
 on some architectures/operating systems.  A bug should be filed
 at http://bugs.gentoo.org/ to make sure the file is fixed.
 For more information, see http://hardened.gentoo.org/gnu-stack.xml
 Please include this file in your report:
 /var/tmp/portage/virtualbox-9999/temp/scanelf-execstack.log
RWX --- --- opt/VirtualBox/VBoxVMM.so

A Segmentation fault occurred after executing virtualbox.

Reproducible: Always

Steps to Reproduce:
1. emerge virtualbox
2. virtualbox
3.

Actual Results:  
Actual results are listed in the Description

Expected Results:  
The system seg faulted after executing virtualbox

The files  /var/tmp/portage/virtualbox-9999/temp/scanelf-textrel.log and /var/tmp/portage/virtualbox-9999/temp/scanelf-execstack.log were non-existent.
Comment 1 Ulrich Möller 2007-02-12 17:56:28 UTC
Just a WAG, but for me the problem was PAX (vbox does some nasty stuff with marking memory as executable), and using paxctl to disable all security features on the vbox executable (VBoxVRDP in my case) fixed the crashes. I still have to do some detailed testing which bit exactly solved the problem.
Comment 2 Markus Ullmann (RETIRED) gentoo-dev 2007-02-12 18:45:15 UTC
Well I'd say we tag it upstream then as this isn't gentoo specific ;)
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-03-10 19:25:35 UTC
*** Bug 212972 has been marked as a duplicate of this bug. ***
Comment 4 Alessio Cassibba (X-Drum) 2008-03-12 15:09:48 UTC
(In reply to comment #2)
> Well I'd say we tag it upstream then as this isn't gentoo specific ;)
> 

yes, i can confirm that this issue was reported time ago to upstream