summarytools icon indicating copy to clipboard operation
summarytools copied to clipboard

dfSummary crash in Centos 7

Open pfv07 opened this issue 6 years ago • 12 comments

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 avatar Jul 25 '19 05:07 pfv07

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:

pfv07 avatar Jul 29 '19 04:07 pfv07

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

dcomtois avatar Aug 15 '19 01:08 dcomtois

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

pfv07 avatar Aug 15 '19 15:08 pfv07

Hi,

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

dcomtois avatar Aug 18 '19 01:08 dcomtois

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

pfv07 avatar Aug 19 '19 18:08 pfv07

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.

dcomtois avatar Aug 25 '19 00:08 dcomtois

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

pfv07 avatar Aug 26 '19 20:08 pfv07

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

dcomtois avatar Sep 06 '19 01:09 dcomtois

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!

dcomtois avatar Sep 07 '19 08:09 dcomtois

Hi, no I have the same crash

pfv07 avatar Sep 07 '19 21:09 pfv07

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 avatar Sep 12 '19 00:09 dcomtois

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

dcomtois avatar Dec 23 '20 17:12 dcomtois