draios / sysdig

Linux system exploration and troubleshooting tool with first class support for containers
http://www.sysdig.com/
Other
7.69k stars 728 forks source link

The dev branch is compiled, but the runtime is wrong. #1416

Closed ghost closed 5 years ago

ghost commented 5 years ago

gdb infomation:

Program received signal SIGSEGV, Segmentation fault. 0x0000555555ce8670 in sinsp_parser::reset (this=0x55555683dfd0, evt=0x555556823560) at /home/vikingwu/下载/sysdig-dev/userspace/libsinsp/parsers.cpp:714 714 int64_t res = (int64_t )parinfo->m_val; (gdb) bt

0 0x0000555555ce8670 in sinsp_parser::reset (this=0x55555683dfd0, evt=0x555556823560)

at /home/vikingwu/下载/sysdig-dev/userspace/libsinsp/parsers.cpp:714

1 0x0000555555ce7818 in sinsp_parser::process_event (this=0x55555683dfd0, evt=0x555556823560)

at /home/vikingwu/下载/sysdig-dev/userspace/libsinsp/parsers.cpp:144

2 0x0000555555d0a58b in sinsp::next (this=0x5555568234e0, puevt=0x7fffffffde90)

at /home/vikingwu/下载/sysdig-dev/userspace/libsinsp/sinsp.cpp:1307

3 0x0000555555b7a960 in do_inspect (inspector=0x5555568234e0, cnt=18446744073709551615,

duration_to_tot_ns=0, quiet=false, json=false, do_flush=false, print_progress=false, display_filter=0x0, 
summary_table=std::vector of length 0, capacity 0, formatter=0x7fffffffe270)
at /home/vikingwu/下载/sysdig-dev/userspace/sysdig/sysdig.cpp:602

4 0x0000555555b7d84e in sysdig_init (argc=1, argv=0x7fffffffe4e8)

at /home/vikingwu/下载/sysdig-dev/userspace/sysdig/sysdig.cpp:1594

5 0x0000555555b7e7bf in main (argc=1, argv=0x7fffffffe4e8)

at /home/vikingwu/下载/sysdig-dev/userspace/sysdig/sysdig.cpp:1692
ghost commented 5 years ago

os: Ubuntu18.04

abucodonosor commented 5 years ago

Interesting not sure how you compile it cause is broke :-)

Missing linker flags for curl && tbb , glibc >=2.28 breaks cause missing include

ghost commented 5 years ago

Interesting not sure how you compile it cause is broke :-)

Missing linker flags for curl && tbb , glibc >=2.28 breaks cause missing include

Ubuntu18.04 operating system glibc version is 2.27, can upgrade to 2.28 or later?

ghost commented 5 years ago

Interesting not sure how you compile it cause is broke :-)

Missing linker flags for curl && tbb , glibc >=2.28 breaks cause missing include

I tried to upgrade glibc-2.27 to glibc-2.29, my operating system is now abnormal.

abucodonosor commented 5 years ago

Well, updating just glibc is a bad idea.

See https://github.com/draios/sysdig/issues/1420

ghost commented 5 years ago

This should be a segmentation error caused by my source installation conflict with the source installation. I tried to uninstall the version installed from the source. It has a new problem. I wrote this issue in another issue. see #1423