OpenCloudOS / nettrace

nettrace is a eBPF-based tool to trace network packet and diagnose network problem.
Other
326 stars 80 forks source link

跟踪过程中出现段错误 #85

Open lyqfjcs opened 9 months ago

lyqfjcs commented 9 months ago
       PID: 29614 (nettrace)
       UID: 0 (root)
       GID: 0 (root)
    Signal: 11 (SEGV)
 Timestamp: Mon 2024-01-15 16:47:11 CST (1h 54min ago)

Command Line: nettrace --port 22 Executable: /usr/bin/nettrace Control Group: /user.slice/user-0.slice/session-17.scope Unit: session-17.scope Slice: user-0.slice Session: 17 Owner UID: 0 (root) Boot ID: e32ffbd8114c4132a683e4c2e8025092 Machine ID: 397532daeca84efe86a44173f013997c Hostname: hg7380-59-1.test.test Storage: /var/lib/systemd/coredump/core.nettrace.0.e32ffbd8114c4132a683e4c2e8025092.29614.1705308431000000000000.lz4 Message: Process 29614 (nettrace) of user 0 dumped core.

            Stack trace of thread 29614:
            #0  0x0000000000409401 tl_poll_handler (/usr/bin/nettrace)
            #1  0x00000000004145fb perf_buffer__process_record (/usr/bin/nettrace)
            #2  0x000000000041f1c1 bpf_perf_event_read_simple (/usr/bin/nettrace)
            #3  0x000000000041f402 perf_buffer__poll (/usr/bin/nettrace)
            #4  0x00000000004045ad perf_output_cond (/usr/bin/nettrace)
            #5  0x00000000004011fc main (/usr/bin/nettrace)
            #6  0x000000000044e3f8 __libc_start_main (/usr/bin/nettrace)
            #7  0x00000000004016ea _start (/usr/bin/nettrace)
menglongdong commented 9 months ago

感谢反馈!能否提供一下你这里生成的coredump文件?以及当前的nettrace用的是哪个版本呢?