Bug 40769

Summary: kolf crashes when trying to start another game
Product: [Applications] kolf Reporter: Marco Krohn <marco.krohn>
Component: generalAssignee: Jason Katz-Brown <jasonkb>
Status: CLOSED FIXED    
Severity: crash CC: hugopardos
Priority: NOR    
Version First Reported In: 0.1   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Marco Krohn 2002-04-11 20:09:15 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kolf
Version:           0.1 (using KDE 3.0.5 (CVS HEAD >= 20020327))
Severity:          normal
Installed from:    compiled sources
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:                Linux (i686) release 2.4.10-4GB
OS/Compiler notes: 

I had an open kolf game and tried to start another session of kolf (leaving the other kolf application untouched). kolf started and after new + o.k. the kolf crashed (reproducible) with the following backtrace :

[New Thread 1024 (LWP 12209)]
0x41458079 in wait4 () from /lib/libc.so.6
#0  0x41458079 in wait4 () from /lib/libc.so.6
#1  0x414d0944 in __DTOR_END__ () from /lib/libc.so.6
#2  0x41000177 in waitpid () from /lib/libpthread.so.0
#3  0x4075471c in KCrash::defaultCrashHandler ()
   from /opt/kde3/lib/libkdecore.so.4
#4  0x40ffdbc4 in pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
#6  0x413de861 in kill () from /lib/libc.so.6
#7  0x40ffdacc in pthread_kill () from /lib/libpthread.so.0
#8  0x40ffdfd6 in raise () from /lib/libpthread.so.0
#9  0x413dfc81 in abort () from /lib/libc.so.6
#10 0x41364e48 in __default_terminate () from /usr/lib/libstdc++-libc6.2-2.so.3
#11 0x41364e6d in __terminate () from /usr/lib/libstdc++-libc6.2-2.so.3
#12 0x40d758fb in __pure_virtual () from /opt/qt3/lib/libqt-mt.so.3
#13 0x412b3bc2 in Arts::Dispatcher::connectUrl ()
   from /opt/kde3/lib/libmcop.so.1
#14 0x412b3a2d in Arts::Dispatcher::connectObjectRemote ()
   from /opt/kde3/lib/libmcop.so.1
#15 0x41057f78 in Arts::SimpleSoundServer_base::_fromReference ()
   from /opt/kde3/lib/libsoundserver_idl.so.1
#16 0x41057c5c in Arts::SimpleSoundServer_base::_fromString ()
   from /opt/kde3/lib/libsoundserver_idl.so.1
#17 0x080800c0 in KolfGame::initSoundServer ()
#18 0x08074afd in KolfGame::KolfGame ()
#19 0x08060639 in Kolf::startNewGame ()
#20 0x08060be7 in Kolf::newGame ()
#21 0x080624a9 in Kolf::qt_invoke ()
#22 0x40a71094 in QObject::activate_signal () from /opt/qt3/lib/libqt-mt.so.3
#23 0x40a70fde in QObject::activate_signal () from /opt/qt3/lib/libqt-mt.so.3
#24 0x404e0189 in KAction::activated () from /opt/kde3/lib/libkdeui.so.4
#25 0x404d028f in KAction::slotActivated () from /opt/kde3/lib/libkdeui.so.4
#26 0x404e0392 in KAction::qt_invoke () from /opt/kde3/lib/libkdeui.so.4
#27 0x40a71094 in QObject::activate_signal () from /opt/qt3/lib/libqt-mt.so.3
#28 0x40d21795 in QSignal::signal () from /opt/qt3/lib/libqt-mt.so.3
#29 0x40a85ddd in QSignal::activate () from /opt/qt3/lib/libqt-mt.so.3
#30 0x40b59c6a in QPopupMenu::mouseReleaseEvent ()
   from /opt/qt3/lib/libqt-mt.so.3
#31 0x40a9d9f1 in QWidget::event () from /opt/qt3/lib/libqt-mt.so.3
#32 0x40a18716 in QApplication::internalNotify ()
   from /opt/qt3/lib/libqt-mt.so.3
#33 0x40a18057 in QApplication::notify () from /opt/qt3/lib/libqt-mt.so.3
#34 0x406ba425 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#35 0x409ca05d in QETWidget::translateMouseEvent ()
   from /opt/qt3/lib/libqt-mt.so.3
#36 0x409c78a0 in QApplication::x11ProcessEvent ()
   from /opt/qt3/lib/libqt-mt.so.3
#37 0x409c65a6 in QApplication::processNextEvent ()
   from /opt/qt3/lib/libqt-mt.so.3
#38 0x40a19ba1 in QApplication::enter_loop () from /opt/qt3/lib/libqt-mt.so.3
#39 0x409c650b in QApplication::exec () from /opt/qt3/lib/libqt-mt.so.3
#40 0x0805f443 in main ()
#41 0x413cd7ee in __libc_start_main () from /lib/libc.so.6

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Jason Katz-Brown 2002-04-13 01:38:45 UTC
=1B$BLZMKF|=1B(B 11 4=1B$B7n=1B(B 2002 13:09=1B$B!"=1B(Bmarco.krohn@gmx.de =
=1B$B$5$s$O=3Dq$-$^$7$?=1B(B:
> Package: kolf
> Version: 0.1 (using KDE 3.0.5 (CVS HEAD >=3D 20020327))
> Severity: normal
> Installed from:    compiled sources
> Compiler:          gcc version 2.95.3 20010315 (SuSE)
> OS:                Linux (i686) release 2.4.10-4GB
> OS/Compiler notes:
>
> I had an open kolf game and tried to start another session of kolf (leavi=
ng
> the other kolf application untouched). kolf started and after new + o.k.
> the kolf crashed (reproducible) with the following backtrace :

Hm I can't reproduce. Perhaps your aRts is messed up? (kolf crashes trying=
 to=20
initialize sound.)

Could you try updating kolf and see if you get an error dialog instead of a=
=20
crash?

Another test: since I use almost the same sound code as kbattleship could =
you=20
try the same thing (open two instances enable sound start games) with=20
kbattleship and see if it crashes? Thanks!

[clip]
Comment 2 Jason Katz-Brown 2002-04-14 19:49:44 UTC
I've switched to a new sound-playing interface that should be more bug-free=
.=20
So this should never happen again.

Thanks!