[Qbs] Crash after build

Maximilian Hrabowski hrabowski at bee360.com
Tue Jul 16 09:08:34 CEST 2024


Hi,
i also encounter a crash with qbs 2.3 during project resolving that is difficult to grasp — i should check it with a debug build.

It happens when the project was resolved by a previous run and then something has changed.

I can work around the crash by settings —jobs 1 (or —jobs 4) or some other small value.
—jobs 1 always avoids the crash, but most of the time —jobs 2/3/4 also does when it crashes reliably when using more.

One the resolve has finished i can stop and start over with all cores. So there seems to be some kind of race condition in the resolver?!

So does it help you to
- run resolve first with —jobs 1
- and the build
?
Cheers,
Maxim

From: Qbs <qbs-bounces at qt-project.org> on behalf of Marc Hüskens <marc.hueskens at aucos.de>
Date: Monday, 15. July 2024 at 18:00
To: qbs at qt-project.org <qbs at qt-project.org>
Subject: [Qbs] Crash after build
[Sie erhalten nicht häufig E-Mails von marc.hueskens at aucos.de. Weitere Informationen, warum dies wichtig ist, finden Sie unter https://aka.ms/LearnAboutSenderIdentification ]

Hi,

I am still using Qbs 1.24, because starting with version 2.0 (or so) qbs crashes after build.
We have a quite large project with lots of applications and libraries, which takes a while to load and build.

Anyhow, version 1.24 and earlier work fine, but version 2.x complete with a „qbs has crashed“ message in QtCreator.
This leads to a complete rebuild every time.

I do recall that there was an environment variable or so to enable debug logging, but I cannot find any hint to that.

So my question is, what is the best way to debug a crash of qbs?

Kind regards,
Marc Hüskens
_______________________________________________
Qbs mailing list
Qbs at qt-project.org
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.qt-project.org%2Flistinfo%2Fqbs&data=05%7C02%7Chrabowski%40bee360.com%7C3d1294f61eb94c80878808dca4e733b8%7C17a5b20ffd8e44fabfd64fc263f8e0b4%7C0%7C0%7C638566560118192060%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=PO5tsNpKmpUJz2VR474aPa85gPKkd%2F4ysqM8vTZib34%3D&reserved=0<https://lists.qt-project.org/listinfo/qbs>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20240716/dbabee34/attachment-0001.htm>


More information about the Qbs mailing list