Page MenuHome GnuPG

libassuan tests 'pipeconnect' and 'fdpassing' dump core on Solaris 10 amd64 (only!)
Closed, InvalidPublic

Description

The tests

  • pipeconnect
  • fdpassing

dump core on Solaris 10 64 bit (amd64), but pass on Sparc 32/64 bit and i386 32
bit. The stacktrace looks like this:

current10x% file core
core: ELF 64-bit LSB core file AMD64 Version 1, from 'fdpassing'

current10x% pstack core
core 'core' of 5123: /home/dam/mgar/pkg/libassuan/trunk/work/solaris9-
i386/build-isa-amd64/
fffffd7fff37f0b1 int_vasprintf () + 231
fffffd7fff37f315 _assuan_vasprintf () + 15
fffffd7fff377a2d _assuan_debug () + bd
fffffd7fff376766 assuan_new_ext () + b6
fffffd7fff37697e assuan_new () + 2e
00000000004029f9 main () + 1d9
000000000040196c ???????? ()

Please let me know if you need more info.

Details

Version
2.1.0

Event Timeline

dagobert set Version to 2.0.2.
dagobert added a subscriber: dagobert.

A quick guess: Can you please put an

assert (sizeof (gpg_err_source_t) == sizeof (int));

somewhere into the code?

Hi Werner,

Am 30.06.2011 um 14:16 schrieb Werner Koch via BTS:

Werner Koch <wk@gnupg.org> added the comment:

A quick guess: Can you please put an

assert (sizeof (gpg_err_source_t) == sizeof (int));

somewhere into the code?

I put it in pipeconnect.c main and the assert passes, it still segfaults.
If you want I can give you access to the buildfarm.

Best regards

  • Dago

The error still shows up in 2.1.0, again amd64 only.

I could not reproduce this on Solaris 11.3 amd64 and gcc 4.8, using CFLAGS="-m64 -O2". If you have more information how to reproduce this, please reopen.