Giter Club home page Giter Club logo

ruby-nflog's People

Stargazers

 avatar

Watchers

 avatar  avatar

ruby-nflog's Issues

Segfault with a lot of traffic

Probably a race condition occurring in the callback handling of FFI.

Program received signal SIGSEGV, Segmentation fault.                                                                                                                                                                                  [40/3874]
0x00007ffff7a88d59 in st_lookup () from /usr/lib/libruby.so.2.1
(gdb) bt
#0  0x00007ffff7a88d59 in st_lookup () from /usr/lib/libruby.so.2.1
#1  0x00007ffff7ad3236 in ?? () from /usr/lib/libruby.so.2.1
#2  0x00007ffff7add45c in ?? () from /usr/lib/libruby.so.2.1
#3  0x00007ffff60c6c25 in invoke_callback () from /root/.gem/ruby/2.1.0/extensions/x86_64-linux/2.1.0/ffi-1.9.3/ffi_c.so
#4  0x00007ffff79d2aae in rb_rescue2 () from /usr/lib/libruby.so.2.1
#5  0x00007ffff60c64d8 in callback_invoke () from /root/.gem/ruby/2.1.0/extensions/x86_64-linux/2.1.0/ffi-1.9.3/ffi_c.so
#6  0x00007ffff5e7efdf in ffi_closure_unix64_inner () from /usr/lib/libffi.so.6
#7  0x00007ffff5e7f358 in ffi_closure_unix64 () from /usr/lib/libffi.so.6
#8  0x00007ffff5847377 in ?? () from /usr/lib/libnetfilter_log.so
#9  0x00007ffff5a4d851 in nfnl_handle_packet () from /usr/lib/libnfnetlink.so
#10 0x00007ffff5e7f1f0 in ffi_call_unix64 () from /usr/lib/libffi.so.6
#11 0x00007ffff5e7ec58 in ffi_call () from /usr/lib/libffi.so.6
#12 0x00007ffff60d39b6 in rbffi_CallFunction () from /root/.gem/ruby/2.1.0/extensions/x86_64-linux/2.1.0/ffi-1.9.3/ffi_c.so
#13 0x00007ffff60c47e6 in custom_trampoline () from /root/.gem/ruby/2.1.0/extensions/x86_64-linux/2.1.0/ffi-1.9.3/ffi_c.so
#14 0x00007ffff7ad2ddc in ?? () from /usr/lib/libruby.so.2.1
#15 0x00007ffff7ad5d4b in ?? () from /usr/lib/libruby.so.2.1
#16 0x00007ffff7adabd8 in ?? () from /usr/lib/libruby.so.2.1
#17 0x00007ffff7ae478f in rb_iseq_eval_main () from /usr/lib/libruby.so.2.1
#18 0x00007ffff79d0cbf in ?? () from /usr/lib/libruby.so.2.1
#19 0x00007ffff79d261d in ruby_exec_node () from /usr/lib/libruby.so.2.1
#20 0x00007ffff79d433e in ruby_run_node () from /usr/lib/libruby.so.2.1
#21 0x00000000004008ab in ?? ()
#22 0x00007ffff75dd040 in __libc_start_main () from /usr/lib/libc.so.6
#23 0x00000000004008d9 in _start ()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.