Skip to content

SVG in notifications results in a double free or corruption #512

@lightdiscord

Description

@lightdiscord

When I display a notification with a PNG it works but when it is a SVG no notification is displayed.
In journalctl I have an error:

Apr 30 13:52:22 nixos org.freedesktop.Notifications[1132]: double free or corruption (out)

While the notification gets sent:

signal time=1525089139.442770 sender=org.freedesktop.DBus -> destination=:1.789 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
   string ":1.789"
signal time=1525089139.442782 sender=org.freedesktop.DBus -> destination=:1.789 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
   string ":1.789"
method call time=1525089140.924184 sender=:1.790 -> destination=:1.788 serial=6 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=GetServerInformation
method call time=1525089140.924710 sender=:1.790 -> destination=:1.788 serial=7 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
   string "notify-send"
   uint32 0
   string "/home/arnaud/Documents/papirus-icons/Papirus/64x64/apps/spotify-client.png"
   string "Hello world!"
   string "this is"
   array [
   ]
   array [
      dict entry(
         string "urgency"
         variant             byte 1
      )
   ]
   int32 -1
method call time=1525089142.006995 sender=:1.791 -> destination=:1.788 serial=6 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=GetServerInformation
method call time=1525089142.007305 sender=:1.791 -> destination=:1.788 serial=7 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
   string "notify-send"
   uint32 0
   string "/home/arnaud/Documents/papirus-icons/spotify-client.svg"
   string "Hello world!"
   string "this is"
   array [
   ]
   array [
      dict entry(
         string "urgency"
         variant             byte 1
      )
   ]
   int32 -1

Installation info

  • Version: 1.3.1
  • Install type: NixOS dunst derivation
  • Distro and version: NixOS (18.09pre137749.b5fd3a0bc70 (Jellyfish))

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions