Package: libcap-ng0
Version: 0.6.6-1
Severity: important

The issue about memset is back . I used gcc-4.6.real (Debian 4.6.0-14) 4.6.1 
20110616 (prerelease).
I rebuild the package locally first with dpkg-buildpackage -rfakeroot -b -uc 
-us then make; make install
to get the debugging symbols (using the previous debian generated makefiles).

filecap backtrace:
eading symbols from /usr/bin/filecap...done.
(gdb) r
Starting program: /usr/bin/filecap 

Program received signal SIGSEGV, Segmentation fault.
0x40039f78 in init () at cap-ng.c:152
152             memset(&m.hdr, 0, sizeof(m.hdr));
(gdb) bt full
#0  0x40039f78 in init () at cap-ng.c:152
No locals.
#1  0x4003a18c in capng_clear (set=CAPNG_SELECT_BOTH) at cap-ng.c:176
No locals.
#2  0x40000ba8 in check_file (fpath=0x40171050 "/usr/sbin/NetworkManager", 
sb=0xbeffe4d0, typeflag_unused=0, s_unused=0xbefff62c) at filecap.c:56
        rc = 36553
        fd = 6
#3  0x400faed8 in process_entry (data=0xbefff618, dir=0xbeffe57c, 
name=0x401720b3 "NetworkManager", namlen=<value optimized out>, d_type=8)
    at ftw.c:470
        st = {st_dev = 45857, __pad1 = 0, st_ino = 36553, st_mode = 33261, 
st_nlink = 1, st_uid = 0, st_gid = 0, st_rdev = 0, __pad2 = 0, 
          st_size = 718376, st_blksize = 4096, st_blocks = 1408, st_atim = 
{tv_sec = 1309057780, tv_nsec = 380737313}, st_mtim = {
            tv_sec = 1306726376, tv_nsec = 0}, st_ctim = {tv_sec = 1309055517, 
tv_nsec = 529174812}, __unused4 = 0, __unused5 = 0}
        result = <value optimized out>
        flag = <value optimized out>
        new_buflen = <value optimized out>
        statres = <value optimized out>
#4  0x400fb1ec in ftw_dir (data=0xbefff618, st=<value optimized out>, 
old_dir=<value optimized out>) at ftw.c:546
        dir = {stream = 0x40172058, streamfd = 5, content = 0x0}
        d = 0x401720a0
        previous_base = 5
        result = 0
        startp = <value optimized out>
        __PRETTY_FUNCTION__ = "ftw_dir"
#5  0x400fb950 in ftw_startup (dir=<value optimized out>, is_nftw=<value 
optimized out>, func=<value optimized out>, 
    descriptors=<value optimized out>, flags=1) at ftw.c:772
        name = 0x40171050 "/usr/sbin/NetworkManager"
        data = {dirstreams = 0xbeffe5b0, actdir = 1, maxdir = 1024, dirbuf = 
0x40171050 "/usr/sbin/NetworkManager", dirbufsize = 4096, ftw = {
            base = 10, level = 1}, flags = 1, cvt_arr = 0x4015340c, func = 
0x40000b4c <check_file>, dev = 45857, known_objects = 0x0}
        st = {st_dev = 45857, __pad1 = 0, st_ino = 175, st_mode = 16877, 
st_nlink = 2, st_uid = 0, st_gid = 0, st_rdev = 0, __pad2 = 0, 
          st_size = 12288, st_blksize = 4096, st_blocks = 24, st_atim = {tv_sec 
= 1309059829, tv_nsec = 693237324}, st_mtim = {
            tv_sec = 1309057020, tv_nsec = 388549812}, st_ctim = {tv_sec = 
1309057020, tv_nsec = 388549812}, __unused4 = 0, __unused5 = 0}
        result = 1075253328
        cwdfd = <value optimized out>
        cwd = 0x0
        cp = <value optimized out>
---Type <return> to continue, or q <return> to quit---
#6  0x400fbaa8 in __new_nftw (path=0x400238c8 "\001", func=<value optimized 
out>, descriptors=0, flags=1073889224) at ftw.c:856
No locals.
#7  0x4000106c in main (argc=1, argv=0xbefff864) at filecap.c:154
        path_env = 0xbeffff2a 
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
        path = 0x40171008 "/usr/local/sbin"
        dir = 0x40171027 "/usr/sbin"
        sbuf = {st_dev = 0, __pad1 = 36800, st_ino = 1073909688, st_mode = 0, 
st_nlink = 1073909712, st_uid = 0, st_gid = 0, st_rdev = 0, 
          __pad2 = 0, st_size = 0, st_blksize = 0, st_blocks = 0, st_atim = 
{tv_sec = 0, tv_nsec = 1073909704}, st_mtim = {tv_sec = 0, 
            tv_nsec = 0}, st_ctim = {tv_sec = 0, tv_nsec = 0}, __unused4 = 0, 
__unused5 = 0}
        nftw_flags = 1
        i = 1073746516


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: armel (armv7l)

Kernel: Linux 3.0.0-rc4-a101-initramfs-11146-ga699455-dirty (PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libcap-ng0 depends on:
ii  libc6                         2.13-7     Embedded GNU C Library: Shared lib

libcap-ng0 recommends no packages.

libcap-ng0 suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to