Bug 341777 - Kreversi crash at startup.
Summary: Kreversi crash at startup.
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kreversi
Classification: Applications
Component: general (show other bugs)
Version: 2.0
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Inge Wallin
URL:
Keywords: drkonqi
: 363405 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-12-11 16:10 UTC by Hains
Modified: 2017-06-25 13:11 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (2.94 KB, text/plain)
2015-07-01 00:58 UTC, Karl Krelove
Details
Let Kreversi work with frameworks 5. (3.11 KB, patch)
2015-07-10 11:41 UTC, Hains
Details
Patch for Kreversi KDE frameworks 5. (3.16 KB, patch)
2015-07-17 12:27 UTC, Hains
Details
New crash information added by DrKonqi (3.53 KB, text/plain)
2015-07-22 16:44 UTC, David Phillips
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hains 2014-12-11 16:10:42 UTC
Application: kreversi (2.0)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.16.0-25-generic x86_64
Distribution: Ubuntu Vivid Vervet (development branch)

-- Information about the crash:
Executable: kreversi PID: 2879 Signal: Segmentation fault (11) Time: 12/11/14 05:04:55 PM

The crash can be reproduced every time.

-- Backtrace:
Application: KReversi (kreversi), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe8d625d7c0 (LWP 2879))]

Thread 3 (Thread 0x7fe8c31fb700 (LWP 2880)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe8d050ca8a in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fe8d050cab9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fe8cf0630a5 in start_thread (arg=0x7fe8c31fb700) at pthread_create.c:309
#4  0x00007fe8d32d590d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fe841f07700 (LWP 2881)):
#0  0x00007fe8d32cb45d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fe8ce98d16c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe8ce98d27c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe8d475cc9e in QEventDispatcherGlib::processEvents (this=0x7fe83c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007fe8d472c161 in QEventLoop::processEvents (this=this@entry=0x7fe841f06dc0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fe8d472c4c5 in QEventLoop::exec (this=this@entry=0x7fe841f06dc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fe8d4620c59 in QThread::exec (this=this@entry=0x2236dd0) at thread/qthread.cpp:538
#7  0x00007fe8d470c9c3 in QInotifyFileSystemWatcherEngine::run (this=0x2236dd0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fe8d46234cf in QThreadPrivate::start (arg=0x2236dd0) at thread/qthread_unix.cpp:349
#9  0x00007fe8cf0630a5 in start_thread (arg=0x7fe841f07700) at pthread_create.c:309
#10 0x00007fe8d32d590d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fe8d625d7c0 (LWP 2879)):
[KCrash Handler]
#5  data (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
#6  qGetPtrHelper<QScopedPointer<QObjectData> > (p=...) at ../../include/QtCore/../../src/corelib/global/qglobal.h:2580
#7  d_func (this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:115
#8  QObject::setProperty (this=0x0, name=0x41d3db "isBoardShowingLabels", value=...) at kernel/qobject.cpp:3719
#9  0x0000000000411aa0 in _start ()

Reported using DrKonqi
Comment 1 Karl Krelove 2015-07-01 00:58:55 UTC
Created attachment 93438 [details]
New crash information added by DrKonqi

kreversi (2.0) on KDE Platform 4.14.6 using Qt 4.8.6

- What I was doing when the application crashed:trying to start KReversi. I have tried to remove/reinstall KReversi twice. Even after reinstallation, the crash continues to happen on starting the application. 

This game works without problem on two other Linux installations I run as multiple boot options on the same computer - Linus Mint and Fedora v22

-- Backtrace (Reduced):
#6  data (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
[...]
#9  QObject::setProperty (this=0x0, name=0x41d39b "isBoardShowingLabels", value=...) at kernel/qobject.cpp:3719
#10 0x0000000000411aa0 in _start ()
Comment 2 Hains 2015-07-10 11:41:36 UTC
Created attachment 93556 [details]
Let Kreversi work with frameworks 5.

sudo apt-get install qml-module-org-de-games-core did for me the trick.

Anyway, i compiled libkdegames from master-branch and kreversi from frameworks-branch.

It didnt work, so i made a patch.Works fine with frameworks 5.10 with Ubuntu 15.10.
Comment 3 Hains 2015-07-17 12:27:26 UTC
Created attachment 93626 [details]
Patch for Kreversi KDE frameworks 5.

Clean up previous patch and now made from GIT(branch frameworks).
Comment 4 David Phillips 2015-07-22 16:44:09 UTC
Created attachment 93698 [details]
New crash information added by DrKonqi

kreversi (2.0) on KDE Platform 4.14.6 using Qt 4.8.6

- What I was doing when the application crashed: The application crashes with a segmentation fault every time KReversi is started.

-- Backtrace (Reduced):
#6  0x00007fcc47f3d0e7 in QObject::setProperty(char const*, QVariant const&) (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
#7  0x00007fcc47f3d0e7 in QObject::setProperty(char const*, QVariant const&) (p=...) at ../../include/QtCore/../../src/corelib/global/qglobal.h:2580
#8  0x00007fcc47f3d0e7 in QObject::setProperty(char const*, QVariant const&) (this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:115
#9  0x00007fcc47f3d0e7 in QObject::setProperty(char const*, QVariant const&) (this=0x0, name=0x41d39b "isBoardShowingLabels", value=...) at kernel/qobject.cpp:3719
#10 0x0000000000411aa0 in _start ()
Comment 5 Johannes Ranke 2015-11-23 12:06:03 UTC
For users of distributions using the Debian packaging of KDE 4, it may be sufficient to install

kde-games-core-declarative

see

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804823
Comment 6 Frederik Schwarzer 2016-05-22 17:14:26 UTC
*** Bug 363405 has been marked as a duplicate of this bug. ***
Comment 7 Frederik Schwarzer 2016-05-22 17:28:26 UTC
I uploaded the patch given in #3 to the reviewboard.
https://git.reviewboard.kde.org/r/127989/
Comment 8 Frederik Schwarzer 2016-05-24 16:55:04 UTC
@oliver: Can you confirm that installing kde-games-core-declarative fixes the issue?
Comment 9 Karl Krelove 2016-05-25 01:21:06 UTC
It seems to resolve the problem for me.

Karl

> -----Original Message-----
> From: Frederik Schwarzer via KDE Bugzilla
> [mailto:bugzilla_noreply@kde.org]
> Sent: Tuesday, May 24, 2016 12:55 PM
> To: kkrelove1@gmail.com
> Subject: [kreversi] [Bug 341777] Kreversi crash at startup.
> 
> https://bugs.kde.org/show_bug.cgi?id=341777
> 
> --- Comment #8 from Frederik Schwarzer <schwarzer@kde.org> ---
> @oliver: Can you confirm that installing kde-games-core-declarative
> fixes the issue?
> 
> --
> You are receiving this mail because:
> You are on the CC list for the bug.


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
Comment 10 Frederik Schwarzer 2016-05-25 18:05:19 UTC
Thank you for the feedback. I also just checked on another computer and the issue can indeed be fixed by installing that package. Since the package maintainers in Ubuntu are the Debian packagers and the Debian bugtracker has two bugreports about this already so I am closing this as Downstream issue.
Comment 11 Andrius Štikonas 2017-06-25 13:11:59 UTC
Git commit 6ba4d4bf9365e4fa5ee1e80d50405c5c743ea407 by Andrius Štikonas, on behalf of Hains van den Bosch.
Committed on 25/06/2017 at 13:10.
Pushed by stikonas into branch 'frameworks'.

Fix board loading.

REVIEW: 127989

M  +0    -13   qml/Board.qml
M  +8    -1    qml/Table.qml

https://commits.kde.org/kreversi/6ba4d4bf9365e4fa5ee1e80d50405c5c743ea407