qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [Bug 607794] Re: SEGFAULT caused by modifying the CPSR regi


From: LG
Subject: [Qemu-devel] [Bug 607794] Re: SEGFAULT caused by modifying the CPSR register
Date: Tue, 20 Jul 2010 14:31:42 -0000

Here is a part of the gdb backtrace:

#2  0x000000000051a2bb in bank_number (env=<value optimized out>
#4  0x000000000051a584 in cpsr_write ((env=0x110a9d0

If I build qemu with debug flags, the env value won't be optimized out,
but will remain 0.

-- 
SEGFAULT caused by modifying the CPSR register
https://bugs.launchpad.net/bugs/607794
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: New

Bug description:
IIf the CPSR register (qemu-system-arm) is set to an invalid mode, qemu will 
segfault, because it tries to access a NULL-Pointer "env" in translate.c:9286. 
Either way, qemu will abort in exec.c:1863.





reply via email to

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