Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

csysdig segfaults #843

Closed
madchap opened this issue May 19, 2017 · 8 comments
Closed

csysdig segfaults #843

madchap opened this issue May 19, 2017 · 8 comments
Labels

Comments

@madchap
Copy link

madchap commented May 19, 2017

Opensuse tumbleweed, kernel 4.11 (but was also the case in 4.10.x).

Regular sysdig works.

segfault.zip

strace attached.

@madchap
Copy link
Author

madchap commented May 19, 2017

ldd

$ ldd $(which csysdig)
        linux-vdso.so.1 (0x00007ffd77b13000)
        libncurses.so.6 => /lib64/libncurses.so.6 (0x00007f63585f5000)
        libtinfo.so.6 => /lib64/libtinfo.so.6 (0x00007f63583cb000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f63581b5000)
        libjsoncpp.so.11 => /usr/lib64/libjsoncpp.so.11 (0x00007f6357f80000)
        libjq.so.1 => /usr/lib64/libjq.so.1 (0x00007f6357d3a000)
        libb64.so.0 => /usr/lib64/libb64.so.0 (0x00007f6357b35000)
        libcurl.so.4 => /usr/lib64/libcurl.so.4 (0x00007f63578b3000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f63576ab000)
        libanl.so.1 => /lib64/libanl.so.1 (0x00007f63574a7000)
        libssl.so.1.0.0 => /lib64/libssl.so.1.0.0 (0x00007f635723d000)
        libcrypto.so.1.0.0 => /lib64/libcrypto.so.1.0.0 (0x00007f6356dd7000)
        liblua.so.5.1 => /usr/lib64/liblua.so.5.1 (0x00007f6356ba4000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f6356986000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f63565fd000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f63562ea000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f63560d2000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f6355d2d000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f6355b27000)
        libonig.so.2 => /usr/lib64/libonig.so.2 (0x00007f63558be000)
        /lib64/ld-linux-x86-64.so.2 (0x0000556579652000)
        libnghttp2.so.14 => /usr/lib64/libnghttp2.so.14 (0x00007f6355697000)
        libidn2.so.0 => /usr/lib64/libidn2.so.0 (0x00007f635547a000)
        libssh2.so.1 => /usr/lib64/libssh2.so.1 (0x00007f635524c000)
        libpsl.so.5 => /usr/lib64/libpsl.so.5 (0x00007f635503e000)
        libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 (0x00007f6354df1000)
        liblber-2.4.so.2 => /usr/lib64/liblber-2.4.so.2 (0x00007f6354be2000)
        libldap-2.4.so.2 => /usr/lib64/libldap-2.4.so.2 (0x00007f6354995000)
        libunistring.so.2 => /usr/lib64/libunistring.so.2 (0x00007f6354624000)
        libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00007f6354349000)
        libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00007f6354114000)
        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f6353f10000)
        libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 (0x00007f6353d03000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f6353aed000)
        libsasl2.so.3 => /usr/lib64/libsasl2.so.3 (0x00007f63538d0000)
        libkeyutils.so.1 => /usr/lib64/libkeyutils.so.1 (0x00007f63536cc000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f63534a3000)
        libpcre.so.1 => /usr/lib64/libpcre.so.1 (0x00007f6353230000)

readelf

$ readelf -d $(which csysdig) |grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libncurses.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libtinfo.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libz.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libjsoncpp.so.11]
 0x0000000000000001 (NEEDED)             Shared library: [libjq.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libb64.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libcurl.so.4]
 0x0000000000000001 (NEEDED)             Shared library: [librt.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libanl.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libssl.so.1.0.0]
 0x0000000000000001 (NEEDED)             Shared library: [libcrypto.so.1.0.0]
 0x0000000000000001 (NEEDED)             Shared library: [liblua.so.5.1]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]

rpm packages installed

$ rpm -qa |grep sysdig
rpm -qa |grep sysdig
sysdig-0.16.0-1.3.x86_64
sysdig-kmp-default-0.16.0_k4.11.0_1-1.3.x86_64

@bogdanr
Copy link

bogdanr commented Dec 8, 2017

I also have this issue.
If I run csysdig --raw it works.
I have version 0.19.1

@prein
Copy link

prein commented Apr 15, 2020

I'm observing csysdig segfaults when trying to read a capture file taken on another system (using sysdig). All OS Ubuntu / Debian. The capture was taken with sysdig 0.8.0, it segfaults when attempted read with csysdig 0.26.4. It loads OK using csysdig 0.19.1 as well as 0.24.1

@DavidWHodgins
Copy link

csysdig from sysdig-0.26.6-1.1.mga7 on Mageia 7 also segfaulting, also works with --raw.
compressed gdb backtrace attached.
logfile.txt.gz

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Feb 24, 2023
@DavidWHodgins
Copy link

Still occurs with csysdig from sysdig-0.27.1-4.mga8

@github-actions github-actions bot removed the stale label Feb 25, 2023
@therealbobo
Copy link
Contributor

Hi @DavidWHodgins! Have you tried the latest release? 🤔

@github-actions
Copy link

github-actions bot commented Aug 3, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Aug 3, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants