AndreasBackx / waycorner

Hot corners for Wayland. Create anchors in the corners of your monitors and execute a command of your choice.
MIT License
83 stars 7 forks source link

core dumped #14

Closed salkin-mada closed 1 year ago

salkin-mada commented 1 year ago

Arch Linux 6.1.8 Wayland 1.21.0 Sway 1.8

❯ waycorner
[wayland-client error] Attempted to dispatch unknown opcode 0 for wl_shm, aborting.
zsh: IOT instruction (core dumped)  waycorner
salkin-mada commented 1 year ago

It worked some weeks ago. Now no more :) Something I am missing here?

Okanda commented 1 year ago

Same error here. Same apps versions : EndeavourOS Wayland 1.21.0 Sway 1.8

$ waycorner
[wayland-client error] Attempted to dispatch unknown opcode 0 for wl_shm, aborting.
Abandon (core dumped)
salkin-mada commented 1 year ago

not really any info to find here:

~ 
❯ export RUST_LOG=trace 

~ 
❯ waycorner
[2023-02-07T05:10:47Z DEBUG waycorner::config] Replacing ~/ with $HOME/
[2023-02-07T05:10:47Z INFO  waycorner::config] Using config: /home/salkin/.config/waycorner/config.toml
[wayland-client error] Attempted to dispatch unknown opcode 0 for wl_shm, aborting.
zsh: IOT instruction (core dumped)  waycorner

~ 
❯ export RUST_LOG=debug
~ 
❮ waycorner            
[2023-02-07T05:11:07Z DEBUG waycorner::config] Replacing ~/ with $HOME/
[2023-02-07T05:11:07Z INFO  waycorner::config] Using config: /home/salkin/.config/waycorner/config.toml
[wayland-client error] Attempted to dispatch unknown opcode 0 for wl_shm, aborting.
zsh: IOT instruction (core dumped)  waycorner

~ 
❯ export RUST_LOG=info 
~ 
❮ waycorner           
[2023-02-07T05:11:19Z INFO  waycorner::config] Using config: /home/salkin/.config/waycorner/config.toml
[wayland-client error] Attempted to dispatch unknown opcode 0 for wl_shm, aborting.
zsh: IOT instruction (core dumped)  waycorner

~ 
❯ export RUST_LOG=warn
~ 
❮ waycorner           
[wayland-client error] Attempted to dispatch unknown opcode 0 for wl_shm, aborting.
zsh: IOT instruction (core dumped)  waycorner

~ 
❯ export RUST_LOG=error
~ 
❮ waycorner            
[wayland-client error] Attempted to dispatch unknown opcode 0 for wl_shm, aborting.
zsh: IOT instruction (core dumped)  waycorner
salkin-mada commented 1 year ago

coredumpctl info Is this a (g)libc versioning issue?

           PID: 29687 (waycorner)
           UID: 1000 (salkin)
           GID: 1000 (salkin)
        Signal: 6 (ABRT)
     Timestamp: Tue 2023-02-07 06:11:44 CET (8min ago)
  Command Line: waycorner
    Executable: /usr/bin/waycorner
 Control Group: /user.slice/user-1000.slice/session-1.scope
          Unit: session-1.scope
         Slice: user-1000.slice
       Session: 1
     Owner UID: 1000 (salkin)
       Boot ID: ~~..ada3..~~
    Machine ID: ~~..e5f8..~~
      Hostname: ~~abcd~~
       Storage: /var/lib/systemd/coredump/core.waycorner.1000.0f213c497c54456ea0db3b20e619ada3.29687.1675746704000000.zst (present)
  Size on Disk: 115.8K
       Message: Process 29687 (waycorner) of user 1000 dumped core.

                Stack trace of thread 29687:
                #0  0x00007f91d480464c n/a (libc.so.6 + 0x8864c)
                #1  0x00007f91d47b4938 raise (libc.so.6 + 0x38938)
                #2  0x00007f91d479e53d abort (libc.so.6 + 0x2253d)
                #3  0x000055d41c8fb803 n/a (waycorner + 0x111803)
                #4  0x00007f91d4ae7d65 n/a (libwayland-client.so + 0x7d65)
                #5  0x00007f91d4ae7ffc wl_display_dispatch_queue_pending (libwayland-client.so + 0x7ffc)
                #6  0x00007f91d4aeac10 wl_display_roundtrip_queue (libwayland-client.so + 0xac10)
                #7  0x000055d41c85454f n/a (waycorner + 0x6a54f)
                #8  0x000055d41c86560f n/a (waycorner + 0x7b60f)
                #9  0x000055d41c87a6c2 n/a (waycorner + 0x906c2)
                #10 0x000055d41c8684ed n/a (waycorner + 0x7e4ed)
                #11 0x000055d41c86aa73 n/a (waycorner + 0x80a73)
                #12 0x000055d41c8478b9 n/a (waycorner + 0x5d8b9)
                #13 0x000055d41c9ae96f n/a (waycorner + 0x1c496f)
                #14 0x000055d41c868f48 n/a (waycorner + 0x7ef48)
                #15 0x00007f91d479f290 n/a (libc.so.6 + 0x23290)
                #16 0x00007f91d479f34a __libc_start_main (libc.so.6 + 0x2334a)
                #17 0x000055d41c832c55 n/a (waycorner + 0x48c55)
                ELF object binary architecture: AMD x86-64
jhpaques commented 1 year ago

15 fixes this.

The smithay-client-toolkit, wayland-client, and wayland-protocols crates were out of date.