Bug 162811 - crashes when disabling sound
Summary: crashes when disabling sound
Status: RESOLVED FIXED
Alias: None
Product: kgoldrunner
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Ian Wadham
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-29 14:48 UTC by richlv
Modified: 2008-05-31 07:45 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description richlv 2008-05-29 14:48:47 UTC
Version:            (using Devel)
Installed from:    Compiled sources
OS:                Linux

using opensuse kde 4.1 beta livecd.
launch kgoldrunner, click on 'use menu', 'ok', then choose "settings->play sounds" - crash.
the option is on by default, i am disabling it when the crash occurs.
system sounds and sounds in other applications (like kollision) work ok.
Comment 1 Anne-Marie Mahfouf 2008-05-29 14:51:27 UTC
Application: KGoldrunner (kgoldrunner), signal SIGSEGV
[?1034hUsing host libthread_db library "/lib/i686/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1239640368 (LWP 5533)]
[New Thread -1265988720 (LWP 5534)]
[KCrash handler]
#6  0x0806ac5f in KGrSoundBank::setMuted (this=0x0, mute=true)
    at /media/hd/trunk/kdegames/kgoldrunner/src/kgrsoundbank.cpp:123
#7  0x0807d82a in KGrGame::setPlaySounds (this=0x82a8140, on_off=false)
    at /media/hd/trunk/kdegames/kgoldrunner/src/kgrgame.cpp:460
#8  0x0807ece9 in KGrGame::qt_metacall (this=0x82a8140, 
    _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbff6a2ec)
    at /media/hd/trunk/kdegames/build/kgoldrunner/src/kgrgame.moc:168
#9  0xb7507e7b in QMetaObject::activate (sender=0x82cb1c0, 
    from_signal_index=5, to_signal_index=6, argv=0xbff6a2ec)
    at kernel/qobject.cpp:3007
#10 0xb7508084 in QMetaObject::activate (sender=0x82cb1c0, m=0xb71f44b8, 
    from_local_signal_index=1, to_local_signal_index=2, argv=0xbff6a2ec)
    at kernel/qobject.cpp:3100
#11 0xb6afb6fe in QAction::triggered (this=0x82cb1c0, _t1=false)
    at .moc/debug-shared/moc_qaction.cpp:216
#12 0xb6afd2ba in QAction::activate (this=0x82cb1c0, event=QAction::Trigger)
    at kernel/qaction.cpp:1119
#13 0xb6f199e0 in QMenuPrivate::activateAction (this=0x82f7958, 
    action=0x82cb1c0, action_e=QAction::Trigger, self=true)
    at widgets/qmenu.cpp:1005
#14 0xb6f1c359 in QMenu::mouseReleaseEvent (this=0x82f7cd8, e=0xbff6ab44)
    at widgets/qmenu.cpp:2160
#15 0xb7bebe78 in KMenu::mouseReleaseEvent (this=0x82f7cd8, e=0xbff6ab44)
    at /media/disk/trunk-src/NEW/kdelibs/kdeui/widgets/kmenu.cpp:452
#16 0xb6b6106f in QWidget::event (this=0x82f7cd8, event=0xbff6ab44)
    at kernel/qwidget.cpp:6927
#17 0xb6f17618 in QMenu::event (this=0x82f7cd8, e=0xbff6ab44)
    at widgets/qmenu.cpp:2256
#18 0xb6b034d1 in QApplicationPrivate::notify_helper (this=0x80a73f0, 
    receiver=0x82f7cd8, e=0xbff6ab44) at kernel/qapplication.cpp:3772
#19 0xb6b04053 in QApplication::notify (this=0xbff6b3ac, receiver=0x82f7cd8, 
    e=0xbff6ab44) at kernel/qapplication.cpp:3501
#20 0xb7b27a93 in KApplication::notify (this=0xbff6b3ac, receiver=0x82f7cd8, 
    event=0xbff6ab44)
    at /media/disk/trunk-src/NEW/kdelibs/kdeui/kernel/kapplication.cpp:311
#21 0xb74f31c2 in QCoreApplication::notifyInternal (this=0xbff6b3ac, 
    receiver=0x82f7cd8, event=0xbff6ab44) at kernel/qcoreapplication.cpp:583
#22 0xb6b0f3ab in QCoreApplication::sendSpontaneousEvent (receiver=0x82f7cd8, 
    event=0xbff6ab44)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#23 0xb6b07e5e in QApplicationPrivate::sendMouseEvent (receiver=0x82f7cd8, 
    event=0xbff6ab44, alienWidget=0x0, nativeWidget=0x82f7cd8, 
    buttonDown=0xb7212380, lastMouseReceiver=@0xb7212384)
    at kernel/qapplication.cpp:2766
#24 0xb6b8156d in QETWidget::translateMouseEvent (this=0x82f7cd8, 
    event=0xbff6b0e0) at kernel/qapplication_x11.cpp:4067
#25 0xb6b7f283 in QApplication::x11ProcessEvent (this=0xbff6b3ac, 
    event=0xbff6b0e0) at kernel/qapplication_x11.cpp:3133
#26 0xb6baa720 in x11EventSourceDispatch (s=0x80ab240, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#27 0xb6333932 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0xb6336d44 in KMainWindow::setCaption ()
    at /media/disk/trunk-src/NEW/kdelibs/kdeui/widgets/kmainwindow.cpp:489
#29 0xb633724c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0xb75225a0 in QEventDispatcherGlib::processEvents (this=0x80a71b0, 
    flags=@0xbff6b288) at kernel/qeventdispatcher_glib.cpp:325
#31 0xb6ba9f64 in QGuiEventDispatcherGlib::processEvents (this=0x80a71b0, 
    flags=@0xbff6b2b8) at kernel/qguieventdispatcher_glib.cpp:204
#32 0xb74f0076 in QEventLoop::processEvents (this=0xbff6b330, 
    flags=@0xbff6b2f4) at kernel/qeventloop.cpp:149
#33 0xb74f02b5 in QEventLoop::exec (this=0xbff6b330, flags=@0xbff6b338)
    at kernel/qeventloop.cpp:196
#34 0xb74f39ab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#35 0xb6b031ea in QApplication::exec () at kernel/qapplication.cpp:3304
#36 0x08084e23 in main (argc=134804780, argv=0x816adf0)
    at /media/hd/trunk/kdegames/kgoldrunner/src/main.cpp:79
#0  0xffffe410 in __kernel_vsyscall ()
Comment 2 Ian Wadham 2008-05-31 07:45:05 UTC
SVN commit 814671 by ianw:

BUG: 162811 The sound feature is written and working, but is temporarily disabled until final testing, including testing the playing of simultaneous sounds in Phonon.  This fix disables the Settings action for sound.

 M  +8 -1      kgoldrunner.cpp  
 M  +2 -0      kgrconsts.h  
 M  +3 -1      kgrgame.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=814671