https://bugs.winehq.org/show_bug.cgi?id=37411
Bug ID: 37411 Summary: ntdll/tests/reg.c fails / wineserver crashes running ntdll/reg test from winetest Product: Wine Version: 1.7.28 Hardware: x86 OS: Linux Status: NEW Keywords: download, regression, source Severity: normal Priority: P2 Component: wineserver Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Regression SHA1: e94d2e045960978f8c48c4e9527f88f1229bf4be Distribution: ---
../../../tools/runtest -q -P wine -T ../../.. -M ntdll.dll -p ntdll_test.exe.so reg && touch reg.ok reg.c:1309: Test failed: got 4, expected 86 reg.c:1319: Test failed: got L"WineTest", expected L"\Registry\User\S-1-5-21-0-0-0-1000\WineTest" Makefile:413: recipe for target 'reg.ok' failed make: *** [reg.ok] Error 2
This change also breaks running the tests from winetest (at least for me on Fedora, and looking at https://tests.winehq.org, it appears every linux machine is affected).
Manually running this test explicitly with winetest shows wineserver is crashing: *** Error in `/home/austin/wine-git/server/wineserver': double free or corruption (!prev): 0x09d06b68 *** wineserver crashed, please enable coredumps (ulimit -c unlimited) and restart.
and after running ulimit -c unlimited: Running: ntdll:reg (15 of 20) *** Error in `/home/austin/wine-git/server/wineserver': double free or corruption (!prev): 0x08bc3ba0 *** *** Error in `/home/austin/wine-git/server/wineserver': malloc(): memory corruption: 0x08bc3c00 *** Inconsistency detected by ld.so: dl-open.c: 220: dl_open_worker: Assertion `_dl_debug_initialize (0, args->nsid)->r_state == RT_CONSISTENT' failed!
reverting e94d2e045960978f8c48c4e9527f88f1229bf4be allows the test to pass