VirtualBox

Ticket #8074 (new defect)

Opened 3 years ago

Last modified 18 months ago

WinXP guest goes GURU while using serial port.

Reported by: hiwk Owned by:
Priority: major Component: uart
Version: VirtualBox 4.0.0 Keywords:
Cc: Guest type: Windows
Host type: Linux

Description (last modified by frank) (diff)

WinXP guest, openSuSE 11.2 host. Failure is not deterministic, but always when I use a program (MTK3) to program a MAXQ1850 over serial port. Short passage of the log:

00:07:18.403 
00:07:18.403 !!Assertion Failed!!
00:07:18.403 Expression: RT_SUCCESS_NP(rc)
00:07:18.403 Location  : /home/vbox/vbox-4.0.0/src/VBox/VMM/VMMGC/TRPMGCHandlers.cpp(225) int trpmGCExitTrap(VM*, VMCPU*, int, CPUMCTXCORE*)
00:07:18.438 PDMGetInterrupt failed with -304
00:07:19.440 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
00:07:19.440 !!
00:07:19.440 !!                 Guru Meditation 1103 (VINF_EM_DBG_HYPER_ASSERTION)
00:07:19.440 !!
00:07:19.440 !!Assertion Failed!!
00:07:19.440 Expression: RT_SUCCESS_NP(rc)
00:07:19.440 Location  : /home/vbox/vbox-4.0.0/src/VBox/VMM/VMMGC/TRPMGCHandlers.cpp(225) int trpmGCExitTrap(VM*, VMCPU*, int, CPUMCTXCORE*)
00:07:19.440 PDMGetInterrupt failed with -304

Attachments

VBox.log Download (288.0 KB) - added by hiwk 3 years ago.
Log file.
VBox.png Download (130.1 KB) - added by hiwk 3 years ago.
Screenshot.
VBox.log.1 Download (279.5 KB) - added by hiwk 3 years ago.
Another log file.
VBox.png.1 Download (143.0 KB) - added by hiwk 3 years ago.
Another screenshot.
VBox_404.log Download (289.1 KB) - added by hiwk 3 years ago.
Log file under 4.0.4
VBox.2.log Download (227.1 KB) - added by Emerson Prado 3 years ago.
Log of guru meditation without serial app
VBox.3.log Download (212.0 KB) - added by Emerson Prado 21 months ago.
Log of crash with 4.1.18
VBox.4.log Download (231.4 KB) - added by andynclark 18 months ago.
Log of crash with Windows XP as host and guest
VBox.2.png Download (54.7 KB) - added by andynclark 18 months ago.
Display during crash with Windows XP as host and guest

Change History

Changed 3 years ago by hiwk

Log file.

Changed 3 years ago by hiwk

Screenshot.

Changed 3 years ago by hiwk

Another log file.

Changed 3 years ago by hiwk

Another screenshot.

comment:1 Changed 3 years ago by aeichner

  • Host type changed from other to Linux
  • Component changed from other to uart
  • Guest type changed from other to Windows

comment:2 Changed 3 years ago by aeichner

The log shows that your host has VT-x disabled in the BIOS. You could try to enable it and see if that helps.

comment:3 Changed 3 years ago by hiwk

Tried to find that setting in BIOS (786H1), couldn't find any.

I have upgraded to VirtualBox 4.0.2, same problem.

comment:4 Changed 3 years ago by Teuniz

I have the same problem here, using the latest version of Virtualbox. Host is OpenSuse 11.3, guest is windows XP. I get communication errors when I try to use my Microchip PicstartPlus programmer via the serial port. With the latest Virtualbox 3.X.X it worked fine.

comment:5 Changed 3 years ago by Teuniz

For your information: VT-x is enabled.

comment:6 Changed 3 years ago by frank

There is a slight chance that this bug was fixed in VBox 4.0.4 -- could you test please?

Changed 3 years ago by hiwk

Log file under 4.0.4

comment:7 Changed 3 years ago by hiwk

Same problem under 4.0.4, new log attached.

comment:8 Changed 3 years ago by Emerson Prado

I used some versions from 3.something up to 4.0.8 without having this problem. Yesterday I upgraded to 4.0.12*, and used it without problems either. Today, this same error ocurred in my first usage. The VM crashed with the already described error as soon as I tried to open an app which uses the serial ports. I used this app all times I opened this VM - just to dismiss it as a point. I couldn't reproduce it so far (maybe only restarting or shutting down/up host, what I can't do now). Host OS: Linux Mint Debian Edition (sync'ed to Debian Stable repos) kernel 2.6.32-5-686 Guest OS: Windows 2000 SP4 Ports ttyS1 and S2 mapped to COM1 and COM2. Physically, they're a PCI to serial adapter NetMos Technology PCI 9835 Multi-I/O Controller (rev 01). I have the logs if someone wants. I thought about upgrading to 4.1.2, but I'll try a bit more to reproduce the problem and finding the conditions that lead it to happen.

*What encouraged me for the upgrade was an error in the serial ports. I ended up learning that the PCI to serial adapter just came loose in the slot. I guess it's a coincidence, but found better to mention it than not.

Changed 3 years ago by Emerson Prado

Log of guru meditation without serial app

comment:9 Changed 3 years ago by Emerson Prado

Today it happened again in a new VM. Guest OS is WinXP SP3. Failure happened after I installed MSSQL 2000 Release A and restarted. Crashed when XP was starting to boot. Same error message in the log. I didn't even install my software which uses the serial ports. This may mean the serial app is not the issue or my problem is unrelated to the bug. Anyway, I'm sending a log too. BTW, I restarted the VM and it's working without problems.

comment:10 Changed 21 months ago by Emerson Prado

After a good while without seeing the problem, today it started again. I'm using now VirtualBox 4.1.18. It happened after some serial port communications. As I mentioned before, I use serial ports all the time in this VM - I test equipments under service - and guru meditation happens during test software utilization. The error is just like the reported one. I created a core dump and will send it along with the log, just in case.

Changed 21 months ago by Emerson Prado

Log of crash with 4.1.18

comment:11 Changed 21 months ago by Emerson Prado

Oops, core dump, even compressed, is several times bigger than the allowed attachment limit. If anyone is interested, I'll divide it in pieces and send here.

comment:12 Changed 21 months ago by frank

  • Description modified (diff)

That log was taken with VBox 4.1.8 not 4.1.18 but actually I don't think that there was a related fix in between...

comment:13 Changed 18 months ago by Emerson Prado

Doubly correct:

1.My bad

2.I'm using 4.2 now, and the problem persists (today it's hell frequent).

Is there a way to submit crash dumps? The manual indicates an e-mail address, but it errors...

Changed 18 months ago by andynclark

Log of crash with Windows XP as host and guest

Changed 18 months ago by andynclark

Display during crash with Windows XP as host and guest

comment:14 Changed 18 months ago by andynclark

I am having a very similar issue with Windows XP SP3 as Host and Guest. I am currently using VirtualBox version 4.1.22 but the same issue has been present with every version that I have tried over the last few years. Serial communications over COM1 will normally work fine, but occasionally VirtualBox will crash after beginning a serial communications session. The log will indicate that VirtualBox has entered guru meditation.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use