Skip to contentSkip to conversation

Segmentation fault in qemu-system-sparc

Qemu-devel Gabriel Southern 2 participants 2 messages May 16, 2009 – May 18, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

I am getting a segmentation fault when I run qemu-system-sparc. I think it is caused by a change after 6c7f4b47f778258493744a690bfc8dbbb7d21f69 on 5/13 because if I reset to that commit the segmentation fault does not occur. The segmentation fault occurs during OS boot when the network interface is being configured:

Setting up networking....
Configuring network interfaces...Segmentation fault

The last function call I can see with gdb is:

#1 0x0000000000426fb7 in pcnet_init () at qemu/hw/pcnet.c:876
876 s->phys_mem_read(s->dma_opaque, PHYSADDR(s,CSR_IADR(s)),

Also my host system is CentOS 5.2 x86_64. If anyone knows what the problem is or has questions/suggestions for fixing it please let me know.

Thanks,

-Gabriel

#1 lore raw
Quoted 12 lines · Gabriel Southern

Hi,

I am getting a segmentation fault when I run qemu-system-sparc. I think it is caused by a change after 6c7f4b47f778258493744a690bfc8dbbb7d21f69 on 5/13 because if I reset to that commit the segmentation fault does not occur. The segmentation fault occurs during OS boot when the network interface is being configured:

Setting up networking....
Configuring network interfaces...Segmentation fault

Quoted 8 lines

The last function call I can see with gdb is:

#1 0x0000000000426fb7 in pcnet_init () at qemu/hw/pcnet.c:876
876 s->phys_mem_read(s->dma_opaque, PHYSADDR(s,CSR_IADR(s)),

Also my host system is CentOS 5.2 x86_64. If anyone knows what the problem is or has questions/suggestions for fixing it please let me know.

I bisected this to 9d07d7579bcaf01e05c511c63d091ed2ac310091 "PCI network qdev conversion", but I don't see any problems with the pcnet.c part of the commit. Paul?