On Sat, Nov 26, 2011 at 10:17:17PM +0100, Achim Schaefer wrote: > On 11/26/2011 11:09 AM, Guido Günther wrote: > >Can you try to produce a backtrace using gdb and the libvirt-dbg > >package? Cheers, -- Guido > here you go:
This looks like a problem in libudevs udevGetDMIData. Could you look at the variable and check if the paramters passed in by libvirt are sane. Cheers, -- Guido > > root@data:/usr/sbin# gdb libvirtd > GNU gdb (GDB) 7.3-debian > Copyright (C) 2011 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] > WARNING: gnome-keyring:: no socket to connect to > [New Thread 0x7ffff3080700 (LWP 6699)] > [New Thread 0x7ffff287f700 (LWP 6700)] > [New Thread 0x7ffff207e700 (LWP 6701)] > [New Thread 0x7ffff187d700 (LWP 6702)] > [New Thread 0x7ffff107c700 (LWP 6703)] > [New Thread 0x7ffff087b700 (LWP 6704)] > [New Thread 0x7ffff007a700 (LWP 6705)] > [New Thread 0x7fffef879700 (LWP 6706)] > [New Thread 0x7fffef078700 (LWP 6707)] > [New Thread 0x7fffee877700 (LWP 6708)] > [New Thread 0x7fffec299700 (LWP 6709)] > 2011-11-26 22:16:01.081: 6709: info : libvirt version: 0.9.7 > 2011-11-26 22:16:01.081: 6709: error : udev_set_log_fn:336 : custom > logging function 0x7fffec298af8 registered > > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 0x7fffec299700 (LWP 6709)] > 0x00007ffff4842038 in _IO_vfprintf_internal (s=0x7fffec297f30, > format=0x7ffff736ad38 "device %p has devpath '%s'\n", > ap=0x7fffec2980e8) at vfprintf.c:1620 > 1620 vfprintf.c: No such file or directory. > in vfprintf.c > (gdb) bt > #0 0x00007ffff4842038 in _IO_vfprintf_internal (s=0x7fffec297f30, > format=0x7ffff736ad38 "device %p has devpath '%s'\n", > ap=0x7fffec2980e8) at vfprintf.c:1620 > #1 0x00007ffff48e74bc in *__GI___vasprintf_chk > (result_ptr=0x7fffec298110, flags=1, format=0x7ffff736ad38 "device > %p has devpath '%s'\n", args=0x7fffec2980e8) at vasprintf_chk.c:68 > #2 0x00007ffff77f87f4 in vasprintf (__ap=<optimized out>, > __fmt=<optimized out>, __ptr=0x7fffec298110) at > /usr/include/x86_64-linux-gnu/bits/stdio2.h:199 > #3 virVasprintf (strp=0x7fffec298110, fmt=<optimized out>, > list=<optimized out>) at > /build/buildd-libvirt_0.9.7-2-amd64-OcBi6O/libvirt-0.9.7/./src/util/util.c:1679 > #4 0x00007ffff77e5638 in virLogMessage (category=0x7ffff736ad0a > "../libudev/libudev-device.c", priority=4, funcname=0x7ffff736afa0 > "udev_device_new_from_syspath", linenr=718, flags=0, fmt=<optimized > out>) > at > /build/buildd-libvirt_0.9.7-2-amd64-OcBi6O/libvirt-0.9.7/./src/util/logging.c:738 > #5 0x00007ffff736353f in ?? () from /lib/x86_64-linux-gnu/libudev.so.0 > #6 0x00007ffff7365aaa in udev_device_new_from_syspath () from > /lib/x86_64-linux-gnu/libudev.so.0 > #7 0x00000000004c91b7 in udevGetDMIData (data=0x7fffe4010fe8) at > /build/buildd-libvirt_0.9.7-2-amd64-OcBi6O/libvirt-0.9.7/./src/node_device/node_device_udev.c:1497 > #8 udevSetupSystemDev () at > /build/buildd-libvirt_0.9.7-2-amd64-OcBi6O/libvirt-0.9.7/./src/node_device/node_device_udev.c:1586 > #9 udevDeviceMonitorStartup (privileged=<optimized out>) at > /build/buildd-libvirt_0.9.7-2-amd64-OcBi6O/libvirt-0.9.7/./src/node_device/node_device_udev.c:1697 > #10 0x00007ffff784fe3e in virStateInitialize (privileged=1) at > /build/buildd-libvirt_0.9.7-2-amd64-OcBi6O/libvirt-0.9.7/./src/libvirt.c:850 > #11 0x00000000004224d1 in daemonRunStateInit (opaque=0x74dcf0) at > /build/buildd-libvirt_0.9.7-2-amd64-OcBi6O/libvirt-0.9.7/./daemon/libvirtd.c:1144 > #12 0x00007ffff77f5722 in virThreadHelper (data=<optimized out>) at > /build/buildd-libvirt_0.9.7-2-amd64-OcBi6O/libvirt-0.9.7/./src/util/threads-pthread.c:157 > #13 0x00007ffff4f8fb40 in start_thread (arg=<optimized out>) at > pthread_create.c:304 > #14 0x00007ffff48d336d in clone () at > ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 > #15 0x0000000000000000 in ?? () > (gdb) > -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

