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

Segfault on some URLs #5

Open
josswright opened this issue May 15, 2018 · 0 comments
Open

Segfault on some URLs #5

josswright opened this issue May 15, 2018 · 0 comments

Comments

@josswright
Copy link

josswright commented May 15, 2018

I'm not sure if this is a problem with the R package or the underlying library.

For some URLs, detect_language (and detect_language_multi) consistently cause a segfault.

> detect_language( url( "http://thehill.com" ), plain_text=FALSE )

 *** caught segfault ***
address 0x7f4dc86b66a4, cause 'invalid permissions'

Traceback:
 1: detect_language_cc(as_string(text), plain_text, lang_code)
 2: detect_language(url("http://thehill.com"), plain_text = FALSE)

I also get this error on http://qq.com.

Platform details:
R version 3.5.0 (2018-04-23) -- "Joy in Playing"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

Running under Arch Linux, and the most recent cld2 installed via devtools.

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

1 participant