Debian Bug report logs - #916626
qbs: FTBFS on hppa: Segmentation fault (core dumped)

version graph

Package: src:qbs; Maintainer for src:qbs is Debian Qt/KDE Maintainers <[email protected]>;

Reported by: John David Anglin <[email protected]>

Date: Sun, 16 Dec 2018 17:57:02 UTC

Severity: normal

Tags: ftbfs

Found in version qbs/1.12.2+dfsg-1

Full log


Message #10 received at [email protected] (full text, mbox, reply):

Received: (at 916626) by bugs.debian.org; 16 Dec 2018 18:21:12 +0000
From [email protected] Sun Dec 16 18:21:12 2018
X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02
	(2018-09-13) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-11.5 required=4.0 tests=BAYES_00,DIGITS_LETTERS,
	HAS_BUG_NUMBER,RCVD_IN_DNSWL_LOW,SPF_PASS,TXREP,UNPARSEABLE_RELAY
	autolearn=ham autolearn_force=no
	version=3.4.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 38; hammy, 140; neutral, 29; spammy,
	0. spammytokens: hammytokens:0.000-+--HOpenpgp:preference,
	0.000-+--HOpenpgp:signencrypt, 0.000-+--H*u:60.0, 0.000-+--char*,
	0.000-+--char**
Return-path: <[email protected]>
Received: from simcoe208srvr.owm.bell.net ([184.150.200.208] helo=torfep02.bell.net)
	by buxtehude.debian.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256)
	(Exim 4.89)
	(envelope-from <[email protected]>)
	id 1gYb2O-0006Iz-KM
	for [email protected]; Sun, 16 Dec 2018 18:21:12 +0000
Received: from bell.net torfep02 184.150.200.158 by torfep02.bell.net
          with ESMTP
          id <[email protected]>
          for <[email protected]>; Sun, 16 Dec 2018 13:21:11 -0500
Received: from [192.168.2.49] (really [70.53.62.196]) by torspm01.bell.net
          with ESMTP
          id <20181216182111.TCE10318.torspm01.bell.net@[192.168.2.49]>;
          Sun, 16 Dec 2018 13:21:11 -0500
Subject: Re: Bug#916626: Acknowledgement (qbs: FTBFS on hppa: Segmentation
 fault (core dumped))
From: John David Anglin <[email protected]>
To: [email protected]
References: <154498286870.606.17013838576913775750.reportbug@mx3210>
 <[email protected]>
 <[email protected]>
Openpgp: preference=signencrypt
Message-ID: <[email protected]>
Date: Sun, 16 Dec 2018 13:21:10 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101
 Thunderbird/60.3.3
MIME-Version: 1.0
In-Reply-To: <[email protected]>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Cloudmark-Analysis: v=2.2 cv=IPLtMknG c=1 sm=0 tr=0 a=Zvhif4XNTjWcJyJCfFIh1A==:17 a=IkcTkHD0fZMA:10 a=2ur7OfE09M0A:10 a=FBHGMhGWAAAA:8 a=gestRLs2puD9rWi_mY0A:9 a=QEXdDO2ut3YA:10 a=9gvnlMMaQFpL9xblJ6ne:22
X-Greylist: delayed 1018 seconds by postgrey-1.36 at buxtehude; Sun, 16 Dec 2018 18:21:12 UTC
On 2018-12-16 1:04 p.m., John David Anglin wrote:
> Thread 4 "QThread" hit Breakpoint 1, QTJSC::Heap::markConservatively (
>     this=0xf8b53c78, markStack=..., start=0xed5826c8, end=0xedd81000)
>     at ../3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp:791
> 791     ../3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp:
> No such file or directory.
> 
> The address 0xedd81000 is the end of the stack.

void Heap::markConservatively(MarkStack& markStack, void* start, void* end)
{
    if (start > end) {
        void* tmp = start;
        start = end;
        end = tmp;
    }

    ASSERT((static_cast<char*>(end) - static_cast<char*>(start)) <
0x1000000);
    ASSERT(isPointerAligned(start));
    ASSERT(isPointerAligned(end));

    char** p = static_cast<char**>(start);
    char** e = static_cast<char**>(end);

    CollectorBlock** blocks = m_heap.blocks;
    while (p != e) {

It looks to me as if the test "p != e" should be "p < e".

Dave
-- 
John David Anglin  [email protected]



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 17:38:49 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.