Closing multiple notifications crashes unity8

Bug #1453958 reported by Gustavo Pichorim Boiko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
kevin gunn
unity-notifications
Fix Released
High
Lukáš Tinkl

Bug Description

If a notification client places multiple notifications and ask them to be removed all at once, unity8 crashes.

The attached python3 script reproduces the problem.
You might need to install python3-notify2 for the script to work.

Related branches

Revision history for this message
Gustavo Pichorim Boiko (boiko) wrote :
summary: - Closing multiple notifications crash unity8
+ Closing multiple notifications crashes unity8
Revision history for this message
Tiago Salem Herrmann (tiagosh) wrote :

It is worth noting that the crash is not reproducible if you remove the notifications in the same order they were created, this is why the clear() method is using reversed(range(20)) instead of range(20).

Revision history for this message
Gustavo Pichorim Boiko (boiko) wrote :
Revision history for this message
Mirco Müller (macslow) wrote :

Managed to reproduce that here.

Changed in unity-notifications:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Mirco Müller (macslow)
Mirco Müller (macslow)
Changed in unity-notifications:
status: Confirmed → In Progress
Bill Filler (bfiller)
Changed in canonical-devices-system-image:
milestone: none → ww46-2015
assignee: nobody → Kevin Gunn (kgunn)
assignee: Kevin Gunn (kgunn) → nobody
assignee: nobody → kevin gunn (kgunn72)
importance: Undecided → High
kevin gunn (kgunn72)
Changed in unity-notifications:
assignee: Mirco Müller (macslow) → nobody
Michał Sawicz (saviq)
Changed in canonical-devices-system-image:
status: New → In Progress
Changed in unity-notifications:
assignee: nobody → Lukáš Tinkl (lukas-kde)
Michał Sawicz (saviq)
Changed in unity-notifications:
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.