qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 08/27] linux-user/sh4: Notice gUSA regions du


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v2 08/27] linux-user/sh4: Notice gUSA regions during signal delivery
Date: Thu, 13 Jul 2017 11:37:40 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

On 07/13/2017 12:56 AM, John Paul Adrian Glaubitz wrote:
It either hangs, so I had to use "Ctrl+C" or it segfaulted.

Sometimes it would crash with:

(sid-sh4-sbuild)address@hidden:/# ghc Main.hs
/bin/bash: warning: setlocale: LC_ALL: cannot change locale
(en_US.UTF-8)
Unhandled trap: 0x180
pc=0x07019782 sr=0x00000000 pr=0x0668c52c fpscr=0x00080000
spc=0x00000000 ssr=0x00000000 gbr=0x7f5ae680 vbr=0x00000000
sgr=0x00000000 dbr=0x00000000 delayed_pc=0x0668c52c fpul=0x05f7595c
r0=0x07019780 r1=0x7d9f90d8 r2=0x00019780 r3=0x00009780
r4=0x00000001 r5=0x0000001e r6=0x70000000 r7=0x00000080
r8=0x00000001 r9=0x00000000 r10=0x7f5ae694 r11=0x00000000
r12=0x07099840 r13=0x7f4fe000 r14=0x7ffff4cc r15=0x7ffff4c8
r16=0x00000000 r17=0x00000000 r18=0x00000000 r19=0x00000000
r20=0x00000000 r21=0x00000000 r22=0x00000000 r23=0x00000000
(sid-sh4-sbuild)address@hidden:/#

Source file is available here [1]. In order to be able to install,
you need to bind-mount /proc into the chroot first:

mount -o bind /proc /path/to/sid-sh4-sbuild/proc/

Adrian

[1] https://people.debian.org/~glaubitz/Main.hs

I can reproduce this non-reproducible behaviour.

Unfortunately with something as complex as ghc this doesn't help much. I hope you can find something smaller that produces a similar problem...


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]