lettier/gifcurry

Segmentation fault when trying to open a file

Forage opened this issue · 6 comments

Hi,

I wanted to try out gifcurry, but the program (GUI) crashes as soon as I try to open a file like mp4 or webm.

./gifcurry-6.0.1.0-x86_64.AppImage 
(gifcurry_gui:265563): Gtk-WARNING **: 17:50:01.650: Content added to the action area of a dialog using header bars
(gifcurry_gui:265563): Gtk-WARNING **: 17:50:01.650: Content added to the action area of a dialog using header bars
(gifcurry_gui:265563): Gtk-WARNING **: 17:50:01.650: Content added to the action area of a dialog using header bars
(gifcurry_gui:265563): Gtk-WARNING **: 17:50:01.692: Content added to the action area of a dialog using header bars
(gifcurry_gui:265563): Gtk-WARNING **: 17:50:01.692: Content added to the action area of a dialog using header bars
(gifcurry_gui:265563): Gtk-WARNING **: 17:50:01.744: Content added to the action area of a dialog using header bars
(gifcurry_gui:265563): Gtk-WARNING **: 17:50:01.744: Content added to the action area of a dialog using header bars
(gifcurry_gui:265563): Gtk-WARNING **: 17:50:02.064: Theme parsing error: <data>:98:17: The :insensitive pseudo-class is deprecated. Use :disabled instead.
(gifcurry_gui:265563): Gtk-WARNING **: 17:50:02.064: Theme parsing error: <data>:99:20: The :insensitive pseudo-class is deprecated. Use :disabled instead.
(gifcurry_gui:265563): Gtk-WARNING **: 17:50:02.064: Theme parsing error: <data>:103:18: The :insensitive pseudo-class is deprecated. Use :disabled instead.
(gifcurry_gui:265563): Gtk-WARNING **: 17:50:02.064: Theme parsing error: <data>:104:21: The :insensitive pseudo-class is deprecated. Use :disabled instead.
(gifcurry_gui:265563): Gtk-WARNING **: 17:50:02.065: Theme parsing error: <data>:731:25: The style property GtkPaned:handle-size is deprecated and shouldn't be used anymore. It will be removed in a future version
Segmentation fault (core dumped)

Steps to reproduce:

  1. Open gifcurry
  2. Click "open"
  3. Select a file
  4. Click "open"

The GUI shows up for a split second and disappears again.

I'm on Ubuntu 20.10 (Wayland) with:

  • gifcurry 6.0.1.0 (AppImage)
  • imagemagic 6.9.10.23
  • ffmpeg 4.3.1
  • gstreamer 1.18.0

The same thing happens with the prebuild gifcurry_gui.

I am seeing the same problem on Ubuntu 20.10 with both the AppImage version and the pre-build binaries.

I'm experiencing the same issue. Usually, if I restart gifcurry, it will open the file on a second try. On one occasion, it did not succeed until the fourth try.
Console output:

(gifcurry_gui:16112): Gtk-WARNING **: 15:30:59.813: Theme parsing error: <data>:98:17: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(gifcurry_gui:16112): Gtk-WARNING **: 15:30:59.813: Theme parsing error: <data>:99:20: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(gifcurry_gui:16112): Gtk-WARNING **: 15:30:59.813: Theme parsing error: <data>:103:18: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(gifcurry_gui:16112): Gtk-WARNING **: 15:30:59.813: Theme parsing error: <data>:104:21: The :insensitive pseudo-class is deprecated. Use :disabled instead.

(gifcurry_gui:16112): Gtk-WARNING **: 15:30:59.815: Theme parsing error: <data>:731:25: The style property GtkPaned:handle-size is deprecated and shouldn't be used anymore. It will be removed in a future version
[ERROR] gst-inspect-1.0: readCreateProcessWithExitCode: runInteractiveProcess: exec: does not exist (No such file or directory)

** (gifcurry_gui:16112): CRITICAL **: 15:31:09.823: gst_vaapi_display_lock: assertion 'display != NULL' failed

** (gifcurry_gui:16112): CRITICAL **: 15:31:09.823: gst_vaapi_display_unlock: assertion 'display != NULL' failed
Segmentation fault (core dumped)

These messages are in /var/log/syslog and line up with the crashes:

kernel: [12427.111776] qtdemux0:sink[16099]: segfault at 7f3e80003070 ip 00007f3e9d07c14d sp 00007f3e55ff8ce8 error 7 in libc-2.31.so[7f3e9cf38000+178000]
kernel: [12451.640778] qtdemux0:sink[16178]: segfault at 7fc9b829c070 ip 00007fc9d6ebf14d sp 00007fc9b99bbce8 error 7 in libc-2.31.so[7fc9d6d7b000+178000]

Ubuntu 20.04 LTS
Gifcurry 6.0.1.0 (AppImage)
imagemagick 6.9.10.23
ffmpeg 4.2.4

same here from the tgz on debian testing

ffmpeg : 7:4.3.2-0+deb11u1
imagemagick : 8:6.9.11.60+dfsg-1

Hello,

Unfortunately, I could not reproduce this.

Ubuntu 20.04 Wayland:

Ubuntu 20.10 Wayland:

👍

Still segfaults for me when opening an MP4 on Ubuntu 21.04 (X.org) with the 6.0.1.0 AppImage. The same happened on Ubuntu 20.10 (X.org) earlier.

$ uname -a
Linux raf 5.11.0-22-generic #23-Ubuntu SMP Thu Jun 17 00:34:23 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

@lettier do you try from a clean install ?
Because you maybe have some not list dependancies or a custom build env.