[Bug 22124] BartPE: crashes when trying to make "Build"

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Mar 23 18:40:53 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=22124


Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net




--- Comment #6 from Anastasius Focht <focht at gmx.net>  2010-03-23 18:40:52 ---
Hello,

--- quote ---
This software requires _real_ windows installation. Wine won't work. It does
not have real windows kernel, nor most of the libraries required by BartPE.
--- quote ---

I don't see the problem why this shouldn't be a legitimate Wine bug.
BartPE uses Windows install media for building the image, AFAIK it doesn't rely
on files/registry hives from already installed/running Windows OS.

The build tool seems to crash due to memory corruption - maybe bad error
handling.
One problem causing this could be the failure to mount registry hives
(RegLoadKeyA/W -> NtLoadKey) when the file backing the hive doesn't exist.

MSDN states if the file containing the registry hive data doesn't exist, a
(new) backing file is created with the specified name.

--- snip ---
001b:Call advapi32.RegLoadKeyA(80000003,004c75cc
"PEBuilder.exe-D:/sda/7/!my/projects/bootflash/pebuilder3110a/BartPE/i386/system32/config/petmphive",004c98b8
"D:\\sda\\7\\!my\\projects\\bootflash\\pebuilder3110a\\BartPE\\i386\\system32\\config\\petmphive")
ret=0042dc27
001b:Ret  advapi32.RegLoadKeyA() retval=00000002 ret=0042dc27 
...
001b:Call KERNEL32.lstrlenA(004d4d98 "RegLoadKey
(key=\"PEBuilder.exe-D:/sda/7/!my/projects/bootflash/pebuilder3110a/BartPE/i386/system32/config/petmphive\"
file=\"D:\\sda\\7\\!my\\projects\\bootflash\\pebuilder3110a\\BartPE\\i386\\system32\\config\\petmphive\")
returned error 2: File not found") ret=0045eed4 
...
--- snip ---

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list