Bug 267606

Summary: kshisen from kdegames crashes on start
Product: [Applications] kshisen Reporter: Edward Chernenko <edwardspec>
Component: generalAssignee: Frederik Schwarzer <schwarzer>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde-games-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Edward Chernenko 2011-03-04 07:29:06 UTC
Application: kshisen (1.8.1)
KDE Platform Version: 4.5.2 (KDE 4.5.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35.6-45.fc14.i686 i686
Distribution: "Fedora release 14 (Laughlin)"

-- Information about the crash:
Just started kshisen and it crashed.
The same thing at every start (tried 10 times).

[edward@localhost ~]$ rpm -qv kdegames
kdegames-4.5.5-1.fc14.i686

Installed on Fedora 14 (stable) via yum.

The crash can be reproduced every time.

-- Backtrace:
Application: Ши-сен-Сё (kshisen), signal: Segmentation fault
[Current thread is 1 (Thread 0xb783f780 (LWP 3545))]

Thread 3 (Thread 0xb750ab70 (LWP 3546)):
#0  0x0016bdb2 in g_thread_self () at gthread.c:2113
#1  0x0013fc53 in g_main_context_acquire (context=0x9ae6d30) at gmain.c:2231
#2  0x001414cf in g_main_context_iterate (context=0x9ae6d30, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2724
#3  0x0014204b in g_main_loop_run (loop=0x9ae6db0) at gmain.c:2988
#4  0x00f76ed5 in gdbus_shared_thread_func (data=0x0) at gdbusprivate.c:277
#5  0x0016abd0 in g_thread_create_proxy (data=0x9ae6dc0) at gthread.c:1897
#6  0x00cb9f19 in start_thread () from /lib/libpthread.so.0
#7  0x00bfba2e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xacc4eb70 (LWP 3550)):
#0  0x00571416 in __kernel_vsyscall ()
#1  0x00bf08e6 in poll () from /lib/libc.so.6
#2  0x05e0dce3 in poll_func (ufds=0xac301238, nfds=2, timeout=-1, userdata=0x9e2e9c8) at pulse/thread-mainloop.c:75
#3  0x05dfa4ca in pa_mainloop_poll (m=0x9e2f000) at pulse/mainloop.c:879
#4  0x05dfbd54 in pa_mainloop_iterate (m=0x9e2f000, block=1, retval=0x0) at pulse/mainloop.c:961
#5  0x05dfbe34 in pa_mainloop_run (m=0x9e2f000, retval=0x0) at pulse/mainloop.c:979
#6  0x05e0da84 in thread (userdata=0x9e2e958) at pulse/thread-mainloop.c:94
#7  0x05cec863 in internal_thread_func (userdata=0x9e2ff88) at pulsecore/thread-posix.c:72
#8  0x00cb9f19 in start_thread () from /lib/libpthread.so.0
#9  0x00bfba2e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb783f780 (LWP 3545)):
[KCrash Handler]
#7  0x06892f5c in snd_pcm_ioplug_close (pcm=0x9e2fc00) at pcm_ioplug.c:743
#8  0x0684ffae in snd_pcm_close (pcm=0x9e2fc00) at pcm.c:706
#9  0x011fc97d in gst_alsasink_close (asink=0x9e1ec98 [GstAlsaSink]) at gstalsasink.c:783
#10 0x02a0cf74 in gst_audioringbuffer_close_device (buf=0x9e21320 [GstAudioSinkRingBuffer]) at gstaudiosink.c:365
#11 0x029fb1e0 in gst_ring_buffer_close_device (buf=0x9e21320 [GstAudioSinkRingBuffer]) at gstringbuffer.c:714
#12 0x02a08b95 in gst_base_audio_sink_change_state (element=0x9e1ec98 [GstAlsaSink], transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbaseaudiosink.c:1888
#13 0x0245e746 in gst_element_change_state (element=0x9e1ec98 [GstAlsaSink], transition=GST_STATE_CHANGE_READY_TO_NULL) at gstelement.c:2546
#14 0x0245f1fc in gst_element_set_state_func (element=0x9e1ec98 [GstAlsaSink], state=GST_STATE_NULL) at gstelement.c:2502
#15 0x0245e490 in gst_element_set_state (element=0x9e1ec98 [GstAlsaSink], state=GST_STATE_NULL) at gstelement.c:2403
#16 0x01184244 in Phonon::Gstreamer::AudioOutput::setOutputDevice (this=0x9d3c860, newDevice=...) at /usr/src/debug/phonon-4.4.2/gstreamer/audiooutput.cpp:217
#17 0x0606353f in callSetOutputDevice (this=0x9c6a150) at /usr/src/debug/phonon-4.4.2/phonon/audiooutput.cpp:70
#18 Phonon::AudioOutputPrivate::setupBackendObject (this=0x9c6a150) at /usr/src/debug/phonon-4.4.2/phonon/audiooutput.cpp:314
#19 0x06063a42 in Phonon::AudioOutputPrivate::createBackendObject (this=0x9c6a150) at /usr/src/debug/phonon-4.4.2/phonon/audiooutput.cpp:139
#20 0x06061745 in Phonon::AudioOutputPrivate::init (this=0x9c6a150, c=Phonon::GameCategory) at /usr/src/debug/phonon-4.4.2/phonon/audiooutput.cpp:106
#21 0x08052512 in Board::setSoundsEnabled (this=0x9b50e40, enabled=true) at /usr/src/debug/kdegames-4.5.5/kshisen/src/board.cpp:2069
#22 0x08055b97 in Board::loadSettings (this=0x9b50e40) at /usr/src/debug/kdegames-4.5.5/kshisen/src/board.cpp:129
#23 0x08056345 in Board::Board (this=0x9b50e40, parent=0x9b51020) at /usr/src/debug/kdegames-4.5.5/kshisen/src/board.cpp:91
#24 0x08059d24 in App::App (this=0x9b51020, parent=0x0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /usr/src/debug/kdegames-4.5.5/kshisen/src/app.cpp:75
#25 0x0804fc87 in main (argc=) at /usr/src/debug/kdegames-4.5.5/kshisen/src/main.cpp:49

Possible duplicates by query: bug 248238, bug 244191, bug 237744.

Reported using DrKonqi
Comment 1 Frederik Schwarzer 2011-03-04 14:05:36 UTC
This seems like a duplicate of 232068 to me. Are there newer packages of GStreamer and/or ASLA for your distro? See for example comments 131 and 139 in that report.

As a workaround, you can try disabling sounds in KShisen.
In order to do that, edit .kde/share/config/kshisenrc and set Sounds=false in the [Game] section.
That should prevent the crash.

I will close this as a duplicate of 232068 for now. If you disagree, please reopen.

Thanks for the report.

*** This bug has been marked as a duplicate of bug 232068 ***