[Pkg-libvirt-maintainers] Bug#700267: Bug#700267: Fwd: Bug#700267: libvirt-bin: libvirtd segfaults with added usb device to lxc domain

Guido Günther agx at sigxcpu.org
Mon Mar 4 16:02:32 UTC 2013


Hi,
On Tue, Feb 12, 2013 at 12:02:14PM +0400, Alexander Kudrevatykh wrote:
> Hi, It's output of virt-manager --debug
> 
> 2013-02-12 11:58:02,633 (addhardware:150): Showing addhw
> 2013-02-12 11:58:16,959 (addhardware:1140): Adding device:
>     <hostdev mode='subsystem' type='usb' managed='yes'>
>       <source>
>         <vendor id='0x04e8'/>
>         <product id='0x330c'/>
>       </source>
>     </hostdev>
> 2013-02-12 11:58:16,989 (libvirtobject:135): Redefining 'debian-cups'
> with XML diff:
> --- Original XML
> +++ New XML
> @@ -21,5 +21,11 @@
>      <console type="pty">
>        <target type="lxc" port="0"/>
>      </console>
> +    <hostdev mode="subsystem" type="usb" managed="yes">
> +      <source>
> +        <vendor id="0x04e8"/>
> +        <product id="0x330c"/>
> +      </source>
> +    </hostdev>
>    </devices>
>  </domain>

I ment to test this but didn't get around to it yet however there was a
similar report on the ML which looks fixed in latest git. In case you
get around to it: There's 1.0.3~rc2 in experimental already.
Cheers,
 -- Guido


> 
> 2013-02-12 11:58:17,059 (addhardware:156): Closing addhw
> 
> 
> 2013/2/11 Guido Günther <agx at sigxcpu.org>:
> > On Mon, Feb 11, 2013 at 08:55:04PM +0300, Alexander Kudrevatykh wrote:
> >> forward reply to bugs.debian.org too
> >>
> >>
> >> ---------- Forwarded message ----------
> >> From: Alexander Kudrevatykh <kudrevatykh at gmail.com>
> >> Date: 2013/2/11
> >> Subject: Re: [Pkg-libvirt-maintainers] Bug#700267: libvirt-bin:
> >> libvirtd segfaults with added usb device to lxc domain
> >> To: Guido Günther <agx at sigxcpu.org>
> >>
> >>
> >> Hi. Attached domain.
> >> device was added using gui of virt-manager.
> >
> > Thanks! Could you run virt-manager with --debug then. It should print
> > the device XML for the USB device on stdout.
> > Cheers,
> >  -- Guido
> >
> >>
> >> 2013/2/11 Guido Günther <agx at sigxcpu.org>:
> >> > Hi,
> >> > On Sun, Feb 10, 2013 at 10:11:08PM +0400, Alexander Kudrevatykh wrote:
> >> >> Package: libvirt-bin
> >> >> Version: 1.0.2-2
> >> >> Severity: normal
> >> >>
> >> >> When trying to add usb device to lxc domain with  <hostdev
> >> >> mode='subsystem' type='usb' managed='yes'> got segfault on start of domain
> >> >> attached gdb output and libvirtd debug output
> >> >
> >> > Thanks for the info. Could you please also attache the XML of the
> >> > debian-cups domain and the command you use to attach the device?
> >> > Cheers,
> >> >  -- Guido
> >> >
> >> >>
> >> >>
> >> >>
> >> >> -- System Information:
> >> >> Debian Release: 7.0
> >> >>   APT prefers testing
> >> >>   APT policy: (500, 'testing'), (1, 'experimental')
> >> >> Architecture: i386 (x86_64)
> >> >> Foreign Architectures: amd64
> >> >>
> >> >> Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
> >> >> Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
> >> >> Shell: /bin/sh linked to /bin/bash
> >> >>
> >> >> Versions of packages libvirt0 depends on:
> >> >> ii  libaudit0           1:1.7.18-1.1
> >> >> ii  libavahi-client3    0.6.31-1
> >> >> ii  libavahi-common3    0.6.31-1
> >> >> ii  libc6               2.13-37
> >> >> ii  libcap-ng0          0.6.6-2
> >> >> ii  libdbus-1-3         1.6.8-1
> >> >> ii  libdevmapper1.02.1  2:1.02.74-4
> >> >> ii  libgcrypt11         1.5.0-3
> >> >> ii  libgnutls26         2.12.20-4
> >> >> ii  libnl-3-200         3.2.7-4
> >> >> ii  libnl-route-3-200   3.2.7-4
> >> >> ii  libnuma1            2.0.8~rc4-1
> >> >> ii  libsasl2-2          2.1.25.dfsg1-6
> >> >> ii  libxml2             2.8.0+dfsg1-7
> >> >> ii  libyajl2            2.0.4-2
> >> >>
> >> >> Versions of packages libvirt0 recommends:
> >> >> ii  lvm2  2.02.95-4
> >> >>
> >> >> libvirt0 suggests no packages.
> >> >>
> >> >> -- no debconf information
> >> >
> >> >> [New LWP 17814]
> >> >> [New LWP 17808]
> >> >> [New LWP 17813]
> >> >> [New LWP 17804]
> >> >> [New LWP 17805]
> >> >> [New LWP 17812]
> >> >> [New LWP 17811]
> >> >> [New LWP 17807]
> >> >> [New LWP 17810]
> >> >> [New LWP 17803]
> >> >> [New LWP 17809]
> >> >> [New LWP 17806]
> >> >> [Thread debugging using libthread_db enabled]
> >> >> Using host libthread_db library
> >> >> "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
> >> >> Core was generated by `libvirtd'.
> >> >> Program terminated with signal 11, Segmentation fault.
> >> >> #0  usbDeviceListFind (list=0x0, dev=dev at entry=0x95798b0) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/util/virusb.c:510
> >> >>
> >> >> Thread 12 (Thread 0xf5b2bb70 (LWP 17806)):
> >> >> #0  0xf7795425 in __kernel_vsyscall ()
> >> >> No symbol table info available.
> >> >> #1  0xf70b120a in pthread_cond_wait@@GLIBC_2.3.2 () from
> >> >> /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
> >> >> No symbol table info available.
> >> >> #2  0xf753e40a in virCondWait (c=c at entry=0x9514cd4, m=m at entry=0x9514cbc)
> >> >> at /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpthread.c:117
> >> >>         ret = <optimized out>
> >> >> #3  0xf753e957 in virThreadPoolWorker (opaque=opaque at entry=0x94fc820) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpool.c:103
> >> >>         data = 0x0
> >> >>         pool = 0x9514ca0
> >> >>         cond = 0x9514cd4
> >> >>         priority = false
> >> >>         job = 0x0
> >> >> #4  0xf753e138 in virThreadHelper (data=0x94fc7d0) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpthread.c:161
> >> >>         args = 0x0
> >> >>         local = {func = 0xf753e7d0 <virThreadPoolWorker>, opaque =
> >> >> 0x94fc820}
> >> >> #5  0xf70acc39 in start_thread () from
> >> >> /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
> >> >> No symbol table info available.
> >> >> #6  0xf701178e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
> >> >> No symbol table info available.
> >> >>
> >> >> Thread 11 (Thread 0xf41ffb70 (LWP 17809)):
> >> >> #0  0xf7795425 in __kernel_vsyscall ()
> >> >> No symbol table info available.
> >> >> #1  0xf70b120a in pthread_cond_wait@@GLIBC_2.3.2 () from
> >> >> /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
> >> >> No symbol table info available.
> >> >> #2  0xf753e40a in virCondWait (c=c at entry=0x9514d50, m=m at entry=0x9514cbc)
> >> >> at /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpthread.c:117
> >> >>         ret = <optimized out>
> >> >> #3  0xf753e980 in virThreadPoolWorker (opaque=opaque at entry=0xf4200528) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpool.c:103
> >> >>         data = 0x0
> >> >>         pool = 0x9514ca0
> >> >>         cond = 0x9514d50
> >> >>         priority = true
> >> >>         job = 0x0
> >> >> #4  0xf753e138 in virThreadHelper (data=0xf4200538) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpthread.c:161
> >> >>         args = 0x0
> >> >>         local = {func = 0xf753e7d0 <virThreadPoolWorker>, opaque =
> >> >> 0xf4200528}
> >> >> #5  0xf70acc39 in start_thread () from
> >> >> /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
> >> >> No symbol table info available.
> >> >> #6  0xf701178e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
> >> >> No symbol table info available.
> >> >>
> >> >> Thread 10 (Thread 0xf6e64750 (LWP 17803)):
> >> >> #0  0xf7795425 in __kernel_vsyscall ()
> >> >> No symbol table info available.
> >> >> #1  0xf7003d96 in poll () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
> >> >> No symbol table info available.
> >> >> #2  0xf75149e5 in virEventPollRunOnce () at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/util/vireventpoll.c:630
> >> >>         fds = 0xf420f7f8
> >> >>         ret = <optimized out>
> >> >>         timeout = -1
> >> >>         nfds = 13
> >> >>         __func__ = "virEventPollRunOnce"
> >> >>         __FUNCTION__ = "virEventPollRunOnce"
> >> >> #3  0xf751336b in virEventRunDefaultImpl () at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/util/virevent.c:247
> >> >>         __func__ = "virEventRunDefaultImpl"
> >> >> #4  0xf7633d05 in virNetServerRun (srv=srv at entry=0x9514b98) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/rpc/virnetserver.c:1107
> >> >>         timerid = -1
> >> >>         timerActive = 0
> >> >>         i = <optimized out>
> >> >>         __FUNCTION__ = "virNetServerRun"
> >> >>         __func__ = "virNetServerRun"
> >> >> #5  0x08052531 in main (argc=1, argv=0xffa2dc54) at
> >> >> /tmp/buildd/libvirt-1.0.2/./daemon/libvirtd.c:1481
> >> >>         srv = 0x9514b98
> >> >>         remote_config_file = 0x9514128 "/etc/libvirt/libvirtd.conf"
> >> >>         statuswrite = -1
> >> >>         ret = 1
> >> >>         pid_file_fd = 4
> >> >>         pid_file = 0x951dca8 "/var/run/libvirtd.pid"
> >> >>         sock_file = 0x9514958 "/var/run/libvirt/libvirt-sock"
> >> >>         sock_file_ro = 0x951dc50 "/var/run/libvirt/libvirt-sock-ro"
> >> >>         timeout = -1
> >> >>         verbose = 0
> >> >>         godaemon = 0
> >> >>         ipsock = 0
> >> >>         config = 0x9514538
> >> >>         privileged = true
> >> >>         implicit_conf = <optimized out>
> >> >>         run_dir = 0x951de10 "/var/run/libvirt"
> >> >>         old_umask = <optimized out>
> >> >>         opts = {{name = 0x808346a "verbose", has_arg = 0, flag =
> >> >> 0xffa2d6c0, val = 1}, {name = 0x8083472 "daemon", has_arg = 0, flag =
> >> >> 0xffa2d6c4, val = 1}, {name = 0x8083479 "listen", has_arg = 0, flag =
> >> >> 0xffa2d6c8, val = 1}, {name = 0x80835be "config", has_arg = 1, flag = 0x0,
> >> >> val = 102}, {name = 0x8083515 "timeout", has_arg = 1, flag = 0x0, val =
> >> >> 116}, {name = 0x8083480 "pid-file", has_arg = 1, flag = 0x0, val = 112},
> >> >> {name = 0x8083489 "version", has_arg = 0, flag = 0x0, val = 129}, {name =
> >> >> 0x8083491 "help", has_arg = 0, flag = 0x0, val = 63}, {name = 0x0, has_arg =
> >> >> 0, flag = 0x0, val = 0}}
> >> >>         __func__ = "main"
> >> >>         __FUNCTION__ = "main"
> >> >>
> >> >> Thread 9 (Thread 0xf39feb70 (LWP 17810)):
> >> >> #0  0xf7795425 in __kernel_vsyscall ()
> >> >> No symbol table info available.
> >> >> #1  0xf70b120a in pthread_cond_wait@@GLIBC_2.3.2 () from
> >> >> /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
> >> >> No symbol table info available.
> >> >> #2  0xf753e40a in virCondWait (c=c at entry=0x9514d50, m=m at entry=0x9514cbc)
> >> >> at /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpthread.c:117
> >> >>         ret = <optimized out>
> >> >> #3  0xf753e980 in virThreadPoolWorker (opaque=opaque at entry=0xf42005f0) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpool.c:103
> >> >>         data = 0x0
> >> >>         pool = 0x9514ca0
> >> >>         cond = 0x9514d50
> >> >>         priority = true
> >> >>         job = 0x0
> >> >> #4  0xf753e138 in virThreadHelper (data=0xf4200600) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpthread.c:161
> >> >>         args = 0x0
> >> >>         local = {func = 0xf753e7d0 <virThreadPoolWorker>, opaque =
> >> >> 0xf42005f0}
> >> >> #5  0xf70acc39 in start_thread () from
> >> >> /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
> >> >> No symbol table info available.
> >> >> #6  0xf701178e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
> >> >> No symbol table info available.
> >> >>
> >> >> Thread 8 (Thread 0xf532ab70 (LWP 17807)):
> >> >> #0  0xf7795425 in __kernel_vsyscall ()
> >> >> No symbol table info available.
> >> >> #1  0xf70b120a in pthread_cond_wait@@GLIBC_2.3.2 () from
> >> >> /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
> >> >> No symbol table info available.
> >> >> #2  0xf753e40a in virCondWait (c=c at entry=0x9514cd4, m=m at entry=0x9514cbc)
> >> >> at /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpthread.c:117
> >> >>         ret = <optimized out>
> >> >> #3  0xf753e957 in virThreadPoolWorker (opaque=opaque at entry=0x94fc780) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpool.c:103
> >> >>         data = 0x0
> >> >>         pool = 0x9514ca0
> >> >>         cond = 0x9514cd4
> >> >>         priority = false
> >> >>         job = 0x0
> >> >> #4  0xf753e138 in virThreadHelper (data=0x94fc728) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpthread.c:161
> >> >>         args = 0x0
> >> >>         local = {func = 0xf753e7d0 <virThreadPoolWorker>, opaque =
> >> >> 0x94fc780}
> >> >> #5  0xf70acc39 in start_thread () from
> >> >> /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
> >> >> No symbol table info available.
> >> >> #6  0xf701178e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
> >> >> No symbol table info available.
> >> >>
> >> >> Thread 7 (Thread 0xf31fdb70 (LWP 17811)):
> >> >> #0  0xf7795425 in __kernel_vsyscall ()
> >> >> No symbol table info available.
> >> >> #1  0xf70b120a in pthread_cond_wait@@GLIBC_2.3.2 () from
> >> >> /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
> >> >> No symbol table info available.
> >> >> #2  0xf753e40a in virCondWait (c=c at entry=0x9514d50, m=m at entry=0x9514cbc)
> >> >> at /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpthread.c:117
> >> >>         ret = <optimized out>
> >> >> #3  0xf753e980 in virThreadPoolWorker (opaque=opaque at entry=0xf4200528) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpool.c:103
> >> >>         data = 0x0
> >> >>         pool = 0x9514ca0
> >> >>         cond = 0x9514d50
> >> >>         priority = true
> >> >>         job = 0x0
> >> >> #4  0xf753e138 in virThreadHelper (data=0xf4200538) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpthread.c:161
> >> >>         args = 0x0
> >> >>         local = {func = 0xf753e7d0 <virThreadPoolWorker>, opaque =
> >> >> 0xf4200528}
> >> >> #5  0xf70acc39 in start_thread () from
> >> >> /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
> >> >> No symbol table info available.
> >> >> #6  0xf701178e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
> >> >> No symbol table info available.
> >> >>
> >> >> Thread 6 (Thread 0xf29fcb70 (LWP 17812)):
> >> >> #0  0xf7795425 in __kernel_vsyscall ()
> >> >> No symbol table info available.
> >> >> #1  0xf70b120a in pthread_cond_wait@@GLIBC_2.3.2 () from
> >> >> /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
> >> >> No symbol table info available.
> >> >> #2  0xf753e40a in virCondWait (c=c at entry=0x9514d50, m=m at entry=0x9514cbc)
> >> >> at /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpthread.c:117
> >> >>         ret = <optimized out>
> >> >> #3  0xf753e980 in virThreadPoolWorker (opaque=opaque at entry=0xf42005f0) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpool.c:103
> >> >>         data = 0x0
> >> >>         pool = 0x9514ca0
> >> >>         cond = 0x9514d50
> >> >>         priority = true
> >> >>         job = 0x0
> >> >> #4  0xf753e138 in virThreadHelper (data=0xf4200600) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpthread.c:161
> >> >>         args = 0x0
> >> >>         local = {func = 0xf753e7d0 <virThreadPoolWorker>, opaque =
> >> >> 0xf42005f0}
> >> >> #5  0xf70acc39 in start_thread () from
> >> >> /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
> >> >> No symbol table info available.
> >> >> #6  0xf701178e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
> >> >> No symbol table info available.
> >> >>
> >> >> Thread 5 (Thread 0xf632cb70 (LWP 17805)):
> >> >> #0  0xf7795425 in __kernel_vsyscall ()
> >> >> No symbol table info available.
> >> >> #1  0xf70b120a in pthread_cond_wait@@GLIBC_2.3.2 () from
> >> >> /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
> >> >> No symbol table info available.
> >> >> #2  0xf753e40a in virCondWait (c=c at entry=0x9514cd4, m=m at entry=0x9514cbc)
> >> >> at /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpthread.c:117
> >> >>         ret = <optimized out>
> >> >> #3  0xf753e957 in virThreadPoolWorker (opaque=opaque at entry=0x95149d8) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpool.c:103
> >> >>         data = 0x0
> >> >>         pool = 0x9514ca0
> >> >>         cond = 0x9514cd4
> >> >>         priority = false
> >> >>         job = 0x0
> >> >> #4  0xf753e138 in virThreadHelper (data=0x94fa4a8) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpthread.c:161
> >> >>         args = 0x0
> >> >>         local = {func = 0xf753e7d0 <virThreadPoolWorker>, opaque =
> >> >> 0x95149d8}
> >> >> #5  0xf70acc39 in start_thread () from
> >> >> /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
> >> >> No symbol table info available.
> >> >> #6  0xf701178e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
> >> >> No symbol table info available.
> >> >>
> >> >> Thread 4 (Thread 0xf6b2db70 (LWP 17804)):
> >> >> #0  0xf7795425 in __kernel_vsyscall ()
> >> >> No symbol table info available.
> >> >> #1  0xf70b120a in pthread_cond_wait@@GLIBC_2.3.2 () from
> >> >> /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
> >> >> No symbol table info available.
> >> >> #2  0xf753e40a in virCondWait (c=c at entry=0x9514cd4, m=m at entry=0x9514cbc)
> >> >> at /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpthread.c:117
> >> >>         ret = <optimized out>
> >> >> #3  0xf753e957 in virThreadPoolWorker (opaque=opaque at entry=0x9514c90) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpool.c:103
> >> >>         data = 0x0
> >> >>         pool = 0x9514ca0
> >> >>         cond = 0x9514cd4
> >> >>         priority = false
> >> >>         job = 0x0
> >> >> #4  0xf753e138 in virThreadHelper (data=0x9514aa8) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpthread.c:161
> >> >>         args = 0x0
> >> >>         local = {func = 0xf753e7d0 <virThreadPoolWorker>, opaque =
> >> >> 0x9514c90}
> >> >> #5  0xf70acc39 in start_thread () from
> >> >> /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
> >> >> No symbol table info available.
> >> >> #6  0xf701178e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
> >> >> No symbol table info available.
> >> >>
> >> >> Thread 3 (Thread 0xf21fbb70 (LWP 17813)):
> >> >> #0  0xf7795425 in __kernel_vsyscall ()
> >> >> No symbol table info available.
> >> >> #1  0xf70b120a in pthread_cond_wait@@GLIBC_2.3.2 () from
> >> >> /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
> >> >> No symbol table info available.
> >> >> #2  0xf753e40a in virCondWait (c=c at entry=0x9514d50, m=m at entry=0x9514cbc)
> >> >> at /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpthread.c:117
> >> >>         ret = <optimized out>
> >> >> #3  0xf753e980 in virThreadPoolWorker (opaque=opaque at entry=0xf4200528) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpool.c:103
> >> >>         data = 0x0
> >> >>         pool = 0x9514ca0
> >> >>         cond = 0x9514d50
> >> >>         priority = true
> >> >>         job = 0x0
> >> >> #4  0xf753e138 in virThreadHelper (data=0xf4200538) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpthread.c:161
> >> >>         args = 0x0
> >> >>         local = {func = 0xf753e7d0 <virThreadPoolWorker>, opaque =
> >> >> 0xf4200528}
> >> >> #5  0xf70acc39 in start_thread () from
> >> >> /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
> >> >> No symbol table info available.
> >> >> #6  0xf701178e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
> >> >> No symbol table info available.
> >> >>
> >> >> Thread 2 (Thread 0xf4b29b70 (LWP 17808)):
> >> >> #0  0xf7795425 in __kernel_vsyscall ()
> >> >> No symbol table info available.
> >> >> #1  0xf70b120a in pthread_cond_wait@@GLIBC_2.3.2 () from
> >> >> /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
> >> >> No symbol table info available.
> >> >> #2  0xf753e40a in virCondWait (c=c at entry=0x9514cd4, m=m at entry=0x9514cbc)
> >> >> at /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpthread.c:117
> >> >>         ret = <optimized out>
> >> >> #3  0xf753e957 in virThreadPoolWorker (opaque=opaque at entry=0x94fc6d0) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpool.c:103
> >> >>         data = 0x0
> >> >>         pool = 0x9514ca0
> >> >>         cond = 0x9514cd4
> >> >>         priority = false
> >> >>         job = 0x0
> >> >> #4  0xf753e138 in virThreadHelper (data=0x94fc678) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpthread.c:161
> >> >>         args = 0x0
> >> >>         local = {func = 0xf753e7d0 <virThreadPoolWorker>, opaque =
> >> >> 0x94fc6d0}
> >> >> #5  0xf70acc39 in start_thread () from
> >> >> /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
> >> >> No symbol table info available.
> >> >> #6  0xf701178e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
> >> >> No symbol table info available.
> >> >>
> >> >> Thread 1 (Thread 0xf1292b70 (LWP 17814)):
> >> >> #0  usbDeviceListFind (list=0x0, dev=dev at entry=0x95798b0) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/util/virusb.c:510
> >> >>         i = 0
> >> >> #1  0xf16b29eb in virLXCPrepareHostdevUSBDevices
> >> >> (driver=driver at entry=0x952d208, name=0x9591530 "debian-cups",
> >> >> list=list at entry=0x9591dd8) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/lxc/lxc_hostdev.c:88
> >> >>         usb = 0x95798b0
> >> >>         i = <optimized out>
> >> >>         j = <optimized out>
> >> >>         count = 1
> >> >>         tmp = <optimized out>
> >> >>         __FUNCTION__ = "virLXCPrepareHostdevUSBDevices"
> >> >>         __func__ = "virLXCPrepareHostdevUSBDevices"
> >> >> #2  0xf16b300e in virLXCPrepareHostUSBDevices (def=0x958ed50,
> >> >> driver=0x952d208) at /tmp/buildd/libvirt-1.0.2/./src/lxc/lxc_hostdev.c:261
> >> >>         i = 1
> >> >>         ret = -1
> >> >>         list = 0x9591dd8
> >> >>         tmp = <optimized out>
> >> >>         hostdevs = <optimized out>
> >> >>         nhostdevs = 1
> >> >> #3  virLXCPrepareHostDevices (driver=driver at entry=0x952d208,
> >> >> def=0x958ed50) at /tmp/buildd/libvirt-1.0.2/./src/lxc/lxc_hostdev.c:328
> >> >>         i = <optimized out>
> >> >>         __FUNCTION__ = "virLXCPrepareHostDevices"
> >> >> #4  0xf16b509f in virLXCProcessStart (conn=0x958f220, driver=0x952d208,
> >> >> vm=vm at entry=0x957a538, autoDestroy=autoDestroy at entry=false,
> >> >> reason=reason at entry=VIR_DOMAIN_RUNNING_BOOTED) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/lxc/lxc_process.c:988
> >> >>         rc = -1
> >> >>         r = <optimized out>
> >> >>         nttyFDs = 0
> >> >>         ttyFDs = 0x0
> >> >>         i = <optimized out>
> >> >>         logfile = 0x95906f8 "/var/log/libvirt/lxc/debian-cups.log"
> >> >>         logfd = -1
> >> >>         nveths = 0
> >> >>         veths = 0x0
> >> >>         handshakefds = {-1, -1}
> >> >>         pos = -1
> >> >>         ebuf = '\000' <repeats 20 times>,
> >> >> "0u\a\367\370\303\t\367lt\a\367ww\a\367p\221`\t\030\000\000\000\363\263\372\366l\002\000\000m\031)\361\n\000\000\000\200\033)\361\003",
> >> >> '\000' <repeats 15 times>,
> >> >> "\006\000\000\000\034\033)\361\377\377\377\377\212\273\367\366\000\000\000\000dao\367T\273o\367p\031)\361\317\320\367\366<\033)\361\030\033)\361\000\000\000\000\000\000\000\000\064\273o\367",
> >> >> '\000' <repeats 12 times>,
> >> >> "4\273o\367\034\000\000\000 at Ja\t\036\356\064\367 at Ja\t\017\000\000\000\241jq\367\000\000\000\000\b at a\t at Ja\t at Ja\t\207\266\062\367 at Ja\t\366>a\t\370 at a\tWX2\367\b at a\t\017\000\000\000\031\000\000\000\370\353?\367\300\303\t\367\364\257\t\367",
> >> >> '\000' <repeats 24 times>, " \353?\367\b at a\t", '\000' <repeats 32 times>,
> >> >> ",\034)\361\325\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000"...
> >> >>         timestamp = <optimized out>
> >> >>         cmd = 0x0
> >> >>         priv = 0x9593d48
> >> >>         err = 0x0
> >> >>         __FUNCTION__ = "virLXCProcessStart"
> >> >>         __func__ = "virLXCProcessStart"
> >> >> #5  0xf16b6f31 in virLXCProcessAutostartDomain (payload=0x957a538,
> >> >> name=0x95943a8, opaque=opaque at entry=0xf1291dc8) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/lxc/lxc_process.c:1258
> >> >>         ret = <optimized out>
> >> >>         vm = 0x957a538
> >> >>         data = 0xf1291dc8
> >> >>         __func__ = "virLXCProcessAutostartDomain"
> >> >> #6  0xf75173f3 in virHashForEach (table=0x958ffb0,
> >> >> iter=iter at entry=0xf16b6eb0 <virLXCProcessAutostartDomain>,
> >> >> data=data at entry=0xf1291dc8) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/util/virhash.c:514
> >> >>         next = 0x9594aa0
> >> >>         entry = <optimized out>
> >> >>         i = <optimized out>
> >> >>         count = 1
> >> >>         __func__ = "virHashForEach"
> >> >> #7  0xf16b707b in virLXCProcessAutostartAll (driver=0x952d208) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/lxc/lxc_process.c:1293
> >> >>         conn = 0x958f220
> >> >>         data = {driver = 0x952d208, conn = 0x958f220}
> >> >> #8  0xf16c2d09 in lxcStartup (privileged=<optimized out>,
> >> >> opaque=<optimized out>, callback=<optimized out>) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/lxc/lxc_driver.c:1502
> >> >>         rc = <optimized out>
> >> >> #9  0xf75c038d in virStateInitialize (privileged=true,
> >> >> callback=callback at entry=0x8053dc0 <daemonInhibitCallback>,
> >> >> opaque=opaque at entry=0x9514b98) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/libvirt.c:822
> >> >>         i = <optimized out>
> >> >>         __func__ = "virStateInitialize"
> >> >> #10 0x08053edf in daemonRunStateInit (opaque=opaque at entry=0x9514b98) at
> >> >> /tmp/buildd/libvirt-1.0.2/./daemon/libvirtd.c:877
> >> >>         srv = 0x9514b98
> >> >>         __func__ = "daemonRunStateInit"
> >> >> #11 0xf753e138 in virThreadHelper (data=0xf4209418) at
> >> >> /tmp/buildd/libvirt-1.0.2/./src/util/virthreadpthread.c:161
> >> >>         args = 0x0
> >> >>         local = {func = 0x8053eb0 <daemonRunStateInit>, opaque =
> >> >> 0x9514b98}
> >> >> #12 0xf70acc39 in start_thread () from
> >> >> /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
> >> >> No symbol table info available.
> >> >> #13 0xf701178e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
> >> >> No symbol table info available.
> >> >
> >> >
> >> >> _______________________________________________
> >> >> Pkg-libvirt-maintainers mailing list
> >> >> Pkg-libvirt-maintainers at lists.alioth.debian.org
> >> >>
> >> >> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-libvirt-maintainers
> >> >
> >>
> >>
> >>
> >> --
> >> С уважением, Кудреватых Александр
> >>
> >>
> >> --
> >> С уважением, Кудреватых Александр
> >
> >> <!--
> >> WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
> >> OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
> >>   virsh edit debian-cups
> >> or other application using the libvirt API.
> >> -->
> >>
> >> <domain type='lxc'>
> >>   <name>debian-cups</name>
> >>   <uuid>80e08888-6a41-eb93-08f3-cf0dc4ae6a66</uuid>
> >>   <memory unit='KiB'>1048576</memory>
> >>   <currentMemory unit='KiB'>1048576</currentMemory>
> >>   <vcpu placement='static'>1</vcpu>
> >>   <os>
> >>     <type arch='i686'>exe</type>
> >>     <init>/sbin/init</init>
> >>   </os>
> >>   <clock offset='utc'/>
> >>   <on_poweroff>destroy</on_poweroff>
> >>   <on_reboot>restart</on_reboot>
> >>   <on_crash>restart</on_crash>
> >>   <devices>
> >>     <emulator>/usr/lib/libvirt/libvirt_lxc</emulator>
> >>     <filesystem type='mount' accessmode='passthrough'>
> >>       <source dir='/opt/chroots/debian-cups'/>
> >>       <target dir='/'/>
> >>     </filesystem>
> >>     <interface type='bridge'>
> >>       <mac address='00:16:3e:3f:9f:fd'/>
> >>       <source bridge='br-local'/>
> >>     </interface>
> >>     <console type='pty'>
> >>       <target type='lxc' port='0'/>
> >>     </console>
> >>     <hostdev mode='subsystem' type='usb' managed='yes'>
> >>       <source>
> >>         <vendor id='0x04e8'/>
> >>         <product id='0x330c'/>
> >>       </source>
> >>     </hostdev>
> >>   </devices>
> >> </domain>
> >
> >> _______________________________________________
> >> Pkg-libvirt-maintainers mailing list
> >> Pkg-libvirt-maintainers at lists.alioth.debian.org
> >> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-libvirt-maintainers
> >
> 
> 
> 
> -- 
> С уважением, Кудреватых Александр
> 



More information about the Pkg-libvirt-maintainers mailing list