VirtualBox

Opened 7 years ago

Last modified 7 years ago

#17252 new defect

Resume fails with 0x80004005, sometimes after an hour

Reported by: ctrl Owned by:
Component: other Version: VirtualBox 5.2.0
Keywords: resume 0x80004005 gl mesa Cc:
Guest type: Windows Host type: all

Description

I'm having, and I always had as far as I can remember, issues resuming virtual machines. Sometimes it works, but usually fails with 0x80004005 and I have to discard the state. This happened with mixed host machines and host os. In this moment I'm on a linux host with an xp guest.

I noticed a difference in the detected gl library version between the vbox log files when the machine fails resuming and when it starts correctly:

This is a normal startup:

00:00:00.714721 Console: Machine state changed to 'Running'
...
00:00:19.772224 gl version string: 03.0 Mesa 17.0.7
00:00:19.772243 gl version: 0x30000
00:00:19.772246 gl extensions: GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color [...]

This is a failed resume (immediate crash):

00:00:05.617476 Console: Machine state changed to 'Running'
00:00:05.618122 gl version string: 04.5 (Core Profile) Mesa 17.0.7
00:00:05.618129 gl version: 0x40500
00:00:05.618133 gl extensions: <NULL>
<<crash>>

This is a "working" resume where there is no reference to gl version in the logs up to 52 minutes after the resume, and then immediately we have a crash:

00:00:02.483845 Console: Machine state changed to 'Running'
00:00:02.503065 GUI: UIMachineView::storeGuestSizeHint: Storing guest-screen size-hint for screen 0 as 1920x1107
00:00:02.510500 OpenGL: Set 3D content scale factor to (10000, 10000), multiplier 10000 (rc=VINF_SUCCESS)
00:00:02.510527 OpenGL: Set OpenGL scale policy on HiDPI displays (fUnscaledHiDPI=0)
00:00:02.510986 OpenGL: Set 3D content scale factor to (10000, 10000), multiplier 10000 (rc=VINF_SUCCESS)
00:00:02.511007 OpenGL: Set OpenGL scale policy on HiDPI displays (fUnscaledHiDPI=0)
00:00:02.579089 GUI: UIMachineViewNormal::adjustGuestScreenSize: Adjust guest-screen size if necessary.
00:00:02.579105 GUI: UIMachineViewNormal::adjustGuestScreenSize: Adjust guest-screen size if necessary.
00:00:02.579686 GUI: 2D video acceleration is enabled
00:00:02.579695 GUI: HID LEDs sync is not supported on this platform
00:00:02.583994 GUI: UIMachineLogicNormal::sltCheckForRequestedVisualStateType: Requested-state=0, Machine-state=5
<<After 52 minutes of normal work>>
00:52:02.223175 gl version string: 04.5 (Core Profile) Mesa 17.0.7
00:52:02.223247 gl version: 0x40500
00:52:02.223267 gl extensions: <NULL>
<<crash>>
From dmesg:
[ 3335.532765] VirtualBox[2688]: segfault at 0 ip 00007f5db4a390bd sp 00007ffc7916fd78 error 4 in libc-2.23.so[7f5db498f000+1c0000]

glxinfo says:

Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel Open Source Technology Center (0x8086)
    Device: Mesa DRI Intel(R) Kabylake GT3  (0x5926)
    Version: 17.0.7
    Accelerated: yes
    Video memory: 3072MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 3.0

So when it detects 04.5 core profile it crashes, when it detects 03.0 compatibility profile it works. I now disabled 3D accel but I used to have it disabled so I'm not sure this will change anything.

Attachments (3)

log_resume_fail_52_mins.log (85.5 KB ) - added by ctrl 7 years ago.
Crash after 52 mins
log_resume_immed_crash.log (81.2 KB ) - added by ctrl 7 years ago.
Immediate crash on resume
log_start_ok.log (140.6 KB ) - added by ctrl 7 years ago.
Correct startup

Download all attachments as: .zip

Change History (4)

by ctrl, 7 years ago

Attachment: log_resume_fail_52_mins.log added

Crash after 52 mins

by ctrl, 7 years ago

Attachment: log_resume_immed_crash.log added

Immediate crash on resume

by ctrl, 7 years ago

Attachment: log_start_ok.log added

Correct startup

comment:1 by ctrl, 7 years ago

Also in 5.2.0 with 3D accel disabled (2D enabled).

00:00:23.295444 gl version string: 04.5 (Core Profile) Mesa 17.0.7
00:00:23.295461 gl version: 0x40500
00:00:23.295467 gl extensions: <NULL>
<<crash>>
Last edited 7 years ago by ctrl (previous) (diff)
Note: See TracTickets for help on using tickets.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette