Bug 1376589 - [abrt] quadrapassel: game_land_shape(): quadrapassel killed by SIGSEGV
Summary: [abrt] quadrapassel: game_land_shape(): quadrapassel killed by SIGSEGV
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: quadrapassel
Version: 24
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tanner Doshier
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:8fb83abd39665354f135d2f160f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-15 20:30 UTC by Tomi Leppänen
Modified: 2017-08-08 17:23 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-08-08 17:23:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (40.24 KB, text/plain)
2016-09-15 20:30 UTC, Tomi Leppänen
no flags Details
File: cgroup (242 bytes, text/plain)
2016-09-15 20:30 UTC, Tomi Leppänen
no flags Details
File: core_backtrace (2.31 KB, text/plain)
2016-09-15 20:30 UTC, Tomi Leppänen
no flags Details
File: dso_list (11.69 KB, text/plain)
2016-09-15 20:31 UTC, Tomi Leppänen
no flags Details
File: environ (1.98 KB, text/plain)
2016-09-15 20:31 UTC, Tomi Leppänen
no flags Details
File: exploitable (82 bytes, text/plain)
2016-09-15 20:31 UTC, Tomi Leppänen
no flags Details
File: limits (1.29 KB, text/plain)
2016-09-15 20:31 UTC, Tomi Leppänen
no flags Details
File: maps (60.45 KB, text/plain)
2016-09-15 20:31 UTC, Tomi Leppänen
no flags Details
File: mountinfo (3.12 KB, text/plain)
2016-09-15 20:31 UTC, Tomi Leppänen
no flags Details
File: namespaces (102 bytes, text/plain)
2016-09-15 20:31 UTC, Tomi Leppänen
no flags Details
File: open_fds (1.27 KB, text/plain)
2016-09-15 20:31 UTC, Tomi Leppänen
no flags Details
File: proc_pid_status (1.12 KB, text/plain)
2016-09-15 20:31 UTC, Tomi Leppänen
no flags Details
File: var_log_messages (307 bytes, text/plain)
2016-09-15 20:31 UTC, Tomi Leppänen
no flags Details
Prevent setting up timer when game has ended (836 bytes, patch)
2016-09-19 19:13 UTC, Tomi Leppänen
no flags Details | Diff
Prevent unpause when game is over (824 bytes, patch)
2016-09-19 19:16 UTC, Tomi Leppänen
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 771541 0 None None None 2016-09-16 15:20:07 UTC

Description Tomi Leppänen 2016-09-15 20:30:51 UTC
Description of problem:
I played a game of Quadrapassel and when it ended I pressed pause key (which I've set it to P instead of Pause, because I use Pause for other things).
The game paused, although it had already ended.
Then I pressed pause key again and it crashed.

I can reproduce this every time. I think I might write a patch for this, when I've got some time (possibly this weekend or next week).

Version-Release number of selected component:
quadrapassel-3.20.0-1.fc24

Additional info:
reporter:       libreport-2.7.2
backtrace_rating: 4
cmdline:        /usr/bin/quadrapassel
crash_function: game_land_shape
executable:     /usr/bin/quadrapassel
global_pid:     4566
kernel:         4.7.3-200.fc24.x86_64
pkg_fingerprint: 73BD E983 81B4 6521
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (6 frames)
 #0 game_land_shape at game.c:1744
 #1 game_fall_timeout_cb at game.c:894
 #6 g_main_context_iteration at gmain.c:3901
 #7 g_application_run at gapplication.c:2381
 #8 quadrapassel_main at quadrapassel.c:2886
 #10 _start

Comment 1 Tomi Leppänen 2016-09-15 20:30:56 UTC
Created attachment 1201389 [details]
File: backtrace

Comment 2 Tomi Leppänen 2016-09-15 20:30:58 UTC
Created attachment 1201390 [details]
File: cgroup

Comment 3 Tomi Leppänen 2016-09-15 20:30:59 UTC
Created attachment 1201391 [details]
File: core_backtrace

Comment 4 Tomi Leppänen 2016-09-15 20:31:01 UTC
Created attachment 1201392 [details]
File: dso_list

Comment 5 Tomi Leppänen 2016-09-15 20:31:02 UTC
Created attachment 1201393 [details]
File: environ

Comment 6 Tomi Leppänen 2016-09-15 20:31:04 UTC
Created attachment 1201394 [details]
File: exploitable

Comment 7 Tomi Leppänen 2016-09-15 20:31:05 UTC
Created attachment 1201395 [details]
File: limits

Comment 8 Tomi Leppänen 2016-09-15 20:31:07 UTC
Created attachment 1201396 [details]
File: maps

Comment 9 Tomi Leppänen 2016-09-15 20:31:09 UTC
Created attachment 1201397 [details]
File: mountinfo

Comment 10 Tomi Leppänen 2016-09-15 20:31:10 UTC
Created attachment 1201398 [details]
File: namespaces

Comment 11 Tomi Leppänen 2016-09-15 20:31:12 UTC
Created attachment 1201399 [details]
File: open_fds

Comment 12 Tomi Leppänen 2016-09-15 20:31:13 UTC
Created attachment 1201400 [details]
File: proc_pid_status

Comment 13 Tomi Leppänen 2016-09-15 20:31:15 UTC
Created attachment 1201401 [details]
File: var_log_messages

Comment 14 Michael Catanzaro 2016-09-16 15:18:26 UTC
(In reply to Tomi Leppänen from comment #0) 
> I can reproduce this every time. I think I might write a patch for this,
> when I've got some time (possibly this weekend or next week).

That's appreciated, thanks!

Comment 15 Tomi Leppänen 2016-09-19 19:13:21 UTC
Created attachment 1202617 [details]
Prevent setting up timer when game has ended

This fixes the crashing when the game has ended. This is done by checking if the game has ended before setting up drop timer. I will send another patch to prevent pause action after the game has ended, but this alone prevents the segmentation fault.

Comment 16 Tomi Leppänen 2016-09-19 19:16:19 UTC
Created attachment 1202618 [details]
Prevent unpause when game is over

This is the second patch I mentioned. It also prevents the crashing, but I don't think it's good solution alone. This patch prevents pause key action from happening after the game is over and that way the text shown to the user doesn't change.

Comment 17 Michael Catanzaro 2016-09-19 21:12:08 UTC
I didn't realize you had a GNOME Bugzilla account; it'd be better to attach your fixes upstream.

Comment 18 Tomi Leppänen 2016-09-20 07:37:50 UTC
I didn't have. I created it yesterday to be able to follow the report. Anyway, I send the fixes to that report.

Comment 19 Tomi Leppänen 2016-12-14 12:28:03 UTC
This is still happening with Fedora 25. It seems that no one has picked up my patches.

Comment 20 Fedora End Of Life 2017-07-25 23:03:29 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 21 Fedora End Of Life 2017-08-08 17:23:03 UTC
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.