.pgmphystofile error message

Discussions related to using the OSE version of VirtualBox.
Post Reply
flyone
Posts: 1
Joined: 28. Dec 2013, 09:25

.pgmphystofile error message

Post by flyone »

I tried to go into the virtualbox debug mode to dump the physical memory. I can get into the debug mode. However, when I type in

.pgmphystofile <filename>

to dump the physical memory. It has the following error message.

VBoxDbg> .pgmphystofile memory.raw
pgmphystofile: parser error: iArg=0 iLine=3870 pszExpr=paArgs[0].enmType != DBGCVAR_TYPE_STRING

Does anyone ever see that? Thank you.
Nullsec
Posts: 1
Joined: 17. Sep 2014, 01:56

Re: .pgmphystofile error message

Post by Nullsec »

Hi, im experiencing a very similar error. Tried several different Windows 7 VM's.

VBoxDbg> .pgmphystofile memory.raw
pgmphystofile: parser error: iArg=0 iLine=3871 pszExpr=paArgs[0].enmType != DBGCVAR_TYPE_STRING

There is no solution or documentation anywhere, I have searched google. Can somebody here please help ?
frznn
Posts: 7
Joined: 21. Oct 2013, 04:42
Primary OS: Fedora 18
VBox Version: OSE self-compiled
Guest OSses: Debian 7/8, Windows 7/8/10

Re: .pgmphystofile error message

Post by frznn »

Same problem here. Any help?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: .pgmphystofile error message

Post by mpack »

Moved to "VirtualBox API".
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: .pgmphystofile error message

Post by noteirak »

I would strongly suggest to ask this question in the Dev Mailing list. This is a bit too advanced question for the forum and you would require direct chat with the devs.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
frznn
Posts: 7
Joined: 21. Oct 2013, 04:42
Primary OS: Fedora 18
VBox Version: OSE self-compiled
Guest OSses: Debian 7/8, Windows 7/8/10

Re: .pgmphystofile error message

Post by frznn »

I think i found the problem in the command implementation code.
In file "src/VBox/VMM/VMMR3/PGM.cpp" at line 3871:

Code: Select all

 DBGC_CMDHLP_ASSERT_PARSER_RET(pCmdHlp, pCmd, 0, paArgs[0].enmType != DBGCVAR_TYPE_STRING); 
the assert condition is wrong, since it checks the argument to be different from a string, while it should be a string.
Hence the the '!=' should be a '=='.
Same applies to the assert for the second argument, at line 3874:

Code: Select all

DBGC_CMDHLP_ASSERT_PARSER_RET(pCmdHlp, pCmd, 1, paArgs[2].enmType != DBGCVAR_TYPE_STRING);
Would anyone fix this, please?
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: .pgmphystofile error message

Post by frank »

Fixed. Thank you for the report!
Post Reply