hyprwm / xdg-desktop-portal-hyprland

xdg-desktop-portal backend for Hyprland
BSD 3-Clause "New" or "Revised" License
305 stars 48 forks source link

Picker crashes immediately #21

Closed RubberDuckShobe closed 1 year ago

RubberDuckShobe commented 1 year ago

The picker crashes instantly upon opening. This doesn't happen when xdg-desktop-portal-hyprland is run manually from a terminal, it only happens if it's run as a service.

The log from systemctl --user status:

Feb 04 00:09:49 dottodot systemd-coredump[11411]: [🡕] Process 11409 (hyprland-share-) of user 1000 dumped core.

                                                  Stack trace of thread 11409:
                                                  #0  0x00007fe7614a164c n/a (libc.so.6 + 0x8864c)
                                                  #1  0x00007fe761451938 raise (libc.so.6 + 0x38938)
                                                  #2  0x00007fe76143b53d abort (libc.so.6 + 0x2253d)
                                                  #3  0x00007fe76169a833 _ZN9__gnu_cxx27__verbose_terminate_handlerEv (libstdc++.so.6 + 0x9a833)
                                                  #4  0x00007fe7616a6ccc _ZN10__cxxabiv111__terminateEPFvvE (libstdc++.so.6 + 0xa6ccc)
                                                  #5  0x00007fe7616a6d39 _ZSt9terminatev (libstdc++.so.6 + 0xa6d39)
                                                  #6  0x00007fe7616a6f9d __cxa_throw (libstdc++.so.6 + 0xa6f9d)
                                                  #7  0x00007fe76169d55b _ZSt24__throw_out_of_range_fmtPKcz (libstdc++.so.6 + 0x9d55b)
                                                  #8  0x00005605e0e21c20 _Z10getWindowsPKc (hyprland-share-picker + 0x9c20)
                                                  #9  0x00005605e0e1ce6a main (hyprland-share-picker + 0x4e6a)
                                                  #10 0x00007fe76143c290 n/a (libc.so.6 + 0x23290)
                                                  #11 0x00007fe76143c34a __libc_start_main (libc.so.6 + 0x2334a)
                                                  #12 0x00005605e0e1f555 _start (hyprland-share-picker + 0x7555)
                                                  ELF object binary architecture: AMD x86-64
Feb 04 00:09:49 dottodot xdg-desktop-portal-hyprland[10665]: 2023/02/04 00:09:49 [ERROR] - wlroots: no output / window found
vaxerski commented 1 year ago

can I get the full logs of the service