[Top][All Lists]

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

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

From: Julio Faracco
Subject: Re: [Qemu-devel] Segmentation Fault running Raspberry Pi OS.
Date: Fri, 11 Nov 2016 20:23:29 -0200

Hi guys,

Thanks for the feedback.
Basically, I'm using master branch.
I'm not using any specific tag.

$ ./qemu-system-arm --version
QEMU emulator version 2.7.50 (v2.7.0-1871-g9b4b035-dirty)
Copyright (c) 2003-2016 Fabrice Bellard and the QEMU Project developers

I updated this branch (git pull only), recompiled and test it again.
The error is still happening.

I'm developing an OS for Raspberry Pi.
The code source base was taken from here:
The compiler, I moved to arm-none-eabi-gcc.

$ arm-none-eabi-gcc --version
arm-none-eabi-gcc (15:4.9.3+svn231177-1) 4.9.3 20150529 (prerelease)

I'm still need to test raspbian yet.

Julio Cesar Faracco

2016-11-10 4:39 GMT-02:00 Stefan Weil <address@hidden>:
> 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]