Open gudvinr opened 1 year ago
@gudvinr can you try to reproduce this with the official binaries rather than AUR? You can grab them from releases here on Github.
@gudvinr can you try to reproduce this with the official binaries rather than AUR? You can grab them from releases here on Github.
This specific aur package pulls binaries from github releases:
Sources (2)
https://protonmail.com/download/bridge/protonmail-bridge_3.3.2-1_amd64.deb
https://raw.githubusercontent.com/ProtonMail/proton-bridge/master/LICENSE
I would still ask you to test with the github binaries to ensure that it's not a packing issue of the AUR scripts.
I would still ask you to test with the github binaries to ensure that it's not a packing issue of the AUR scripts.
Can you elaborate on that? I don't understand what should I do differently. PKGBUILD will just untar content of deb file which is what I'd do myself if I use same packages:
tar xf data.tar.gz
In fact, PKGFILE from releases does the same thing. Only difference in content of resulting packages are license files:
832a833,835
> /usr/share/licenses/
> /usr/share/licenses/protonmail-bridge-bin/
> /usr/share/licenses/protonmail-bridge-bin/LICENSE
@gudvinr Can you please attach the logs to this issue?
@LBeernaertProton done
I noticed that coredump drops when (or after) I press "Restart" button in popup dialog that notifies about bridge not being able to find key in secret service.
Every time bridge-gui starts, it dumps core.
I have this issue consistently since 2023-07-10:
$coredumpctl list
``` $ coredumpctl list | rg bridge Mon 2023-07-10 1321 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Tue 2023-07-11 1327 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Wed 2023-07-12 1437 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Thu 2023-07-13 1324 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Fri 2023-07-14 1323 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Sat 2023-07-15 1322 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Sun 2023-07-16 1352 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Mon 2023-07-17 1387 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Tue 2023-07-18 1332 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Wed 2023-07-19 1335 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Wed 2023-07-19 1321 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Thu 2023-07-20 1309 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Thu 2023-07-20 1317 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Fri 2023-07-21 1311 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Sun 2023-07-23 1347 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Mon 2023-07-24 1346 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Tue 2023-07-25 1315 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Wed 2023-07-26 1340 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Thu 2023-07-27 1310 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Fri 2023-07-28 1318 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Sat 2023-07-29 1339 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Sun 2023-07-30 1315 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Mon 2023-07-31 1322 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Tue 2023-08-01 1546 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Tue 2023-08-01 1294 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Wed 2023-08-02 1303 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Thu 2023-08-03 1436 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Fri 2023-08-04 1421 1000 1000 SIGSEGV missing /usr/lib/protonmail/bridge/bridge-gui - Sun 2023-08-06 1494 1000 1000 SIGSEGV present /usr/lib/protonmail/bridge/bridge-gui 7.4M Mon 2023-08-07 1455 1000 1000 SIGSEGV present /usr/lib/protonmail/bridge/bridge-gui 7.8M Tue 2023-08-08 1441 1000 1000 SIGSEGV present /usr/lib/protonmail/bridge/bridge-gui 6.3M Wed 2023-08-09 1442 1000 1000 SIGSEGV present /usr/lib/protonmail/bridge/bridge-gui 7.5M ```Expected Behavior
Proton Bridge starts normally
Current Behavior
bridge-gui crashes
Possible SolutionSteps to Reproduce
Version Information
3.3.2-1 (aur/protonmail-bridge-bin)
Context (Environment)
Operating System: Arch Linux KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.108.0 Qt Version: 5.15.10 Kernel Version: 6.1.43-1-lts (64-bit) Graphics Platform: X11
Detailed Description
stacktrace
``` Stack trace of thread 1442: #0 0x00007fd1a83c6fcf QWidget::~QWidget() (libQt6Widgets.so.6 + 0x1c6fcf) #1 0x00007fd1a87730fd n/a (libQt6Widgets.so.6 + 0x5730fd) #2 0x00007fd1a87728cb n/a (libQt6Widgets.so.6 + 0x5728cb) #3 0x00007fd1a845673b QSystemTrayIcon::~QSystemTrayIcon() (libQt6Widgets.so.6 + 0x25673b) #4 0x00005611e0d0a1da AppController::~AppController() (bridge-gui + 0x1661da) #5 0x00007fd1a5a40cc6 n/a (libc.so.6 + 0x40cc6) #6 0x00007fd1a5a40e10 exit (libc.so.6 + 0x40e10) #7 0x00007fd1a5a27cd7 n/a (libc.so.6 + 0x27cd7) #8 0x00007fd1a5a27d8a __libc_start_main (libc.so.6 + 0x27d8a) #9 0x00005611e0d0370a _start (bridge-gui + 0x15f70a) Stack trace of thread 1684: #0 0x00007fd1a5b0f1ad syscall (libc.so.6 + 0x10f1ad) #1 0x00005611e16abc96 absl::lts_20230125::synchronization_internal::Waiter::Wait(absl::lts_20230125::synchronization_internal::KernelTimeout) (bridge-gui + 0xb07c96) #2 0x00005611e16abbe2 AbslInternalPerThreadSemWait_lts_20230125 (bridge-gui + 0xb07be2) #3 0x00005611e0cf6098 absl::lts_20230125::CondVar::WaitCommon(absl::lts_20230125::Mutex*, absl::lts_20230125::synchronization_internal::KernelTimeout) [clone .cold] (bridge-gui + 0x152098) #4 0x00005611e165f0c7 gpr_cv_wait (bridge-gui + 0xabb0c7) #5 0x00005611e0fe92c5 grpc_core::Executor::ThreadMain(void*) (bridge-gui + 0x4452c5) #6 0x00005611e1661629 grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*)(void*), void*, bool*, grpc_core::Thread::Options const&)::{lambda(void*)#1}::_FUN(void*) (bridge-gui + 0xabd629) #7 0x00007fd1a5a8c9eb n/a (libc.so.6 + 0x8c9eb) #8 0x00007fd1a5b1123c n/a (libc.so.6 + 0x11123c) Stack trace of thread 1683: #0 0x00007fd1a5b0f1ad syscall (libc.so.6 + 0x10f1ad) #1 0x00005611e16abc96 absl::lts_20230125::synchronization_internal::Waiter::Wait(absl::lts_20230125::synchronization_internal::KernelTimeout) (bridge-gui + 0xb07c96) #2 0x00005611e16abbe2 AbslInternalPerThreadSemWait_lts_20230125 (bridge-gui + 0xb07be2) #3 0x00005611e0cf6098 absl::lts_20230125::CondVar::WaitCommon(absl::lts_20230125::Mutex*, absl::lts_20230125::synchronization_internal::KernelTimeout) [clone .cold] (bridge-gui + 0x152098) #4 0x00005611e165f0c7 gpr_cv_wait (bridge-gui + 0xabb0c7) #5 0x00005611e0fe92c5 grpc_core::Executor::ThreadMain(void*) (bridge-gui + 0x4452c5) #6 0x00005611e1661629 grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*)(void*), void*, bool*, grpc_core::Thread::Options const&)::{lambda(void*)#1}::_FUN(void*) (bridge-gui + 0xabd629) #7 0x00007fd1a5a8c9eb n/a (libc.so.6 + 0x8c9eb) #8 0x00007fd1a5b1123c n/a (libc.so.6 + 0x11123c) Stack trace of thread 1686: #0 0x00007fd1a5b0f1ad syscall (libc.so.6 + 0x10f1ad) #1 0x00005611e16abc96 absl::lts_20230125::synchronization_internal::Waiter::Wait(absl::lts_20230125::synchronization_internal::KernelTimeout) (bridge-gui + 0xb07c96) #2 0x00005611e16abbe2 AbslInternalPerThreadSemWait_lts_20230125 (bridge-gui + 0xb07be2) #3 0x00005611e0cf6098 absl::lts_20230125::CondVar::WaitCommon(absl::lts_20230125::Mutex*, absl::lts_20230125::synchronization_internal::KernelTimeout) [clone .cold] (bridge-gui + 0x152098) #4 0x00005611e0fdb7db grpc_event_engine::experimental::ThreadPool::Queue::Step() (bridge-gui + 0x4377db) #5 0x00005611e0fdbf40 grpc_event_engine::experimental::ThreadPool::ThreadFunc(std::shared_ptrstartup log
``` Aug 09 13:25:07 Starting Proton Mail Bridge... Aug 09 13:25:07 Started Proton Mail Bridge. Aug 09 13:25:07 INFO[Aug 09 13:25:07.728] bridge-gui starting Aug 09 13:25:07 INFO[Aug 09 13:25:07.728] Using Qt 6.3.2 Aug 09 13:25:07 INFO[Aug 09 13:25:07.737] lock file created ~/.cache/protonmail/bridge-v3/bridge-v3-gui.lock Aug 09 13:25:07 INFO[Aug 09 13:25:07.738] New Sentry reporter - id:There are some symbols missing but I did what I could and fetched everything that's possible through
debuginfod
.Possible Implementation