qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [BUG] qemu-x86_64 crash when running bntest (was: [PAT


From: Laurent Desnogues
Subject: Re: [Qemu-devel] [BUG] qemu-x86_64 crash when running bntest (was: [PATCH] Porting TCG to alpha platform)
Date: Sat, 30 Jan 2010 10:59:55 +0100

On Sat, Jan 30, 2010 at 10:30 AM, Stefan Weil <address@hidden> wrote:
> Laurent Desnogues schrieb:
>> On Sat, Jan 30, 2010 at 12:04 AM, Stefan Weil <address@hidden>
>> wrote:
>> [...]
>>> that was a good suggestion. bntest raises a segmentation fault
>>> (NULL pointer, p == 0, see below) with qemu-x86_64 on a x86_64 host.
>>
>> Compile bntest statically and it should work.
>>
>> x86_64 user mode is completely broken for dynamically
>> linked programs.
>>
>>
>> Laurent
>>
>
> A statically linked bntest results in a crash, too.
>
> Stefan
>
>
> $ ldd bntest
>        not a dynamic executable
> $ x86/x86_64-linux-user/qemu-x86_64 ./bntest
> ERROR: ioctl(SNDCTL_DSP_MAPINBUF): target=0x80085013 host=0x80105013
> ERROR: ioctl(SNDCTL_DSP_MAPOUTBUF): target=0x80085014 host=0x80105014
> obase=16
> ibase=16
> test BN_add
> print "test BN_add\n"
> qemu: uncaught target signal 11 (Segmentation fault) - core dumped

That worked for me. Could show us the last translated TB?


Laurent




reply via email to

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