Bug 184350 - Kapman crashes when playing
Summary: Kapman crashes when playing
Status: RESOLVED DUPLICATE of bug 184300
Alias: None
Product: kapman
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Thomas Gallinari
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-14 22:31 UTC by Fif59
Modified: 2009-02-17 23:09 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
kapman crash (1.39 KB, text/plain)
2009-02-14 22:31 UTC, Fif59
Details
Kapman gdb backtrace (10.03 KB, text/plain)
2009-02-14 22:35 UTC, Fif59
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fif59 2009-02-14 22:31:16 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

When I played Kapman on the latest Mandriva cooker, the application freezes.
Comment 1 Fif59 2009-02-14 22:31:40 UTC
Created attachment 31316 [details]
kapman crash
Comment 2 Fif59 2009-02-14 22:35:59 UTC
Created attachment 31317 [details]
Kapman gdb backtrace
Comment 3 Dario Andres 2009-02-15 22:53:00 UTC
The backtrace don't have useful information.
If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? 
You need to install "kdegames-debuginfo"
Thanks :)
Comment 4 George Kiagiadakis 2009-02-17 10:40:13 UTC
Are you using Qt 4.5-rc1? Maybe this is a duplicate of bug 184300...
Comment 5 Fif59 2009-02-17 21:22:29 UTC
rpm -qa | grep qt
libqtsvg4-4.5.0-0.rc1.4mdv2009.1
qt4-qtdbus-4.5.0-0.rc1.4mdv2009.1
libggadget-qt1.0_0-0.10.5-5mdv2009.1
libqtcore4-4.5.0-0.rc1.4mdv2009.1
libqtdbus4-4.5.0-0.rc1.4mdv2009.1
libqtopengl4-4.5.0-0.rc1.4mdv2009.1
libqtsql4-4.5.0-0.rc1.4mdv2009.1
libqtscript4-4.5.0-0.rc1.4mdv2009.1
qt4-style-iaora-0.1.8-2mdv2009.1
libstrigiqtdbusclient0-0.6.4-1mdv2009.1
libqtxml4-4.5.0-0.rc1.4mdv2009.1
python-qt4-gui-4.4.4-2mdv2009.1
libpoppler-qt4-3-0.10.4-1mdv2009.1
libqtnetwork4-4.5.0-0.rc1.4mdv2009.1
libqtdesigner4-4.5.0-0.rc1.4mdv2009.1
qt4-common-4.5.0-0.rc1.4mdv2009.1
google-gadgets-qt-0.10.5-5mdv2009.1
libqtwebkit4-4.5.0-0.rc1.4mdv2009.1
python-qt4-core-4.4.4-2mdv2009.1
libqtgui4-4.5.0-0.rc1.4mdv2009.1
libqt3support4-4.5.0-0.rc1.4mdv2009.1
Comment 6 Fif59 2009-02-17 22:51:22 UTC
gdb kapman
GNU gdb 6.8-5mdv2009.1 (Mandriva Linux release 2009.1)
Copyright (C) 2008 Free Software Foundation, Inc.     
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.           
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"   
and "show warranty" for details.                                             
This GDB was configured as "i586-mandriva-linux-gnu"...                      
(gdb) run                                                                    
Starting program: /usr/bin/kapman                                            
[Thread debugging using libthread_db enabled]                                
warning: the debug information found in "/usr/lib/debug//usr/lib/libfreetype.so.6.3.19.debug" does not match "/usr/lib/libfreetype.so.6" (CRC mismatch).        

warning: the debug information found in "/usr/lib/debug/usr/lib/libfreetype.so.6.3.19.debug" does not match "/usr/lib/libfreetype.so.6" (CRC mismatch).         

[New Thread 0xb5d4e6d0 (LWP 20296)]
kapman(20296)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from  "/var/tmp/kdecache-cooker_test/ksycoca4"                             
kapman(20296)/kdecore (KLibLoader) kde4Factory: The library "" does not offer a qt_plugin_instance function.                                                    
kapman(20296)/kdecore (KLibLoader) kde3Factory: The library "" does not offer an "init_phonon_gstreamer" function.                                              
Detaching after fork from child process 20305.                                  
[New Thread 0xb3ffbb90 (LWP 20306)]                                             
[New Thread 0xaf7f9b90 (LWP 20307)]                                             
[Thread 0xaf7f9b90 (LWP 20307) exited]                                          
[New Thread 0xaf7f9b90 (LWP 20308)]                                             
[Thread 0xaf7f9b90 (LWP 20308) exited]                                          
[New Thread 0xaf7f9b90 (LWP 20309)]                                             
[Thread 0xaf7f9b90 (LWP 20309) exited]                                          
[Thread 0xb3ffbb90 (LWP 20306) exited]                                          
kapman(20296) Phonon::KdePlatformPlugin::createBackend: using backend:  "GStreamer"                                                                             
[New Thread 0xb3ffbb90 (LWP 20310)]                                             
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const Phonon::AudioOutputDevice&) "HDA Intel (ALC888 Analog)"                                      
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const Phonon::AudioOutputDevice&) ("x-phonon:CARD=0,DEV=0", "plughw:CARD=0,DEV=0")                 
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const Phonon::AudioOutputDevice&) setProperty(device, "x-phonon:CARD=0,DEV=0" ) succeeded          
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const Phonon::AudioOutputDevice&) go to old state on device "x-phonon:CARD=0,DEV=0"  succeeded     

(<unknown>:20296): GLib-WARNING **: g_set_application() name called multiple times                                                                              
[New Thread 0xaf7f9b90 (LWP 20317)]                                             
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const Phonon::AudioOutputDevice&) "HDA Intel (ALC888 Analog)"                                      
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const Phonon::AudioOutputDevice&) ("x-phonon:CARD=0,DEV=0", "plughw:CARD=0,DEV=0")                 
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const Phonon::AudioOutputDevice&) setProperty(device, "x-phonon:CARD=0,DEV=0" ) succeeded          
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const Phonon::AudioOutputDevice&) go to old state on device "x-phonon:CARD=0,DEV=0"  succeeded     
kapman(20296)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:       
kapman(20296)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:       
kapman(20296)/libkdegames KGameTheme::load: Attempting to load .desktop at "/usr/share/apps/kapman/themes/mountain.desktop"                                     
[New Thread 0xb2c3bb90 (LWP 20320)]                                             
[New Thread 0xb224eb90 (LWP 20321)]                                             
[New Thread 0xb1a4db90 (LWP 20322)]                                             
[New Thread 0xb124cb90 (LWP 20323)]                                             

Program received signal SIGSEGV, Segmentation fault.
0x0805f7b5 in KapmanItem::manageCollision (this=0x91a1940)
    at /usr/src/debug/kdegames-4.2.0/kapman/kapmanitem.cpp:99
99                                      ((ElementItem*)collidingList[i])->getModel()->doActionOnCollision((Kapman*)getModel());                                 
Missing debug package(s), you should install: freetype2-debug-2.3.8-2plf2009.1.i586                                                                             
(gdb) thread apply all backtrace                                                

Thread 11 (Thread 0xb124cb90 (LWP 20323)):
#0  0xffffe424 in __kernel_vsyscall ()    
#1  0xb68d7f72 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/i686/libpthread.so.0                       
#2  0xb69d0944 in __pthread_cond_timedwait (cond=0x95af568, mutex=0x9221900, 
    abstime=0xb124c2ec) at forward.c:152                                     
#3  0xb668b000 in g_cond_timed_wait_posix_impl (cond=0x95af568,              
    entered_mutex=0x80, abs_time=0x82) at gthread-posix.c:242                
#4  0xb65ccf84 in g_async_queue_pop_intern_unlocked (queue=0x925fd68,        
    try=<value optimized out>, end_time=0xb124c364) at gasyncqueue.c:365     
#5  0xb66206b3 in g_thread_pool_thread_proxy (data=0x92218c8)                
    at gthreadpool.c:220                                                     
#6  0xb661efd4 in g_thread_create_proxy (data=0x989b4e8) at gthread.c:635    
#7  0xb68d4315 in start_thread () from /lib/i686/libpthread.so.0             
#8  0xb69c326e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130    

Thread 10 (Thread 0xb1a4db90 (LWP 20322)):
#0  0xffffe424 in __kernel_vsyscall ()    
#1  0xb68d7f72 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/i686/libpthread.so.0                       
#2  0xb69d0944 in __pthread_cond_timedwait (cond=0x95af568, mutex=0x9221900, 
    abstime=0xb1a4d2ec) at forward.c:152                                     
#3  0xb668b000 in g_cond_timed_wait_posix_impl (cond=0x95af568,              
    entered_mutex=0x80, abs_time=0x81) at gthread-posix.c:242                
#4  0xb65ccf84 in g_async_queue_pop_intern_unlocked (queue=0x925fd68,        
    try=<value optimized out>, end_time=0xb1a4d364) at gasyncqueue.c:365     
#5  0xb66206b3 in g_thread_pool_thread_proxy (data=0x92218c8)                
    at gthreadpool.c:220                                                     
#6  0xb661efd4 in g_thread_create_proxy (data=0x98bdca8) at gthread.c:635    
#7  0xb68d4315 in start_thread () from /lib/i686/libpthread.so.0             
#8  0xb69c326e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130    

Thread 9 (Thread 0xb224eb90 (LWP 20321)):
#0  0xffffe424 in __kernel_vsyscall ()   
#1  0xb68d7f72 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
---Type <return> to continue, or q <return> to quit---  
   from /lib/i686/libpthread.so.0                       
#2  0xb69d0944 in __pthread_cond_timedwait (cond=0x95af568, mutex=0x9221900, 
    abstime=0xb224e2ec) at forward.c:152                                     
#3  0xb668b000 in g_cond_timed_wait_posix_impl (cond=0x95af568,              
    entered_mutex=0x80, abs_time=0x83) at gthread-posix.c:242                
#4  0xb65ccf84 in g_async_queue_pop_intern_unlocked (queue=0x925fd68,        
    try=<value optimized out>, end_time=0xb224e364) at gasyncqueue.c:365     
#5  0xb66206b3 in g_thread_pool_thread_proxy (data=0x92218c8)                
    at gthreadpool.c:220                                                     
#6  0xb661efd4 in g_thread_create_proxy (data=0x989bd68) at gthread.c:635    
#7  0xb68d4315 in start_thread () from /lib/i686/libpthread.so.0             
#8  0xb69c326e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130    

Thread 8 (Thread 0xb2c3bb90 (LWP 20320)):
#0  0xffffe424 in __kernel_vsyscall ()   
#1  0xb68d7f72 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/i686/libpthread.so.0                       
#2  0xb69d0944 in __pthread_cond_timedwait (cond=0x95af568, mutex=0x9221900, 
    abstime=0xb2c3b2ec) at forward.c:152                                     
#3  0xb668b000 in g_cond_timed_wait_posix_impl (cond=0x95af568,              
    entered_mutex=0x80, abs_time=0x84) at gthread-posix.c:242                
#4  0xb65ccf84 in g_async_queue_pop_intern_unlocked (queue=0x925fd68,        
    try=<value optimized out>, end_time=0xb2c3b364) at gasyncqueue.c:365     
#5  0xb66206b3 in g_thread_pool_thread_proxy (data=0x92218c8)                
    at gthreadpool.c:220                                                     
#6  0xb661efd4 in g_thread_create_proxy (data=0x987a258) at gthread.c:635    
#7  0xb68d4315 in start_thread () from /lib/i686/libpthread.so.0             
#8  0xb69c326e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130    

Thread 7 (Thread 0xaf7f9b90 (LWP 20317)):
#0  0xffffe424 in __kernel_vsyscall ()   
#1  0xb69b86f7 in __poll (fds=0x93dad98, nfds=2, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:87                 
#2  0xb4090ab6 in poll_func (ufds=0x93dad98, nfds=2, timeout=-1, 
    userdata=0x93d9910) at pulse/thread-mainloop.c:71            
#3  0xb407e980 in pa_mainloop_poll (m=0x93d9870) at pulse/mainloop.c:857
---Type <return> to continue, or q <return> to quit---                  
#4  0xb4080105 in pa_mainloop_iterate (m=0x93d9870, block=1, retval=0x0)
    at pulse/mainloop.c:923                                             
#5  0xb40801e4 in pa_mainloop_run (m=0x93d9870, retval=0x0)             
    at pulse/mainloop.c:941                                             
#6  0xb409084e in thread (userdata=0x9401990) at pulse/thread-mainloop.c:90
#7  0xb4055d43 in internal_thread_func (userdata=0x93d9968)                
    at pulsecore/thread-posix.c:72                                         
#8  0xb68d4315 in start_thread () from /lib/i686/libpthread.so.0           
#9  0xb69c326e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130  

Thread 6 (Thread 0xb3ffbb90 (LWP 20310)):
#0  0xffffe424 in __kernel_vsyscall ()   
#1  0xb69b86f7 in __poll (fds=0x93daab8, nfds=2, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:87                 
#2  0xb4090ab6 in poll_func (ufds=0x93daab8, nfds=2, timeout=-1, 
    userdata=0x91efc78) at pulse/thread-mainloop.c:71            
#3  0xb407e980 in pa_mainloop_poll (m=0x91efbd8) at pulse/mainloop.c:857
#4  0xb4080105 in pa_mainloop_iterate (m=0x91efbd8, block=1, retval=0x0)
    at pulse/mainloop.c:923                                             
#5  0xb40801e4 in pa_mainloop_run (m=0x91efbd8, retval=0x0)             
    at pulse/mainloop.c:941                                             
#6  0xb409084e in thread (userdata=0x93d85d8) at pulse/thread-mainloop.c:90
#7  0xb4055d43 in internal_thread_func (userdata=0x91efcd0)                
    at pulsecore/thread-posix.c:72                                         
#8  0xb68d4315 in start_thread () from /lib/i686/libpthread.so.0           
#9  0xb69c326e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130  

Thread 1 (Thread 0xb5d4e6d0 (LWP 20296)):
#0  0x0805f7b5 in KapmanItem::manageCollision (this=0x91a1940)
    at /usr/src/debug/kdegames-4.2.0/kapman/kapmanitem.cpp:99 
#1  0x08053cf0 in KapmanItem::qt_metacall (this=0x91a1940,    
    _c=QMetaObject::InvokeMetaMethod, _id=16515075, _a=0xbfa4d0c8)
    at /usr/src/debug/kdegames-4.2.0/build/kapman/moc_kapmanitem.cpp:82
#2  0xb7687308 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#3  0xb7688a82 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#4  0x080528c7 in Kapman::gameUpdated (this=0x94218e8)                 
---Type <return> to continue, or q <return> to quit---                 
    at /usr/src/debug/kdegames-4.2.0/build/kapman/moc_kapman.cpp:98
#5  0x08053820 in Game::qt_metacall (this=0x92371d8,
    _c=QMetaObject::InvokeMetaMethod, _id=16515075, _a=0xbfa4d1c8)
    at /usr/src/debug/kdegames-4.2.0/build/kapman/moc_game.cpp:108
#6  0xb7687308 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#7  0xb7688a82 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#8  0xb76c2be7 in QTimer::timeout () from /usr/lib/libQtCore.so.4
#9  0xb768cd4e in QTimer::timerEvent () from /usr/lib/libQtCore.so.4
#10 0xb76817bf in QObject::event () from /usr/lib/libQtCore.so.4
#11 0xb6c583bc in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#12 0xb6c6068e in QApplication::notify () from /usr/lib/libQtGui.so.4
#13 0xb7cf9300 in KApplication::notify (this=0xbfa4d8c8, receiver=0x941c0e0,
    event=0xbfa4d63c)
    at /usr/src/debug/kdelibs-4.2.0/kdeui/kernel/kapplication.cpp:307
#14 0xb767123b in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#15 0xb76a0491 in QTimerInfoList::activateTimers ()
   from /usr/lib/libQtCore.so.4
#16 0xb769caf0 in timerSourceDispatch () from /usr/lib/libQtCore.so.4
#17 0xb65f3c8a in IA__g_main_context_dispatch (context=0x9121290)
    at gmain.c:1814
#18 0xb65f72f4 in g_main_context_iterate (context=0x9121290, block=1,
    dispatch=1, self=0x911cab0) at gmain.c:2448
#19 0xb65f747f in IA__g_main_context_iteration (context=0x9121290, may_block=1)
    at gmain.c:2511
#20 0xb769ca48 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#21 0xb6cf6fe5 in QGuiEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtGui.so.4
#22 0xb766f86a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#23 0xb766fcaa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#24 0xb7672159 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#25 0xb6c58237 in QApplication::exec () from /usr/lib/libQtGui.so.4
#26 0x080630e3 in main (argc=1, argv=0xbfa4da04)
    at /usr/src/debug/kdegames-4.2.0/kapman/main.cpp:44
(gdb)
Comment 7 Dario Andres 2009-02-17 23:09:46 UTC
Indeed , it's the same crash

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