[Pkg-xmpp-devel] Bug#1080423: profanity: Profanity segfaults when using gpg-from-sq

Stefan Kropp stefan.kropp at posteo.de
Tue Sep 3 20:25:01 BST 2024


Am Tue, Sep 03, 2024 at 06:15:50PM GMT, schrieb Martin Dosch:
> Package: profanity
> Version: 0.14.0-1+b3
> Severity: important
> Tags: upstream
> 
> Dear Maintainer,
> 
> when using gpg-from-sq profanity backtraces on startup:
> 
> ```
> Program received signal SIGSEGV, Segmentation fault.
> 0x000055555560e552 in _gpgme_key_to_ProfPGPKey (key=key at entry=0x5555581a4800) at src/pgp/gpg.c:870
> 870	   p_pgpkey->name = strdup(key->uids->uid);

I guess key->uids is NULL.

> #0  0x000055555560e552 in _gpgme_key_to_ProfPGPKey (key=key at entry=0x5555581a4800) at src/pgp/gpg.c:870
>         p_pgpkey = 0x5555581a5750
>         sub = 0x55555819d000
> #1  0x000055555560eb7d in p_gpg_list_keys () at src/pgp/gpg.c:311
>         p_pgpkey = <optimized out>
>         key = 0x5555581a4800
>         error = 0
>         result = 0x555558195800
>         ctx = 0x5555581958a0
>         ids = <optimized out>
>         curr = <optimized out>
> #2  0x000055555560ece6 in p_gpg_init () at src/pgp/gpg.c:124
>         keys = <optimized out>
> #3  0x0000555555591325 in _init (theme_name=<optimized out>, log_file=<optimized out>, config_file=0x0, 
>     log_level=0x5555556180b0 "WARN") at src/profanity.c:209
>         prof_log_level = PROF_LEVEL_WARN
>         prof_version = 0x5555556f41f0 "0.14.0dev.master.996a1fdf"
>         prof_log_level = <optimized out>
>         prof_version = <optimized out>
>         theme = <optimized out>
>         console = <optimized out>
> #4  prof_run (log_level=0x5555556180b0 "WARN", account_name=0x0, config_file=0x0, log_file=<optimized out>, 
>     theme_name=<optimized out>) at src/profanity.c:98
>         cont = 1
>         line = <optimized out>
> #5  0x000055555558c80d in main (argc=<optimized out>, argv=<optimized out>) at src/main.c:174
>         entries = {{long_name = 0x555555618424 "version", short_name = 118 'v', flags = 0, arg = G_OPTION_ARG_NONE, 
>             arg_data = 0x5555556c7358 <version>, description = 0x5555556246f7 "Show version information", 
>             arg_description = 0x0}, {long_name = 0x55555561e959 "account", short_name = 97 'a', flags = 0,
>             arg = G_OPTION_ARG_STRING, arg_data = 0x5555556c7340 <account_name>, 
>             description = 0x5555556449b0 "Auto connect to an account on startup", arg_description = 0x0}, {
>             long_name = 0x55555562445f "log", short_name = 108 'l', flags = 0, arg = G_OPTION_ARG_STRING, 
>             arg_data = 0x5555556c7350 <log>, 
>             description = 0x5555556449d8 "Set logging levels, DEBUG, INFO, WARN (default), ERROR", 
>             arg_description = 0x555555624710 "LEVEL"}, {long_name = 0x555555621b47 "config", short_name = 99 'c', 
>             flags = 0, arg = G_OPTION_ARG_STRING, arg_data = 0x5555556c7338 <config_file>, 
>             description = 0x555555644a10 "Use an alternative configuration file", arg_description = 0x0}, {
>             long_name = 0x555555624716 "logfile", short_name = 102 'f', flags = 0, arg = G_OPTION_ARG_STRING, 
>             arg_data = 0x5555556c7348 <log_file>, description = 0x55555562471e "Specify log file", 
>             arg_description = 0x0}, {long_name = 0x55555561ed00 "theme", short_name = 116 't', flags = 0, 
>             arg = G_OPTION_ARG_STRING, arg_data = 0x5555556c7330 <theme_name>, 
>             description = 0x55555562472f "Specify theme name", arg_description = 0x0}, {long_name = 0x0, 
>             short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, 
>             arg_description = 0x0}}
>         error = 0x0
>         context = 0x5555556ee9e0
> ```
> 
> Best regards,
> Martin
> 
> -- System Information:
> Debian Release: trixie/sid
>   APT prefers testing
>   APT policy: (900, 'testing'), (600, 'unstable'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'experimental'), (1, 'experimental-debug')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 6.10.6-amd64 (SMP w/8 CPU threads; PREEMPT)
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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 profanity depends on:
> ii  libc6                      2.40-2
> ii  libcurl3t64-gnutls         8.9.1-2
> ii  libgcrypt20                1.11.0-6
> ii  libgdk-pixbuf-2.0-0        2.42.12+dfsg-1
> ii  libglib2.0-0t64            2.82.0-1
> ii  libgpgme11t64              1.18.0-5
> ii  libgtk-3-0t64              3.24.43-3
> ii  libncursesw6               6.5-2
> ii  libnotify4                 0.8.3-1+b1
> ii  libotr5t64                 4.1.1-5.1
> ii  libpython3.12t64           3.12.5-4
> ii  libqrencode4               4.1.1-1+b2
> ii  libreadline8t64            8.2-5
> ii  libsignal-protocol-c2.3.2  2.3.3-3+b1
> ii  libsqlite3-0               3.46.1-1
> ii  libstrophe0                0.13.1-1
> ii  libtinfo6                  6.5-2
> ii  libx11-6                   2:1.8.7-1+b1
> ii  libxss1                    1:1.2.3-1+b1
> 
> profanity recommends no packages.
> 
> profanity suggests no packages.
> 
> -- no debconf information



More information about the Pkg-xmpp-devel mailing list