Amarok APG: crashes if checkpoint is unassigned in CheckpointConstraint
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Amarok |
Fix Released
|
Medium
|
|||
amarok (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
amarok allows me to generate an incomplete model of APL using an incomplete "checkpoint" constraint.
to reproduce start with for example this APL model :
pascal@minipc:~$ cat Musique/
<?xml version="1.0" encoding="UTF-8"?>
<playlistgenerator>
<generatorpreset title="
<constraint
<group matchtype="all">
<constraint field="genre" comparison="3" invert="false" type="TagMatch" value="Classical" strictness="0.1"/>
</group>
</constrain
</generatorpr
</playlistgener
then just
add a "checkpoint" constraint to the constrainttree (see screenshot)
but do not select anything as checkpoint parameters,
just adjust strictness of checkpoint to exact
click OK
the new model is saved
when editing this model you see the 2 constraints are there as in the screenshot but when exporting this model to a file the "checkpoint" constraint is absent !
now try to execute this model ==> amarok crashes
running in debug mode gives this upon executing this incomplete model :
pascal@minipc:~$ amarok: [APG::Constrain
amarok: [APG::Constrain
amarok: [APG::Constrain
amarok: [APG::Constrain
amarok: Fatal IO error: client killed
Unable to start Dr. Konqi
Not forwarding the crash to Apport.
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: amarok 2:2.8.0-0ubuntu9
ProcVersionSign
Uname: Linux 4.10.0-
ApportVersion: 2.20.4-0ubuntu4.5
Architecture: amd64
CurrentDesktop: KDE
Date: Fri Jul 21 15:18:23 2017
InstallationDate: Installed on 2016-05-14 (432 days ago)
InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: amarok
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in amarok: | |
importance: | Unknown → Medium |
Changed in amarok: | |
status: | Unknown → Fix Released |
Created attachment 106703
the apl model with empty checkpoint condition that crashes amarok
amarok allows me to generate an incomplete model of APL using an incomplete "checkpoint" constraint.
to reproduce start with for example this APL model : classiques3. xml classiques3" > tree> ttree> eset> ator>
pascal@minipc:~$ cat Musique/
<?xml version="1.0" encoding="UTF-8"?>
<playlistgenerator>
<generatorpreset title="
<constraint
<group matchtype="all">
<constraint field="genre" comparison="3" invert="false" type="TagMatch" value="Classical" strictness="0.1"/>
</group>
</constrain
</generatorpr
</playlistgener
then just
add a "checkpoint" constraint to the constrainttree (see screenshot)
but do not select anything as checkpoint parameters,
just adjust strictness of checkpoint to exact
click OK
the new model is saved
when editing this model you see the 2 constraints are there as in the screenshot but when exporting this model to a file the "checkpoint" constraint is absent !
now try to execute this model ==> amarok crashes
running in debug mode gives this upon executing this incomplete model :
pascal@minipc:~$ amarok: [APG::Constrain tSolver] New ConstraintSolver with serial number 967666005 tNode] new constraint node at 0x31de3f90 with parent at 0x2f6023f0 tSolver] Domain has 4376 tracks tSolver] Running ConstraintSolver 967666005
amarok: [APG::Constrain
amarok: [APG::Constrain
amarok: [APG::Constrain
amarok: Fatal IO error: client killed
Unable to start Dr. Konqi
Not forwarding the crash to Apport.