[Bug 43961] New: ntdll/info tests crash on arm

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Nov 2 14:27:09 CDT 2017


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 at winehq.org
          Reporter: austinenglish at 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/039d267b0925273197a9edcf7664c4a42dca932d:/dlls/ntdll/tests/info.c#l1761

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");

-- 
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