[Bug 1705704] Re: Amarok APG: crashes if checkpoint is unassigned in CheckpointConstraint

1 view
Skip to first unread message

Bug Watch Updater

unread,
Jul 21, 2017, 10:01:10 AM7/21/17
to amarok-ub...@googlegroups.com
** Changed in: amarok
Importance: Unknown => Medium

--
You received this bug notification because you are a member of Amarok
Wolf Brigade, which is subscribed to amarok in Ubuntu.
https://bugs.launchpad.net/bugs/1705704

Title:
Amarok APG: crashes if checkpoint is unassigned in
CheckpointConstraint

To manage notifications about this bug go to:
https://bugs.launchpad.net/amarok/+bug/1705704/+subscriptions

Bug Watch Updater

unread,
Apr 24, 2024, 8:40:50 AM4/24/24
to amarok-ub...@googlegroups.com
Launchpad has imported 2 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=382456.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2017-07-18T08:05:31+00:00 P wrote:

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 :
pascal@minipc:~$ cat Musique/classiques3.xml
<?xml version="1.0" encoding="UTF-8"?>
<playlistgenerator>
<generatorpreset title="classiques3">
<constrainttree>
<group matchtype="all">
<constraint field="genre" comparison="3" invert="false" type="TagMatch" value="Classical" strictness="0.1"/>
</group>
</constrainttree>
</generatorpreset>
</playlistgenerator>

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::ConstraintSolver] New ConstraintSolver with serial number 967666005
amarok: [APG::ConstraintNode] new constraint node at 0x31de3f90 with parent at 0x2f6023f0
amarok: [APG::ConstraintSolver] Domain has 4376 tracks
amarok: [APG::ConstraintSolver] Running ConstraintSolver 967666005
amarok: Fatal IO error: client killed
Unable to start Dr. Konqi
Not forwarding the crash to Apport.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/amarok/+bug/1705704/comments/0

------------------------------------------------------------------------
On 2024-04-23T20:20:11+00:00 Tuomas-1 wrote:

Reproducible with 2.9.82. Let's see if I'll come up with a fix sometime

Reply at:
https://bugs.launchpad.net/ubuntu/+source/amarok/+bug/1705704/comments/3

Bug Watch Updater

unread,
May 8, 2024, 1:50:33 AM5/8/24
to amarok-ub...@googlegroups.com
** Changed in: amarok
Status: Unknown => Fix Released

--
You received this bug notification because you are a member of Amarok
Wolf Brigade, which is subscribed to Amarok.
Reply all
Reply to author
Forward
0 new messages