Bug 349073 - KDiamond crash after some second of game play
Summary: KDiamond crash after some second of game play
Status: RESOLVED DUPLICATE of bug 348414
Alias: None
Product: kdiamond
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Stefan Majewsky
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-06-12 18:07 UTC by Alexander Nolting
Modified: 2015-07-13 20:32 UTC (History)
3 users (show)

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


Attachments
valgrind trace (29.24 KB, text/plain)
2015-07-13 16:59 UTC, Alexander Nolting
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Nolting 2015-06-12 18:07:36 UTC
Application: kdiamond (1.5)

Qt Version: 5.4.2
Operating System: Linux 4.0.4-3-desktop x86_64
Distribution: "openSUSE 20150610 (Tumbleweed) (x86_64)"

-- Information about the crash:
KDiamond crashes unexpectedly after some seconds of game play.
Crash typically occurs after removing a line and let scroll down the next gems.

The crash can be reproduced every time.

-- Backtrace:
Application: KDiamond (kdiamond), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ffbc3575900 (LWP 14209))]

Thread 8 (Thread 0x7ffbaac69700 (LWP 14210)):
#0  0x00007ffbbfa084cd in poll () at /lib64/libc.so.6
#1  0x00007ffbb567a322 in  () at /usr/lib64/libxcb.so.1
#2  0x00007ffbb567bdef in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007ffbad41dcc9 in  () at /usr/lib64/qt5/plugins/platforms/libqxcb.so
#4  0x00007ffbc037ba7f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007ffbba83b484 in start_thread () at /lib64/libpthread.so.0
#6  0x00007ffbbfa10a4d in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7ffb9fc7b700 (LWP 14213)):
#0  0x00007ffbba83fcc8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007ffbc037c9e8 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007ffbc0378cb6 in  () at /usr/lib64/libQt5Core.so.5
#3  0x00007ffbc037ba7f in  () at /usr/lib64/libQt5Core.so.5
#4  0x00007ffbba83b484 in start_thread () at /lib64/libpthread.so.0
#5  0x00007ffbbfa10a4d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7ffb95c06700 (LWP 14233)):
#0  0x00007ffbbfa0c829 in syscall () at /lib64/libc.so.6
#1  0x00007ffbba149def in g_cond_wait () at /usr/lib64/libglib-2.0.so.0
#2  0x00007ffb9d3fa5eb in  () at /usr/lib64/libgstreamer-1.0.so.0
#3  0x00007ffbba12d8dc in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007ffbba12cf55 in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007ffbba83b484 in start_thread () at /lib64/libpthread.so.0
#6  0x00007ffbbfa10a4d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7ffb8affc700 (LWP 14234)):
#0  0x00007ffbbfa0c829 in syscall () at /lib64/libc.so.6
#1  0x00007ffbba149def in g_cond_wait () at /usr/lib64/libglib-2.0.so.0
#2  0x00007ffb9d3fa5eb in  () at /usr/lib64/libgstreamer-1.0.so.0
#3  0x00007ffbba12d8dc in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007ffbba12cf55 in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007ffbba83b484 in start_thread () at /lib64/libpthread.so.0
#6  0x00007ffbbfa10a4d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7ffb97baa700 (LWP 14235)):
#0  0x00007ffbbfa0c829 in syscall () at /lib64/libc.so.6
#1  0x00007ffbba149def in g_cond_wait () at /usr/lib64/libglib-2.0.so.0
#2  0x00007ffb9c66b9a2 in  () at /usr/lib64/libgstbase-1.0.so.0
#3  0x00007ffb9c66cdd6 in gst_data_queue_pop () at /usr/lib64/libgstbase-1.0.so.0
#4  0x00007ffb96295a74 in  () at /usr/lib64/gstreamer-1.0/libgstcoreelements.so
#5  0x00007ffb9d3fa409 in  () at /usr/lib64/libgstreamer-1.0.so.0
#6  0x00007ffbba12d8dc in  () at /usr/lib64/libglib-2.0.so.0
#7  0x00007ffbba12cf55 in  () at /usr/lib64/libglib-2.0.so.0
#8  0x00007ffbba83b484 in start_thread () at /lib64/libpthread.so.0
#9  0x00007ffbbfa10a4d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7ffb8b7fd700 (LWP 14236)):
#0  0x00007ffbbfa0c829 in syscall () at /lib64/libc.so.6
#1  0x00007ffbba149def in g_cond_wait () at /usr/lib64/libglib-2.0.so.0
#2  0x00007ffb9d3fa5eb in  () at /usr/lib64/libgstreamer-1.0.so.0
#3  0x00007ffbba12d8dc in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007ffbba12cf55 in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007ffbba83b484 in start_thread () at /lib64/libpthread.so.0
#6  0x00007ffbbfa10a4d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7ffb897f9700 (LWP 14239)):
#0  0x00007ffbbfa0c829 in syscall () at /lib64/libc.so.6
#1  0x00007ffbba149def in g_cond_wait () at /usr/lib64/libglib-2.0.so.0
#2  0x00007ffb9d3fa5eb in  () at /usr/lib64/libgstreamer-1.0.so.0
#3  0x00007ffbba12d8dc in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007ffbba12cf55 in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007ffbba83b484 in start_thread () at /lib64/libpthread.so.0
#6  0x00007ffbbfa10a4d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7ffbc3575900 (LWP 14209)):
[KCrash Handler]
#5  0x00007ffbc29fe1d0 in KNotification::flags() const () at /usr/lib64/libKF5Notifications.so.5
#6  0x00007ffbc2a1b252 in  () at /usr/lib64/libKF5Notifications.so.5
#7  0x00007ffbc2a20ff5 in  () at /usr/lib64/libKF5Notifications.so.5
#8  0x00007ffbc0585d46 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#9  0x00007ffbbc95aec5 in  () at /usr/lib64/libphonon4qt5.so.4
#10 0x00007ffbc0586b66 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#11 0x00007ffbc1691aec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#12 0x00007ffbc1696940 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#13 0x00007ffbc05564b5 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#14 0x00007ffbc055834f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#15 0x00007ffbc05ae383 in  () at /usr/lib64/libQt5Core.so.5
#16 0x00007ffbba107c74 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#17 0x00007ffbba107ec8 in  () at /usr/lib64/libglib-2.0.so.0
#18 0x00007ffbba107f6c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#19 0x00007ffbc05ad7fc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#20 0x00007ffbc055440b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#21 0x00007ffbc055ba96 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#22 0x0000000000413b44 in main ()

Reported using DrKonqi
Comment 1 Albert Astals Cid 2015-07-12 14:33:25 UTC
Can you try running kdiamond under valgrind?

i.e. make sure you install valgrind, then open a konsole and type

valgrind kdiamond

it'll be much slower, does it crash? If so can you attach the output of valgrind?
Comment 2 Alexander Nolting 2015-07-13 16:59:38 UTC
Created attachment 93581 [details]
valgrind trace
Comment 3 Alexander Nolting 2015-07-13 17:00:24 UTC
Hi Albert,

please find attached the valgrind trace.

Regards
Alex
Comment 4 Albert Astals Cid 2015-07-13 18:00:20 UTC
does opensuse have debug packages? can you install the debug packages for the kf5notifications package and do the valgrind thing again? That would really help nailing down the place the error happens.
Comment 5 Martin Klapetek 2015-07-13 18:14:01 UTC

*** This bug has been marked as a duplicate of bug 348414 ***
Comment 6 Alexander Nolting 2015-07-13 20:24:12 UTC
Hello Martin,

where should I now attach the additional valgrind trace created with debug packages from opensuse tumbleweed?
Comment 7 Martin Klapetek 2015-07-13 20:32:40 UTC
Please do so in the bug 348414.

Thank you.

(though it is not needed but if you have it already, just attach it there)