VirtualBox OSE guest additions kills X-Server on Jaunty

Bug #336994 reported by Jaie on 2009-03-02
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
High
Unassigned

Bug Description

Running Jaunty on VirtualBox OSE

Everything was fine until I installed guest additions. X-Server crashes on start up and asks to start in low session mode. Jaunty from then on will not work on X-Server session X:0, but if you tell it to use X:1 it will load.

ProblemType: Crash
Architecture: i386
Disassembly: 0x0:
DistroRelease: /usr/bin/lsb_release:81: DeprecationWarning: the sets module is deprecated import sets Ubuntu 9.04
ExecutablePath: /usr/bin/Xorg
Package: xserver-xorg-core 2:1.5.99.902-0ubuntu7
ProcAttrCurrent: unconfined
ProcCmdline: Xorg :99 -configure
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_AU.UTF-8
ProcVersion: Linux version 2.6.28-8-generic (buildd@rothera) (gcc version 4.3.3 (Ubuntu 4.3.3-3ubuntu5) ) #26-Ubuntu SMP Wed Feb 25 04:28:54 UTC 2009
Signal: 11
SourcePackage: xorg-server

[backtrace]
#0 0x00000000 in ?? ()
#1 0x080aff0a in InitOutput (pScreenInfo=0x81f70e0, argc=3, argv=0xbfd0e344)
    at ../../../../hw/xfree86/common/xf86Init.c:797
 i = <value optimized out>
 j = <value optimized out>
 k = <value optimized out>
 scr_index = <value optimized out>
 modulelist = <value optimized out>
 optionlist = <value optimized out>
 layout = <value optimized out>
 screenpix24 = <value optimized out>
 pix24 = <value optimized out>
 pix24From = <value optimized out>
 autoconfig = 136208372
 configured_device = <value optimized out>
#2 0x08072021 in main (argc=3, argv=0xbfd0e344, envp=0xbfd0e354)
    at ../../dix/main.c:315
 i = <value optimized out>
 alwaysCheckForInput = {0, 1}

[lspci]
00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:1237] (rev 02)
00:02.0 VGA compatible controller [0300]: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter [80ee:beef]
     Subsystem: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] [1022:2000]

Jaie (jaie-demaagd) wrote :

StacktraceTop:?? ()
InitOutput (pScreenInfo=0x81f70e0, argc=3, argv=0xbfd0e344)
main (argc=3, argv=0xbfd0e344, envp=0xbfd0e354)

Changed in xorg-server:
importance: Undecided → Medium
Bryce Harrington (bryce) wrote :

Hi jaie-demaagd,

Could you please collect a full backtrace from when this crash occurs? Directions on collecting full backtraces are at https://wiki.ubuntu.com/X/Backtracing

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

Changed in xorg-server:
status: New → Incomplete
Bryce Harrington (bryce) on 2009-03-06
description: updated
GTpyro (dmitriyp13) wrote :

Similar crash for me. Installed Alpha 6 x86 with Intrepid x64 Host. X crashed after I installed Virtualbox 2.1.4 (not the OSE version) guest additions and restarted.

GTpyro (dmitriyp13) wrote :

This seems similar to bug 313510. Can others confirm?

Bryce Harrington (bryce) wrote :

#0 0x00000000 in ?? ()

Looks wrong, but what actually is calling the null ptr?

    if (xf86DoConfigure)
        DoConfigure();

description: updated
Changed in xorg-server (Ubuntu):
importance: Medium → High
status: Incomplete → Triaged
Bryce Harrington (bryce) wrote :

Looks similar to 335703 and 340305

GTpyro (dmitriyp13) wrote :

This was solved in the VirtualBox forums (http://forums.virtualbox.org/viewtopic.php?f=3&t=15512). Essentially what you have to do is edit the install script.

Step 1: run the regular export script with
     sudo ./VBoxLinuxAdditions-x86.run --target ~/tmp/
   where ~/tmp is any folder where you want to extract a bunch of files to.

Step 2: go to that folder (~/tmp/ in my case) and open the install.sh file. Go to line 415 and change
    15 1.5.99.* | 1.6 )
   to
    15 1.5.99.* | 1.6.0 )

Step 3: run install.sh
    sudo ./install.sh
  after this, just restart and everything should work properly.

GTpyro (dmitriyp13) wrote :

Same thing occurs in the beta and the above fix works. I guess we have to wait until a VirtualBox update for it to work.

I can confirm that aswell. The Guest Additions with the corrected install.sh script work fine on 9.04 beta. If VBGA isn't a seperate subproject then I guest will see the changes made on VB 2.2 (I hope :) ).

Hi,

I pulled up the latest virtualbox 2.2.0 and reinstalled Jaunty.
After updating all available packages and installing VirtualBox
additions, I did not have the crash anymore.

[don't know which part fixed it, though]

I have another issue which I'll post as another bug. Of course, I do
not know if it is VB or Jaunty hat is to blame :-(

D.

On Tue, Apr 7, 2009 at 9:46 AM, Bryce Harrington
<email address hidden> wrote:
> *** This bug is a duplicate of bug 356264 ***
>    https://bugs.launchpad.net/bugs/356264
>
> ** This bug has been marked a duplicate of bug 356264
>   Xorg crashed with SIGSEGV in InitOutput() - VirtualBox with Guest Additions
>
> --
> VirtualBox OSE guest additions kills X-Server on Jaunty
> https://bugs.launchpad.net/bugs/336994
> You received this bug notification because you are a direct subscriber
> of a duplicate bug (via bug 356264).
>
> Status in “xorg-server” source package in Ubuntu: Triaged
>
> Bug description:
> Running Jaunty on VirtualBox OSE
>
> Everything was fine until I installed guest additions. X-Server crashes on start up and asks to start in low session mode. Jaunty from then on will not work on X-Server session X:0, but if you tell it to use X:1 it will load.
>
> ProblemType: Crash
> Architecture: i386
> Disassembly: 0x0:
> DistroRelease: /usr/bin/lsb_release:81: DeprecationWarning: the sets module is deprecated   import sets Ubuntu 9.04
> ExecutablePath: /usr/bin/Xorg
> Package: xserver-xorg-core 2:1.5.99.902-0ubuntu7
> ProcAttrCurrent: unconfined
> ProcCmdline: Xorg :99 -configure
> ProcEnviron:
>  PATH=(custom, no user)
>  LANG=en_AU.UTF-8
> ProcVersion: Linux version 2.6.28-8-generic (buildd@rothera) (gcc version 4.3.3 (Ubuntu 4.3.3-3ubuntu5) ) #26-Ubuntu SMP Wed Feb 25 04:28:54 UTC 2009
> Signal: 11
> SourcePackage: xorg-server
>
>
> [backtrace]
> #0  0x00000000 in ?? ()
> #1  0x080aff0a in InitOutput (pScreenInfo=0x81f70e0, argc=3, argv=0xbfd0e344)
>    at ../../../../hw/xfree86/common/xf86Init.c:797
>        i = <value optimized out>
>        j = <value optimized out>
>        k = <value optimized out>
>        scr_index = <value optimized out>
>        modulelist = <value optimized out>
>        optionlist = <value optimized out>
>        layout = <value optimized out>
>        screenpix24 = <value optimized out>
>        pix24 = <value optimized out>
>        pix24From = <value optimized out>
>        autoconfig = 136208372
>        configured_device = <value optimized out>
> #2  0x08072021 in main (argc=3, argv=0xbfd0e344, envp=0xbfd0e354)
>    at ../../dix/main.c:315
>        i = <value optimized out>
>        alwaysCheckForInput = {0, 1}
>
> [lspci]
> 00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:1237] (rev 02)
> 00:02.0 VGA compatible controller [0300]: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter [80ee:beef]
>        Subsystem: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] [1022:2000]
>
>

--
--
Dominique de Waleffe
GSM:+32 477 533 521
ddewaleffe -at- gmail -dot- com
domi -at- dewaleffe -dot- org

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers