[palapeli] [Bug 398416] Crash on startup via Panel icon

2021-12-09 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=398416

Albert Astals Cid  changed:

   What|Removed |Added

  Latest Commit|https://commits.kde.org/pal |https://invent.kde.org/game
   |apeli/ff1e5bc8415167801c1b2 |s/palapeli/commit/a3b934913
   |40fe7384d858e84aa5c |1bd0d465adcef0da6dca908990d
   ||fc62

--- Comment #21 from Albert Astals Cid  ---
Git commit a3b9349131bd0d465adcef0da6dca908990dfc62 by Albert Astals Cid.
Committed on 17/10/2018 at 17:31.
Pushed by aacid into branch 'arcpatch-D16118'.

Fix crash on startup

Summary:
There was various threads using the same kconfig[group] at the same time, so
bad things happened.
Add a mutex

Test Plan:
Run
  rm -f ~/.config/palapeli* && palapeli
a few times, see it doesn't crash anymore

Reviewers: #kde_games

Subscribers: chehrlic, kde-games-devel

Differential Revision: https://phabricator.kde.org/D16118

M  +5-1src/file-io/collection.cpp
M  +3-0src/file-io/collection.h
M  +10   -4src/file-io/components-collectionstorage.cpp
M  +2-1src/file-io/components.h

https://invent.kde.org/games/palapeli/commit/a3b9349131bd0d465adcef0da6dca908990dfc62

-- 
You are receiving this mail because:
You are watching all bug changes.

[palapeli] [Bug 398416] Crash on startup via Panel icon

2019-09-02 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=398416

Albert Astals Cid  changed:

   What|Removed |Added

 CC||rlgl...@netzero.com

--- Comment #20 from Albert Astals Cid  ---
*** Bug 411407 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[palapeli] [Bug 398416] Crash on startup via Panel icon

2019-07-19 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=398416

Albert Astals Cid  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--- Comment #19 from Albert Astals Cid  ---
Debian is using old palapeli, according to
https://repology.org/project/palapeli/badges it's 18.04

My fix went into 18.08

Don't use Debian or don't complain that bugs are not fixed.

-- 
You are receiving this mail because:
You are watching all bug changes.

[palapeli] [Bug 398416] Crash on startup via Panel icon

2019-07-19 Thread Peter Hillier-Brook
https://bugs.kde.org/show_bug.cgi?id=398416

Peter Hillier-Brook  changed:

   What|Removed |Added

 Resolution|FIXED   |---
 Status|RESOLVED|REOPENED

--- Comment #18 from Peter Hillier-Brook  ---
Not fixed in Buster (Palapeli 2.1), see below.

CONSTRUCTED TeleportPieceInteractor
CONSTRUCTED ToggleCloseUpInteractor
SCENE RECT QRectF(-30,-30 101.6x101.6) VIEW SIZE QSize(640, 480)
View::zoomTo: level 100 scalingFactor 0.32 QPoint(1156,511)
QPointF(200.832,79.2136)
Initial size of Palapeli::View QSize(640, 480)
QObject::moveToThread: Current thread (0x55dce5d52540) is not the object's
thread (0x55dce5d52540).
Cannot move to target thread (0x55dce5d52540)

KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = palapeli path = /usr/games pid = 10954
KCrash: Arguments: /usr/games/palapeli 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from
kdeinit
sock_file=/run/user/1000/kdeinit5__0
QSocketNotifier: Invalid socket 6 and type 'Read', disabling...

-- 
You are receiving this mail because:
You are watching all bug changes.

[palapeli] [Bug 398416] Crash on startup via Panel icon

2018-10-17 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=398416

Albert Astals Cid  changed:

   What|Removed |Added

  Latest Commit||https://commits.kde.org/pal
   ||apeli/ff1e5bc8415167801c1b2
   ||40fe7384d858e84aa5c
 Resolution|--- |FIXED
 Status|CONFIRMED   |RESOLVED

--- Comment #17 from Albert Astals Cid  ---
Git commit ff1e5bc8415167801c1b240fe7384d858e84aa5c by Albert Astals Cid.
Committed on 17/10/2018 at 17:32.
Pushed by aacid into branch 'Applications/18.08'.

Fix crash on startup

Summary:
There was various threads using the same kconfig[group] at the same time, so
bad things happened.
Add a mutex

Test Plan:
Run
  rm -f ~/.config/palapeli* && palapeli
a few times, see it doesn't crash anymore

Reviewers: #kde_games

Subscribers: chehrlic, kde-games-devel

Differential Revision: https://phabricator.kde.org/D16118

M  +5-1src/file-io/collection.cpp
M  +3-0src/file-io/collection.h
M  +10   -4src/file-io/components-collectionstorage.cpp
M  +2-1src/file-io/components.h

https://commits.kde.org/palapeli/ff1e5bc8415167801c1b240fe7384d858e84aa5c

-- 
You are receiving this mail because:
You are watching all bug changes.

[palapeli] [Bug 398416] Crash on startup via Panel icon

2018-10-10 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=398416

--- Comment #16 from Albert Astals Cid  ---
https://phabricator.kde.org/D16118

-- 
You are receiving this mail because:
You are watching all bug changes.

[palapeli] [Bug 398416] Crash on startup via Panel icon

2018-10-10 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=398416

Albert Astals Cid  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Ever confirmed|0   |1
 Status|NEEDSINFO   |CONFIRMED

--- Comment #15 from Albert Astals Cid  ---
Actually i can reproduce the problem myself.

-- 
You are receiving this mail because:
You are watching all bug changes.

[palapeli] [Bug 398416] Crash on startup via Panel icon

2018-10-10 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=398416

Albert Astals Cid  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|REPORTED|NEEDSINFO

--- Comment #14 from Albert Astals Cid  ---
If you start it from the terminal does it have the same problem?

-- 
You are receiving this mail because:
You are watching all bug changes.

[palapeli] [Bug 398416] Crash on startup via Panel icon

2018-09-26 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=398416

Christoph Feck  changed:

   What|Removed |Added

 Status|NEEDSINFO   |REPORTED
 Resolution|BACKTRACE   |---

--- Comment #13 from Christoph Feck  ---
Thanks for the update; changing status.

Not sure why it crashes while using QLockFile, it might be a multi-threading
issue.

-- 
You are receiving this mail because:
You are watching all bug changes.

[palapeli] [Bug 398416] Crash on startup via Panel icon

2018-09-22 Thread Peter Hillier-Brook
https://bugs.kde.org/show_bug.cgi?id=398416

Peter Hillier-Brook  changed:

   What|Removed |Added

 Attachment #115148|0   |1
is obsolete||

--- Comment #12 from Peter Hillier-Brook  ---
Created attachment 115163
  --> https://bugs.kde.org/attachment.cgi?id=115163=edit
Corrected gdb output

Sorry: it's self evident after coffee! Correct dump attached.

-- 
You are receiving this mail because:
You are watching all bug changes.

[palapeli] [Bug 398416] Crash on startup via Panel icon

2018-09-21 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=398416

--- Comment #11 from Christoph Feck  ---
The 'gdb' log from comment #8 shows that Palapeli already crashed. But after
that, you need to use the 'bt' command to show the backtrace.

-- 
You are receiving this mail because:
You are watching all bug changes.

[palapeli] [Bug 398416] Crash on startup via Panel icon

2018-09-21 Thread Peter Hillier-Brook
https://bugs.kde.org/show_bug.cgi?id=398416

--- Comment #10 from Peter Hillier-Brook  ---
I didn't forget the 'bt'. It was the "make it crash" that stumped me. How would
you suggest that I do this?

-- 
You are receiving this mail because:
You are watching all bug changes.

[palapeli] [Bug 398416] Crash on startup via Panel icon

2018-09-21 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=398416

--- Comment #9 from Christoph Feck  ---
You forgot the 'bt' command in gdb to actually get the backtrace.

-- 
You are receiving this mail because:
You are watching all bug changes.

[palapeli] [Bug 398416] Crash on startup via Panel icon

2018-09-21 Thread Peter Hillier-Brook
https://bugs.kde.org/show_bug.cgi?id=398416

Peter Hillier-Brook  changed:

   What|Removed |Added

 Attachment #114862|0   |1
is obsolete||

--- Comment #8 from Peter Hillier-Brook  ---
Created attachment 115148
  --> https://bugs.kde.org/attachment.cgi?id=115148=edit
Requested output of gdb

It looks as if we are closer - seg fault in the gdb run. Not completely clear
about "make it crash" so Ctrl D and 'y'

For info, Buster has valgrind as version 3.13.0 which shows as current on the
valgrind web site.

-- 
You are receiving this mail because:
You are watching all bug changes.

[palapeli] [Bug 398416] Crash on startup via Panel icon

2018-09-20 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=398416

--- Comment #7 from Albert Astals Cid  ---
Arg, you have an old valgrind that doesn't like new Qt.

Can you try with 
gdb palapeli
run
 make it crash 
bt
 attach here the output 

-- 
You are receiving this mail because:
You are watching all bug changes.

[palapeli] [Bug 398416] Crash on startup via Panel icon

2018-09-20 Thread Peter Hillier-Brook
https://bugs.kde.org/show_bug.cgi?id=398416

Peter Hillier-Brook  changed:

   What|Removed |Added

 CC||p...@hbsys.plus.com

--- Comment #6 from Peter Hillier-Brook  ---
Created attachment 115131
  --> https://bugs.kde.org/attachment.cgi?id=115131=edit
Output of valgrind as requested

I don't know how useful the valgrind data are, but I'm more than happy to do as
I'm told.

PS The seg fault appears to be occurring during the loading and populating of
the sheet of completed puzzles.

-- 
You are receiving this mail because:
You are watching all bug changes.

[palapeli] [Bug 398416] Crash on startup via Panel icon

2018-09-19 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=398416

--- Comment #5 from Albert Astals Cid  ---
Can you run the program thorugh valgrind in a terminnal
 valgrind palapeli
and attach the output?

-- 
You are receiving this mail because:
You are watching all bug changes.

[palapeli] [Bug 398416] Crash on startup via Panel icon

2018-09-09 Thread Peter Hillier-Brook
https://bugs.kde.org/show_bug.cgi?id=398416

--- Comment #4 from Peter Hillier-Brook  ---
Sorry about the duff screenshot. It showed that there was no useful backtrace
and I'm presently unable to reproduce the crash since installing the debug
package. Also, all my completed puzzles are no longer available, just boxes
with "Loading puzzle..." in lieu of the images.

-- 
You are receiving this mail because:
You are watching all bug changes.

[palapeli] [Bug 398416] Crash on startup via Panel icon

2018-09-09 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=398416

Albert Astals Cid  changed:

   What|Removed |Added

 CC||aa...@kde.org

--- Comment #3 from Albert Astals Cid  ---
Are you sure about that screenshot? I don't see anything palapeli related there

-- 
You are receiving this mail because:
You are watching all bug changes.

[palapeli] [Bug 398416] Crash on startup via Panel icon

2018-09-09 Thread Peter Hillier-Brook
https://bugs.kde.org/show_bug.cgi?id=398416

--- Comment #2 from Peter Hillier-Brook  ---
Created attachment 114862
  --> https://bugs.kde.org/attachment.cgi?id=114862=edit
Screenshot of bug assistant output.

Debug symbols installed, but still no useful crash information. Dialogue box
attached.

-- 
You are receiving this mail because:
You are watching all bug changes.

[palapeli] [Bug 398416] Crash on startup via Panel icon

2018-09-09 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=398416

Christoph Feck  changed:

   What|Removed |Added

 Resolution|--- |BACKTRACE
 Status|UNCONFIRMED |NEEDSINFO

--- Comment #1 from Christoph Feck  ---
If the crash is reproducible, please add the backtrace for the crash. For more
information, please see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

-- 
You are receiving this mail because:
You are watching all bug changes.

[palapeli] [Bug 398416] Crash on startup via Panel icon

2018-09-09 Thread Peter Hillier-Brook
https://bugs.kde.org/show_bug.cgi?id=398416

Peter Hillier-Brook  changed:

   What|Removed |Added

   Platform|Other   |Debian testing

-- 
You are receiving this mail because:
You are watching all bug changes.