Bug 301139 - shisen-sho slows and crashes
Summary: shisen-sho slows and crashes
Status: RESOLVED DUPLICATE of bug 297006
Alias: None
Product: kshisen
Classification: Applications
Component: general (show other bugs)
Version: 1.8.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Frederik Schwarzer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-04 02:25 UTC by Brian
Modified: 2012-08-06 22:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (25.44 KB, text/plain)
2012-08-06 22:58 UTC, car_art
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian 2012-06-04 02:25:34 UTC
Application: kshisen (1.8.4)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-24-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:Playing Shisen-sho.  Selected two tiles for removal late in game.

- Unusual behavior I noticed:Upgraded to Ubuntu 12.04.  Selecting tiles made game "pause and think" before acting to remove them.  Sometimes holding/dimming screen while doing so.

-- Backtrace:
Application: Shisen-Sho (kshisen), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f11c53ca780 (LWP 11014))]

Thread 5 (Thread 0x7f11af9d9700 (LWP 11015)):
#0  0x00007f11c2490b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f11bf407ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f11bf40845a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f11af9de98b in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007f11bf4299a5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f11bf8d4e9a in start_thread (arg=0x7f11af9d9700) at pthread_create.c:308
#6  0x00007f11c249c4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f11aedcd700 (LWP 11016)):
#0  0x00007f11bf8d805d in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7f11a8010300) at pthread_mutex_unlock.c:290
#2  0x00007f11bf443591 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f11bf407f0e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f11bf40845a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f11b62ce2c6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007f11bf4299a5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f11bf8d4e9a in start_thread (arg=0x7f11aedcd700) at pthread_create.c:308
#8  0x00007f11c249c4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1192fd7700 (LWP 12776)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f11bf4437ef in g_cond_wait () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f119b9f6f7c in gst_task_func (task=0x7f117c2f78a0) at gsttask.c:312
#3  0x00007f11bf42a208 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f11bf4299a5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f11bf8d4e9a in start_thread (arg=0x7f1192fd7700) at pthread_create.c:308
#6  0x00007f11c249c4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f118fa09700 (LWP 12785)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f11bf4437ef in g_cond_wait () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f119b9f6f7c in gst_task_func (task=0x7f117c2faac0) at gsttask.c:312
#3  0x00007f11bf42a208 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f11bf4299a5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f11bf8d4e9a in start_thread (arg=0x7f118fa09700) at pthread_create.c:308
#6  0x00007f11c249c4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f11c53ca780 (LWP 11014)):
[KCrash Handler]
#6  0x00007f11c23e0445 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f11c23e3bab in __GI_abort () at abort.c:91
#8  0x00007f11bcf8fdcd in pa_mutex_free () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so
#9  0x00007f11c08ac66e in pa_threaded_mainloop_free () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#10 0x00007f119321d3cb in ?? () from /usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstpulse.so
#11 0x00007f119321d4b5 in ?? () from /usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstpulse.so
#12 0x00007f119b9b4dac in gst_element_change_state (element=0x1105800, transition=<optimized out>) at gstelement.c:2761
#13 0x00007f119b9b56d0 in gst_element_set_state_func (element=0x1105800, state=GST_STATE_NULL) at gstelement.c:2717
#14 0x00007f119b9a28ed in gst_bin_element_set_state (next=GST_STATE_NULL, current=GST_STATE_READY, start_time=0, base_time=0, element=0x1105800, bin=0xc1c170) at gstbin.c:2209
#15 gst_bin_change_state_func (element=0xc1c170, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbin.c:2518
#16 0x00007f119b9b4dac in gst_element_change_state (element=0xc1c170, transition=<optimized out>) at gstelement.c:2761
#17 0x00007f119b9b56d0 in gst_element_set_state_func (element=0xc1c170, state=GST_STATE_NULL) at gstelement.c:2717
#18 0x00007f119b9a28ed in gst_bin_element_set_state (next=GST_STATE_NULL, current=GST_STATE_READY, start_time=0, base_time=0, element=0xc1c170, bin=0xc1c2e0) at gstbin.c:2209
#19 gst_bin_change_state_func (element=0xc1c2e0, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbin.c:2518
#20 0x00007f119b9b4dac in gst_element_change_state (element=0xc1c2e0, transition=<optimized out>) at gstelement.c:2761
#21 0x00007f119b9b56d0 in gst_element_set_state_func (element=0xc1c2e0, state=GST_STATE_NULL) at gstelement.c:2717
#22 0x00007f119b9a28ed in gst_bin_element_set_state (next=GST_STATE_NULL, current=GST_STATE_READY, start_time=0, base_time=0, element=0xc1c2e0, bin=0xc1c5c0) at gstbin.c:2209
#23 gst_bin_change_state_func (element=0xc1c5c0, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbin.c:2518
#24 0x00007f119b9b4dac in gst_element_change_state (element=0xc1c5c0, transition=<optimized out>) at gstelement.c:2761
#25 0x00007f119b9b56d0 in gst_element_set_state_func (element=0xc1c5c0, state=GST_STATE_NULL) at gstelement.c:2717
#26 0x00007f118db2fd2e in activate_chain (activate=0, chain=0x7f117c0077e0) at gstplaysink.c:971
#27 activate_chain (chain=0x7f117c0077e0, activate=0) at gstplaysink.c:957
#28 0x00007f118db30177 in gst_play_sink_change_state (element=0xcc8bd0, transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstplaysink.c:3587
#29 0x00007f119b9b4dac in gst_element_change_state (element=0xcc8bd0, transition=<optimized out>) at gstelement.c:2761
#30 0x00007f119b9b56d0 in gst_element_set_state_func (element=0xcc8bd0, state=GST_STATE_READY) at gstelement.c:2717
#31 0x00007f119b9a28ed in gst_bin_element_set_state (next=GST_STATE_READY, current=GST_STATE_PAUSED, start_time=0, base_time=0, element=0xcc8bd0, bin=0x132a200) at gstbin.c:2209
#32 gst_bin_change_state_func (element=0x132a200, transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstbin.c:2518
#33 0x00007f119b9d42e4 in gst_pipeline_change_state (element=0x132a200, transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstpipeline.c:482
#34 0x00007f118db29aab in gst_play_bin_change_state (element=0x132a200, transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstplaybin2.c:3936
#35 0x00007f119b9b4dac in gst_element_change_state (element=0x132a200, transition=<optimized out>) at gstelement.c:2761
#36 0x00007f119b9b56d0 in gst_element_set_state_func (element=0x132a200, state=GST_STATE_READY) at gstelement.c:2717
#37 0x00007f119bc883ea in Phonon::Gstreamer::Pipeline::setState (this=0x13230d0, state=GST_STATE_READY) at ../../gstreamer/pipeline.cpp:223
#38 0x00007f11c4943ae0 in Phonon::MediaObject::setCurrentSource (this=0xdcad70, newSource=...) at ../../phonon/mediaobject.cpp:248
#39 0x000000000040bf8f in Board::playSound (this=0xd7f6f0, sound=...) at ../../../kshisen/src/board.cpp:2034
#40 0x000000000040ca8c in gravity (update=<optimized out>, this=0xd7f6f0) at ../../../kshisen/src/board.cpp:230
#41 Board::gravity (this=0xd7f6f0, update=<optimized out>) at ../../../kshisen/src/board.cpp:216
#42 0x000000000040d9b8 in Board::undrawConnection (this=0xd7f6f0) at ../../../kshisen/src/board.cpp:1364
#43 0x00007f11c2ef0281 in QMetaObject::activate (sender=0x19cfd80, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#44 0x00007f11c2ef9a4f in QSingleShotTimer::timerEvent (this=0x19cfd80) at kernel/qtimer.cpp:317
#45 0x00007f11c2ef5179 in QObject::event (this=0x19cfd80, e=<optimized out>) at kernel/qobject.cpp:1157
#46 0x00007f11c38d1894 in notify_helper (e=0x7fff84f83fb0, receiver=0x19cfd80, this=0xb07ce0) at kernel/qapplication.cpp:4559
#47 QApplicationPrivate::notify_helper (this=0xb07ce0, receiver=0x19cfd80, e=0x7fff84f83fb0) at kernel/qapplication.cpp:4531
#48 0x00007f11c38d6713 in QApplication::notify (this=0x7fff84f84290, receiver=0x19cfd80, e=0x7fff84f83fb0) at kernel/qapplication.cpp:4420
#49 0x00007f11c4db1bb6 in KApplication::notify (this=0x7fff84f84290, receiver=0x19cfd80, event=0x7fff84f83fb0) at ../../kdeui/kernel/kapplication.cpp:311
#50 0x00007f11c2edbe9c in QCoreApplication::notifyInternal (this=0x7fff84f84290, receiver=0x19cfd80, event=0x7fff84f83fb0) at kernel/qcoreapplication.cpp:876
#51 0x00007f11c2f0d1f2 in sendEvent (event=0x7fff84f83fb0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#52 QTimerInfoList::activateTimers (this=0xb09360) at kernel/qeventdispatcher_unix.cpp:611
#53 0x00007f11c2f0ac0d in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#54 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#55 0x00007f11c2f0ac31 in idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:233
#56 0x00007f11bf407c9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#57 0x00007f11bf408060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007f11bf408124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007f11c2f0b3bf in QEventDispatcherGlib::processEvents (this=0xae14b0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#60 0x00007f11c3979d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#61 0x00007f11c2edac82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#62 0x00007f11c2edaed7 in QEventLoop::exec (this=0x7fff84f84220, flags=...) at kernel/qeventloop.cpp:204
#63 0x00007f11c2edff67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#64 0x00000000004099b2 in main (argc=3, argv=0x7fff84f84618) at ../../../kshisen/src/main.cpp:51

Reported using DrKonqi
Comment 1 Frederik Schwarzer 2012-06-04 07:14:26 UTC
This is an issue with the GStreamer backend of Phonon. In KDE 4.9 KShisen does not use Phonon anymore (only as fallback) so the problem should be gone then. To work around the issue before 4.9, you can disable sounds in KShisen.

Thanks for your report.

*** This bug has been marked as a duplicate of bug 297006 ***
Comment 2 car_art 2012-08-06 22:58:17 UTC
Created attachment 72999 [details]
New crash information added by DrKonqi

kshisen (1.8.4) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.1

- What I was doing when the application crashed:
Shisen-sho slows and crashes, more likely if poll stack is forced

-- Backtrace (Reduced):
#10 0x06b0af7c in pa_mutex_free () from /usr/lib/i386-linux-gnu/libpulsecommon-1.1.so
#11 0x04ff889f in pa_threaded_mainloop_free () from /usr/lib/i386-linux-gnu/libpulse.so.0
[...]
#14 0x0846e6fb in gst_element_change_state (element=0x9cd5108, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstelement.c:2761
#15 0x0846f0ed in gst_element_set_state_func (element=0x9cd5108, state=GST_STATE_NULL) at gstelement.c:2717
#16 0x0846e431 in gst_element_set_state (element=0x9cd5108, state=GST_STATE_NULL) at gstelement.c:2618