[Bug 22124] New: BartPE: crashes when trying to make "Build"
http://bugs.winehq.org/show_bug.cgi?id=22124 Summary: BartPE: crashes when trying to make "Build" Product: Wine Version: 1.1.41 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: lxandr(a)ua.fm Created an attachment (id=26980) --> (http://bugs.winehq.org/attachment.cgi?id=26980) terminal output I launch "pebuilder.exe", everything goes fine. But when I press "Build" button after a few seconds (screenshot1) application crashes (screenshot2). Looks like there are some issues with registry creation, .inf files parsing functions, etc. Tested and didn't worked in any of these combinations: pebuilder 3.1.10a, 3.1.10; building PE from windows 2003 sp2, windows xp sp3. Wine is installed from http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu repository. A few Wine updates earlier the problem still existed. BartPE can be downloaded from here: http://www.nu2.nu/pebuilder/#download -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22124 --- Comment #1 from Alexander <lxandr(a)ua.fm> 2010-03-22 13:51:45 --- Created an attachment (id=26981) --> (http://bugs.winehq.org/attachment.cgi?id=26981) Wine debug output -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22124 --- Comment #2 from Alexander <lxandr(a)ua.fm> 2010-03-22 13:52:09 --- Created an attachment (id=26982) --> (http://bugs.winehq.org/attachment.cgi?id=26982) screenshot1 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22124 --- Comment #3 from Alexander <lxandr(a)ua.fm> 2010-03-22 13:52:34 --- Created an attachment (id=26983) --> (http://bugs.winehq.org/attachment.cgi?id=26983) screenshot2 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22124 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.nu2.nu/pebuilder | |/#download -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22124 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #4 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2010-03-22 20:24:08 --- 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. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22124 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2010-03-22 20:24:24 --- Closing. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22124 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |focht(a)gmx.net --- Comment #6 from Anastasius Focht <focht(a)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.
http://bugs.winehq.org/show_bug.cgi?id=22124 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|INVALID | --- Comment #7 from Nikolay Sivov <bunglehead(a)gmail.com> 2010-03-23 18:45:13 --- Thanks, Anastasius. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22124 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #8 from Nikolay Sivov <bunglehead(a)gmail.com> 2010-03-23 18:45:44 --- And confirming per comment 6. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22124 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #9 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2010-03-23 20:54:08 --- (In reply to comment #6)
One problem causing this could be the failure to mount registry hives (RegLoadKeyA/W -> NtLoadKey) when the file backing the hive doesn't exist. Exactly what I meant. It creates specific registry (which can't be done any other way other then using real windows). And AFAIK that wasn't nowhere in the chart to support binary windows' registry.
Back to invalid. Or would you prefer a won't fix? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22124 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #10 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2010-03-23 20:54:16 --- Closing -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22124 --- Comment #11 from Anastasius Focht <focht(a)gmx.net> 2010-03-24 02:33:43 --- Hello, --- quote --- Exactly what I meant. It creates specific registry (which can't be done any other way other then using real windows). And AFAIK that wasn't nowhere in the chart to support binary windows' registry. --- quote --- Well, I missed the discussion then. Supporting such proprietary (officially undocumented) binary format has indeed questionable cost-benefit. The NT binary registry hive format itself seems to be well documented in some places (libguestfs -> hivex (LGPL v2.1), ReactOS project most likely too, as they state "binary compatibility"). BartPE users might try ReactOS for Windows Live Boot/PE image creation - how ironic ;-) - and see if they get farther. What remains here is to fix NtLoadKey. Even if Windows binary registry hive formats are not supported it should not fail at this point. It should be possible to start a new hive in Wine's own format. 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.
http://bugs.winehq.org/show_bug.cgi?id=22124 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|INVALID | --- Comment #12 from Austin English <austinenglish(a)gmail.com> 2010-03-24 09:36:39 --- (In reply to comment #11)
What remains here is to fix NtLoadKey. Even if Windows binary registry hive formats are not supported it should not fail at this point. It should be possible to start a new hive in Wine's own format.
Reopening. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22124 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |INVALID --- Comment #13 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2010-03-24 20:35:03 --- (In reply to comment #12) And that will fix BartPE how exactly? Austin would please specify why you reopening bugs not just blindly replaying to the whole post without making a point. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22124 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #14 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2010-03-24 20:37:30 --- Closing. The original topic (BartPE not working) won't get fixed in any way shape of form even if you implement separate registry hives. Unless they will be in exact system's binary format BartPE tries to create a bootable system of. And that won't happen. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22124 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |leonik3(a)o2.pl --- Comment #15 from Austin English <austinenglish(a)gmail.com> 2010-07-21 20:22:45 --- *** Bug 23732 has been marked as a duplicate of this bug. *** -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22124 Georg Sauthoff <mail(a)georg.so> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mail(a)georg.so -- 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.
http://bugs.winehq.org/show_bug.cgi?id=22124 Saulius K. <saulius2(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |saulius2(a)gmail.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=22124 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.nu2.nu/pebuilder |https://web.archive.org/web |/#download |/20110826233917/http://secu | |ritywonks.org/n2u/mirrorfil | |es/pebuilder3110a.exe Summary|BartPE: crashes when trying |BartPE 3.1.x crashes when |to make "Build" |trying to make "Build" --- Comment #16 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, adding stable download link via Internet Archive for documentation. https://web.archive.org/web/20100202064208/http://www.nu2.nu/pebuilder/
From one of the mirrors:
https://web.archive.org/web/20110826233917/http://securitywonks.org/n2u/mirr... $ sha1sum pebuilder3110a.exe e3516e2155fba1d180fa6269748dd1b0a5d05285 pebuilder3110a.exe $ du -sh pebuilder3110a.exe 3.2M pebuilder3110a.exe Regards -- 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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla