Subject: Re: bug#746: Killed when starting modale dialog like pinentry

From: Klaus Ethgen <[email-masked]>
Date: Mon, 6 Mar 2023 20:43:19 +0100

Hi,

Am Mo den  6. Mär 2023 um 20:31 schrieb Mark Hindley:
> On Mon, Mar 06, 2023 at 07:09:38PM +0100, Klaus Ethgen wrote:
> > > If you run it from an xterminal do you get anything on stdout? I suspect it is
> > > producing a fatal exception in a library.
> > 
> > I would like to but it kills X immediately.
> 
> OK. But we need some sort of error message to get a hint of what is going on.

I believe you. But I didn't see until now.

It is also not only pinentry than also the new folder dialog in geeqie
when moving files.

I even don't expect much from that client programms. The server is
crashing, not the client.

Earlier this day I seen the dialog coming up for a split second before X
is crashing.

>  ~/.xsession-errors
>  /var/log/syslog
>  What eveer wdm logs to?

wdm seems to be not involved. I have a .xsession-errors but there is
nothing in it... Syslog does also not show any useful thing.

> I know you dpkg-divert some libraries. So does
> 
>  ldd $(which pinentry-qt)

~> ldd /usr/bin/pinentry-qt
        linux-vdso.so.1 (0x00007ffc88fe9000)
        libassuan.so.0 => /usr/lib/x86_64-linux-gnu/libassuan.so.0 (0x00007f94dd95b000)
        libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f94dd933000)
        libQt5Widgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007f94dd200000)
        libQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f94dca00000)
        libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f94dc400000)
        libncursesw.so.6 => /lib/x86_64-linux-gnu/libncursesw.so.6 (0x00007f94dd8f7000)
        libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 (0x00007f94dd8c5000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f94dc000000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f94dd1e0000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f94dc21f000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f94dd101000)
        libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007f94dc979000)
        libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f94dbfca000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f94dd0e2000)
        libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f94dbec6000)
        libmd4c.so.0 => /usr/lib/x86_64-linux-gnu/libmd4c.so.0 (0x00007f94dd8b1000)
        libdouble-conversion.so.3 => /usr/lib/x86_64-linux-gnu/libdouble-conversion.so.3 (0x00007f94dc964000)
        libicui18n.so.72 => /usr/lib/x86_64-linux-gnu/libicui18n.so.72 (0x00007f94dba00000)
        libicuuc.so.72 => /usr/lib/x86_64-linux-gnu/libicuuc.so.72 (0x00007f94db802000)
        libpcre2-16.so.0 => /usr/lib/x86_64-linux-gnu/libpcre2-16.so.0 (0x00007f94dbe38000)
        libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f94dbd7c000)
        libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f94db6ca000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f94dd9cb000)
        libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f94db611000)
        libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f94dbd48000)
        libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f94db546000)
        libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f94db51a000)
        libicudata.so.72 => /usr/lib/x86_64-linux-gnu/libicudata.so.72 (0x00007f94d9600000)
        libpcre2-8.so.0 => /lib/x86_64-linux-gnu/libpcre2-8.so.0 (0x00007f94db480000)
        libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f94d94be000)
        libbrotlidec.so.1 => /usr/lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x00007f94dd0d5000)
        libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f94db456000)
        libbrotlicommon.so.1 => /usr/lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x00007f94db433000)
        libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f94dd0d0000)
        libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f94d9200000)
        libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f94dbd33000)
        libmd.so.0 => /lib/x86_64-linux-gnu/libmd.so.0 (0x00007f94dc957000)

> show any libraries you don't expect in the ldconfig path?

Nope.

~> grep '' /etc/ld.so.conf.d/*
/etc/ld.so.conf.d/fakeroot-x86_64-linux-gnu.conf:/usr/lib/x86_64-linux-gnu/libfakeroot
/etc/ld.so.conf.d/i386-linux-gnu.conf:# Multiarch support
/etc/ld.so.conf.d/i386-linux-gnu.conf:/usr/local/lib/i386-linux-gnu
/etc/ld.so.conf.d/i386-linux-gnu.conf:/lib/i386-linux-gnu
/etc/ld.so.conf.d/i386-linux-gnu.conf:/usr/lib/i386-linux-gnu
/etc/ld.so.conf.d/i386-linux-gnu.conf:/usr/local/lib/i686-linux-gnu
/etc/ld.so.conf.d/i386-linux-gnu.conf:/lib/i686-linux-gnu
/etc/ld.so.conf.d/i386-linux-gnu.conf:/usr/lib/i686-linux-gnu
/etc/ld.so.conf.d/libc.conf:# libc default configuration
/etc/ld.so.conf.d/libc.conf:/usr/local/lib
/etc/ld.so.conf.d/x86_64-linux-gnu.conf:# Multiarch support
/etc/ld.so.conf.d/x86_64-linux-gnu.conf:/usr/local/lib/x86_64-linux-gnu
/etc/ld.so.conf.d/x86_64-linux-gnu.conf:/lib/x86_64-linux-gnu
/etc/ld.so.conf.d/x86_64-linux-gnu.conf:/usr/lib/x86_64-linux-gnu
/etc/ld.so.conf.d/zz_i386-biarch-compat.conf:# Legacy biarch compatibility support
/etc/ld.so.conf.d/zz_i386-biarch-compat.conf:/lib32
/etc/ld.so.conf.d/zz_i386-biarch-compat.conf:/usr/lib32

Regards
   Klaus
-- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <[email-masked]>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C