Skip to content

NVidia: Core dump with --gpu option when connecting #360

@Ra2-IFV

Description

@Ra2-IFV

Useful information:

Please, try to gather as much of useful information as possible and follow
these instructions:

  • Version:
wayvnc: v0.9.1-e4ec935 (makepkg)
neatvnc: v0.9.1-cc19604 (makepkg)
aml: v0.3.0-0-gb83f357 (makepkg)
  • Try to reproduce while capturing a trace log:
Info: Capturing output DP
Info: >> 0000000000000 (DP) 1920x1080+0x0 Power:UNKNOWN
DEBUG: ../wayvnc/src/ctl-server.c: 809: Initializing wayvncctl socket: /run/user/1000/wayvncctl
DEBUG: ../wayvnc/src/ctl-server.c: 778: Connecting to existing socket in case it's stale
DEBUG: ../wayvnc/src/ctl-server.c: 785: Connect failed: Connection refused
Warning: ../wayvnc/src/ctl-server.c: 788: Deleting stale control socket path "/run/user/1000/wayvncctl"
DEBUG: ../neatvnc/src/server.c: 2114: Trying address: 0.0.0.0
DEBUG: ../neatvnc/src/server.c: 2129: Successfully bound to address
Info: Listening for connections on 0.0.0.0:5901
Info: New client connection from 127.0.0.1: 0x574e94a77620
DEBUG: ../neatvnc/src/server.c: 357: Client chose security type: 1
DEBUG: ../wayvnc/src/main.c: 1640: Configuring cursor capturing
DEBUG: ../wayvnc/src/main.c: 1656: Failed to capture cursor
Info: Starting screen capture
DEBUG: ../wayvnc/src/main.c: 1030: Acquired power state management. Waiting for power event to start capturing
DEBUG: ../wayvnc/src/main.c: 1383: Client connected, new client count: 1
DEBUG: ../wayvnc/src/ctl-server.c: 941: Enqueueing client-connected event: {"id":"1","address":"127.0.0.1","username":null,"seat":"seat0","connection_count":1}
DEBUG: ../wayvnc/src/ctl-server.c: 968: Enqueued client-connected event for 0 clients
Info: Client 0x574e94a77620 initialised. MIN-RTT during handshake was 0 ms
DEBUG: ../neatvnc/src/server.c: 673: Client 0x574e94a77620 set encodings: cursor,desktop-size,extended-desktop-size,qemu-led-state,vmware-led-state,extended-clipboard,continuous-updates,fence,qemu-extended-key-event,tight,copyrect,open-h264,zrle,hextile,rre,copyrect,raw
DEBUG: ../neatvnc/src/server.c: 2686: Keyboard LED state changed: ffffffff -> 0
Info: Choosing tight encoding for client 0x574e94a77620
DEBUG: ../neatvnc/src/server.c: 1630: Sending extended desktop resize rect: 1920x1080
DEBUG: ../wayvnc/src/buffer.c: 606: Reconfiguring buffer pool
DEBUG: ../wayvnc/src/buffer.c: 552: Using render node: /dev/dri/renderD128
DEBUG: ../neatvnc/src/server.c: 2686: Keyboard LED state changed: 0 -> 2
Segmentation fault (core dumped)
  • Get the stack trace:
Stack trace of thread 10000:
#0  0x00007bd52d680581 n/a (libc.so.6 + 0x16c581)
#1  0x00007bd52d786d5a nvnc_display_feed_buffer (libneatvnc.so.0 + 0x18d5a)
#2  0x000058c7d3306eab n/a (wayvnc + 0xbeab)
#3  0x000058c7d330bdba n/a (wayvnc + 0x10dba)
#4  0x00007bd52d50e596 n/a (libffi.so.8 + 0x7596)
#5  0x00007bd52d50b00e n/a (libffi.so.8 + 0x400e)
#6  0x00007bd52d50dbd3 ffi_call (libffi.so.8 + 0x6bd3)
#7  0x00007bd52d7a58b0 n/a (libwayland-client.so.0 + 0x48b0)
#8  0x00007bd52d7a6139 n/a (libwayland-client.so.0 + 0x5139)
#9  0x00007bd52d7a6553 wl_display_dispatch_queue_pending (libwayland-client.so.0 + 0x5553)
#10 0x000058c7d33094fd n/a (wayvnc + 0xe4fd)
#11 0x00007bd52d7da61f aml_dispatch (libaml.so.0 + 0x361f)
#12 0x000058c7d33015b1 n/a (wayvnc + 0x65b1)
#13 0x00007bd52d539e08 n/a (libc.so.6 + 0x25e08)
#14 0x00007bd52d539ecc __libc_start_main (libc.so.6 + 0x25ecc)
#15 0x000058c7d3302405 n/a (wayvnc + 0x7405)
  • Describe how to reproduce the problem

Command

  • wayvnc --gpu

Config

address=0.0.0.0
port=5901
use_relative_paths=true

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions