# Ncmpcpp crash with mopidy (and mopidy-spotify) after suspend

**URL:** <https://discourse.mopidy.com/t/ncmpcpp-crash-with-mopidy-and-mopidy-spotify-after-suspend/868>\
**Category:** Misc\
**Created:** [September 9, 2015, 10:59am UTC](https://discourse.mopidy.com/t/ncmpcpp-crash-with-mopidy-and-mopidy-spotify-after-suspend/868 "2015-09-09T10:59:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kefkf](https://avatars.discourse-cdn.com/v4/letter/k/ed8c4c/32.png) [@kefkf](https://discourse.mopidy.com/u/kefkf)\
**Post date:** [September 9, 2015, 10:59am UTC](https://discourse.mopidy.com/t/ncmpcpp-crash-with-mopidy-and-mopidy-spotify-after-suspend/868/1 "2015-09-09T10:59:35Z")

</div>

After my PC wakes up from suspend I find ncmppcpp crashed with the following error message:

`ncmpcpp: status.cpp:81: void {anonymous}::drawTitle(const MPD::Song&): Assertion `!np.empty()’ failed.
Aborted (core dumped)`

and I can’t relaunch ncmpcpp until either I restart mopidy or just start mopidy-mopify and start playback from spotify. The only info on the error message on google points to rebuilding mpd.db but I’m not using mpd. I’m not even sure if this is a mopidy bug or something with ncmpcpp.

mopidy config: [https://gist.github.com/kefkf/0bf71aa9f6e944bfc587](https://gist.github.com/kefkf/0bf71aa9f6e944bfc587)  
mopidy deps: [https://gist.github.com/kefkf/42acd6617868db573a89](https://gist.github.com/kefkf/42acd6617868db573a89)

ncmpcpp -v output:

`ncmpcpp 0.6.5`

optional screens compiled-in:

- tag editor
- tiny tag editor
- artist info
- outputs
- visualizer
- clock

encoding detection: enabled  
built with support for: curl fftw ncurses taglib unicode

---

<div class="post-metadata">

**Author:** ![kefkf](https://avatars.discourse-cdn.com/v4/letter/k/ed8c4c/32.png) [@kefkf](https://discourse.mopidy.com/u/kefkf)\
**Post date:** [September 9, 2015, 11:00am UTC](https://discourse.mopidy.com/t/ncmpcpp-crash-with-mopidy-and-mopidy-spotify-after-suspend/868/2 "2015-09-09T11:00:26Z")

</div>

mopidy.log with like 7000 lines: [https://gist.github.com/kefkf/78a1a9cc3cbfd39f292e](https://gist.github.com/kefkf/78a1a9cc3cbfd39f292e)

Someone else having a similar problem: [https://www.reddit.com/r/linux4noobs/comments/2twqbt/problems\_with\_ncmpcpp\_possibly\_mpd/](https://www.reddit.com/r/linux4noobs/comments/2twqbt/problems_with_ncmpcpp_possibly_mpd/)
