VirtualBox

Opened 14 years ago

Closed 10 years ago

#7064 closed defect (fixed)

Virtualbox crash in QtGuiVBox4!QWidget::repaint+0x5dcb

Reported by: Mihai Hanor Owned by:
Component: GUI Version: VirtualBox 3.2.10
Keywords: Cc:
Guest type: Windows Host type: Windows

Description (last modified by Frank Mehnert)

I can reproduce the crash every time I attempt to do it.

Host OS: Windows XP SP3 32 bit
Guest OS: Windows XP SP3 32 bit, GA installed, 2D/3D disabled, (VT-x enabled or disabled, it doesn't matter)

I've first encountered the crash by mistake (switching between 2 VM windows at the right moment) while playing with VB 3.2.6 beta.
VB 3.2.4 and VB 3.2.6.r63112 are also affected.

Steps:

  1. Start the guest OS, let it load
  2. Shutdown the XP guest (ACPI shutdown). While it does that, switch back and forth between the VM window and some other window covering the first (of another program or it can be another VM window, it's your choice). Or you can continuously minimize and maximize the VM window (click the VM window's taskbar button).

Approximately 2 cycles of minimize/maximize (or 4-6 window switching) per second are enough, just click the VM window's taskbar button to do that, while the guest is shutting down.

Attachments (7)

QtGuiVBox4_repaint.zip (20.6 KB ) - added by Mihai Hanor 14 years ago.
VB 3.2.6.r63112
Windows XP 3D-2010-10-05-00-31-32.log (65.3 KB ) - added by Technologov 14 years ago.
VBox Log of WinXP guest, after crashed-on-close
103e0000 becomes available to the user process.txt (4.0 KB ) - added by Mihai Hanor 13 years ago.
svn 36094
crash.txt (6.9 KB ) - added by Mihai Hanor 13 years ago.
the call stack backtraces are taked in different VB run sessions
normal_operation.txt (35.4 KB ) - added by Mihai Hanor 13 years ago.
crash2.txt (6.8 KB ) - added by Mihai Hanor 13 years ago.
windbg.log (31.6 KB ) - added by Mihai Hanor 13 years ago.
103e0000 gets freed

Download all attachments as: .zip

Change History (30)

by Mihai Hanor, 14 years ago

Attachment: QtGuiVBox4_repaint.zip added

VB 3.2.6.r63112

comment:1 by Mihai Hanor, 14 years ago

please, can someone put the missing tags/spaces

comment:2 by Technologov, 14 years ago

+1. I also experience such crashes.

Host: Windows XP + VBox 3.2.6-BETA2 (also tried VBox 3.2.0).

-Technologov

comment:3 by Frank Mehnert, 14 years ago

Description: modified (diff)

comment:4 by Dsen, 14 years ago

Should be fixed. Please tell me if not.

comment:5 by Frank Mehnert, 14 years ago

Resolution: fixed
Status: newclosed

Please reopen if still relevant with VBox 3.2.8.

comment:6 by Mihai Hanor, 14 years ago

Are you sure that old 3.2.8.r64453 contains the fix? I can still crash it.

comment:7 by Technologov, 14 years ago

Resolution: fixed
Status: closedreopened

mhanor: Sometimes they fix a related bug and hope that this one was fixed "along the way".

However in this case it still crashes (after 3rd try, which makes this bug a "sometimes reproducible".)

Reopened.

-Technologov

comment:8 by Technologov, 14 years ago

Host: Windows XP + VBox 3.2.8

by Technologov, 14 years ago

VBox Log of WinXP guest, after crashed-on-close

comment:9 by Mihai Hanor, 14 years ago

it requires more aggressive window switching

comment:10 by Mihai Hanor, 14 years ago

that is, if you want to reproduce it

comment:11 by Frank Mehnert, 14 years ago

Component: otherGUI

comment:12 by Mihai Hanor, 14 years ago

no change from 3.2.8 to 3.2.10

comment:13 by Frank Mehnert, 14 years ago

Version: VirtualBox 3.2.6VirtualBox 3.2.10

comment:14 by Mihai Hanor, 13 years ago

apparently, the guest additions have nothing to do with this crash... VB 4.0 beta1 crashes without having GA installed, same setup

comment:15 by Mihai Hanor, 13 years ago

VB crashes when it tries to write to the guest video memory, address 0x103e0000 and size 08000000 (128*220) in my examples. Usually, the address is the same at every VB run (that helped me). I've only set guest vram to 128MB to better identify it, it's the same thing with 16/22MB. You'll have to ignore the weird parameters windbg displays for qt_blend_rgb32_on_rgb32. I've compared the top of the crash raw call stack with other call stacks (taken during normal operation), and they are similar. It always happens when it enters MSVCR100 memcpy code (maybe the dll was compiled with FPO enabled). I've also attached a call stack backtrace, for qt_blend_rgb32_on_rgb32, during normal operation, running with similar parameters. I have yet to find out how to catch the release of 0x103e0000 memory segment, to show you what thread 0 is doing in the VirtualBox.exe process, while I try to crash it.

Again, no guest additions are not involved. Only a fresh installed XP SP3 32 bit is required.

by Mihai Hanor, 13 years ago

svn 36094

by Mihai Hanor, 13 years ago

Attachment: crash.txt added

the call stack backtraces are taked in different VB run sessions

by Mihai Hanor, 13 years ago

Attachment: normal_operation.txt added

comment:16 by Mihai Hanor, 13 years ago

The first line from "103e0000 becomes available to the user process.txt" is manually pasted there, it was displayed by the QtGui4 after 103e0000 became available, it was displayed by a qt_blend_rgb32_on_rgb32 call.

by Mihai Hanor, 13 years ago

Attachment: crash2.txt added

comment:17 by Mihai Hanor, 13 years ago

crash2.txt contains the proper interpretation of the call stack backtrace, right before it crashes (the crash is imminent), caught it with an assert on the content of the first byte of 0x103e0000.

comment:18 by Mihai Hanor, 13 years ago

EMT thread give command to the driver, to release 103e0000, while thread 0 is still processing events, redraws the windows, etc.

by Mihai Hanor, 13 years ago

Attachment: windbg.log added

103e0000 gets freed

comment:19 by Mihai Hanor, 13 years ago

VB 4.0.6 still crashes. Duplicates: #8397 #8400

comment:20 by Frank Mehnert, 12 years ago

Still relevant with VBox 4.1.6?

comment:21 by Mihai Hanor, 12 years ago

Unfortunately, yes...

comment:22 by Mihai Hanor, 10 years ago

You can close this ticket. I can't reproduce the issue, anymore.

comment:23 by Frank Mehnert, 10 years ago

Description: modified (diff)
Resolution: fixed
Status: reopenedclosed

Thanks!

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use