[Pkg-libvirt-maintainers] Bug#697457: Bug#697457: libvirt-bin crash at startup ââ¬â some tests
Ralf Haase
gm.rhaase at googlemail.com
Mon Jan 7 15:37:21 UTC 2013
using libnetcf1 is the solution, works after install (on debian sid, libnetcf1 from experimental)
Am Montag, 7. Januar 2013 16:00:02 UTC+1 schrieb Guido Günther:
> retitle 697457 needs a versioned netcf dependency.
>
>
>
> On Tue, Jan 08, 2013 at 12:24:13AM +1100, Thom wrote:
>
> >
>
> > Hi Guido!
>
> >
>
> > Thanks alot for your assistance!
>
> >
>
> >
>
> > Upgrade libnetcf1 from 1:0.2.0-5 (unstable) to 1:0.2.2-3 (experimental) solve the problem for me.
>
> >
>
> > I suppose this should be reflected in the libvirt dependencies.
>
>
>
> This got broken by the libnetcf since it uses an epoch now. Thanks for
>
> checking.
>
> -- Guido
>
>
>
> >
>
> >
>
> > root at host:~# gdb /usr/sbin/libvirtd
>
> > GNU gdb (GDB) 7.4.1-debian
>
> > Copyright (C) 2012 Free Software Foundation, Inc.
>
> > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
>
> > This is free software: you are free to change and redistribute it.
>
> > There is NO WARRANTY, to the extent permitted by law. Type "show copying"
>
> > and "show warranty" for details.
>
> > This GDB was configured as "x86_64-linux-gnu".
>
> > For bug reporting instructions, please see:
>
> > <http://www.gnu.org/software/gdb/bugs/>...
>
> > Reading symbols from /usr/sbin/libvirtd...Reading symbols from /usr/lib/debug/usr/sbin/libvirtd...done.
>
> > done.
>
> > (gdb) run
>
> > Starting program: /usr/sbin/libvirtd
>
> > [Thread debugging using libthread_db enabled]
>
> > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
>
> > [New Thread 0x7ffff45a6700 (LWP 15780)]
>
> > [New Thread 0x7ffff3da5700 (LWP 15781)]
>
> > [New Thread 0x7ffff35a4700 (LWP 15782)]
>
> > [New Thread 0x7ffff2da3700 (LWP 15783)]
>
> > [New Thread 0x7ffff25a2700 (LWP 15784)]
>
> > [New Thread 0x7ffff1da1700 (LWP 15785)]
>
> > [New Thread 0x7ffff15a0700 (LWP 15786)]
>
> > [New Thread 0x7ffff0d9f700 (LWP 15787)]
>
> > [New Thread 0x7ffff059e700 (LWP 15788)]
>
> > [New Thread 0x7fffefd9d700 (LWP 15789)]
>
> > [New Thread 0x7fffeb1b6700 (LWP 15790)]
>
> > 2013-01-07 13:19:39.023+0000: 15790: info : libvirt version: 1.0.1
>
> > 2013-01-07 13:19:39.023+0000: 15790: error : virNWFilterSnoopLeaseFileRefresh:1903 : open("/var/run/libvirt/network/nwfilter.ltmp"): No such file or directory
>
> > 2013-01-07 13:19:42.071+0000: 15790: error : qemuMonitorOpenUnix:300 : monitor socket did not show up: No such file or directory
>
> >
>
> > Program received signal SIGSEGV, Segmentation fault.
>
> > [Switching to Thread 0x7fffeb1b6700 (LWP 15790)]
>
> > 0x00007fffee4d169f in ?? () from /usr/lib/libnetcf.so.1
>
> > (gdb) thread apply all bt
>
> >
>
> > Thread 12 (Thread 0x7fffeb1b6700 (LWP 15790)):
>
> > #0 0x00007fffee4d169f in ?? () from /usr/lib/libnetcf.so.1
>
> > #1 0x00007fffee4d2958 in ?? () from /usr/lib/libnetcf.so.1
>
> > #2 0x00007fffee6e1706 in interfaceOpenInterface (conn=0x684c00, auth=<optimized out>, flags=<optimized out>)
>
> > at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/interface/interface_backend_netcf.c:141
>
> > #3 0x00007ffff782658a in do_open (name=0x7fffed13df3d "qemu:///system", auth=0x0, flags=0) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/libvirt.c:1232
>
> > #4 0x00007ffff78280d6 in virConnectOpen (name=0x7fffed13df3d "qemu:///system") at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/libvirt.c:1358
>
> > #5 0x00007fffed0f8b78 in qemuStartup (privileged=true, callback=<optimized out>, opaque=<optimized out>)
>
> > at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/qemu/qemu_driver.c:930
>
> > #6 0x00007ffff7827e08 in virStateInitialize (privileged=true, callback=0x40e8d0 <daemonInhibitCallback>, opaque=0x671460)
>
> > at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/libvirt.c:813
>
> > #7 0x000000000040e91d in daemonRunStateInit (opaque=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./daemon/libvirtd.c:857
>
> > #8 0x00007ffff77a1ea9 in virThreadHelper (data=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threads-pthread.c:161
>
> > #9 0x00007ffff5a28b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
>
> > #10 0x00007ffff536ba7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
>
> > #11 0x0000000000000000 in ?? ()
>
> >
>
> > Thread 11 (Thread 0x7fffefd9d700 (LWP 15789)):
>
> > #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
>
> > #1 0x00007ffff77a2076 in virCondWait (c=<optimized out>, m=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threads-pthread.c:117
>
> > #2 0x00007ffff77a24ab in virThreadPoolWorker (opaque=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threadpool.c:103
>
> > #3 0x00007ffff77a1ea9 in virThreadHelper (data=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threads-pthread.c:161
>
> > #4 0x00007ffff5a28b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
>
> > #5 0x00007ffff536ba7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
>
> > #6 0x0000000000000000 in ?? ()
>
> >
>
> > Thread 10 (Thread 0x7ffff059e700 (LWP 15788)):
>
> > #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
>
> > #1 0x00007ffff77a2076 in virCondWait (c=<optimized out>, m=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threads-pthread.c:117
>
> > #2 0x00007ffff77a24ab in virThreadPoolWorker (opaque=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threadpool.c:103
>
> > #3 0x00007ffff77a1ea9 in virThreadHelper (data=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threads-pthread.c:161
>
> > #4 0x00007ffff5a28b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
>
> > #5 0x00007ffff536ba7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
>
> > #6 0x0000000000000000 in ?? ()
>
> >
>
> > Thread 9 (Thread 0x7ffff0d9f700 (LWP 15787)):
>
> > #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
>
> > #1 0x00007ffff77a2076 in virCondWait (c=<optimized out>, m=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threads-pthread.c:117
>
> > #2 0x00007ffff77a24ab in virThreadPoolWorker (opaque=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threadpool.c:103
>
> > #3 0x00007ffff77a1ea9 in virThreadHelper (data=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threads-pthread.c:161
>
> > #4 0x00007ffff5a28b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
>
> > #5 0x00007ffff536ba7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
>
> > #6 0x0000000000000000 in ?? ()
>
> >
>
> > Thread 8 (Thread 0x7ffff15a0700 (LWP 15786)):
>
> > #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
>
> > #1 0x00007ffff77a2076 in virCondWait (c=<optimized out>, m=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threads-pthread.c:117
>
> > #2 0x00007ffff77a24ab in virThreadPoolWorker (opaque=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threadpool.c:103
>
> > #3 0x00007ffff77a1ea9 in virThreadHelper (data=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threads-pthread.c:161
>
> > #4 0x00007ffff5a28b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
>
> > #5 0x00007ffff536ba7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
>
> > #6 0x0000000000000000 in ?? ()
>
> >
>
> > Thread 7 (Thread 0x7ffff1da1700 (LWP 15785)):
>
> > #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
>
> > #1 0x00007ffff77a2076 in virCondWait (c=<optimized out>, m=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threads-pthread.c:117
>
> > #2 0x00007ffff77a24ab in virThreadPoolWorker (opaque=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threadpool.c:103
>
> > #3 0x00007ffff77a1ea9 in virThreadHelper (data=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threads-pthread.c:161
>
> > #4 0x00007ffff5a28b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
>
> > #5 0x00007ffff536ba7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
>
> > #6 0x0000000000000000 in ?? ()
>
> >
>
> > Thread 6 (Thread 0x7ffff25a2700 (LWP 15784)):
>
> > #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
>
> > #1 0x00007ffff77a2076 in virCondWait (c=<optimized out>, m=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threads-pthread.c:117
>
> > #2 0x00007ffff77a24ab in virThreadPoolWorker (opaque=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threadpool.c:103
>
> > #3 0x00007ffff77a1ea9 in virThreadHelper (data=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threads-pthread.c:161
>
> > #4 0x00007ffff5a28b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
>
> > #5 0x00007ffff536ba7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
>
> > #6 0x0000000000000000 in ?? ()
>
> >
>
> > Thread 5 (Thread 0x7ffff2da3700 (LWP 15783)):
>
> > ---Type <return> to continue, or q <return> to quit---
>
> > #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
>
> > #1 0x00007ffff77a2076 in virCondWait (c=<optimized out>, m=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threads-pthread.c:117
>
> > #2 0x00007ffff77a24ab in virThreadPoolWorker (opaque=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threadpool.c:103
>
> > #3 0x00007ffff77a1ea9 in virThreadHelper (data=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threads-pthread.c:161
>
> > #4 0x00007ffff5a28b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
>
> > #5 0x00007ffff536ba7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
>
> > #6 0x0000000000000000 in ?? ()
>
> >
>
> > Thread 4 (Thread 0x7ffff35a4700 (LWP 15782)):
>
> > #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
>
> > #1 0x00007ffff77a2076 in virCondWait (c=<optimized out>, m=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threads-pthread.c:117
>
> > #2 0x00007ffff77a24ab in virThreadPoolWorker (opaque=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threadpool.c:103
>
> > #3 0x00007ffff77a1ea9 in virThreadHelper (data=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threads-pthread.c:161
>
> > #4 0x00007ffff5a28b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
>
> > #5 0x00007ffff536ba7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
>
> > #6 0x0000000000000000 in ?? ()
>
> >
>
> > Thread 3 (Thread 0x7ffff3da5700 (LWP 15781)):
>
> > #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
>
> > #1 0x00007ffff77a2076 in virCondWait (c=<optimized out>, m=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threads-pthread.c:117
>
> > #2 0x00007ffff77a24ab in virThreadPoolWorker (opaque=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threadpool.c:103
>
> > #3 0x00007ffff77a1ea9 in virThreadHelper (data=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threads-pthread.c:161
>
> > #4 0x00007ffff5a28b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
>
> > #5 0x00007ffff536ba7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
>
> > #6 0x0000000000000000 in ?? ()
>
> >
>
> > Thread 2 (Thread 0x7ffff45a6700 (LWP 15780)):
>
> > #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
>
> > #1 0x00007ffff77a2076 in virCondWait (c=<optimized out>, m=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threads-pthread.c:117
>
> > #2 0x00007ffff77a24ab in virThreadPoolWorker (opaque=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threadpool.c:103
>
> > #3 0x00007ffff77a1ea9 in virThreadHelper (data=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/threads-pthread.c:161
>
> > #4 0x00007ffff5a28b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
>
> > #5 0x00007ffff536ba7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
>
> > #6 0x0000000000000000 in ?? ()
>
> >
>
> > Thread 1 (Thread 0x7ffff7fe17e0 (LWP 15777)):
>
> > #0 0x00007ffff5360e33 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
>
> > #1 0x00007ffff778fe66 in virEventPollRunOnce () at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/event_poll.c:630
>
> > #2 0x00007ffff778ea4d in virEventRunDefaultImpl () at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/util/event.c:247
>
> > #3 0x00007ffff78896ed in virNetServerRun (srv=0x671460) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./src/rpc/virnetserver.c:1120
>
> > #4 0x000000000040d3ae in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd-libvirt_1.0.1-3-amd64-5jKu7Y/libvirt-1.0.1/./daemon/libvirtd.c:1449
>
> > (gdb)
>
> >
>
>
>
>
>
> --
>
> To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST at lists.debian.org
>
> with a subject of "unsubscribe". Trouble? Contact listmaster at lists.debian.org
More information about the Pkg-libvirt-maintainers
mailing list