From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C5642C31E46 for ; Wed, 12 Jun 2019 13:43:48 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9EF6F208CA for ; Wed, 12 Jun 2019 13:43:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9EF6F208CA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:60588 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hb3XX-0004Lw-Qt for qemu-devel@archiver.kernel.org; Wed, 12 Jun 2019 09:43:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56999) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hasdx-0000pu-Ov for qemu-devel@nongnu.org; Tue, 11 Jun 2019 22:05:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hasdw-0002Vf-6R for qemu-devel@nongnu.org; Tue, 11 Jun 2019 22:05:41 -0400 Received: from indium.canonical.com ([91.189.90.7]:37832) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hasdv-0002Uv-Ch for qemu-devel@nongnu.org; Tue, 11 Jun 2019 22:05:39 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1hasds-00011H-TP for ; Wed, 12 Jun 2019 02:05:36 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id D253C2E80C7 for ; Wed, 12 Jun 2019 02:05:36 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 12 Jun 2019 01:59:54 -0000 From: DDoSolitary To: qemu-devel@nongnu.org X-Launchpad-Notification-Type: bug X-Launchpad-Bug: product=qemu; status=New; importance=Undecided; assignee=None; X-Launchpad-Bug-Tags: ppc X-Launchpad-Bug-Information-Type: Public X-Launchpad-Bug-Private: no X-Launchpad-Bug-Security-Vulnerability: no X-Launchpad-Bug-Commenters: ddosolitary X-Launchpad-Bug-Reporter: DDoSolitary (ddosolitary) X-Launchpad-Bug-Modifier: DDoSolitary (ddosolitary) References: <155137392124.31316.11495671074765014993.malonedeb@wampee.canonical.com> Message-Id: <156030479552.16323.6827018214929857588.launchpad@soybean.canonical.com> X-Launchpad-Message-Rationale: Subscriber (QEMU) @qemu-devel-ml X-Launchpad-Message-For: qemu-devel-ml Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="18978"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 490a9306e6459acfbbf86278d451f34610b713a0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 91.189.90.7 X-Mailman-Approved-At: Wed, 12 Jun 2019 09:42:35 -0400 Subject: [Qemu-devel] [Bug 1818122] Re: QEMU 3.1 makes libxslt to crash on ppc64 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bug 1818122 <1818122@bugs.launchpad.net> Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" ** Tags added: ppc -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1818122 Title: QEMU 3.1 makes libxslt to crash on ppc64 Status in QEMU: New Bug description: Host: clean Ubuntu Disco with QEMU 3.1 Guest: Alpine Linux edge with xmlto Steps to set up guest: curl -O http://dl-cdn.alpinelinux.org/alpine/edge/releases/ppc64le/netboo= t/vmlinuz-vanilla curl -O http://dl-cdn.alpinelinux.org/alpine/edge/releases/ppc64le/netboo= t/initramfs-vanilla qemu-system-ppc64 -m 1G -kernel vmlinuz-vanilla -initrd initramfs-vanilla= -append "console=3Dhvc0 ip=3Ddhcp alpine_repo=3Dhttp://dl-cdn.alpinelinux.= org/alpine/edge/main/ modloop=3Dhttp://dl-cdn.alpinelinux.org/alpine/edge/r= eleases/ppc64le/netboot/modloop-vanilla" -device virtio-rng-pci -nographic This brings up an VM with an in-memory Alpine Linux. Steps to reproduce: Login as root and execute the following commands. apk add xmlto ntpd -nqp time.google.com // For TLS OCSP wget https://ddosolitary.org/manpage-base.xsl wget https://ddosolitary.org/shadowsocks-libev.xml xmlto -m manpage-base.xsl man shadowsocks-libev.xml The downloaded files are from this project: https://github.com/shadowsock= s/shadowsocks-libev The former is directly taken from the "doc" directory a= nd the latter is an intermediate build output generated by asciidoc from do= c/shadowsocks-libev.asciidoc Expected behavior: The command silently succeeds producing shadowsocks-libev.8 Actual behavior: = runtime error: file file:///usr/share/xml/docbook/xsl-stylesheets-1.79.1/= manpages/tbl.xsl line 450 element text xsltApplySequenceConstructor: A potential infinite template recursion was= detected. You can adjust xsltMaxDepth (--maxdepth) in order to raise the maximum nu= mber of nested template calls and variables/params (currently set to 3000). Templates: #0 name process.colspan #1 name process.colspan #2 name process.colspan #3 name process.colspan #4 name process.colspan #5 name process.colspan #6 name process.colspan #7 name process.colspan #8 name process.colspan #9 name process.colspan #10 name process.colspan #11 name process.colspan #12 name process.colspan #13 name process.colspan #14 name process.colspan Variables: #0 type colspan #1 colspan #2 type colspan #3 colspan #4 type colspan #5 colspan #6 type colspan #7 colspan #8 type colspan #9 colspan #10 type colspan #11 colspan #12 type colspan #13 colspan #14 type colspan error: file /root/shadowsocks-libev.xml xsltRunStylesheet : run failed Note: I tried increasing --maxdepth as suggested in the error output but that w= ill result in a segfault. This error doesn't occur with an older QEMU (I tested QEMU 2.12 on Ubuntu= Cosmic) or different architectures on QEMU 3.1 (I tested x86, x86_64, arm,= aarch64, s390x). Also it didn't help to use an older Alpine Linux (I teste= d v3.8). So I think it is caused by a bug in QEMU rather than the distro/pa= ckage. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1818122/+subscriptions