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@winehq.org ReportedBy: austinenglish@gmail.com
Created an attachment (id=19739) --> (http://bugs.winehq.org/attachment.cgi?id=19739) +relay,+seh,+tid,+ver
austin@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.