lvm2/device-mapper from HEAD on Ac

Elan Ruusamäe glen at delfi.ee
Tue May 23 21:04:39 CEST 2006


nevermind. fixed

"~/tmp/cvsOzV8x5" 14L, 837C written
Checking in device-mapper-klibc.patch;
/cvsroot/SOURCES/device-mapper-klibc.patch,v  <--  device-mapper-klibc.patch
new revision: 1.4; previous revision: 1.3
done



On Tuesday 23 May 2006 21:21, Elan Ruusamäe wrote:
> anyone else encounter this?
>
> 21:19:22 root[pts/6]@wintersunset ~# gdb --args lvdisplay
> GNU gdb 6.4
> Copyright 2005 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are welcome to change it and/or distribute copies of it under certain
> conditions. Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i686-pld-linux"...Using host libthread_db
> library "/lib/tls/libthread_db.so.1".
>
> (gdb) run
> Starting program: /sbin/lvdisplay
> File descriptor 3 left open
> File descriptor 4 left open
> File descriptor 5 left open
>
> Program received signal SIGSEGV, Segmentation fault.
> 0xb7e383a7 in _IO_vfscanf () from /lib/tls/libc.so.6
> (gdb) bt
> #0  0xb7e383a7 in _IO_vfscanf () from /lib/tls/libc.so.6
> #1  0xb7e4532d in vsscanf () from /lib/tls/libc.so.6
> #2  0xb7e409dd in sscanf () from /lib/tls/libc.so.6
> #3  0xb7fc75a3 in _get_proc_number (file=0xb7fcba08 "/proc/devices",
> name=0xb7fcba16 "device-mapper", number=0x0) at ioctl/libdm-iface.c:156
> #4  0xb7fc7b86 in _create_dm_bitset () at ioctl/libdm-iface.c:269
> #5  0xb7fc7d98 in _open_control () at ioctl/libdm-iface.c:312
> #6  0xb7fc9f85 in dm_task_run (dmt=0x80e6a00) at ioctl/libdm-iface.c:1625
> #7  0xb7fc8020 in _check_version (version=0xbf8f94f0
> "žÌû·e(Â\006\200\225\217¿\båÿ·\026Ç\004\b³", size=64, log_suppress=0) at
> ioctl/libdm-iface.c:790
> #8  0xb7fc80c7 in dm_check_version () at ioctl/libdm-iface.c:812
> #9  0xb7fc0332 in dm_task_create (type=6) at libdm-common.c:104
> #10 0x080a1d58 in _setup_task (name=0x0,
>     uuid=0x80e4dd8
> "LVM-25DAUCuFGPO7S9HL7pbvJQp4Npg9AbOxIG4z5nVBm1wZDB2yMfQg7bWatblreDHs",
> event_nr=0x0, task=0) at activate/dev_manager.c:101
> #11 0x080a1e27 in _info_run (name=0x0, dlid=0x0, info=0xbf8f96b0,
> mknodes=0, with_open_count=1, mem=0x0, uuid_out=0x0) at
> activate/dev_manager.c:129
> #12 0x080a203c in _info (name=0x80e4dc8 "lvm-mp3",
>     dlid=0x80e4dd8
> "LVM-25DAUCuFGPO7S9HL7pbvJQp4Npg9AbOxIG4z5nVBm1wZDB2yMfQg7bWatblreDHs",
> mknodes=0, with_open_count=1, info=0xbf8f96b0, mem=0x0, uuid_out=0x0) at
> activate/dev_manager.c:161 #13 0x080a2105 in dev_manager_info (mem=0x0,
> name=0x0, lv=0x0, with_mknodes=0, with_open_count=0, info=0x0) at
> activate/dev_manager.c:189
> #14 0x0806f0c3 in _lv_info (cmd=0x80d1188, lv=0x80e4b48, with_mknodes=0,
> info=0xbf8f97a0, with_open_count=0) at activate/activate.c:371
> #15 0x0806f19c in lv_info (cmd=0x0, lv=0x0, info=0x0, with_open_count=0) at
> activate/activate.c:393 #16 0x0807b08d in lvdisplay_full (cmd=0x80d1188,
> lv=0x80e4b48, handle=0x0) at display/display.c:368 #17 0x08056653 in
> _lvdisplay_single (cmd=0x80d1188, lv=0x80e4b48, handle=0x0) at
> lvdisplay.c:27 #18 0x08064b6b in process_each_lv_in_vg (cmd=0x80d1188,
> vg=0x1, arg_lvnames=0xbf8f98a0, tags=0xbf8f98c0, handle=0x0,
> process_single=0x80565d0 <_lvdisplay_single>) at toollib.c:150 #19
> 0x08064ec8 in process_each_lv (cmd=0x80d1188, argc=0, argv=0xbf8f9a18,
> lock_type=33, handle=0x0, process_single=0x80565d0 <_lvdisplay_single>) at
> toollib.c:342 #20 0x0805681a in lvdisplay (cmd=0x80d1188, argc=0,
> argv=0xbf8f9a18) at lvdisplay.c:57 #21 0x0805a42f in _run_command
> (cmd=0x80d1188, argc=0, argv=0xbf8f9a18) at lvmcmdline.c:872 #22 0x0805b620
> in lvm2_main (argc=1, argv=0xbf8f9a14, is_static=0) at lvmcmdline.c:1432
> #23 0x0806e85f in main (argc=0, argv=0x0) at lvm.c:20
> (gdb)

-- 
glen


More information about the pld-devel-en mailing list