Bug 25086 - traps: sol[2342] general protection fault ip:7f9fde2004a0 sp:7ffc2476c8e8 error:0 in libpthread-2.29.so[7f9fde1fc000+f000]
Summary: traps: sol[2342] general protection fault ip:7f9fde2004a0 sp:7ffc2476c8e8 err...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA7-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2019-07-10 09:17 CEST by Gérard Quéquet
Modified: 2020-03-07 18:42 CET (History)
6 users (show)

See Also:
Source RPM: aisleriot
CVE:
Status comment:


Attachments

Description Gérard Quéquet 2019-07-10 09:17:54 CEST
Description of problem:

A few days ago I installed Mageia 7 on my small PC mini-itx ATOM 330 ZOTAC 
ION ITX F-E with xfce4 as DE. It is a fresh install. The HD is a new SANDISK 
SSD. The package aisleriot-3.22.8-2mga7.rpm is installed.
This is what happens when I try to play solitaire:

$ sol
Segmentation fault (core dumped)

If then I run dmesg I see one new line like this one has been added:

$ dmesg
...
[279.390947] traps: sol[2342] general protection fault ip:7f9fde2004a0
sp:7ffc2476c8e8 error:0 in libpthread-2.29.so[7f9fde1fc000+f000]

I have to try again and again sometimes 10 or 20 times before the game 
agrees to start and then I can play as many games as I want.

This issue is the same when using non-free nvidia or nouveau graphic driver.

This issue happens less often with LxQt DE and almost never with Openbox. It doesn't happen on my big desktop (Mageia 7, xfce).
Comment 1 Marja Van Waes 2019-07-13 17:33:48 CEST
Assigning to our base system maintainers, CC'ing our registered glibc maintainer

Summary: Issues when starting sol in xfce DE on some computer => traps: sol[2342] general protection fault ip:7f9fde2004a0 sp:7ffc2476c8e8 error:0 in libpthread-2.29.so[7f9fde1fc000+f000]
CC: (none) => marja11, tmb
Assignee: bugsquad => basesystem

Comment 2 Gérard Quéquet 2019-08-05 17:50:36 CEST
Today I upgraded Mageia-6 to Mageia-7 on my eeepc with ION Nvidia GPU. The same issue happens.

Hardware: x86_64 => i586

Comment 3 Gérard Quéquet 2019-09-17 15:58:04 CEST
Today I found the explanation that have nothing to do with glibc: Sol doesn't start if the package PySolFC-cardsets is not installed!
Not obvious for everybody...
Comment 4 José Jorge 2019-09-17 18:37:13 CEST
(In reply to Gérard Quéquet from comment #3)
> Today I found the explanation that have nothing to do with glibc: Sol
> doesn't start if the package PySolFC-cardsets is not installed!
> Not obvious for everybody...


Thanks for the report, I have added a require in aisleriot on PySolFC-cardsets. I feel this is not worth an official update to MGA7, what do you think?

Status: NEW => RESOLVED
Resolution: (none) => FIXED
CC: (none) => lists.jjorge

Comment 5 Gérard Quéquet 2019-09-17 19:06:22 CEST
As a user, I think an update is necessary but I don't know what rules a packager has to respect...
Comment 6 Thomas Backlund 2019-09-17 19:10:06 CEST
(In reply to José Jorge from comment #4)
> (In reply to Gérard Quéquet from comment #3)
> > Today I found the explanation that have nothing to do with glibc: Sol
> > doesn't start if the package PySolFC-cardsets is not installed!
> > Not obvious for everybody...
> 
> 
> Thanks for the report, I have added a require in aisleriot on
> PySolFC-cardsets. I feel this is not worth an official update to MGA7, what
> do you think?

Just push it... it will avoid another bug report...
Comment 7 José Jorge 2019-09-17 19:32:08 CEST
Okay, push done. I have updated the minor bugfix version so that we hopefully get some other bugs fixed ;-)

Suggested advisory :
aisleriot package did not require PySolFC-cardsets, so solitaire game was unplayable. This update requires PySolFC-cardsets, and brings some other bugfixes - mostly translation updates - in the 3.22.9 version.

RPM:
aisleriot-3.22.9-1.mga7.x86_64.rpm

SRPM:
aisleriot-3.22.9-1.mga7.src.rpm

Hardware: i586 => All
Status: RESOLVED => REOPENED
Resolution: FIXED => (none)
Assignee: basesystem => qa-bugs

Comment 8 Gérard Quéquet 2019-09-18 22:56:12 CEST
I am not sure adding PySolFC-cardsets depandency is the better solution, since aisleriot installation puts enough necessary cards in /usr/share/aisleriot/cards as you can see:

$ ls -1 /usr/share/aisleriot/cards/
anglo_bitmap.svgz
anglo.svgz
bellot.svgz
bonded.svgz
dondorf.svgz
gnomangelo_bitmap.svgz
gnomangelo.svgz
guyenne-classic.svgz
ornamental.svgz
paris.svgz
swiss-xvii.svgz
tango.svgz

Perhaps another thing is missing on my eeepc and Thinkcenter pcs. Today I have played sol on a third pc on wich PySolFC-cardsets is *not installed* !
Rémi Verschelde 2019-09-20 11:04:31 CEST

Source RPM: glibc-2.29-13.mga7.src.rpm => aisleriot

Comment 9 Herman Viaene 2019-09-20 15:58:30 CEST
MGA7-64 Plasma on Lenovo B50.
I did not have aisleriot yet , so installed current version and problem replicates.
When checking what packages the update draws in, it is not just the PySolFC-cardsets that were missing, but also 
- freecell-solver-5.6.0-1.mga7.x86_64
- lib64sdl2_mixer2.0_0-2.0.4-2.mga7.x86_64
- python3-pillow-tk-5.4.1-1.mga7.x86_64
- python3-pysol-sound-server-3.20-3.mga7.x86_64
- python3-random2-1.0.1-7.mga7.noarch
- tkinter-2.7.16-2.mga7.x86_64
- tkinter3-3.7.3-1.mga7.x86_64

And up to now, I've never had an aisleriot installation NOT taking PySolFC-cardsets with it.

So in my opinion the update does matter. As far as I am concerned, this can be OK'ed.

CC: (none) => herman.viaene

Thomas Backlund 2019-09-21 17:01:22 CEST

CC: (none) => sysadmin-bugs
Whiteboard: (none) => MGA7-64-OK
Keywords: (none) => advisory, validated_update

Comment 10 Mageia Robot 2019-09-21 18:06:28 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2019-0136.html

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED

Comment 11 Julien Moragny 2019-10-01 21:45:57 CEST
FWIW, this update make MGA#18786 very annoying and visible.

CC: (none) => julien.moragny

Comment 12 Gérard Quéquet 2020-03-07 16:18:58 CET
I don't agree adding dependencies that are not needed by aisleriot to play solitaire games. Aisleriot is not PySolFC. Those who want PySolFC can always install this package and its dependencies.

I think a better solution would be to remove any references to Pysol in the aisleriot.spec file like I did yesterday before rebuilding aisleriot.src.rpm.

My modifications :
Line 40 : Comment "Requires:	PySolFC-cardsets"
Ligne 54 : replace "--with-card-theme-formats=svg,fixed,pysol" with 
"--with-card-theme-formats=svg"
Ligne 55 : remove the line "--with-pysol-card-theme-path=%{_datadir}/PySolFC"

Hopping this experience could help to a definitive solution.
Gérard Quéquet 2020-03-07 16:21:10 CET

Resolution: FIXED => (none)
Status: RESOLVED => REOPENED

Comment 13 Thomas Backlund 2020-03-07 18:42:17 CET
The update is already pushed

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED


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