Slirp --> Abort when operate dhclient

Bug #938937 reported by Vincent Autefage
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
QEMU
New
Undecided
Unassigned

Bug Description

Hi,

Let's consider the following line:

$ qemu -enable-kvm -name opeth -hda debian.img -k fr -localtime -m 512 -net user,vlan=0,net=192.160.0.0/24 -net nic,vlan=0,model=$model,macaddr=a2:00:00:00:00:10

In my Guest Virtual Machine, I'm going to call the internal Slirp DHCP Server:

guest@debian$ dhclient eth0

The QEMU process craches and reports this:

qemu-system-x86_64: slirp/arp_table.c:41: arp_table_add: Assertion `(ip_addr & (__extension__ ({ register unsigned int __v, __x = (~(0xf << 28)); if (__builtin_constant_p (__x)) __v = ((((__x) & 0xff000000) >> 24) | (((__x) & 0x00ff0000) >> 8) | (((__x) & 0x0000ff00) << 8) | (((__x) & 0x000000ff) << 24)); else __asm__ ("bswap %0" : "=r" (__v) : "0" (__x)); __v; }))) != 0' failed.

It's a new bug, never seen it before the 1.0 version (also tested with the last GIT version).
Tested on a 64bit and a 32bit system.

See you,
Vince

Revision history for this message
ironstorm (ironstorm-gmail) wrote :

I'm getting this too, wondering if its a duplicate of #824650?

Revision history for this message
ironstorm (ironstorm-gmail) wrote :

Having just rebuilt qemu from GIT and started using the rebuild binary, this problem no longer occurs... definitely related to or duplicate of 824650.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.