elementary / elementary/settings-wacom

System Settings crashes when clicking on Pen & Drawing

Open
#83 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Vala
Stars
22
Forks
5
PR merge metrics
No merged PRs in 30d

Description

### What Happened?

_System Settings_ quits and dumps core when I go to _Pen & Drawing_.

### Steps to Reproduce

1. Open System Settings
2. Go to Pen & Drawing. It should crash when you click it.

### Expected Behavior

Later I found that deleting the cache folder at `~/.cache/io.elementary.settings/` makes it work, but only once; it crashes again after reopening _System Settings_.

The cache file at `~/.cache/io.elementary.settings/wacom/devices` contains this:
```
[056a:037a]
Styli=Generic;
```

And there is nothing else in that folder. The error message (see below) references a missing file/directory at `~/.cache/io.elementary.settings/wacom/tools`, and it's really not there.

Installed package versions:
- io.elementary.settings: `8.0.3~r1431+pkg88~ubuntu8.1`
- io.elementary.settings.wacom: `8.0.2+r453+pkg7~ubuntu24.04.1`

Journald logs a core dump, which you can find here (near the bottom): [journald.log](https://github.com/user-attachments/files/25213722/journald.log)

I'm also attaching the output of `G_MESSAGES_DEBUG=all io.elementary.settings`: [elementary-settings.log](https://github.com/user-attachments/files/25213938/elementary-settings.log)

### OS Version

8.x (Circe)

### OS Architecture

amd64 (on most hardwares)

### Session Type

Secure Session (Wayland, This is the default)

### Software Version

Latest release (I have run all updates)

### Log Output

```shell
(io.elementary.settings:31016): io.elementary.settings.wacom-WARNING **: 11:42:10.093: WacomToolMap.vala:76: Could not load tools keyfile '/home/dsilva/.cache/io.elementary.settings/wacom/tools': No such file or directory
free(): double free detected in tcache 2
```

### Hardware Info

Tablet: One by Wacom CTL-472

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.