[vbox-dev] Assertion in vmmdevHGCMSaveLinPtr()
Frank Mehnert
frank.mehnert at oracle.com
Wed Apr 13 06:23:39 PDT 2011
On Saturday 09 April 2011 12:55:37 David P. Reese, Jr. wrote:
> Hi,
> I'm trying to get my own HGCM module to work on a Mac OS X host and I'm
> occasionally getting an assertion just after my module's Connect() routine
> completes. Here's the message and stack trace:
>
> !!Assertion Failed!!
> Expression: iPage == cPages
> Location :
> /Users/daver/Software/VirtualBox-4.0.4_OSE/src/VBox/Devices/VMMDev/VMMDevH
> GCM.cpp(278) int vmmdevHGCMSaveLinPtr(PDMDEVINS*, uint32_t, RTGCPTR,
> uint32_t, uint32_t, VBOXHGCMLINPTR*, RTGCPHYS**)
>
> [...]
>
> Taking a look at vmmdevHGCMSaveLinPtr(), it looks like the VMM has failed
> to map the guest pages required to make a HGCM call. This assertion is
> only triggered occasionally and, rather disturbingly, I cannot get the
> assertion to happen with a debug build of VirtualBox.
>
> I'm running a Linux guest with a kernel module that uses vboxguest.ko to
> interface with HGCM. My kernel module simply connects and spawns a kernel
> thread that makes a service call once every second.
>
> This is using the 4.0.4_OSE sources from the web site.
How does that service call look like? Looks like your guest did not
specify guest physical addresses.
Kind regards,
Frank
--
ORACLE Deutschland B.V. & Co. KG Dr.-Ing. Frank Mehnert
Werkstrasse 24 Staff Engineer, VirtualBox
71384 Weinstadt, Germany mailto:frank.mehnert at oracle.com
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Komplementärin: ORACLE Deutschland Verwaltung B.V.
Rijnzathe 6, 3454PV De Meern, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://www.virtualbox.org/pipermail/vbox-dev/attachments/20110413/768c1f02/attachment-0001.bin
More information about the vbox-dev
mailing list