void-linux / void-linux/void-packages

segfault when opening file with gtk+3 based application from file manager under wayfire

Open
#42,689 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-testing
Dominant language
Shell
Stars
3.4k
Forks
2.8k
Avg merge
2d 5h
Merged PRs (30d)
299

Description

Is this a new report?

Yes

System Info

Void 6.1.15_1 x86_64 GenuineIntel uptodate rF

Package(s) Affected

gtk+3-3.24.37_1

Does a report exist for this bug with the project's home (upstream) and/or another distro?

No response

Expected behaviour

When I double click on a file or choose „Open with“ from context menu in file managers like nautilus or thunar the file should open in the registered/chosen application.

Actual behaviour

If the registered/chosen application depends on gtk+3 nothing seems to happen. One can find a segfault error message in syslog (e.g.):

2023-03-10T13:58:56.05209 kern.info: [11477.386779] gedit[19023]: segfault at 40 ip 00007f59bf4c5d40 sp 00007fff48588128 error 4 in libwayland-client.so.0.21.0[7f59bf4c4000+6000] likely on CPU 4 (core 4, socket 0) 2023-03-10T13:58:56.05212 kern.info: [11477.386789] Code: 89 20 41 bc ff ff ff ff eb 8f 48 89 77 30 c3 66 66 2e 0f 1f 84 00 00 00 00 00 48 8b 47 30 c3 66 66 2e 0f 1f 84 00 00 00 00 00 <8b> 47 40 c3 66 66 2e 0f 1f 84 00 00 00 00 00 90 8b 47 10 c3 66 66

This behavior started with the update to gtk+3-3.24.37_1

Steps to reproduce
  1. Use wayfire as window manager
  2. Try to open file from graphical file manager (e.g. nautilus, thunar etc.) with double click or from context menu
  3. Nothing seems to happen
  4. The targeted gtk+3-based app crashes with segfault

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash with wayfire, a GTK+3 application, and a file manager such as nautilus or thunar, then inspect the syslog segfault in libwayland-client.so. Compare behavior with gtk+3 before and after 3.24.37_1. Done means opening a file through double-click or “Open with” no longer crashes the target application.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.