NICHOLAS85 / gebaar-libinput

Gebaar, A Super Simple WM Independent Touchpad Gesture Daemon for libinput
GNU General Public License v3.0
7 stars 4 forks source link

Segmentation fault on launch #8

Closed hoshsadiq closed 4 years ago

hoshsadiq commented 4 years ago

Hello, again, thank you for enabling the issues.

As mentioned, I'm struggling to get this fork running. Running verbosely, it seems to correctly read the config, but then does a core dump. Not really sure how else to try and debug.

$ cat /home/hosh/.config/gebaar/gebaard.toml
[[swipe.commands]]
fingers = 3
type = "GESTURE"
up = "xdotool key ctrl+alt+Up"
down = "xdotool key ctrl+alt+Down"
left = "xdotool key alt+Right"
right = "xdotool key alt+Left"

[[swipe.commands]]
fingers = 4
type = "GESTURE"
up = "xdotool key super"
down = "xdotool key super"

$ gebaard -v
verbose mode
[2020-09-08 21:29:00.958] [main] [debug] [config] at 136 - config path generated: '/home/hosh/.config/gebaar/gebaard.toml'
[2020-09-08 21:29:00.958] [main] [debug] [config] at 40 - Config parsed
[2020-09-08 21:29:00.958] [main] [debug] [config] at 46 - Generating SWIPE_COMMANDS
[2020-09-08 21:29:00.958] [main] [debug] [config] at 61 - Generating PINCH_COMMANDS
[1]    2956004 segmentation fault (core dumped)  gebaard -v

Any help is appreciated!

hoshsadiq commented 4 years ago

Okay, so never mind. After I posted this, I realised that actually it wasn't reading the config correctly. Had a look through the code, and fixed the issue.

NICHOLAS85 commented 4 years ago

Hey just pushed a commit which should fix that!

hoshsadiq commented 4 years ago

Sweet! Thanks!