You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wasn't able to replicate it. Does it happen on many hosts or only on a single one? Are you able to run valgrind and send us the output? Googling I found this kind of segfault on malloc may be due to heap corruption.
Ran it with basic valgrind and didn't last more than few minutes/seconds, please find attached.
This is a HP Z800 Workstation with 12 cores and 32G RAM.
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.
RPM VERSION: sysdig-0.8.0-1.x86_64
KERNEL: 2.6.32-431.el6.x86_64
OS: Red Hat Enterprise Linux Server release 6.5 (Santiago)
WHAT I DID:
sudo gdb --args sysdig -G 15 -W 2 -w /tmp/UNIX/testTrialRead.scap
(gdb) run
Starting program: /usr/bin/sysdig -G 15 -W 2 -w /tmp/UNIX/testTrialRead.scap
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
0x0000003a14878fe4 in _int_malloc () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install sysdig-0.8.0-1.x86_64
(gdb)
(gdb) bt
#0 0x0000003a14878fe4 in _int_malloc () from /lib64/libc.so.6
#1 0x0000003a1487a6b1 in malloc () from /lib64/libc.so.6
#2 0x00000031b72bd09d in operator new(unsigned long) () from /usr/lib64/libstdc++.so.6
#3 0x00000031b729c3c9 in std::basic_string<char, std::char_traits, std::allocator >::Rep::S_create(unsigned long, unsigned long, std::allocator const&) () from /usr/lib64/libstdc++.so.6
#4 0x00000031b729d19b in std::basic_string<char, std::char_traits, std::allocator >::Rep::M_clone(std::allocator const&, unsigned long) () from /usr/lib64/libstdc++.so.6
#5 0x00000031b729d5ec in std::basic_string<char, std::char_traits, std::allocator >::reserve(unsigned long) () from /usr/lib64/libstdc++.so.6
#6 0x00000031b729dabf in std::basic_string<char, std::char_traits, std::allocator >::append(std::basic_string<char, std::char_traits, std::allocator > const&) () from /usr/lib64/libstdc++.so.6
#7 0x00000000005062d5 in sinsp_threadinfo::compute_program_hash() ()
#8 0x0000000000509630 in sinsp_thread_manager::add_thread(sinsp_threadinfo&, bool) ()
#9 0x00000000005034a7 in sinsp_parser::parse_clone_exit(sinsp_evt*) ()
#10 0x0000000000503f7b in sinsp_parser::process_event(sinsp_evt*) ()
#11 0x000000000050c530 in sinsp::next(sinsp_evt**) ()
#12 0x0000000000475ce6 in do_inspect(sinsp, unsigned long, int, bool, bool, bool, bool, sinsp_filter, std::vector<summary_table_entry, std::allocator<summary_table_entry> >, sinsp_evt_formatter) ()
#13 0x0000000000478e05 in sysdig_init(int, char**) ()
#14 0x0000000000461fd0 in main ()
The text was updated successfully, but these errors were encountered: