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=-8.8 required=3.0 tests=BAYES_00, 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 044D8C433B4 for ; Tue, 20 Apr 2021 08:38:17 +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 59FF661104 for ; Tue, 20 Apr 2021 08:38:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 59FF661104 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bugs.launchpad.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:55034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYlte-00016y-U0 for qemu-devel@archiver.kernel.org; Tue, 20 Apr 2021 04:38:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50306) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYlri-0007mf-FL for qemu-devel@nongnu.org; Tue, 20 Apr 2021 04:36:14 -0400 Received: from indium.canonical.com ([91.189.90.7]:33942) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYlra-0007mf-GN for qemu-devel@nongnu.org; Tue, 20 Apr 2021 04:36:14 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1lYlrX-0004va-Sv for ; Tue, 20 Apr 2021 08:36:04 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 3752A2E8165 for ; Tue, 20 Apr 2021 08:36:01 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 20 Apr 2021 08:24:29 -0000 From: Thomas Huth <1818122@bugs.launchpad.net> To: qemu-devel@nongnu.org X-Launchpad-Notification-Type: bug X-Launchpad-Bug: product=qemu; status=Incomplete; 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 pmaydell th-huth X-Launchpad-Bug-Reporter: DDoSolitary (ddosolitary) X-Launchpad-Bug-Modifier: Thomas Huth (th-huth) References: <155137392124.31316.11495671074765014993.malonedeb@wampee.canonical.com> Message-Id: <161890706920.26756.16157986965371930689.malone@gac.canonical.com> Subject: [Bug 1818122] Re: QEMU 3.1 makes libxslt to crash on ppc64 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="8932ab84469600dc3d8b3344fb7135c702d5179e"; Instance="production" X-Launchpad-Hash: e856ccef604cd2957bae109cb7b39e21a7f48df1 Received-SPF: none client-ip=91.189.90.7; envelope-from=bounces@canonical.com; helo=indium.canonical.com X-Spam_score_int: -65 X-Spam_score: -6.6 X-Spam_bar: ------ X-Spam_report: (-6.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" sorry for the previous post, posted the wrong text into this bug :-( -- = 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: Incomplete 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