Skip to content

Segfault when loading profile (and every start after) #1353

Description

@DSDV

Is there an existing issue for this?

  • I searched the existing issues and did not find anything similar.

Current Behavior

Crashing after attempting to load a .amgp profile

$ ./AntiMicroX-debug-x86_64.AppImage 
Selecting uinput as a default event generator.❌ERROR	Received: SIGSEGV (segmentation fault)
❗WARN	Stack trace:
❗WARN	./AntiMicroX-debug-x86_64.AppImage(+0x21f29b) [0x55fcd03e729b]	
❗WARN	/lib64/libc.so.6(+0x19fb0) [0x7f6bf456dfb0]	
❗WARN	./AntiMicroX-debug-x86_64.AppImage(_ZN7JoyAxis14getNAxisButtonEv+0x10) [0x55fcd05a8d04]	
❗WARN	./AntiMicroX-debug-x86_64.AppImage(_ZN10JoyAxisXmlC1EP7JoyAxisP7QObject+0x8d) [0x55fcd06739ab]	
❗WARN	./AntiMicroX-debug-x86_64.AppImage(_ZN14SetJoystickXml10readConfigEP16QXmlStreamReader+0x41e) [0x55fcd0681e40]	
❗WARN	./AntiMicroX-debug-x86_64.AppImage(_ZN14InputDeviceXml10readConfigEP16QXmlStreamReader+0x635) [0x55fcd066817b]	
❗WARN	./AntiMicroX-debug-x86_64.AppImage(_ZN15XMLConfigReader4readEv+0x69a) [0x55fcd0685d7e]	
❗WARN	./AntiMicroX-debug-x86_64.AppImage(_ZN15XMLConfigReader14configJoystickEP11InputDevice+0x2c) [0x55fcd06856e0]	
❗WARN	./AntiMicroX-debug-x86_64.AppImage(_ZN18JoyTabWidgetHelper14readConfigFileE7QString+0x139) [0x55fcd0665d67]	
❗WARN	./AntiMicroX-debug-x86_64.AppImage(+0x20bb83) [0x55fcd03d3b83]	
❗WARN	/tmp/.mount_AntiMi4Yt89j/usr/bin/../lib/libQt6Core.so.6(_ZN7QObject5eventEP6QEvent+0x2d3) [0x7f6bf4b76683]	
❗WARN	/tmp/.mount_AntiMi4Yt89j/usr/bin/../lib/libQt6Widgets.so.6(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x90) [0x7f6bf618b3b0]	
❗WARN	/tmp/.mount_AntiMi4Yt89j/usr/bin/../lib/libQt6Core.so.6(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x128) [0x7f6bf4b38448]	
❗WARN	/tmp/.mount_AntiMi4Yt89j/usr/bin/../lib/libQt6Core.so.6(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x1a5) [0x7f6bf4b38635]	
❗WARN	/tmp/.mount_AntiMi4Yt89j/usr/bin/../lib/libQt6Core.so.6(+0x333a8f) [0x7f6bf4d33a8f]	
❗WARN	/tmp/.mount_AntiMi4Yt89j/usr/bin/../lib/libglib-2.0.so.0(+0x5d585) [0x7f6bf439e585]	
❗WARN	/tmp/.mount_AntiMi4Yt89j/usr/bin/../lib/libglib-2.0.so.0(+0xbc977) [0x7f6bf43fd977]	
❗WARN	/tmp/.mount_AntiMi4Yt89j/usr/bin/../lib/libglib-2.0.so.0(g_main_context_iteration+0x33) [0x7f6bf439da23]	
❗WARN	/tmp/.mount_AntiMi4Yt89j/usr/bin/../lib/libQt6Core.so.6(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x6f) [0x7f6bf4d315ef]	
❗WARN	/tmp/.mount_AntiMi4Yt89j/usr/bin/../lib/libQt6Core.so.6(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x2e3) [0x7f6bf4b429a3]	
❗WARN	/tmp/.mount_AntiMi4Yt89j/usr/bin/../lib/libQt6Core.so.6(_ZN7QThread4execEv+0xa3) [0x7f6bf4c10683]	
❗WARN	/tmp/.mount_AntiMi4Yt89j/usr/bin/../lib/libQt6Core.so.6(+0x27c48d) [0x7f6bf4c7c48d]	
❗WARN	/lib64/libc.so.6(+0x72c19) [0x7f6bf45c6c19]	
❗WARN	/lib64/libc.so.6(+0xf65cc) [0x7f6bf464a5cc]	
$ flatpak run io.github.antimicrox.antimicrox 
Selecting uinput as a default event generator.❗WARN	Failed to register service io.github.antimicrox on session bus. Is the name already in use?
❌ERROR	Received: SIGSEGV (segmentation fault)
❗WARN	Stack trace:
❗WARN	antimicrox(+0xbc97d) [0x55ad30ea997d]	
❗WARN	/usr/lib/x86_64-linux-gnu/libc.so.6(+0x424f0) [0x7fbf7c6434f0]	
❗WARN	antimicrox(+0x1d96e4) [0x55ad30fc66e4]	
❗WARN	antimicrox(+0x27377b) [0x55ad3106077b]	
❗WARN	antimicrox(+0x27f2de) [0x55ad3106c2de]	
❗WARN	antimicrox(+0x26e63f) [0x55ad3105b63f]	
❗WARN	antimicrox(+0x280e9d) [0x55ad3106de9d]	
❗WARN	antimicrox(+0x267294) [0x55ad31054294]	
❗WARN	antimicrox(+0xab80f) [0x55ad30e9880f]	
❗WARN	/usr/lib/x86_64-linux-gnu/libQt6Core.so.6(_ZN7QObject5eventEP6QEvent+0x14c) [0x7fbf7ce0b1bc]	
❗WARN	/usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x8f) [0x7fbf7e5a6f9f]
❗WARN	/usr/lib/x86_64-linux-gnu/libQt6Core.so.6(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x168) [0x7fbf7cdae008]	
❗WARN	/usr/lib/x86_64-linux-gnu/libQt6Core.so.6(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x369) [0x7fbf7cdb1bf9]	
❗WARN	/usr/lib/x86_64-linux-gnu/libQt6Core.so.6(+0x4e7a0f) [0x7fbf7d0e7a0f]	
❗WARN	/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x6418e) [0x7fbf7c50f18e]	
❗WARN	/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x651bf) [0x7fbf7c5101bf]	
❗WARN	/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x33) [0x7fbf7c510323]	
❗WARN	/usr/lib/x86_64-linux-gnu/libQt6Core.so.6(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x5d) [0x7fbf7d0e6f1d]	
❗WARN	/usr/lib/x86_64-linux-gnu/libQt6Core.so.6(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x1a3) [0x7fbf7cdbafe3]	
❗WARN	/usr/lib/x86_64-linux-gnu/libQt6Core.so.6(_ZN7QThread4execEv+0xf6) [0x7fbf7cede1c6]	
❗WARN	/usr/lib/x86_64-linux-gnu/libQt6Core.so.6(+0x38c3d4) [0x7fbf7cf8c3d4]	
❗WARN	/usr/lib/x86_64-linux-gnu/libc.so.6(+0x9a66a) [0x7fbf7c69b66a]	
❗WARN	/usr/lib/x86_64-linux-gnu/libc.so.6(__clone+0x44) [0x7fbf7c71ef94]

Expected Behavior

Loading the Profile / not crashing

Steps To Reproduce

Fresh install AntiMicroX (tried AppImage and Flatpak - with udev rules)
Attemt to load profile

Environment

Program Version 3.6.1-d
Compiled from packaging: 3.6.1-debug-x86_64 (AppImage-debug)
Built Against SDL 2.32.10
Running With SDL 2.32.10
Using Qt 6.4.2
Using Event Handler: uinput
Compositor type: wayland
Host OS: bazzite Version: 44 Architecture: x86_64

Program Version 3.6.1
Compiled from packaging: flatpak
Built Against SDL 2.32.66
Running With SDL 2.32.70
Using Qt 6.10.3
Using Event Handler: uinput
Compositor type: wayland
Host OS: org.kde.Platform Version: 6.10 Architecture: x86_64

Anything else?

https://paste.gloriouseggroll.tv/?57215706b58b65ab#J3KWPpYRYj2drRG3hRwGuuR2gAcudMDg6jYvdZcx5szm

profile i tried to load (since i cant upload the file i uploaded the content

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    LinuxLinux-only issuesbugSomething isn't workingwaiting for feedbackWaiting for feedback from users

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions