[Bug 1880225] Re: Emulation of some arm programs fail with "Assertion `have_guest_base' failed."

2020-08-20 Thread Thomas Huth
Fixed here: https://git.qemu.org/?p=qemu.git;a=commitdiff;h=5c3e87f345ac93de9260f ** Changed in: qemu Status: In Progress => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1880225

Re: [Bug 1880225] Re: Emulation of some arm programs fail with "Assertion `have_guest_base' failed."

2020-05-23 Thread Alex Bennée
Aleksandar Markovic <1880...@bugs.launchpad.net> writes: > The problem may be in int_guest_commpage() - it returns false. > >>From gdb debugging session: > > (gdb) p addr > $1 = (void *) 0xb7ffd000 > (gdb) p want > $2 = (void *) 0x > (gdb) n > 398 if (addr != want) { > (gdb) p qemu_h

[Bug 1880225] Re: Emulation of some arm programs fail with "Assertion `have_guest_base' failed."

2020-05-23 Thread Alex Bennée
** Changed in: qemu Status: New => Confirmed ** Changed in: qemu Assignee: (unassigned) => Alex Bennée (ajbennee) -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1880225 Title: Emulation

[Bug 1880225] Re: Emulation of some arm programs fail with "Assertion `have_guest_base' failed."

2020-05-23 Thread Aleksandar Markovic
The problem may be in int_guest_commpage() - it returns false. >From gdb debugging session: (gdb) p addr $1 = (void *) 0xb7ffd000 (gdb) p want $2 = (void *) 0x (gdb) n 398 if (addr != want) { (gdb) p qemu_host_page_size $3 = 4096 (gdb) l 393 394 if (addr == MAP_FAILED

Re: [Bug 1880225] Re: Emulation of some arm programs fail with "Assertion `have_guest_base' failed."

2020-05-23 Thread Alex Bennée
Aleksandar Markovic <1880...@bugs.launchpad.net> writes: > I just want to stress once again that the test was performed on a 32-bit > Intel host. Ahh - OK that makes sense. I'll see if I can replicate. -- Alex Bennée

[Bug 1880225] Re: Emulation of some arm programs fail with "Assertion `have_guest_base' failed."

2020-05-22 Thread Aleksandar Markovic
It appear that there is no problem on Intel 64-bit hosts. Perhaps the problem is manifested on all 32-bit hosts. I currently don't have access to any other 320bit host due to remote work. The arm is the only target were I noticed this happens. I checked hppa, mips, mipsel, m68k, ppc, and sh4, the

[Bug 1880225] Re: Emulation of some arm programs fail with "Assertion `have_guest_base' failed."

2020-05-22 Thread Aleksandar Markovic
I just want to stress once again that the test was performed on a 32-bit Intel host. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1880225 Title: Emulation of some arm programs fail with "Assertion

[Bug 1880225] Re: Emulation of some arm programs fail with "Assertion `have_guest_base' failed."

2020-05-22 Thread Aleksandar Markovic
Using bisection, it can be deduced that this behavior appears to be caused by this commit: commit ee94743034bfb443cf246eda4971bdc15d8ee066 (HEAD) Author: Alex Bennée Date: Wed May 13 18:51:28 2020 +0100 linux-user: completely re-write init_guest_space First we ensure all guest sp

[Bug 1880225] Re: Emulation of some arm programs fail with "Assertion `have_guest_base' failed."

2020-05-22 Thread Alex Bennée
** Tags added: testcase -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1880225 Title: Emulation of some arm programs fail with "Assertion `have_guest_base' failed." Status in QEMU: New Bug des