Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1203362 > unrolled thread

Bug#1075857: phoc frequently crashes with SIGABRT on PinePhone

Started byAndrey Skvortsov <andrej.skvortzov@gmail.com>
First post2024-07-06 18:40 +0200
Last post2024-07-07 08:20 +0200
Articles 5 — 2 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1075857: phoc frequently crashes with SIGABRT on PinePhone Andrey Skvortsov <andrej.skvortzov@gmail.com> - 2024-07-06 18:40 +0200
    Bug#1075857: [Debian-on-mobile-maintainers] Bug#1075857: phoc frequently crashes with SIGABRT on PinePhone Guido Günther <agx@sigxcpu.org> - 2024-07-06 21:40 +0200
      Bug#1075857: [Debian-on-mobile-maintainers] Bug#1075857: phoc frequently crashes with SIGABRT on PinePhone Andrey Skvortsov <andrej.skvortzov@gmail.com> - 2024-07-06 23:00 +0200
      Bug#1075857: [Debian-on-mobile-maintainers] Bug#1075857: phoc frequently crashes with SIGABRT on PinePhone Guido Günther <agx@sigxcpu.org> - 2024-07-07 07:40 +0200
        Bug#1075857: [Debian-on-mobile-maintainers] Bug#1075857: phoc frequently crashes with SIGABRT on PinePhone Guido Günther <agx@sigxcpu.org> - 2024-07-07 08:20 +0200

#1203362 — Bug#1075857: phoc frequently crashes with SIGABRT on PinePhone

FromAndrey Skvortsov <andrej.skvortzov@gmail.com>
Date2024-07-06 18:40 +0200
SubjectBug#1075857: phoc frequently crashes with SIGABRT on PinePhone
Message-ID<IXgC5-gry-7@gated-at.bofh.it>
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.
  
```
   $ 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

[toc] | [next] | [standalone]


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

FromGuido Günther <agx@sigxcpu.org>
Date2024-07-06 21:40 +0200
SubjectBug#1075857: [Debian-on-mobile-maintainers] Bug#1075857: phoc frequently crashes with SIGABRT on PinePhone
Message-ID<IXjqh-ic2-3@gated-at.bofh.it>
In reply to#1203362
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@alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-on-mobile-maintainers
> 

[toc] | [prev] | [next] | [standalone]


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

FromAndrey Skvortsov <andrej.skvortzov@gmail.com>
Date2024-07-06 23:00 +0200
SubjectBug#1075857: [Debian-on-mobile-maintainers] Bug#1075857: phoc frequently crashes with SIGABRT on PinePhone
Message-ID<IXkFH-iUB-5@gated-at.bofh.it>
In reply to#1203376
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

[toc] | [prev] | [next] | [standalone]


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

FromGuido Günther <agx@sigxcpu.org>
Date2024-07-07 07:40 +0200
SubjectBug#1075857: [Debian-on-mobile-maintainers] Bug#1075857: phoc frequently crashes with SIGABRT on PinePhone
Message-ID<IXsMW-oGe-5@gated-at.bofh.it>
In reply to#1203376
control: retitle -1 Crashes with squeekboard when launching apps or showing system modal dialogs

Hi,
On Sat, Jul 06, 2024 at 09:31:38PM +0200, 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.

The issue is only triggered with squeekboard (but the bug is clearly in
phoc). I adjusted the bug description. phosh-osk-stub can be used as
workaround until a fixed phoc hits testing.

Thanks for providing the details Andrey!

Cheers,
 -- Guido

[toc] | [prev] | [next] | [standalone]


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

FromGuido Günther <agx@sigxcpu.org>
Date2024-07-07 08:20 +0200
SubjectBug#1075857: [Debian-on-mobile-maintainers] Bug#1075857: phoc frequently crashes with SIGABRT on PinePhone
Message-ID<IXtpD-p8r-5@gated-at.bofh.it>
In reply to#1203405
control: tags -1 +upstream

Hi,

On Sun, Jul 07, 2024 at 07:34:43AM +0200, Guido Günther wrote:
> control: retitle -1 Crashes with squeekboard when launching apps or showing system modal dialogs
> 
> Hi,
> On Sat, Jul 06, 2024 at 09:31:38PM +0200, 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.
> 
> The issue is only triggered with squeekboard (but the bug is clearly in
> phoc). I adjusted the bug description. phosh-osk-stub can be used as
> workaround until a fixed phoc hits testing.

Feedback if

  https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/574

fixes this would be welcome. The sources contain packaging so

  sudo apt install git-extras
  git clone https://gitlab.gnome.org/World/Phosh/phoc
  git mr 574
  DEB_BUILD_PROFILES="nocheck nodoc pkg.phoc.embedwlroots" dpkg-buildpackage -uc -us -rfakeroot  -b

should give an installable deb.

Cheers,
 -- Guido

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web