NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.16k stars 14.19k forks source link

peek fails when rendering GIF #58433

Closed mpickering closed 5 years ago

mpickering commented 5 years ago

Issue description

After recording a gif using peek it aborts whilst trying to save the gif.

Using screen recorder backend ffmpeg

(peek:4697): Gtk-WARNING **: 11:39:02.531: Could not find the icon 'media-record-symbolic-ltr'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
    http://icon-theme.freedesktop.org/releases

(peek:4697): dconf-WARNING **: 11:39:32.999: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

(peek:4697): dconf-WARNING **: 11:39:33.044: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

(peek:4697): dconf-WARNING **: 11:39:33.071: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

(peek:4697): dconf-WARNING **: 11:39:33.091: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

(peek:4697): dconf-WARNING **: 11:39:33.111: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

(peek:4697): dconf-WARNING **: 11:39:33.131: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

(peek:4697): dconf-WARNING **: 11:39:33.147: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

(peek:4697): dconf-WARNING **: 11:39:33.167: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

(peek:4697): dconf-WARNING **: 11:39:33.183: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

(peek:4697): dconf-WARNING **: 11:39:33.200: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

(peek:4697): dconf-WARNING **: 11:39:33.217: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

(peek:4697): dconf-WARNING **: 11:39:33.233: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
realloc(): invalid old size
Aborted

Steps to reproduce

Record a GIF using peek and and try to save it.

Technical details

# - system: `"x86_64-linux"`
 - host os: `Linux 4.19.19, NixOS, 19.09.git.da1a2b1 (Loris)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.2`
 - nixpkgs: `/home/matt/nixpkgs`
mpickering commented 5 years ago

Solved this by installing gnome3.dconf and enabling programs.dconf.enable = true;.

mpickering commented 5 years ago

The gif rendering still fails but the other formats (webm/mp4) work after this change.

worldofpeace commented 5 years ago

I noticed lots of reports upstream of issues like this. I feel like they all could be using a too recent vala version for this application.

So I was able to reproduce this issue, but after compiling with a pinned vala_0_40 the issue ceased Peek 2019-03-27 10-25

gif I recorded with success
davidv171 commented 4 years ago

I'm still experiencing this issue by the way. Needed to install dconf and enable it, like described above.