Bug#459567: dirmngr segfaults on hppa architecture
Pierre Habouzit wrote: On Mon, Jun 02, 2008 at 08:08:41AM +, Deller, Helge wrote: FWIW this is likely to be a libpth issue, which in turn may be a makecontext/setcontext issue in the glibc. You have to contact porters about that. I know for sure, that the makecontext/setcontext have not yet been implemented on hppa. Are they required for dirmngr ? Okay and that's what the strack dump shows. libpth uses make/setcontext when available, and else uses sigaltstack tricks to do threads. I assume something is broken in the latter code, maybe with recent compilers. Helge, could you test whether rebuilding pth with -O0 fixes the dirmngr problem for you? Cheers, Moritz -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#459567: dirmngr segfaults on hppa architecture
On Mon, Jun 02, 2008 at 08:08:41AM +, Deller, Helge wrote: FWIW this is likely to be a libpth issue, which in turn may be a makecontext/setcontext issue in the glibc. You have to contact porters about that. I know for sure, that the makecontext/setcontext have not yet been implemented on hppa. Are they required for dirmngr ? Okay and that's what the strack dump shows. libpth uses make/setcontext when available, and else uses sigaltstack tricks to do threads. I assume something is broken in the latter code, maybe with recent compilers. -- ·O· Pierre Habouzit ··O[EMAIL PROTECTED] OOOhttp://www.madism.org pgpFKpTWnKvOU.pgp Description: PGP signature
Bug#459567: dirmngr segfaults on hppa architecture
FWIW this is likely to be a libpth issue, which in turn may be a makecontext/setcontext issue in the glibc. You have to contact porters about that. I know for sure, that the makecontext/setcontext have not yet been implemented on hppa. Are they required for dirmngr ? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#459567: dirmngr segfaults on hppa architecture
On Wed, Jan 16, 2008 at 02:04:27PM +, Deller, Helge wrote: Starting program: /usr/bin/dirmngr (no debugging symbols found) Program received signal SIGUSR1, User defined signal 1. 0x40defe78 in sigsuspend () from /lib/libc.so.6 (gdb) bt #0 0x40defe78 in sigsuspend () from /lib/libc.so.6 #1 0x40a48d44 in __pth_mctx_set () from /usr/lib/libpth.so.20 #2 0x40a4c5bc in pth_spawn () from /usr/lib/libpth.so.20 #3 0x40a4cdac in pth_init () from /usr/lib/libpth.so.20 #4 0x00014ddc in ?? () #5 0x40173e60 in _gcry_ath_init () at ath.c:67 #6 0x4016ed78 in global_init () at global.c:75 #7 0x4016f058 in _gcry_vcontrol (cmd=value optimized out, arg_ptr=0xfb1ae4dc) at global.c:383 #8 0x4016dc40 in gcry_control (cmd=value optimized out) at visibility.c:76 #9 0x0001618c in main () FWIW this is likely to be a libpth issue, which in turn may be a makecontext/setcontext issue in the glibc. You have to contact porters about that. -- ·O· Pierre Habouzit ··O[EMAIL PROTECTED] OOOhttp://www.madism.org pgpJLeEYn2oi7.pgp Description: PGP signature
Bug#459567: dirmngr segfaults on hppa architecture
Am Montag, 7. Januar 2008 schrieb Helge Deller: dirmngr segfaults at once on hppa architecture Please get a backtrace to see where it crashes. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#459567: dirmngr segfaults on hppa architecture
Not sure if this gdb-backtrace helps: Program received signal SIGUSR1, User defined signal 1. 0x409efe78 in sigsuspend () from /lib/libc.so.6 (gdb) bt #0 0x409efe78 in sigsuspend () from /lib/libc.so.6 #1 0x40648d44 in __pth_mctx_set () from /usr/lib/libpth.so.20 #2 0x4064c5bc in pth_spawn () from /usr/lib/libpth.so.20 #3 0x4064cdac in pth_init () from /usr/lib/libpth.so.20 #4 0x00014ddc in ?? () #5 0x40173e60 in ?? () from /usr/lib/libgcrypt.so.11 #6 0x4016ed78 in ?? () from /usr/lib/libgcrypt.so.11 #7 0x4016f058 in ?? () from /usr/lib/libgcrypt.so.11 #8 0x4016dc40 in gcry_control () from /usr/lib/libgcrypt.so.11 #9 0x0001618c in main ()
Bug#459567: dirmngr segfaults on hppa architecture
Am Mittwoch, 16. Januar 2008 schrieb Deller, Helge: Not sure if this gdb-backtrace helps: Try installing some debug symbols (libgcrypt11-dbg?). -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#459567: dirmngr segfaults on hppa architecture
Starting program: /usr/bin/dirmngr (no debugging symbols found) Program received signal SIGUSR1, User defined signal 1. 0x40defe78 in sigsuspend () from /lib/libc.so.6 (gdb) bt #0 0x40defe78 in sigsuspend () from /lib/libc.so.6 #1 0x40a48d44 in __pth_mctx_set () from /usr/lib/libpth.so.20 #2 0x40a4c5bc in pth_spawn () from /usr/lib/libpth.so.20 #3 0x40a4cdac in pth_init () from /usr/lib/libpth.so.20 #4 0x00014ddc in ?? () #5 0x40173e60 in _gcry_ath_init () at ath.c:67 #6 0x4016ed78 in global_init () at global.c:75 #7 0x4016f058 in _gcry_vcontrol (cmd=value optimized out, arg_ptr=0xfb1ae4dc) at global.c:383 #8 0x4016dc40 in gcry_control (cmd=value optimized out) at visibility.c:76 #9 0x0001618c in main ()
Bug#459567: dirmngr segfaults on hppa architecture
Package: dirmngr Version: 1.0.1-2 Severity: grave dirmngr segfaults at once on hppa architecture Example: 3545:~# uname -a Linux ls3545 2.6.24-rc4 #25 Sat Dec 8 12:36:01 CET 2007 parisc GNU/Linux ls3545:~# dirmngr dirmngr[28087]: error opening `/root/.gnupg/dirmngr_ldapservers.conf': No such file or directory Segmentation fault strace shows: . gettimeofday({1199704348, 771319}, NULL) = 0 rt_sigprocmask(SIG_BLOCK, NULL, ~[KILL STOP], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 open(/root/.gnupg/dirmngr.conf, O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open(/root/.gnupg/dirmngr_ldapservers.conf, O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) fstat64(2, {st_mode=0, st_size=46673409605637, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40008000 getpid()= 28089 write(2, dirmngr[28089]: error opening `/..., 97dirmngr[28089]: error opening `/root/.gnupg/dirmngr_ldapservers.conf': No such file or directory ) = 97 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0 mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40009000 gettimeofday({1199704348, 777586}, NULL) = 0 rt_sigprocmask(SIG_BLOCK, [USR1], [], 8) = 0 rt_sigaction(SIGUSR1, {0x406578fa, [], SA_STACK}, {SIG_DFL}, 8) = 0 sigaltstack({ss_sp=0x40009008, ss_flags=0, ss_size=262144}, {ss_sp=0, ss_flags=SS_DISABLE, ss_size=0}) = 0 getpid()= 28089 kill(28089, SIGUSR1)= 0 rt_sigsuspend(~[USR1]) = -514 --- SIGUSR1 (User defined signal 1) @ 0 (0) --- --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Process 28089 detached -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: hppa (parisc) Kernel: Linux 2.6.24-rc4 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages dirmngr depends on: ii adduser 3.105add and remove users and groups ii libc6 2.7-5GNU C Library: Shared libraries ii libgcrypt11 1.4.0-2 LGPL Crypto library - runtime libr ii libgpg-error0 1.4-2library for common error values an ii libksba81.0.2-1 X.509 and CMS support library ii libldap22.1.30.dfsg-13.5 OpenLDAP libraries ii libpth202.0.7-9 The GNU Portable Threads ii lsb-base3.1-24 Linux Standard Base 3.1 init scrip dirmngr recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]