From: Ben Hekster <ben.hekster@foghorn.io>
To: QEMU Developers <qemu-devel@nongnu.org>
Cc: Peter Maydell <peter.maydell@linaro.org>
Subject: Re: [Qemu-devel] Booting Raspbian on RPi emulation
Date: Wed, 19 Dec 2018 09:46:05 -0800 [thread overview]
Message-ID: <ECFBC025-CD7F-444B-BF7F-62E20954A85A@foghorn.io> (raw)
In-Reply-To: <CAFEAcA-PJadBG0sE43N9wEx9Qm3Nxu2am_0Zy2Zqtz66C9SJ-w@mail.gmail.com>
> On Dec 19, 2018, at 05:17, Peter Maydell <peter.maydell@linaro.org> wrote:
>
>
> OSX works for me, though I don't test it thoroughly. If you
> are getting a crash that you can reproduce, please could
> you repro it under a debugger with a debug build of QEMU
> and send the all-threads backtrace for the crash?
>
> thanks
> -- PMM
Still reproducible with current master on OS X Mojave 10.14.1. Command line:
$ arm-softmmu/qemu-system-arm -M raspi2 -append "console=ttyAMA0,115200 root=/dev/mmcblk0p2 rootwait rw" -cpu cortex-a7 -dtb bcm2709-rpi-2-b.dtb -drive file=2018-11-13-raspbian-stretch-lite.img,if=sd,format=raw -kernel kernel7.img -m 256m -no-reboot
Stack trace of crashing thread:
2018-12-19 09:33:01.348 qemu-system-arm[93254:2731556] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff35291e65 __exceptionPreprocess + 256
1 libobjc.A.dylib 0x00007fff612ed720 objc_exception_throw + 48
2 CoreFoundation 0x00007fff352ab8e5 -[NSException raise] + 9
3 AppKit 0x00007fff327b07e6 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 324
4 AppKit 0x00007fff327b5c40 -[NSView setFrameSize:] + 2082
5 AppKit 0x00007fff32826975 -[NSVisualEffectView setFrameSize:] + 171
6 AppKit 0x00007fff328806a5 -[NSTitlebarView setFrameSize:] + 84
7 AppKit 0x00007fff327b4c49 -[NSView setFrame:] + 478
8 AppKit 0x00007fff32880648 -[NSTitlebarView resizeWithOldSuperviewSize:] + 100
9 AppKit 0x00007fff327bbde6 -[NSView resizeSubviewsWithOldSize:] + 502
10 AppKit 0x00007fff327b5ac9 -[NSView setFrameSize:] + 1707
11 AppKit 0x00007fff3317604c -[NSTitlebarContainerView setFrameSize:] + 142
12 AppKit 0x00007fff327b4c49 -[NSView setFrame:] + 478
13 AppKit 0x00007fff327bc23d -[NSView resizeWithOldSuperviewSize:] + 776
14 AppKit 0x00007fff327bbde6 -[NSView resizeSubviewsWithOldSize:] + 502
15 AppKit 0x00007fff327b5ac9 -[NSView setFrameSize:] + 1707
16 AppKit 0x00007fff32823a5e -[NSThemeFrame setFrameSize:] + 495
17 AppKit 0x00007fff3281070b -[NSWindow _setFrame:updateBorderViewSize:] + 966
18 AppKit 0x00007fff3281002e -[NSWindow _oldPlaceWindow:] + 547
19 AppKit 0x00007fff3280f639 -[NSWindow _setFrameCommon:display:stashSize:] + 3006
20 AppKit 0x00007fff3280ea65 -[NSWindow _setFrame:display:allowImplicitAnimation:stashSize:] + 192
21 AppKit 0x00007fff3280e99e -[NSWindow setFrame:display:] + 51
22 AppKit 0x00007fff3281932f -[NSWindow setFrame:display:animate:] + 130
23 qemu-system-arm 0x00000001035cb13a -[QemuCocoaView switchSurface:] + 2282
24 qemu-system-arm 0x00000001035d102e cocoa_switch + 94
25 qemu-system-arm 0x00000001035bfa46 dpy_gfx_replace_surface + 278
26 qemu-system-arm 0x00000001035c1721 qemu_console_resize + 209
27 qemu-system-arm 0x000000010310be80 bcm2835_fb_reconfigure + 112
28 qemu-system-arm 0x000000010315a65c bcm2835_property_mbox_push + 4156
29 qemu-system-arm 0x0000000103159584 bcm2835_property_write + 148
30 qemu-system-arm 0x0000000103097cf3 memory_region_write_accessor + 243
31 qemu-system-arm 0x0000000103097bd6 access_with_adjusted_size + 454
32 qemu-system-arm 0x0000000103097702 memory_region_dispatch_write + 258
33 qemu-system-arm 0x000000010301bb84 address_space_stl_internal + 212
34 qemu-system-arm 0x000000010301bca7 address_space_stl_le + 55
35 qemu-system-arm 0x0000000103158fd4 stl_le_phys + 84
36 qemu-system-arm 0x0000000103158a6c bcm2835_mbox_write + 428
37 qemu-system-arm 0x0000000103097cf3 memory_region_write_accessor + 243
38 qemu-system-arm 0x0000000103097bd6 access_with_adjusted_size + 454
39 qemu-system-arm 0x0000000103097702 memory_region_dispatch_write + 258
40 qemu-system-arm 0x00000001030e00d5 io_writex + 805
41 qemu-system-arm 0x00000001030c06d7 io_writel + 151
42 qemu-system-arm 0x00000001030c02f7 helper_le_stl_mmu + 1015
43 ??? 0x00000001091aa705 0x0 + 4447708933
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6
The stack trace looks pretty self-explanatory ("NSWindow drag regions should only be invalidated on the Main Thread!"); probably a manifestation of https://bugs.launchpad.net/qemu/+bug/1802684 <https://bugs.launchpad.net/qemu/+bug/1802684>. Let me know if there's anything else I can do,
Ben
next prev parent reply other threads:[~2018-12-19 17:46 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-18 21:53 [Qemu-devel] Booting Raspbian on RPi emulation Ben Hekster
2018-12-18 22:34 ` BALATON Zoltan
2018-12-19 13:17 ` Peter Maydell
2018-12-19 17:46 ` Ben Hekster [this message]
2018-12-19 18:43 ` Peter Maydell
2018-12-19 19:36 ` Ben Hekster
2018-12-19 19:42 ` Ben Hekster
2018-12-20 2:14 ` BALATON Zoltan
2019-01-27 19:27 ` Peter Maydell
2019-01-27 23:13 ` BALATON Zoltan
2019-01-28 10:24 ` Peter Maydell
2019-01-28 15:30 ` BALATON Zoltan
-- strict thread matches above, loose matches on Subject: below --
2018-11-29 20:29 BALATON Zoltan
2018-11-30 0:43 ` Philippe Mathieu-Daudé
2018-11-30 1:27 ` Guenter Roeck
2018-11-30 2:42 ` BALATON Zoltan
2018-11-30 3:39 ` Guenter Roeck
2018-11-30 12:36 ` BALATON Zoltan
2019-01-15 18:29 ` BALATON Zoltan
2019-01-15 18:54 ` Philippe Mathieu-Daudé
2019-03-04 17:58 ` BALATON Zoltan
2019-08-20 14:50 ` BALATON Zoltan
2019-08-20 15:14 ` Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ECFBC025-CD7F-444B-BF7F-62E20954A85A@foghorn.io \
--to=ben.hekster@foghorn.io \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).