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

Andrey Skvortsov andrej.skvortzov at gmail.com
Sat Jul 6 21:48:34 BST 2024


Hi Guido,

On 24-07-06 21:31, Guido Günther wrote:
> 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.


           PID: 26297 (phoc)
           UID: 1000 (mobian)
           GID: 1000 (mobian)
        Signal: 6 (ABRT)
     Timestamp: Sat 2024-07-06 23:45:46 MSK (1min 7s 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-31.scope
          Unit: session-31.scope
         Slice: user-1000.slice
       Session: 31
     Owner UID: 1000 (mobian)
       Boot ID: 4d72862261b1429383ea94d24ebb3dd1
    Machine ID: 72d23d3703de45bbb0c5e12a67e9a407
      Hostname: mobian-dev
       Storage: /var/lib/systemd/coredump/core.phoc.1000.4d72862261b1429383ea94d24ebb3dd1.26297.1720298746000000.zst (present)
  Size on Disk: 3.7M
       Message: Process 26297 (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.2-1.arm64
                Module libmount.so.1 from deb util-linux-2.40.1-9.arm64
                Module libudev.so.1 from deb systemd-256.2-1.arm64
                Stack trace of thread 26297:
                #0  0x0000ffffa162e6a8 __pthread_kill_implementation (libc.so.6 + 0x7e6a8)
                #1  0x0000ffffa15e4d6c __GI_raise (libc.so.6 + 0x34d6c)
                #2  0x0000ffffa15d0980 __GI_abort (libc.so.6 + 0x20980)
                #3  0x0000ffffa1deeae0 g_assertion_message (libglib-2.0.so.0 + 0x8eae0)
                #4  0x0000ffffa1deeb44 g_assertion_message_expr (libglib-2.0.so.0 + 0x8eb44)
                #5  0x0000aaaaea1c9cd4 phoc_layer_surface_get_alpha (phoc + 0x49cd4)
                #6  0x0000aaaaea1a9e14 render_layer (phoc + 0x29e14)
                #7  0x0000aaaaea1aadf8 phoc_renderer_render_output (phoc + 0x2adf8)
                #8  0x0000aaaaea1a6bcc phoc_output_draw (phoc + 0x26bcc)
                #9  0x0000ffffa1969564 wl_signal_emit_mutable (libwayland-server.so.0 + 0x9564)
                #10 0x0000ffffa1879350 n/a (libwlroots.so.12 + 0x59350)
                #11 0x0000ffffa02df040 drmHandleEvent (libdrm.so.2 + 0xf040)
                #12 0x0000ffffa187aa6c n/a (libwlroots.so.12 + 0x5aa6c)
                #13 0x0000ffffa196b918 wl_event_loop_dispatch (libwayland-server.so.0 + 0xb918)
                #14 0x0000aaaaea195adc wayland_event_source_dispatch (phoc + 0x15adc)
                #15 0x0000ffffa1dbe500 n/a (libglib-2.0.so.0 + 0x5e500)
                #16 0x0000ffffa1dc08bc n/a (libglib-2.0.so.0 + 0x608bc)
                #17 0x0000ffffa1dc1354 g_main_loop_run (libglib-2.0.so.0 + 0x61354)
                #18 0x0000aaaaea195338 main (phoc + 0x15338)
                #19 0x0000ffffa15d1044 __libc_start_call_main (libc.so.6 + 0x21044)
                #20 0x0000ffffa15d1118 __libc_start_main_impl (libc.so.6 + 0x21118)
                #21 0x0000aaaaea195470 _start (phoc + 0x15470)
                
                Stack trace of thread 26329:
                #0  0x0000ffffa1695e64 syscall (libc.so.6 + 0xe5e64)
                #1  0x0000ffffa1e222fc g_cond_wait (libglib-2.0.so.0 + 0xc22fc)
                #2  0x0000ffffa1d851fc n/a (libglib-2.0.so.0 + 0x251fc)
                #3  0x0000ffffa1df11ec n/a (libglib-2.0.so.0 + 0x911ec)
                #4  0x0000ffffa1df0768 n/a (libglib-2.0.so.0 + 0x90768)
                #5  0x0000ffffa162ca9c start_thread (libc.so.6 + 0x7ca9c)
                #6  0x0000ffffa169808c thread_start (libc.so.6 + 0xe808c)
                
                Stack trace of thread 26330:
                #0  0x0000ffffa168d61c __GI___poll (libc.so.6 + 0xdd61c)
                #1  0x0000ffffa1dc07f0 n/a (libglib-2.0.so.0 + 0x607f0)
                #2  0x0000ffffa1dc1068 g_main_context_iteration (libglib-2.0.so.0 + 0x61068)
                #3  0x0000ffffa1dc10c4 n/a (libglib-2.0.so.0 + 0x610c4)
                #4  0x0000ffffa1df0768 n/a (libglib-2.0.so.0 + 0x90768)
                #5  0x0000ffffa162ca9c start_thread (libc.so.6 + 0x7ca9c)
                #6  0x0000ffffa169808c thread_start (libc.so.6 + 0xe808c)
                
                Stack trace of thread 26331:
                #0  0x0000ffffa168d61c __GI___poll (libc.so.6 + 0xdd61c)
                #1  0x0000ffffa1dc07f0 n/a (libglib-2.0.so.0 + 0x607f0)
                #2  0x0000ffffa1dc1068 g_main_context_iteration (libglib-2.0.so.0 + 0x61068)
                #3  0x0000ffff90f4c16c n/a (libdconfsettings.so + 0xc16c)
                #4  0x0000ffffa1df0768 n/a (libglib-2.0.so.0 + 0x90768)
                #5  0x0000ffffa162ca9c start_thread (libc.so.6 + 0x7ca9c)
                #6  0x0000ffffa169808c thread_start (libc.so.6 + 0xe808c)
                
                Stack trace of thread 26332:
                #0  0x0000ffffa168d61c __GI___poll (libc.so.6 + 0xdd61c)
                #1  0x0000ffffa1dc07f0 n/a (libglib-2.0.so.0 + 0x607f0)
                #2  0x0000ffffa1dc1354 g_main_loop_run (libglib-2.0.so.0 + 0x61354)
                #3  0x0000ffffa20b0608 n/a (libgio-2.0.so.0 + 0x140608)
                #4  0x0000ffffa1df0768 n/a (libglib-2.0.so.0 + 0x90768)
                #5  0x0000ffffa162ca9c start_thread (libc.so.6 + 0x7ca9c)
                #6  0x0000ffffa169808c thread_start (libc.so.6 + 0xe808c)
                
                Stack trace of thread 26327:
                #0  0x0000ffffa16292bc __futex_abstimed_wait_common64 (libc.so.6 + 0x792bc)
                #1  0x0000ffffa162bdd4 __pthread_cond_wait_common (libc.so.6 + 0x7bdd4)
                #2  0x0000ffff9aef6610 n/a (sun4i-drm_dri.so + 0x156610)
                #3  0x0000ffff9aed6d4c n/a (sun4i-drm_dri.so + 0x136d4c)
                #4  0x0000ffff9aef64f0 n/a (sun4i-drm_dri.so + 0x1564f0)
                #5  0x0000ffffa162ca9c start_thread (libc.so.6 + 0x7ca9c)
                #6  0x0000ffffa169808c thread_start (libc.so.6 + 0xe808c)
                
                Stack trace of thread 26328:
                #0  0x0000ffffa16292bc __futex_abstimed_wait_common64 (libc.so.6 + 0x792bc)
                #1  0x0000ffffa162bdd4 __pthread_cond_wait_common (libc.so.6 + 0x7bdd4)
                #2  0x0000ffff9aef6610 n/a (sun4i-drm_dri.so + 0x156610)
                #3  0x0000ffff9aed6d4c n/a (sun4i-drm_dri.so + 0x136d4c)
                #4  0x0000ffff9aef64f0 n/a (sun4i-drm_dri.so + 0x1564f0)
                #5  0x0000ffffa162ca9c start_thread (libc.so.6 + 0x7ca9c)
                #6  0x0000ffffa169808c thread_start (libc.so.6 + 0xe808c)
                ELF object binary architecture: AARCH64


> > 
> > 
> > -- System Information:
> > Debian Release: trixie/sid
> >   APT prefers testing-debug
> >   APT policy: (500, 'testin



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