performous / performous

An open-source music and rhythm game.
https://performous.org
Other
488 stars 106 forks source link

Program crashes when ending a song (results screen) #21

Closed Profpatsch closed 11 years ago

Profpatsch commented 11 years ago

FATAL ERROR: boost thread: thread not joinable: Invalid argument

Distro: Archlinux Windowmanager: i3 Desktop: none

Full log: % performous Performous 0.7.0+ Internationalization: Enabled MIDI I/O: Enabled Webcam support: Enabled

ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave audio/error: Audio device 'dev="USBMIC" mics="blue,red"': No such device. audio/error: Audio device 'dev="Microphone" mics="*"': No such device. audio/error: Audio device 'out=2': Device doesn't have enough output channels ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: Permission denied Saved configuration to "/home/philip/.config/performous/config.xml" ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave Saved configuration to "/home/philip/.config/performous/config.xml" ALSA lib pcm_dsnoop.c:613:(snd_pcm_dsnoop_open) unable to open slave ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave FATAL ERROR: boost thread: thread not joinable: Invalid argument

tapio commented 11 years ago

This is latest git master I presume? I couldn't reproduce the crash. What kind of songs do you have (UltraStar, FoF...)? Do all songs crash or just some?

Profpatsch commented 11 years ago

On 13-02-16 03:43am, Tapio Vierros wrote:

This is latest git master I presume? I couldn't reproduce the crash. What kind of songs do you have (UltraStar, FoF...)? Do all songs crash or just some?

I guess _gitroot="https://github.com/performous/performous.git" is the master?

It crashes at every song, all of these are UltraStar songs as far as I know (what format is the Jonathan Coulton pack?).

Bear in mind that I use Archlinux so each program and lib is as new as it can be (newest versions from ~4–7 days ago).

~Profpatsch

Proudly written in Mutt with Vim on Archlinux. Q: Why is this email five sentences or less? A: http://five.sentenc.es

tapio commented 11 years ago

Seems @yoda-jm has encountered this or something very similar earlier and he said dirty build directory was the reason, so try deleting your build directory and compiling again.

I also pushed a commit that might solve it, but I don't know about its side effects, please try the above first.

I've also done a bit of googling with the error message and seems newer boost version have some breaking changes in them (not sure yet if they are there by default), which might be worth investigating after the above.

Profpatsch commented 11 years ago

On 13-02-17 07:09am, Tapio Vierros wrote:

Seems @yoda-jm has encountered this or something very similar earlier and he said dirty build directory was the reason, so try deleting your build directory and compiling again.

I also pushed a commit that might solve it, but I don't know about its side effects, please try the above first.

I've also done a bit of googling with the error message and seems newer boost version have some breaking changes in them (not sure yet if they are there by default), which might be worth investigating after the above.

Hm, I did a manual build (did it with the aur PKGBUID before), had to configure ImageMagick paths, but now it works without crash. Interesting.

~Profpatsch

Proudly written in Mutt with Vim on Archlinux. Q: Why is this email five sentences or less? A: http://five.sentenc.es