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

[BUG]: Pot fails to start on Arch Linux (Wayland, KDE Plasma) #1021

Open
bekzadkopelov opened this issue Jan 14, 2025 · 2 comments
Open

[BUG]: Pot fails to start on Arch Linux (Wayland, KDE Plasma) #1021

bekzadkopelov opened this issue Jan 14, 2025 · 2 comments

Comments

@bekzadkopelov
Copy link

Description

I am experiencing an issue where the pot application fails to start successfully on a fresh installation of Arch Linux with KDE Plasma on Wayland. I installed pot from the AUR using yay -S pot-translation, and running the application with the pot command produces a segmentation fault.

Reproduction

I have already attempted the following steps as per the README and other guidance:

Set the environment variable WEBKIT_DISABLE_DMABUF_RENDERER=1.
Restarted the system to ensure the variable was applied.
Verified that all system packages and dependencies are up-to-date (sudo pacman -Syu).

Platform

Linux

System Version

Arch Linux Kernel: 6.12.9-zen1-1-zen

Window System (Linux Only)

Wayland

Software Version

3.0.6-1

Log File

Here is the relevant part of the error log when running pot:
[2025-01-14][17:40:59][TRACE][polling::epoll] modify: epoll_fd=14, fd=13, ev=Event { key: 0, readable: true, writable: false }
[2025-01-14][17:40:59][TRACE][async_io::driver] main_loop: waiting on I/O
[2025-01-14][17:40:59][TRACE][tracing::span::active] -> {};
[2025-01-14][17:40:59][TRACE][async_io::reactor] process_timers: 0 ready wakers
[2025-01-14][17:40:59][TRACE][polling] Poller::wait(_, None)
[2025-01-14][17:40:59][TRACE][polling::epoll] wait: epoll_fd=14, timeout=None
[2025-01-14][17:40:59][TRACE][tracing::span::active] <- {};
[2025-01-14][17:40:59][TRACE][polling::epoll] modify: epoll_fd=14, fd=16, ev=Event { key: 18446744073709551615, readable: true, writable: false }
[2025-01-14][17:40:59][TRACE][tracing::span::active] -> {};
[2025-01-14][17:40:59][TRACE][tracing::span::active] <- {};
[2025-01-14][17:40:59][TRACE][tracing::span] -- {};
[2025-01-14][17:40:59][TRACE][async_io::driver] block_on: sleep until notification

** (pot:3161): WARNING **: 20:40:59.900: webkit_settings_set_enable_offline_web_application_cache is deprecated and does nothing.
[1] 3161 segmentation fault (core dumped) pot

Additional Information

The application works when launched directly from the AppImage (./pot_3.0.6_amd64.AppImage), but not when installed via AUR. This behavior suggests there may be an issue with the AUR package or its integration with my system's environment.

Environment:

OS: Arch Linux (EndeavourOS-based)
Display Server: Wayland
Desktop Environment: KDE Plasma
Application Version: Pot 3.0.6 (installed from AUR)
Additional Notes: All dependencies are installed, and the issue persists even after applying the recommended environment variable.

Can you please investigate this issue or provide advice on additional troubleshooting steps? Thank you!

@bekzadkopelov
Copy link
Author

$ gdb pot 139 ↵
GNU gdb (GDB) 15.2
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
https://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from pot...

This GDB supports auto-downloading debuginfo from the following URLs:
https://debuginfod.archlinux.org
Enable debuginfod for this session? (y or [n]) n
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
(No debugging symbols found in pot)
warning: Missing auto-load script at offset 0 in section .debug_gdb_scripts
of file /usr/bin/pot.
Use info auto-load python-scripts [REGEXP]' to list them. (gdb) (gdb) run Starting program: /usr/bin/pot [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7fffe1bff6c0 (LWP 6342)] [New Thread 0x7fffe13fe6c0 (LWP 6343)] [New Thread 0x7fffe0bfd6c0 (LWP 6344)] [New Thread 0x7fffd39ff6c0 (LWP 6345)] [New Thread 0x7fffd31fe6c0 (LWP 6346)] [New Thread 0x7fffe037b6c0 (LWP 6347)] [New Thread 0x7fffd29fd6c0 (LWP 6348)] [2025-01-14][21:11:34][TRACE][async_io::driver] block_on() [2025-01-14][21:11:34][TRACE][tracing::span::active] -> {}; [New Thread 0x7fffd27fc6c0 (LWP 6349)] [2025-01-14][21:11:34][TRACE][zbus::connection] Sending message: Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.98"))), path: ObjectPath("/org/freedesktop/DBus"), iface: InterfaceName(Str(Borrowed("org.freedesktop.DBus"))), member: MemberName(Str(Borrowed("RemoveMatch"))), body: Signature("s") } [2025-01-14][21:11:34][TRACE][zbus::connection] Sent message with serial: 5 [2025-01-14][21:11:34][TRACE][tracing::span::active] <- {}; [2025-01-14][21:11:34][TRACE][tracing::span::active] -> {}; [2025-01-14][21:11:34][TRACE][tracing::span::active] <- {}; [2025-01-14][21:11:34][TRACE][async_io::driver] block_on: sleep until notification [New Thread 0x7fffd25fb6c0 (LWP 6350)] [2025-01-14][21:11:34][TRACE][polling::epoll] new events: epoll_fd=14, res=1 [2025-01-14][21:11:34][TRACE][polling::epoll] modify: epoll_fd=14, fd=15, ev=Event { key: 18446744073709551615, readable: true, writable: false } [2025-01-14][21:11:34][TRACE][async_io::reactor] react: 1 ready wakers [2025-01-14][21:11:34][TRACE][async_io::driver] main_loop: sleeping for 50 us [New Thread 0x7fffd23fa6c0 (LWP 6351)] [New Thread 0x7fffd21f96c0 (LWP 6352)] [2025-01-14][21:11:34][TRACE][zbus::socket_reader] Message received on the socket: Msg { type: MethodReturn, sender: UniqueName(Str(Borrowed("org.freedesktop.DBus"))), reply-serial: 5, body: Signature("") } [2025-01-14][21:11:34][TRACE][async_io::driver] main_loop: waiting on I/O [2025-01-14][21:11:34][TRACE][async_io::reactor] process_timers: 0 ready wakers [2025-01-14][21:11:34][TRACE][polling] Poller::wait(_, None) [2025-01-14][21:11:34][TRACE][zbus::socket_reader] Error broadcasting message to stream for None: SendError(..) [2025-01-14][21:11:34][TRACE][polling::epoll] wait: epoll_fd=14, timeout=None [2025-01-14][21:11:34][TRACE][polling::epoll] modify: epoll_fd=14, fd=16, ev=Event { key: 18446744073709551615, readable: true, writable: false } [New Thread 0x7fffd1ff86c0 (LWP 6353)] [2025-01-14][21:11:34][TRACE][zbus::socket_reader] Broadcasted to all streams: Ok(Msg { type: MethodReturn, sender: UniqueName(Str(Borrowed("org.freedesktop.DBus"))), reply-serial: 5, body: Signature("") }) [2025-01-14][21:11:34][TRACE][zbus::socket_reader] Waiting for message on the socket.. [2025-01-14][21:11:34][TRACE][polling::epoll] modify: epoll_fd=14, fd=13, ev=Event { key: 0, readable: true, writable: false } [2025-01-14][21:11:34][TRACE][tracing::span::active] -> {}; [2025-01-14][21:11:34][TRACE][tracing::span::active] <- {}; [2025-01-14][21:11:34][TRACE][tracing::span::active] -> {}; [2025-01-14][21:11:34][TRACE][tracing::span::active] <- {}; [2025-01-14][21:11:34][TRACE][tracing::span] -- {}; [New Thread 0x7fffd1df76c0 (LWP 6354)] [2025-01-14][21:11:34][TRACE][tracing::span::active] -> {}; [New Thread 0x7fffd1bf66c0 (LWP 6355)] [2025-01-14][21:11:34][TRACE][zbus::connection] Sending message: Msg { type: MethodCall, sender: UniqueName(Str(Borrowed(":1.98"))), path: ObjectPath("/org/freedesktop/DBus"), iface: InterfaceName(Str(Borrowed("org.freedesktop.DBus"))), member: MemberName(Str(Borrowed("RemoveMatch"))), body: Signature("s") } [2025-01-14][21:11:34][TRACE][zbus::connection] Sent message with serial: 6 [2025-01-14][21:11:34][TRACE][tracing::span::active] <- {}; [2025-01-14][21:11:34][TRACE][async_io::driver] block_on: sleep until notification [2025-01-14][21:11:34][TRACE][polling::epoll] new events: epoll_fd=14, res=1 [2025-01-14][21:11:34][TRACE][polling::epoll] modify: epoll_fd=14, fd=15, ev=Event { key: 18446744073709551615, readable: true, writable: false } [2025-01-14][21:11:34][TRACE][async_io::reactor] react: 1 ready wakers [2025-01-14][21:11:34][TRACE][async_io::driver] main_loop: sleeping for 50 us [New Thread 0x7fffd19f56c0 (LWP 6356)] [New Thread 0x7fffd17f46c0 (LWP 6357)] [2025-01-14][21:11:34][TRACE][zbus::socket_reader] Message received on the socket: Msg { type: MethodReturn, sender: UniqueName(Str(Borrowed("org.freedesktop.DBus"))), reply-serial: 6, body: Signature("") } [2025-01-14][21:11:34][TRACE][zbus::socket_reader] Error broadcasting message to stream for None`: SendError(..)
[2025-01-14][21:11:34][TRACE][async_io::driver] main_loop: waiting on I/O
[New Thread 0x7fffd15f36c0 (LWP 6358)]
[2025-01-14][21:11:34][TRACE][zbus::socket_reader] Broadcasted to all streams: Ok(Msg { type: MethodReturn, sender: UniqueName(Str(Borrowed("org.freedesktop.DBus"))), reply-serial: 6, body: Signature("") })
[2025-01-14][21:11:34][TRACE][zbus::socket_reader] Waiting for message on the socket..
[2025-01-14][21:11:34][TRACE][async_io::reactor] process_timers: 0 ready wakers
[2025-01-14][21:11:34][TRACE][polling::epoll] modify: epoll_fd=14, fd=13, ev=Event { key: 0, readable: true, writable: false }
[2025-01-14][21:11:34][TRACE][polling] Poller::wait(, None)
[2025-01-14][21:11:34][TRACE][tracing::span::active] -> {};
[2025-01-14][21:11:34][TRACE][polling::epoll] wait: epoll_fd=14, timeout=None
[2025-01-14][21:11:34][TRACE][polling::epoll] modify: epoll_fd=14, fd=16, ev=Event { key: 18446744073709551615, readable: true, writable: false }
[2025-01-14][21:11:34][TRACE][tracing::span::active] <- {};
[New Thread 0x7fffd13f26c0 (LWP 6359)]
[2025-01-14][21:11:34][TRACE][tracing::span::active] -> {};
[2025-01-14][21:11:34][TRACE][tracing::span::active] <- {};
[2025-01-14][21:11:34][TRACE][tracing::span] -- {};
[2025-01-14][21:11:34][TRACE][async_io::driver] block_on: sleep until notification
[New Thread 0x7fffd11f16c0 (LWP 6360)]
[New Thread 0x7fffd0ff06c0 (LWP 6361)]
[New Thread 0x7fffd0def6c0 (LWP 6362)]
[New Thread 0x7fffd0bee6c0 (LWP 6363)]
[New Thread 0x7fffd09ed6c0 (LWP 6364)]
[New Thread 0x7fff83fff6c0 (LWP 6365)]
[New Thread 0x7fff815ff6c0 (LWP 6366)]
[New Thread 0x7fff80dfe6c0 (LWP 6367)]
[Detaching after vfork from child process 6368]
[2025-01-14][21:11:34][TRACE][async_io::reactor] react: 0 ready wakers
[2025-01-14][21:11:34][TRACE][async_io::driver] main_loop: sleeping for 50 us
[Thread 0x7fff80dfe6c0 (LWP 6367) exited]
[2025-01-14][21:11:34][TRACE][async_io::driver] main_loop: waiting on I/O
[2025-01-14][21:11:34][TRACE][async_io::reactor] process_timers: 0 ready wakers
[2025-01-14][21:11:34][TRACE][polling] Poller::wait(
, None)
[2025-01-14][21:11:34][TRACE][polling::epoll] wait: epoll_fd=14, timeout=None
[2025-01-14][21:11:34][TRACE][polling::epoll] modify: epoll_fd=14, fd=16, ev=Event { key: 18446744073709551615, readable: true, writable: false }
[New Thread 0x7fff80dfe6c0 (LWP 6369)]
[New Thread 0x7fff31dff6c0 (LWP 6370)]

** (pot:6339): WARNING **: 00:11:34.478: webkit_settings_set_enable_offline_web_application_cache is deprecated and does nothing.
[Detaching after vfork from child process 6371]
[2025-01-14][21:11:34][TRACE][async_io::reactor] react: 0 ready wakers
[2025-01-14][21:11:34][TRACE][async_io::driver] main_loop: sleeping for 50 us
[2025-01-14][21:11:34][TRACE][async_io::driver] main_loop: waiting on I/O
[2025-01-14][21:11:34][TRACE][async_io::reactor] process_timers: 0 ready wakers
[2025-01-14][21:11:34][TRACE][polling] Poller::wait(_, None)
[2025-01-14][21:11:34][TRACE][polling::epoll] wait: epoll_fd=14, timeout=None
[2025-01-14][21:11:34][TRACE][polling::epoll] modify: epoll_fd=14, fd=16, ev=Event { key: 18446744073709551615, readable: true, writable: false }

Thread 1 "pot" received signal SIGSEGV, Segmentation fault.
0x00007fffefbb79e4 in pthread_mutex_lock () from /usr/lib/libc.so.6
(gdb)

@RYQ-22
Copy link

RYQ-22 commented Jan 19, 2025

Same issue on Arch Linux (X11, Gnome, NVIDIA)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants