[Bug 17582] New: Version/install test crashes on OpenSolaris
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Mar 2 02:16:39 CST 2009
http://bugs.winehq.org/show_bug.cgi?id=17582
Summary: Version/install test crashes on OpenSolaris
Product: Wine
Version: 1.1.16
Platform: PC
URL: http://test.winehq.org/data/0d7bec3578e02e1f551813e86100
b59e36aec542/wine_ae-opensolaris/version:install.html
OS/Version: SunOS
Status: NEW
Keywords: download, source, testcase
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs at winehq.org
ReportedBy: austinenglish at gmail.com
Created an attachment (id=19739)
--> (http://bugs.winehq.org/attachment.cgi?id=19739)
+relay,+seh,+tid,+ver
austin at opensolaris:~/wine-git/dlls/version/tests$ make install.ok
../../../tools/runtest -q -P wine -M version.dll -T ../../.. -p
version_test.exe.so install.c && touch install.ok
wine: Unhandled page fault on read access to 0x00000000 at address fed13d80
(thread 0009), starting debugger...
Can't attach process 0008: error 6
make: *** [install.ok] Error 5
+relay,+seh,+tid,+ver attached
I debugged it a bit...something in these tests go haywire:
static void test_install_file(void)
...
/* testing Invalid Parameters */
memset(tmpname,0,sizeof(tmpname));
rc = VerInstallFileA(0x0, NULL, NULL, NULL, NULL, NULL, tmpname, &size);
ok (rc == 0x10000 && tmpname[0]==0," expected return 0x10000 and no
tempname, got %08x/\'%s\'\n",rc,tmpname);
memset(tmpname,0,sizeof(tmpname));
size = MAX_PATH;
rc = VerInstallFileA(0x0, szSrcFileName, NULL, NULL, NULL, NULL, tmpname,
&size);
ok (rc == 0x10000 && tmpname[0]==0," expected return 0x10000 and no
tempname, got %08x/\'%s\'\n",rc,tmpname);
memset(tmpname,0,sizeof(tmpname));
size = MAX_PATH;
rc = VerInstallFileA(0x0, szSrcFileName, szDestFileName, NULL, NULL, NULL,
tmpname, &size);
ok (rc == 0x10000 && tmpname[0]==0," expected return 0x10000 and no
tempname, got %08x/\'%s\'\n",rc,tmpname);
Commenting those out with #if 0, #endif allows the test to pass.
--
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