scottdraves / electricsheep

infinite evolving crowdsourced artwork
http://electricsheep.org
553 stars 70 forks source link

Closing the application results in segfault #36

Closed rr- closed 7 years ago

rr- commented 7 years ago

I am using bspwm (a tiling window manager) on Arch Linux and quit the application via the window manager's capabilities, which almost certainly use normal X11 calls.

Quitting electricsheep this way results in a segfault:

rr-@aurora:~/src/ext/electricsheep/client_generic$ ./electricsheep-saver
CElectricSheep()
CElectricSheep_Linux()
Startup()
SetInstallation: /usr/share/electricsheep/Scripts
SetInstallation: /usr/share/electricsheep/Scripts
libpng warning: iCCP: known incorrect sRGB profile
CElectricSheep_Linux::Shutdown()
Trying to access shutdown singleton CReusableAlignedBuffers
Trying to access shutdown singleton CReusableAlignedBuffers
electricsheep: /usr/include/boost/thread/pthread/condition_variable.hpp:164: boost::condition_variable_any::~condition_variable_any(): Assertion `!pthread_mutex_destroy(&internal_mutex)' failed.
zsh: abort (core dumped)  ./electricsheep-saver

Same thing happens if I hit Esc.

rr- commented 7 years ago

Nevermind... I wasn't running the latest version :sob: