.pgmphystofile error message

Discussions related to using the OSE version of VirtualBox.

.pgmphystofile error message

Postby flyone » 28. Dec 2013, 09:28

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.
flyone
 
Posts: 1
Joined: 28. Dec 2013, 09:25

Re: .pgmphystofile error message

Postby Nullsec » 17. Sep 2014, 01:58

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 ?
Nullsec
 
Posts: 1
Joined: 17. Sep 2014, 01:56

Re: .pgmphystofile error message

Postby frznn » 28. Dec 2014, 19:59

Same problem here. Any 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

Postby mpack » 30. Dec 2014, 10:50

Moved to "VirtualBox API".
mpack
Site Moderator
 
Posts: 29846
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: .pgmphystofile error message

Postby noteirak » 7. Jan 2015, 12:38

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://kamax.io/hbox/
Manage your VirtualBox infrastructure the free way!
noteirak
Site Moderator
 
Posts: 5198
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7

Re: .pgmphystofile error message

Postby frznn » 28. Apr 2015, 12:06

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   Expand viewCollapse view
 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   Expand viewCollapse view
DBGC_CMDHLP_ASSERT_PARSER_RET(pCmdHlp, pCmd, 1, paArgs[2].enmType != DBGCVAR_TYPE_STRING);


Would anyone fix this, please?
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

Postby frank » 29. Apr 2015, 10:13

Fixed. Thank you for the report!
frank
Oracle Corporation
 
Posts: 3362
Joined: 7. Jun 2007, 09:11
Location: Dresden, Germany
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows


Return to VirtualBox OSE

Who is online

Users browsing this forum: No registered users and 1 guest