# Core Dumped During Visualizations

**URL:** https://forum.qiime2.org/t/core-dumped-during-visualizations/669
**Category:** User Support
**Tags:** matplotlib
**Created:** [June 7, 2017, 4:26pm UTC](https://forum.qiime2.org/t/core-dumped-during-visualizations/669 "2017-06-07T16:26:01Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Shawn\_Rupp](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@Shawn\_Rupp](https://forum.qiime2.org/u/Shawn_Rupp)
#### Post date: [June 7, 2017, 4:26pm UTC](https://forum.qiime2.org/t/core-dumped-during-visualizations/669/1 "2017-06-07T16:26:01Z")

</div>

I've found that a couple of the visualization steps result in core dumped error and I haven't been able to find any kind of fix elsewhere. Here are two examples of the errors:

7588 Aborted (core dumped) qiime demux summarize --i-data reads.qza --o-visualization reads.qzv

8820 Aborted (core dumped) qiime feature-table summarize --i-table repSeqsTable.qza --o-visualization repSeqsTable.qzv --m-sample-metadata-file $meta

I haven't had a problem with any of the other visualization steps yet so they might be fine. We're running this on a machine running Biolinux (built on Ubuntu 14.04) with 128 Gb of RAM. I installed a qiime2-2017.4 environment with Anaconda.

Thank you very much,

---

<div class="post-metadata">

### Author: ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)
#### Post date: [June 8, 2017, 4:18am UTC](https://forum.qiime2.org/t/core-dumped-during-visualizations/669/3 "2017-06-08T04:18:12Z")

</div>

Hi @Shawn_Rupp! Sorry to hear you're having troubles. By any chance are you running this on a [headless server](https://forum.qiime2.org/t/qiime-tools-view-on-headless-server/113/2)? If so, this looks like the kind of thing that matplotlib will complain about if it doesn't have a display configured to use (for example, SSH without X forwarding). You can [configure matplotlib](https://matplotlib.org/users/customizing.html) to use an offscreen backend, see [this forum post](https://forum.qiime2.org/t/error-in-qiime-feature-table-summarize/308/2) for an example. Hope that helps!

---

<div class="post-metadata">

### Author: ![Shawn\_Rupp](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@Shawn\_Rupp](https://forum.qiime2.org/u/Shawn_Rupp)
#### Post date: [June 9, 2017, 3:40pm UTC](https://forum.qiime2.org/t/core-dumped-during-visualizations/669/4 "2017-06-09T15:40:52Z")

</div>

Thanks for the reply!

I was running this on a headless server, but I had the same problem on my desktop which is running Ubuntu 16.04. I was running into the error when I tried to generate the visualization (I ran a batch script to run through all of the steps and was going to examine the visualizations locally).

I configured matplotlib with:

```bash
echo "backend: Agg" > ~/.config/matplotlib/matplotlibrc

```

as you suggested and that seems to have solved the problem. Thanks for the help!

---

<div class="post-metadata">

### Author: ![system](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/2/1/21af5fe23cb6f4579467c66a9ed94e55274ca7bd.svg) [@system](https://forum.qiime2.org/u/system)
#### Post date: [July 10, 2017, 9:41pm UTC](https://forum.qiime2.org/t/core-dumped-during-visualizations/669/6 "2017-07-10T21:41:31Z")

</div>

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
