Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-vv and -vvv flags cause segfault #216

Open
jmdevin opened this issue Sep 8, 2024 · 0 comments
Open

-vv and -vvv flags cause segfault #216

jmdevin opened this issue Sep 8, 2024 · 0 comments

Comments

@jmdevin
Copy link

jmdevin commented Sep 8, 2024

Description

Doing activate-linux -vvv or activate-linux -vv causes a segfault.

Build info

OS: Ubuntu 24.04.1
Build command:

CC=gcc-14 CFLAGS='-ggdb -O0 -Wall -Wpedantic -Wextra' PREFIX="/home/john/.local" make

Additional Info

I had to add a file extension to attach it, but just in case it's useful, I've attached the dump file here:
activate_linux_vvv_core_dump.txt

Also, when I run activate-linux normally, it does work, but it gives the message: ERROR: Missing a required wayland interface, which looks like it's from here: (link).

This was the gdb backtrace.

Core was generated by `./activate-linux -vvv'.
Program terminated with signal SIGSEGV, Segmentation fault.
Downloading source file /usr/src/wayland-1.22.0-2.1build1/build/../src/wayland-client.c
#0  0x0000780cfffb53e4 in wl_proxy_marshal_flags (proxy=0x7fff94a980d8, opcode=0, interface=0x5b23780af240, version=2494144513, flags=0) at ../src/wayland-client.c:819
819             wl_argument_from_va_list(proxy->object.interface->methods[opcode].signature,
(gdb) where
#0  0x0000780cfffb53e4 in wl_proxy_marshal_flags (proxy=0x7fff94a980d8, opcode=0, interface=0x5b23780af240, version=2494144513, flags=0) at ../src/wayland-client.c:819
#1  0x00005b23780a7bf1 in ?? ()
#2  0x00005b23780a85d6 in ?? ()
#3  0x0000780cffe1db16 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#4  0x0000780cffe1a3ef in ffi_call_int (cif=cif@entry=0x7fff94a97cb0, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0)
    at ../src/x86/ffi64.c:673
#5  0x0000780cffe1d0be in ffi_call (cif=cif@entry=0x7fff94a97cb0, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7fff94a97d80)
    at ../src/x86/ffi64.c:710
#6  0x0000780cfffb1bfe in wl_closure_invoke (closure=closure@entry=0x5b23791d7e30, target=<optimized out>, target@entry=0x5b23791d7510, opcode=opcode@entry=2,
    data=<optimized out>, flags=1) at ../src/connection.c:1025
#7  0x0000780cfffb2473 in dispatch_event (display=display@entry=0x5b23791d0d60, queue=0x5b23791d0e50) at ../src/wayland-client.c:1631
#8  0x0000780cfffb271c in dispatch_queue (queue=0x5b23791d0e50, display=0x5b23791d0d60) at ../src/wayland-client.c:1777
#9  wl_display_dispatch_queue_pending (display=0x5b23791d0d60, queue=0x5b23791d0e50) at ../src/wayland-client.c:2019
#10 0x00005b23780a8a53 in ?? ()
#11 0x00005b23780a5eb6 in ?? ()
#12 0x0000780cffc2a1ca in __libc_start_call_main (main=main@entry=0x5b23780a5d29, argc=argc@entry=2, argv=argv@entry=0x7fff94a980d8)
    at ../sysdeps/nptl/libc_start_call_main.h:58
#13 0x0000780cffc2a28b in __libc_start_main_impl (main=0x5b23780a5d29, argc=2, argv=0x7fff94a980d8, init=<optimized out>, fini=<optimized out>,
    rtld_fini=<optimized out>, stack_end=0x7fff94a980c8) at ../csu/libc-start.c:360
#14 0x00005b23780a5c65 in ?? ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant