qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Segmentation Fault running Raspberry Pi OS.


From: Stefan Weil
Subject: Re: [Qemu-devel] Segmentation Fault running Raspberry Pi OS.
Date: Thu, 10 Nov 2016 07:39:13 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0

On 11/09/16 22:35, Julio Faracco wrote:
Hi guys,

I was developing a simple OS for Raspberry Pi 2.
When I was debugging my OS using "-s -S" options for QEMU, I was
getting a segfault: Segmentation fault (core dumped).

After that, I decided to run QEMU (for ARM using a raspi2 machine) inside GDB.

$ gdb ./arm-softmmu/qemu-system-arm
(gdb) run -kernel ~/myos/kernel.elf -cpu arm1176 -m 256 -M raspi2 -s -S

After starting my kernel in another GDB instance, I got a segfault as
I mentioned.
Here is the error and the backtrace:

Thread 1 "qemu-system-arm" received signal SIGSEGV, Segmentation fault.
0x0000555555785da7 in tb_page_remove (tb=0x7fffd2cf40f0, ptb=0x30) at
/home/julio/qemu/translate-all.c:1033
1033        ptb = &tb1->page_next[n1];

Does this happen with other kernels (for example official Raspbian) too?
If not: could you provide your special kernel, so it is possible to
reproduce that crash?

Cheers
Stefan




reply via email to

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