air-controller-desktop icon indicating copy to clipboard operation
air-controller-desktop copied to clipboard

AirController launches for a second than crashes with a segfault

Open gholmann16 opened this issue 2 years ago • 3 comments

Describe the bug AppImage opens up then exits with a segfault. Here is the error left behind:

(air_controller_desktop:36769): Gdk-CRITICAL **: 15:34:19.797: gdk_monitor_get_geometry: assertion 'GDK_IS_MONITOR (monitor)' failed

(air_controller_desktop:36769): Gdk-CRITICAL **: 15:34:19.797: gdk_monitor_get_workarea: assertion 'GDK_IS_MONITOR (monitor)' failed

(air_controller_desktop:36769): Gdk-CRITICAL **: 15:34:19.797: gdk_monitor_get_model: assertion 'GDK_IS_MONITOR (monitor)' failed

(air_controller_desktop:36769): Gdk-CRITICAL **: 15:34:19.797: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
Segmentation fault (core dumped)

To Reproduce

  1. Download latest AirController AppImage
  2. Make it executable
  3. Run app in terminal or file explorer
  4. See error

OS (please complete the OS information): OS: Arch Linux

App version(please complete the versions information):

  • AirController desktop: 0.3.1

gholmann16 avatar Oct 03 '22 19:10 gholmann16

Hi, @Seren541 Thank you for your feedback. I can't reproduce this error, could you provide more information about this issue?

yuanhoujun avatar Oct 04 '22 03:10 yuanhoujun

When I run Air Controller in gdb, I get the same error, but the application stalls until I force quit it. This is what has changed:

(air_controller_desktop:43305): Gdk-CRITICAL **: 21:50:33.498: gdk_monitor_get_geometry: assertion 'GDK_IS_MONITOR (monitor)' failed

(air_controller_desktop:43305): Gdk-CRITICAL **: 21:50:33.498: gdk_monitor_get_workarea: assertion 'GDK_IS_MONITOR (monitor)' failed

(air_controller_desktop:43305): Gdk-CRITICAL **: 21:50:33.498: gdk_monitor_get_model: assertion 'GDK_IS_MONITOR (monitor)' failed

(air_controller_desktop:43305): Gdk-CRITICAL **: 21:50:33.498: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed

Thread 1 "air_controller_" received signal SIGSEGV, Segmentation fault.
0x00007ffff4f6ff7d in ?? () from /usr/lib/libc.so.6

Can't really debug without the -g flag being attached to whatever executables are being ran within your appimage. Same thing happens when I extract your appimage and run the executable itself.

gholmann16 avatar Oct 06 '22 01:10 gholmann16

OK,thank you so much

yuanhoujun avatar Oct 06 '22 03:10 yuanhoujun