Coder Social home page Coder Social logo

clam's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

clam's Issues

Signal arrived during cgo execution

Hey!

I've utilized these bindings in my app recently, but about 50% of the time it fails with the following error. I'm not sure if this is a problem in the code or the way clamav was setup/built.

My googling says it's an error thrown in C from either wrong input params, or a signal from somewhere (?) hitting the process.

Any insights you might be able to add?

OS: Alpine 3.7
Go: 1.9.3
Arch: linux/amd64

fatal: morestack on g0
SIGTRAP: trace trap
PC=0x456a12 m=5 sigcode=128
signal arrived during cgo execution

goroutine 24 [syscall, locked to thread]:
runtime.cgocall(0x62c890, 0xc4200efab0, 0x6cc895)
        /usr/local/go/src/runtime/cgocall.go:132 +0xe4 fp=0xc4200efa70 sp=0xc4200efa30 pc=0x403324
github.com/eaigner/clam._Cfunc_cl_load(0x25b3b40, 0x25bcd60, 0xc420115758, 0x200a, 0x0)
        github.com/eaigner/clam/_obj/_cgo_gotypes.go:125 +0x4d fp=0xc4200efab0 sp=0xc4200efa70 pc=0x61ddfd
github.com/eaigner/clam.(*clEngine).Compile.func1(0x25b3b40, 0x25bcd60, 0xc420115758, 0x200a, 0xc4200efbc8)
        /go/src/github.com/eaigner/clam/engine.go:85 +0x7c fp=0xc4200efae8 sp=0xc4200efab0 pc=0x61ec8c
github.com/eaigner/clam.(*clEngine).Compile(0xc42039d980, 0x6c1dc3, 0x3, 0x0, 0x0)
        /go/src/github.com/eaigner/clam/engine.go:85 +0x139 fp=0xc4200efb90 sp=0xc4200efae8 pc=0x61e3c9

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.