Skip to contentSkip to conversation

Slirp --> Abort when operate dhclient

Qemu-devel Vincent Autefage 2 participants 3 messages Feb 22, 2012 – Mar 5, 2012

lore
Share & tools
lore
#0 lore raw

Public bug reported:

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

** Affects: qemu
Importance: Undecided
Status: New

Signature · 30 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/938937

Title:
  Slirp --> Abort when operate dhclient

Status in QEMU:
  New

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)
Quoted 1 line
Quoted 1 line

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/938937/+subscriptions

#1 lore raw

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

Signature · 30 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/938937

Title:
  Slirp --> Abort when operate dhclient

Status in QEMU:
  New

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)
Quoted 1 line
Quoted 1 line

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/938937/+subscriptions

#2 lore raw
In reply to Vincent Autefage

*** This bug is a duplicate of bug 824650 ***

    https://bugs.launchpad.net/bugs/824650

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

** This bug has been marked a duplicate of bug 824650
Latest GIT assert error in arp_table.c

Signature · 30 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/938937

Title:
  Slirp --> Abort when operate dhclient

Status in QEMU:
  New

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)
Quoted 1 line
Quoted 1 line

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/938937/+subscriptions