Devuan bug report logs - #564
ca-certificates-java and so openjdk-11-jre-headless installation fails (java err in sun.security.provider.X509Factory.readOneBlock)

version graph

Package: openjdk-11-jre-headless; Maintainer for openjdk-11-jre-headless is (unknown); Source for openjdk-11-jre-headless is src:openjdk-11.

Reported by: Marko von Oppen <marko@von-oppen.com>

Date: Sat, 6 Mar 2021 14:48:01 UTC

Severity: grave

Tags: debian

Found in version 11.0.9.1+1-1~deb10u2

Fixed in version 11.0.11+3-1

Done: Mark Hindley <mark@hindley.org.uk>

Forwarded to https://bugs.debian.org/960153

Full log


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

Received: (at submit) by bugs.devuan.org; 6 Mar 2021 14:40:04 +0000
Return-Path: <marko@von-oppen.com>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Sat, 06 Mar 2021 14:40:04 +0000 (UTC)
Received: from mail.von-oppen.com (hagbard.von-oppen.com [144.76.81.222])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id A02A9F60DA8
	for <submit@bugs.devuan.org>; Sat,  6 Mar 2021 15:29:34 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (1024-bit key; unprotected) header.d=von-oppen.com header.i=@von-oppen.com header.b="t8Y8ZfLp";
	dkim-atps=neutral
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=von-oppen.com; s=mvo; h=Date:Message-ID:Subject:To:From:
	Content-Transfer-Encoding:MIME-Version:Content-Type:Sender:Reply-To:Cc:
	Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
	Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id:
	List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;
	bh=bXA3p+p692vjukmVH6ZyDO9MSaQ2pPR+rngjg//A95E=; b=t8Y8ZfLpL5Am979C258VxEdMT8
	iFwBGNFAUGnw/icPx0zlWrqfefmhT8Lj4BPATX4g4kapUjPhxbRQ/12tgm+eYxAXUHthvVDz+4Nqs
	Sd5AeA2z4zA+UICy22rRgvmyD5rSoGl07UKDu72rtAYZZd1R2xJ73Z94rSV9dX/KyxXU=;
Received: from bronus.vpn.von-oppen.com ([192.168.167.5]:36444 helo=bronus.home.von-oppen.com)
	by mail.von-oppen.com with esmtps  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
	(Exim 4.94)
	(envelope-from <marko@von-oppen.com>)
	id 1lIXvo-0008Ox-81; Sat, 06 Mar 2021 15:29:24 +0100
Received: from marko by bronus.home.von-oppen.com with local (Exim 4.92)
	(envelope-from <marko@von-oppen.com>)
	id 1lIXvn-00070r-Lq; Sat, 06 Mar 2021 15:29:23 +0100
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
From: Marko von Oppen <marko@von-oppen.com>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: ca-certificates-java and so openjdk-11-jre-headless installation fails (java err in sun.security.provider.X509Factory.readOneBlock)
Message-ID: <161504096358.26886.867902130246581349.reportbug@bronus.home.von-oppen.com>
Date: Sat, 06 Mar 2021 15:29:23 +0100
X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org
Package: ca-certificates-java
Version: 20190405rcnee1~buster+20201118
Severity: grave
Justification: renders package unusable

Dear Maintainers,

the installation of openjdk-11-jre-headless package fails on my system.
Problem looks similiar to Debian Error #954822, but it is not the same
one.

BR
Marko

Console Output
...
Adding debian:Go_Daddy_Class_2_CA.pem
Adding debian:Buypass_Class_3_Root_CA.pem
Adding debian:GlobalSign_Root_CA_-_R3.pem
Adding debian:GTS_Root_R1.pem
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0xb40a8060, pid=23488, tid=23497
#
# JRE version: OpenJDK Runtime Environment (11.0.9.1+1) (build 11.0.9.1+1-post-Debian-1deb10u2)
# Java VM: OpenJDK Server VM (11.0.9.1+1-post-Debian-1deb10u2, mixed mode, serial gc, linux-)
# Problematic frame:
# J 46 c2 sun.security.provider.X509Factory.readOneBlock(Ljava/io/InputStream;)[B java.base@11.0.9.1 (447 bytes) @ 0xb40a8060 [0xb40a7fe0+0x00000080]
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# //hs_err_pid23488.log
Could not load hsdis-arm.so; library not loadable; PrintAssembly is disabled
#
# If you would like to submit a bug report, please visit:
#   https://bugs.debian.org/openjdk-11
#
/var/lib/dpkg/info/ca-certificates-java.postinst: Zeile 88: 23486 Fertig                  find /etc/ssl/certs -name \*.pem
     23487                       | while read filename; do
    alias=$(basename $filename .pem | tr A-Z a-z | tr -cs a-z0-9 _); alias=${alias%*_}; if [ -n "$FIXOLD" ]; then
        echo "-${alias}"; echo "-${alias}_pem";
    fi; echo "+${filename}";
done
     23488 Abgebrochen             | java -Xmx64m -jar $JAR -storepass "$storepass"
dpkg: Fehler beim Bearbeiten des Paketes ca-certificates-java (--configure):
 »installiertes ca-certificates-java-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 134 zurück



-- System Information:
Distributor ID:	Debian
Description:	Devuan GNU/Linux 3 (beowulf)
Release:	3
Codename:	beowulf
Architecture: armv7l

Kernel: Linux 4.14.30-bone14
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages ca-certificates-java depends on:
ii  ca-certificates                                   20200601~deb10u1
ii  libnss3                                           2:3.42.1-1+deb10u3
ii  openjdk-11-jre-headless [java8-runtime-headless]  11.0.9.1+1-1~deb10u2

ca-certificates-java recommends no packages.

ca-certificates-java suggests no packages.

-- Configuration Files:
/etc/default/cacerts [Errno 13] Keine Berechtigung: '/etc/default/cacerts'

-- no debconf information

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Sun Nov 24 08:23:09 2024;