https://bugs.winehq.org/show_bug.cgi?id=43961
Bug ID: 43961 Summary: ntdll/info tests crash on arm Product: Wine Version: 2.20 Hardware: arm OS: Linux Status: NEW Keywords: download, testcase Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: Debian
Backtrace: =>0 0xb0cc2000 (0xb132fcc0) 1 0xb1376970 func_info+0x2267() [/home/austin/wine-git/dlls/ntdll/tests/info.c:1772] in ntdll_test (0xb132fcc0) 2 0xb1376970 func_info+0x2267() [/home/austin/wine-git/dlls/ntdll/tests/info.c:1772] in ntdll_test (0xb132fff8) 3 0xb1337ebc main+0x2f3(argc=<is not available>, argv=<is not available>) [/home/austin/wine-git/dlls/ntdll/tests/../../../include/wine/test.h:603] in ntdll_test<elf> (0x00000000)
what's strange is arm is supposed to work: https://source.winehq.org/git/wine.git/blob/039d267b0925273197a9edcf7664c4a4...
1762 #if defined(__x86_64__) || defined(__i386__) 1763 *(unsigned char*)addr = 0xc3; /* lret ... in both i386 and x86_64 */ 1764 #elif defined(__arm__) 1765 *(unsigned long*)addr = 0xe12fff1e; /* bx lr */ 1766 #elif defined(__aarch64__) 1767 *(unsigned long*)addr = 0xd65f03c0; /* ret */ 1768 #else 1769 ok(0, "Add a return opcode for your architecture or expect a crash in this test\n"); 1770 #endif 1771 trace("trying to execute code in the readwrite only mapped anon file...\n"); 1772 f = addr;f(); 1773 trace("...done.\n");