[Debian-on-mobile-maintainers] Bug#1075857: Bug#1075857: phoc frequently crashes with SIGABRT on PinePhone

Guido Günther agx at sigxcpu.org
Sat Jul 6 20:31:38 BST 2024


Hi,
On Sat, Jul 06, 2024 at 07:34:11PM +0300, Andrey Skvortsov wrote:
> Package: phoc
> Version: 0.40.0+ds-1
> Severity: normal
> 
> Dear Maintainer,
> 
>    after upgrade to 0.40.0+ds-1 phoc started to crash frequently in
>    different cases on original PinePhone. If phoc is downgraded to
>    0.39.0+ds-2, then phoc doesn't crash anymore
> 
>    phoc crashes constantly when I search for 'keypassx' in phosh and
>    try to launch it. Another case it crashed a lot, when I unlocked
>    ssh key in phosh, when I've tried to connect to remote machine in
>    terminal.
> 
>    Here is coredump information for one of the crashes.

Can you attach a backtrace with debug symbols please? That way we can
see which assertion is hit.
Cheers,
 -- Guido

>   
> ```
>    $ coredumpctl info phoc
>            PID: 1534 (phoc)
>            UID: 1000 (mobian)
>            GID: 1000 (mobian)
>         Signal: 6 (ABRT)
>      Timestamp: Sat 2024-07-06 16:25:14 MSK (3h 1min ago)
>   Command Line: /usr/bin/phoc -S -C /etc/phosh/phoc.ini -E $'bash -lc \'exec gnome-session --disable-acceleration-check --session=phosh\''
>     Executable: /usr/bin/phoc
>  Control Group: /user.slice/user-1000.slice/session-3.scope
>           Unit: session-3.scope
>          Slice: user-1000.slice
>        Session: 3
>      Owner UID: 1000 (mobian)
>        Boot ID: 93ec88a428004ed680d5d597d116aea9
>     Machine ID: 72d23d3703de45bbb0c5e12a67e9a407
>       Hostname: mobian-dev
>        Storage: /var/lib/systemd/coredump/core.phoc.1000.93ec88a428004ed680d5d597d116aea9.1534.1720272314000000.zst (present)
>   Size on Disk: 6.3M
>        Message: Process 1534 (phoc) of user 1000 dumped core.
>                 
>                 Module libzstd.so.1 from deb libzstd-1.5.6+dfsg-1.arm64
>                 Module libblkid.so.1 from deb util-linux-2.40.1-9.arm64
>                 Module libsystemd.so.0 from deb systemd-256.1-2.arm64
>                 Module libmount.so.1 from deb util-linux-2.40.1-9.arm64
>                 Module libudev.so.1 from deb systemd-256.1-2.arm64
>                 Stack trace of thread 1534:
>                 #0  0x0000ffffb53de6a8 __pthread_kill_implementation (libc.so.6 + 0x7e6a8)
>                 #1  0x0000ffffb5394d6c __GI_raise (libc.so.6 + 0x34d6c)
>                 #2  0x0000ffffb5380980 __GI_abort (libc.so.6 + 0x20980)
>                 #3  0x0000ffffb5b9eae0 g_assertion_message (libglib-2.0.so.0 + 0x8eae0)
>                 #4  0x0000ffffb5b9eb44 g_assertion_message_expr (libglib-2.0.so.0 + 0x8eb44)
>                 #5  0x0000aaaaade19cd4 n/a (phoc + 0x49cd4)
>                 #6  0x0000aaaaaddf9e14 n/a (phoc + 0x29e14)
>                 #7  0x0000aaaaaddfadf8 n/a (phoc + 0x2adf8)
>                 #8  0x0000aaaaaddf6bcc n/a (phoc + 0x26bcc)
>                 #9  0x0000ffffb5719564 wl_signal_emit_mutable (libwayland-server.so.0 + 0x9564)
>                 #10 0x0000ffffb5629350 n/a (libwlroots.so.12 + 0x59350)
>                 #11 0x0000ffffb408f040 drmHandleEvent (libdrm.so.2 + 0xf040)
>                 #12 0x0000ffffb562aa6c n/a (libwlroots.so.12 + 0x5aa6c)
>                 #13 0x0000ffffb571b918 wl_event_loop_dispatch (libwayland-server.so.0 + 0xb918)
>                 #14 0x0000aaaaadde5adc n/a (phoc + 0x15adc)
>                 #15 0x0000ffffb5b6e500 n/a (libglib-2.0.so.0 + 0x5e500)
>                 #16 0x0000ffffb5b708bc n/a (libglib-2.0.so.0 + 0x608bc)
>                 #17 0x0000ffffb5b71354 g_main_loop_run (libglib-2.0.so.0 + 0x61354)
>                 #18 0x0000aaaaadde5338 n/a (phoc + 0x15338)
>                 #19 0x0000ffffb5381044 __libc_start_call_main (libc.so.6 + 0x21044)
>                 #20 0x0000ffffb5381118 __libc_start_main_impl (libc.so.6 + 0x21118)
>                 #21 0x0000aaaaadde5470 n/a (phoc + 0x15470)
>                 
>                 Stack trace of thread 1573:
>                 #0  0x0000ffffb543d61c __GI___poll (libc.so.6 + 0xdd61c)
>                 #1  0x0000ffffb5b707f0 n/a (libglib-2.0.so.0 + 0x607f0)
>                 #2  0x0000ffffb5b71068 g_main_context_iteration (libglib-2.0.so.0 + 0x61068)
>                 #3  0x0000ffffb5b710c4 n/a (libglib-2.0.so.0 + 0x610c4)
>                 #4  0x0000ffffb5ba0768 n/a (libglib-2.0.so.0 + 0x90768)
>                 #5  0x0000ffffb53dca9c start_thread (libc.so.6 + 0x7ca9c)
>                 #6  0x0000ffffb544808c thread_start (libc.so.6 + 0xe808c)
>                 
>                 Stack trace of thread 1575:
>                 #0  0x0000ffffb543d61c __GI___poll (libc.so.6 + 0xdd61c)
>                 #1  0x0000ffffb5b707f0 n/a (libglib-2.0.so.0 + 0x607f0)
>                 #2  0x0000ffffb5b71354 g_main_loop_run (libglib-2.0.so.0 + 0x61354)
>                 #3  0x0000ffffb5e60608 n/a (libgio-2.0.so.0 + 0x140608)
>                 #4  0x0000ffffb5ba0768 n/a (libglib-2.0.so.0 + 0x90768)
>                 #5  0x0000ffffb53dca9c start_thread (libc.so.6 + 0x7ca9c)
>                 #6  0x0000ffffb544808c thread_start (libc.so.6 + 0xe808c)
>                 
>                 Stack trace of thread 1572:
>                 #0  0x0000ffffb5445e64 syscall (libc.so.6 + 0xe5e64)
>                 #1  0x0000ffffb5bd22fc g_cond_wait (libglib-2.0.so.0 + 0xc22fc)
>                 #2  0x0000ffffb5b351fc n/a (libglib-2.0.so.0 + 0x251fc)
>                 #3  0x0000ffffb5ba11ec n/a (libglib-2.0.so.0 + 0x911ec)
>                 #4  0x0000ffffb5ba0768 n/a (libglib-2.0.so.0 + 0x90768)
>                 #5  0x0000ffffb53dca9c start_thread (libc.so.6 + 0x7ca9c)
>                 #6  0x0000ffffb544808c thread_start (libc.so.6 + 0xe808c)
>                 
>                 Stack trace of thread 1567:
>                 #0  0x0000ffffb53d92bc __futex_abstimed_wait_common64 (libc.so.6 + 0x792bc)
>                 #1  0x0000ffffb53dbdd4 __pthread_cond_wait_common (libc.so.6 + 0x7bdd4)
>                 #2  0x0000ffffaecb6610 n/a (sun4i-drm_dri.so + 0x156610)
>                 #3  0x0000ffffaec96d4c n/a (sun4i-drm_dri.so + 0x136d4c)
>                 #4  0x0000ffffaecb64f0 n/a (sun4i-drm_dri.so + 0x1564f0)
>                 #5  0x0000ffffb53dca9c start_thread (libc.so.6 + 0x7ca9c)
>                 #6  0x0000ffffb544808c thread_start (libc.so.6 + 0xe808c)
>                 
>                 Stack trace of thread 1565:
>                 #0  0x0000ffffb53d92bc __futex_abstimed_wait_common64 (libc.so.6 + 0x792bc)
>                 #1  0x0000ffffb53dbdd4 __pthread_cond_wait_common (libc.so.6 + 0x7bdd4)
>                 #2  0x0000ffffaecb6610 n/a (sun4i-drm_dri.so + 0x156610)
>                 #3  0x0000ffffaec96d4c n/a (sun4i-drm_dri.so + 0x136d4c)
>                 #4  0x0000ffffaecb64f0 n/a (sun4i-drm_dri.so + 0x1564f0)
>                 #5  0x0000ffffb53dca9c start_thread (libc.so.6 + 0x7ca9c)
>                 #6  0x0000ffffb544808c thread_start (libc.so.6 + 0xe808c)
>                 
>                 Stack trace of thread 1574:
>                 #0  0x0000ffffb543d61c __GI___poll (libc.so.6 + 0xdd61c)
>                 #1  0x0000ffffb5b707f0 n/a (libglib-2.0.so.0 + 0x607f0)
>                 #2  0x0000ffffb5b71068 g_main_context_iteration (libglib-2.0.so.0 + 0x61068)
>                 #3  0x0000ffffa4d0c16c n/a (libdconfsettings.so + 0xc16c)
>                 #4  0x0000ffffb5ba0768 n/a (libglib-2.0.so.0 + 0x90768)
>                 #5  0x0000ffffb53dca9c start_thread (libc.so.6 + 0x7ca9c)
>                 #6  0x0000ffffb544808c thread_start (libc.so.6 + 0xe808c)
>                 ELF object binary architecture: AARCH64
> ```
> 
> 
> *** End of the template - remove these template lines ***
> 
> 
> -- System Information:
> Debian Release: trixie/sid
>   APT prefers testing-debug
>   APT policy: (500, 'testing-debug'), (500, 'unstable'), (500, 'testing')
> Architecture: arm64 (aarch64)
> Foreign Architectures: armhf
> 
> Kernel: Linux 6.6.33-sunxi64-mmc-test (SMP w/4 CPU threads)
> Kernel taint flags: TAINT_CRAP, TAINT_UNSIGNED_MODULE
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
> 
> Versions of packages phoc depends on:
> ii  dconf-gsettings-backend [gsettings-backend]  0.40.0-4+b2
> ii  gsettings-desktop-schemas                    46.0-2
> ii  libc6                                        2.38-14
> ii  libcairo2                                    1.18.0-3+b1
> ii  libglib2.0-0t64                              2.80.3-1
> ii  libgmobile0                                  0.2.1-1
> ii  libgnome-desktop-3-20t64                     44.0-5
> ii  libinput10                                   1.26.0-1
> ii  libpixman-1-0                                0.42.2-1+b1
> ii  libudev1                                     256.2-1
> ii  libwayland-server0                           1.22.0-2.1+b1
> ii  libwlroots12t64                              0.17.4-1
> ii  libxcb1                                      1.17.0-2
> ii  libxkbcommon0                                1.6.0-1+b1
> ii  mutter-common                                44.8-3.1
> 
> Versions of packages phoc recommends:
> ii  phosh     0.40.0-1
> ii  xwayland  2:24.1.0-1
> 
> phoc suggests no packages.
> 
> -- no debconf information
> 
> _______________________________________________
> Debian-on-mobile-maintainers mailing list
> Debian-on-mobile-maintainers at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-on-mobile-maintainers
> 



More information about the Debian-on-mobile-maintainers mailing list