2.5.1 testing: gpgscm segfault

Marcel Telka marcel at telka.sk
Thu Sep 12 17:26:16 CEST 2024


Hi,

I'm running tests for GnuPG 2.5.1 on OpenIndiana and I found that the
gpgscm segfaults:


$ DIR=/data/builds/oi-userland/components/sysutils/gnupg
$ cd $DIR/build/amd64/tests/gpgscm
$ EXEEXT= GPGSCM_PATH=$DIR/gnupg-2.5.1/tests/gpgscm ./gpgscm $DIR/gnupg-2.5.1/tests/gpgscm/t-child.scm
Testing process and IPC primitives... 
Segmentation Fault (core dumped)
$


$ mdb core
Loading modules: [ libc.so.1 ld.so.1 ]
> ::status
debugging core file of gpgscm (64-bit) from il-spr
file: /data/builds/oi-userland/components/sysutils/gnupg/build/amd64/tests/gpgscm/gpgscm
initial argv: ./gpgscm /data/builds/oi-userland/components/sysutils/gnupg/gnupg-2.5.1/tests/g
threading model: native threads
status: process terminated by SIGSEGV (Segmentation Fault), addr=414f43
> ::stack
do_process_spawn_io+0x333()
Eval_Cycle+0x5224()
scheme_load_memory+0x18a()
load.constprop.0+0xd8()
main+0x2c3()
_start_crt+0x87()
_start+0x18()
> do_process_spawn_io+0x333::dis
do_process_spawn_io+0x2ff:      js     +0xe4    <do_process_spawn_io+0x3e9>
do_process_spawn_io+0x305:      movslq 0xffffffffffffdfa4(%rbp),%rax
do_process_spawn_io+0x30c:      movq   %rax,%rdi
do_process_spawn_io+0x30f:      shrq   $0x6,%rax
do_process_spawn_io+0x313:      movq   0xffffffffffffdfd0(%rbp,%rax,8),%rax
do_process_spawn_io+0x31b:      btq    %rdi,%rax
do_process_spawn_io+0x31f:      jb     +0x1c3   <do_process_spawn_io+0x4e8>
do_process_spawn_io+0x325:      movslq 0xffffffffffffdfa8(%rbp),%rax
do_process_spawn_io+0x32c:      movq   %rax,%r8
do_process_spawn_io+0x32f:      shrq   $0x6,%rax
do_process_spawn_io+0x333:      movq   0xffffffffffffdfd0(%rbp,%rax,8),%rax
do_process_spawn_io+0x33b:      btq    %r8,%rax
do_process_spawn_io+0x33f:      jae    -0xb5    <do_process_spawn_io+0x290>
do_process_spawn_io+0x345:      movq   0xffffffffffffdf90(%rbp),%rdx
do_process_spawn_io+0x34c:      movq   0xffffffffffffdf80(%rbp),%rax
do_process_spawn_io+0x353:      movl   %r8d,%edi
do_process_spawn_io+0x356:      subq   %r13,%rdx
do_process_spawn_io+0x359:      leaq   (%rax,%r13),%rsi
do_process_spawn_io+0x35d:      call   -0x6642  <PLT=libc.so.1`read>
do_process_spawn_io+0x362:      testq  %rax,%rax
do_process_spawn_io+0x365:      je     +0x265   <do_process_spawn_io+0x5d0>
> 
$ 


Any idea or suggestion?


Thank you.

-- 
+-------------------------------------------+
| Marcel Telka   e-mail:   marcel at telka.sk  |
|                homepage: http://telka.sk/ |
+-------------------------------------------+



More information about the Gnupg-devel mailing list