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

dfSummary crash in Centos 7 #78

Open
pfv07 opened this issue Jul 25, 2019 · 12 comments
Open

dfSummary crash in Centos 7 #78

pfv07 opened this issue Jul 25, 2019 · 12 comments

Comments

@pfv07
Copy link

pfv07 commented Jul 25, 2019

hi.
I try to execute the example of function but I have this error:
R: magick/exception.c:968: ThrowMagickExceptionList: Assertion `exception->signature == 0xabacadabUL' failed.
Aborted (core dumped)

@pfv07
Copy link
Author

pfv07 commented Jul 29, 2019

hi,make the next actions:
upgrade to ImageMagick-7.0.8-57.x86_64
install : ImageMagick-debuginfo-7.0.8-57.x86_64
with that, the error is:

summarytools::dfSummary(iris)
*** caught segfault ***
address (nil), cause 'unknown'
Traceback:
1: magick_image_readpath(path, density, depth, strip)
2: image_read(png_loc)
3: encode_graph(column_data, "histogram", graph.magnif)
4: crunch_numeric(column_data, is.character(barcode_type))
5: summarytools::dfSummary(iris)

Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Selection:

@dcomtois
Copy link
Owner

Hello,

Could you try again using the "dev-current" branch on GitHub? You'll find the installation instructions on this page: https://github.com/dcomtois/summarytools/tree/dev-current

Hope this helps, let me know pls! Thx

@pfv07
Copy link
Author

pfv07 commented Aug 15, 2019

Hi.
I install the git-dev-current version, but I have the same crash

packageVersion("summarytools") [1] ‘0.9.4’
`

options(device = "X11")
library(summarytools)
view(dfSummary(iris))

*** caught segfault ***
address (nil), cause 'unknown'

Traceback:
1: magick_image_readpath(enc2native(path), density, depth, strip)
2: image_read(png_loc)
3: encode_graph(column_data, "histogram", graph.magnif)
4: crunch_numeric(column_data, is.character(barcode_type))
5: dfSummary(iris)
6: view(dfSummary(iris))

Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace

`
tks for you help

@dcomtois
Copy link
Owner

dcomtois commented Aug 18, 2019

Hi,

What happens if you don't use options(device = "X11")?

@pfv07
Copy link
Author

pfv07 commented Aug 19, 2019

Hi.
I have the same error without options(device="X11"), sometimes RStudio can't resize the plot window and i need open in external view.
My OS is:
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-957.27.2.el7.x86_64
Architecture: x86-64

@dcomtois
Copy link
Owner

Hello,

Just to make sure, have you installed 'ImageMagick-c++-devel' as explained on the main summarytools GitHub page? If you did so and still have the problem, there is a branch you could try which deals a bit differently with checks on device capabilities. After uninstalling your current summarytools version, pls try:

devtools::install_github("dcomtois/summarytools", ref = "dev-no-x11-check")

... and let me know if it helps. Thx.

@pfv07
Copy link
Author

pfv07 commented Aug 26, 2019

Hi.
I installed the summarytools 0.8.8 and the function dfsummary works !!!
the problem is in the versions 0.9.x

@dcomtois
Copy link
Owner

dcomtois commented Sep 6, 2019

I'm working on a solution... will keep you posted.

@dcomtois
Copy link
Owner

dcomtois commented Sep 7, 2019

If you could try re-installing this version, I believe it could work:

devtools::install_github("dcomtois/summarytools", ref = "dev-current")

Pls let me know how it goes... Thx!

@pfv07
Copy link
Author

pfv07 commented Sep 7, 2019

Hi, no I have the same crash

@dcomtois
Copy link
Owner

Hmm this is a tough one... Tried installing Cent OS 7 (Gnome) on a VM but it's very unstable... Most likely the issue lies outside of our reach (something having to do with the OS + Magick). I tried googling "centos 7 magick segmentation fault" and saw several forum threads that could be helpful.

@dcomtois
Copy link
Owner

Hi, just doing a round of cleanup on older issues, is the problem still present?

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