[Bug 981020] New: gnupg segmentation fault "mpi-bit.c: No such file or directory."
http://bugzilla.opensuse.org/show_bug.cgi?id=981020 Bug ID: 981020 Summary: gnupg segmentation fault "mpi-bit.c: No such file or directory." Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: All Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: sebix+novell.com@sebix.at QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 677848 --> http://bugzilla.opensuse.org/attachment.cgi?id=677848&action=edit zypper.log starting from yesterday including all updates from today After the latest upgrade today (2016-05-22) I cannot run gnupg2 anymore. I attached the zypper logs starting from yesterday. Thus is the output from gdb with all necessary debugging symbols installed (those proposed by gdb).
gdb gpg2 GNU gdb (GDB; openSUSE Tumbleweed) 7.11 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-suse-linux". Type "show configuration" for configuration details. For bug reporting instructions, please see: http://bugs.opensuse.org/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from gpg2...Reading symbols from /usr/lib/debug/usr/bin/gpg2.debug...done. done. (gdb) r -k Starting program: /usr/bin/gpg2 -k [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". gpg: checking the trustdb gpg: removing stale lockfile (created by 19531)
Program received signal SIGSEGV, Segmentation fault. _gcry_mpi_normalize (a=0x0) at mpi-bit.c:61 61 mpi-bit.c: No such file or directory. I tried to install openmpi (just a guess), but nothing changed. I also removed libgcrypt20-32bit and other -32bit packages which have been installed because of 1 32bit-only package. I can't downgrade libgcrypt20 to the previous installed version too :(
sudo zypper install -f libgcrypt20-1.6.5-1.3 root's password: Loading repository data... Reading installed packages... Package 'libgcrypt20-1.6.5-1.3' not found. Resolving package dependencies...
Nothing to do.
sudo zypper install -f libgcrypt20=1.6.5-1.3 Loading repository data... Reading installed packages... Package 'libgcrypt20=1.6.5-1.3' not found. Resolving package dependencies...
Nothing to do. Any ideas how to downgrade (so I can use gpg again, which I need) or debug this? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=981020
Sebastian Wagner
http://bugzilla.opensuse.org/show_bug.cgi?id=981020
http://bugzilla.opensuse.org/show_bug.cgi?id=981020#c1
--- Comment #1 from Sebastian Wagner
gdb gpg GNU gdb (GDB; openSUSE Tumbleweed) 7.11 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-suse-linux". Type "show configuration" for configuration details. For bug reporting instructions, please see: http://bugs.opensuse.org/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from gpg...Reading symbols from /usr/lib/debug/usr/bin/gpg2.debug...done. done. (gdb) r -k Starting program: /usr/bin/gpg -k [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". gpg: checking the trustdb gpg: removing stale lockfile (created by 10829)
Program received signal SIGSEGV, Segmentation fault. _gcry_mpi_normalize (a=0x0) at mpi-bit.c:61 61 mpi-bit.c: No such file or directory. (gdb) bt #0 _gcry_mpi_normalize (a=0x0) at mpi-bit.c:61 #1 0x00007ffff746d740 in _gcry_mpi_normalize (a=<optimized out>) at mpi-bit.c:75 #2 _gcry_mpi_get_nbits (a=<optimized out>) at mpi-bit.c:79 #3 0x00007ffff73d49d5 in gcry_mpi_get_nbits (a=<optimized out>) at visibility.c:587 #4 0x0000000000429d5e in encode_md_value (pk=pk@entry=0x70b000, md=md@entry=0x7ca720, hash_algo=2) at seskey.c:350 #5 0x000000000043f4ae in check_signature_end_simple (pk=0x70b000, sig=0x7142e0, digest=0x7ca720) at sig-check.c:461 #6 0x000000000044000f in check_signature_over_key_or_uid (signer=0x70b000, sig=sig@entry=0x7142e0, kb=kb@entry=0x7c5ac0, packet=packet@entry=0x75a6b0, is_selfsig=is_selfsig@entry=0x0, ret_pk=ret_pk@entry=0x0) at sig-check.c:892 #7 0x00000000004406f0 in check_key_signature2 (root=0x7c5ac0, node=node@entry=0x7bae30, check_pk=check_pk@entry=0x0, ret_pk=ret_pk@entry=0x0, is_selfsig=is_selfsig@entry=0x0, r_expiredate=r_expiredate@entry=0x0, r_expired=0x0) at sig-check.c:1075 #8 0x0000000000440785 in check_key_signature (root=<optimized out>, node=node@entry=0x7bae30, is_selfsig=is_selfsig@entry=0x0) at sig-check.c:686 #9 0x0000000000429602 in keyring_rebuild_cache (token=<optimized out>, noisy=noisy@entry=0) at keyring.c:1554 #10 0x0000000000426294 in keydb_rebuild_caches (noisy=noisy@entry=0) at keydb.c:1775 #11 0x000000000046fd8f in validate_keys (interactive=interactive@entry=0) at trustdb.c:1904 #12 0x0000000000471932 in tdb_check_trustdb_stale () at trustdb.c:971 #13 0x000000000046e2d5 in check_trustdb_stale () at trust.c:280 #14 0x0000000000444bb8 in public_key_list (ctrl=ctrl@entry=0x6e8050, list=0x0, locate_mode=0) at keylist.c:133 #15 0x000000000040b662 in main (argc=0, argv=0x7fffffffdee8) at gpg.c:4100 (gdb) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=981020
http://bugzilla.opensuse.org/show_bug.cgi?id=981020#c2
--- Comment #2 from Sebastian Wagner
http://bugzilla.opensuse.org/show_bug.cgi?id=981020
http://bugzilla.opensuse.org/show_bug.cgi?id=981020#c4
Rainer Sabelka
http://bugzilla.opensuse.org/show_bug.cgi?id=981020
http://bugzilla.opensuse.org/show_bug.cgi?id=981020#c5
--- Comment #5 from Rainer Sabelka
http://bugzilla.opensuse.org/show_bug.cgi?id=981020
Přemysl Janouch
participants (1)
-
bugzilla_noreply@novell.com