Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exception.h:118: exception_handler: Assertion `FALSE' failed. #46

Closed
gwillem opened this issue Nov 18, 2018 · 6 comments
Closed

exception.h:118: exception_handler: Assertion `FALSE' failed. #46

gwillem opened this issue Nov 18, 2018 · 6 comments

Comments

@gwillem
Copy link
Contributor

gwillem commented Nov 18, 2018

My project ran fine with Go 1.10.2. Since upgrading to Go 1.11.2, I see random crashes, after 30-60 minutes of runtime (several million scans):

exception.h:118: exception_handler: Assertion `FALSE' failed.
SIGABRT: abort
PC=0x80d248 m=16 sigcode=18446744073709551610

Using Yara 3.7.1. Line 118 reads:

    assert(FALSE);  // We should not reach this point.

Shall I report this with Yara instead? My build script:

export YARA_SRC=/home/willem/src/yara-3.7.1
export CGO_CFLAGS="-I${YARA_SRC}/libyara/include"
export CGO_LDFLAGS="-L${YARA_SRC}/libyara/.libs -lyara -lm" # 
go build --ldflags '-w -s -extldflags "-static"' -tags 'yara_static yara3.7 no_pkg_config'

Thanks!

@hillu
Copy link
Owner

hillu commented Nov 19, 2018

The assert(FALSE) was removed in VirusTotal/yara#813. Does your problem go away if you apply the single patch against your yara-3.7.1 chechout or if you upgrade YARA to 3.8.1?

@hillu
Copy link
Owner

hillu commented Nov 26, 2018

@gwillem ping?

@gwillem
Copy link
Contributor Author

gwillem commented Nov 26, 2018

Thanks for your reply! It's on my todo, but am not sure when I'll get to it (deadlines...). I've fixed it temporarily by reverting to Go 1.10.

@hillu
Copy link
Owner

hillu commented Jan 5, 2019

@gwillem ping?

@gwillem
Copy link
Contributor Author

gwillem commented Jan 8, 2019

It does not happen with Yara 3.8.1! Thanks for following up.

@gwillem gwillem closed this as completed Jan 8, 2019
@hillu
Copy link
Owner

hillu commented Jan 9, 2019

Thank you. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants