[Pkg-vsquare-devel] Bug#484295: vde2: vde_switch segfaults on vlan related CLI commands on AMD64

Bjørn Mork bjorn at mork.no
Tue Jun 3 14:01:20 UTC 2008


Package: vde2
Version: 2.2.0-pre2-1
Severity: important

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I can consistently make vde_switch segfault by using a CLI sequence like this:

 bjorn at canardo:~$ vde_switch 
 
 vde$ vlan/create 42
 1000 Success
 
 vde$ vlan/allprint
 Segmentation fault


There are many other combinations which will achieve the same result.  The effect
is that it is impossible to configure the virtual switches with any non-default
vlans.  Using a configuration file at switch startup has the same crashing effect.

The switch does still function as expected for a non-managed switch, so this bug
does not render it completely useless.  But the usability is severely limited.

I've tested on an i386 system, and cannot reproduce the bug there.  Given the 
implemantions dependency on the sizeof(long), I assume this makes it a 64bit
bug.  Will attempt to fix it and provide a patch if I can.  Just wanted to register
this bug first in case someone is working on it, or someone can point me to
some configuration error on my side.



Bjorn



- -- System Information:
Debian Release: lenny/sid
  APT prefers stable
  APT policy: (700, 'stable'), (650, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages vde2 depends on:
ii  adduser                     3.107        add and remove users and groups
ii  libc6                       2.7-10       GNU C Library: Shared libraries
ii  libpcap0.8                  0.9.5-1      System interface for user-level pa
ii  libvdemgmt0                 2.2.0-pre2-1 Virtual Distributed Ethernet - Man
ii  libvdeplug2                 2.2.0-pre2-1 Virtual Distributed Ethernet - Plu

Versions of packages vde2 recommends:
ii  daemon                        0.6.3-1    turns other processes into daemons

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIRU6w10rqkowbIskRAjjtAJ0RLsspureF2/GE66BzpHPwgHN4HgCfYm2A
ytL92nzUHAlIT5k/4vqkrrA=
=lbnd
-----END PGP SIGNATURE-----





More information about the Pkg-vsquare-devel mailing list