#1059249 - designer-qt6: Segmentation fault in /usr/lib/qt6/bin/designer at launch - Debian Bug report logs

Debian Bug report logs - #1059249
designer-qt6: Segmentation fault in /usr/lib/qt6/bin/designer at launch

version graph

Package: qt6-base; Maintainer for qt6-base is Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>;

Affects: designer-qt6

Reported by: "Matthew A. Lukowicz" <mlukowicz@sdf.org>

Date: Fri, 22 Dec 2023 04:54:01 UTC

Severity: grave

Fixed in version 6.6.2+dfsg-4

Done: Patrick Franz <deltaone@debian.org>

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, mlukowicz@sdf.org, Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>:
Bug#1059249; Package designer-qt6. (Fri, 22 Dec 2023 04:54:03 GMT) (full text, mbox, link).


Acknowledgement sent to "Matthew A. Lukowicz" <mlukowicz@sdf.org>:
New Bug report received and forwarded. Copy sent to mlukowicz@sdf.org, Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>. (Fri, 22 Dec 2023 04:54:03 GMT) (full text, mbox, link).


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

From: "Matthew A. Lukowicz" <mlukowicz@sdf.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: designer-qt6: Segmentation fault in /usr/lib/qt6/bin/designer at launch
Date: Thu, 21 Dec 2023 23:52:04 -0500
Package: designer-qt6
Version: 6.6.1-1
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: mlukowicz@sdf.org

Hey,

Designer segfaults on launch; seems the bug might be with qt6 xcb integration.

Valgrind reports the following output:

matt@pancakehut:~$ valgrind /usr/lib/qt6/bin/designer 
==947004== Memcheck, a memory error detector 
==947004== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al. 
==947004== Using Valgrind-3.20.0 and LibVEX; rerun with -h for copyright info 
==947004== Command: /usr/lib/qt6/bin/designer 
==947004==  
==947004== Syscall param writev(vector[0]) points to uninitialised byte(s) 
==947004==    at 0x6A911BD: __writev (writev.c:26) 
==947004==    by 0x6A911BD: writev (writev.c:24) 
==947004==    by 0x7D46FBF: ??? (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0) 
==947004==    by 0x7D47800: ??? (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0) 
==947004==    by 0x7D48E24: ??? (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0) 
==947004==    by 0x7D48EA0: xcb_wait_for_reply (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0) 
==947004==    by 0xA933D83: QXcbConnection::initializeScreensFromMonitor(xcb_screen_iterator_t*, int, QXcbScreen**, bool) (in /usr/lib/x86_64-linux-gnu/libQt6XcbQpa.so.6.6.1) 
==947004==    by 0xA934927: QXcbConnection::initializeScreens(bool) (in /usr/lib/x86_64-linux-gnu/libQt6XcbQpa.so.6.6.1) 
==947004==    by 0xA925F42: QXcbConnection::QXcbConnection(QXcbNativeInterface*, bool, unsigned int, char const*) (in /usr/lib/x86_64-linux-gnu/libQt6XcbQpa.so.6.6.1) 
==947004==    by 0xA950B15: QXcbIntegration::QXcbIntegration(QList<QString> const&, int&, char**) (in /usr/lib/x86_64-linux-gnu/libQt6XcbQpa.so.6.6.1) 
==947004==    by 0x486546F: ??? (in /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqxcb.so) 
==947004==    by 0x5C06F97: QGuiApplicationPrivate::createPlatformIntegration() (in /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.6.1) 
==947004==    by 0x5C08887: QGuiApplicationPrivate::createEventDispatcher() (in /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.6.1) 
==947004==  Address 0xa2699c5 is 4,533 bytes inside a block of size 21,176 alloc'd 
==947004==    at 0x48459F3: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) 
==947004==    by 0x7D46990: xcb_connect_to_fd (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0) 
==947004==    by 0x7D4B191: xcb_connect_to_display_with_auth_info (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0) 
==947004==    by 0x6E8BD09: _XConnectXCB (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0) 
==947004==    by 0x6E7C0C6: XOpenDisplay (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0) 
==947004==    by 0xA92EB71: QXcbBasicConnection::QXcbBasicConnection(char const*) (in /usr/lib/x86_64-linux-gnu/libQt6XcbQpa.so.6.6.1) 
==947004==    by 0xA925CF4: QXcbConnection::QXcbConnection(QXcbNativeInterface*, bool, unsigned int, char const*) (in /usr/lib/x86_64-linux-gnu/libQt6XcbQpa.so.6.6.1) 
==947004==    by 0xA950B15: QXcbIntegration::QXcbIntegration(QList<QString> const&, int&, char**) (in /usr/lib/x86_64-linux-gnu/libQt6XcbQpa.so.6.6.1) 
==947004==    by 0x486546F: ??? (in /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqxcb.so) 
==947004==    by 0x5C06F97: QGuiApplicationPrivate::createPlatformIntegration() (in /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.6.1) 
==947004==    by 0x5C08887: QGuiApplicationPrivate::createEventDispatcher() (in /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.6.1) 
==947004==    by 0x6332545: QCoreApplicationPrivate::init() (in /usr/lib/x86_64-linux-gnu/libQt6Core.so.6.6.1) 
==947004==  
==947004== Invalid read of size 8 
==947004==    at 0x637970A: ??? (in /usr/lib/x86_64-linux-gnu/libQt6Core.so.6.6.1) 
==947004==    by 0x5C0D9E5: QGuiApplication::screenAdded(QScreen*) (in /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.6.1) 
==947004==    by 0x5C66DB8: QWindowSystemInterface::handleScreenAdded(QPlatformScreen*, bool) (in /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.6.1) 
==947004==    by 0xA934A6F: QXcbConnection::initializeScreens(bool) (in /usr/lib/x86_64-linux-gnu/libQt6XcbQpa.so.6.6.1) 
==947004==    by 0xA925F42: QXcbConnection::QXcbConnection(QXcbNativeInterface*, bool, unsigned int, char const*) (in /usr/lib/x86_64-linux-gnu/libQt6XcbQpa.so.6.6.1) 
==947004==    by 0xA950B15: QXcbIntegration::QXcbIntegration(QList<QString> const&, int&, char**) (in /usr/lib/x86_64-linux-gnu/libQt6XcbQpa.so.6.6.1) 
==947004==    by 0x486546F: ??? (in /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqxcb.so) 
==947004==    by 0x5C06F97: QGuiApplicationPrivate::createPlatformIntegration() (in /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.6.1) 
==947004==    by 0x5C08887: QGuiApplicationPrivate::createEventDispatcher() (in /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.6.1) 
==947004==    by 0x6332545: QCoreApplicationPrivate::init() (in /usr/lib/x86_64-linux-gnu/libQt6Core.so.6.6.1) 
==947004==    by 0x5C0890F: QGuiApplicationPrivate::init() (in /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.6.1) 
==947004==    by 0x54BCDDC: QApplicationPrivate::init() (in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6.6.1) 
==947004==  Address 0x8 is not stack'd, malloc'd or (recently) free'd 
==947004==  
==947004==  
==947004== Process terminating with default action of signal 11 (SIGSEGV) 
==947004==  Access not within mapped region at address 0x8 
==947004==    at 0x637970A: ??? (in /usr/lib/x86_64-linux-gnu/libQt6Core.so.6.6.1) 
==947004==    by 0x5C0D9E5: QGuiApplication::screenAdded(QScreen*) (in /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.6.1) 
==947004==    by 0x5C66DB8: QWindowSystemInterface::handleScreenAdded(QPlatformScreen*, bool) (in /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.6.1) 
==947004==    by 0xA934A6F: QXcbConnection::initializeScreens(bool) (in /usr/lib/x86_64-linux-gnu/libQt6XcbQpa.so.6.6.1) 
==947004==    by 0xA925F42: QXcbConnection::QXcbConnection(QXcbNativeInterface*, bool, unsigned int, char const*) (in /usr/lib/x86_64-linux-gnu/libQt6XcbQpa.so.6.6.1) 
==947004==    by 0xA950B15: QXcbIntegration::QXcbIntegration(QList<QString> const&, int&, char**) (in /usr/lib/x86_64-linux-gnu/libQt6XcbQpa.so.6.6.1) 
==947004==    by 0x486546F: ??? (in /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqxcb.so) 
==947004==    by 0x5C06F97: QGuiApplicationPrivate::createPlatformIntegration() (in /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.6.1) 
==947004==    by 0x5C08887: QGuiApplicationPrivate::createEventDispatcher() (in /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.6.1) 
==947004==    by 0x6332545: QCoreApplicationPrivate::init() (in /usr/lib/x86_64-linux-gnu/libQt6Core.so.6.6.1) 
==947004==    by 0x5C0890F: QGuiApplicationPrivate::init() (in /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.6.1) 
==947004==    by 0x54BCDDC: QApplicationPrivate::init() (in /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6.6.1) 
==947004==  If you believe this happened as a result of a stack 
==947004==  overflow in your program's main thread (unlikely but 
==947004==  possible), you can try to increase the size of the 
==947004==  main thread stack using the --main-stacksize= flag. 
==947004==  The main thread stack size used in this run was 8388608. 
==947004==  
==947004== HEAP SUMMARY: 
==947004==     in use at exit: 444,641 bytes in 2,556 blocks 
==947004==   total heap usage: 4,522 allocs, 1,966 frees, 665,235 bytes allocated 
==947004==  
==947004== LEAK SUMMARY: 
==947004==    definitely lost: 0 bytes in 0 blocks 
==947004==    indirectly lost: 0 bytes in 0 blocks 
==947004==      possibly lost: 3,392 bytes in 6 blocks 
==947004==    still reachable: 441,249 bytes in 2,550 blocks 
==947004==                       of which reachable via heuristic: 
==947004==                         newarray           : 1,824 bytes in 12 blocks 
==947004==         suppressed: 0 bytes in 0 blocks 
==947004== Rerun with --leak-check=full to see details of leaked memory 
==947004==  
==947004== Use --track-origins=yes to see where uninitialised values come from 
==947004== For lists of detected and suppressed errors, rerun with: -s 
==947004== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) 
Segmentation fault 

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.6-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages designer-qt6 depends on:
ii  libc6                      2.38-4
ii  libgcc-s1                  13.2.0-9
ii  libqt6core6                6.6.1+dfsg-5
ii  libqt6designer6            6.6.1-1
ii  libqt6designercomponents6  6.6.1-1
ii  libqt6gui6                 6.6.1+dfsg-5
ii  libqt6network6             6.6.1+dfsg-5
ii  libqt6printsupport6        6.6.1+dfsg-5
ii  libqt6quick6               6.6.1+dfsg-1
ii  libqt6quickwidgets6        6.6.1+dfsg-1
ii  libqt6widgets6             6.6.1+dfsg-5
ii  libqt6xml6                 6.6.1+dfsg-5
ii  libstdc++6                 13.2.0-9

designer-qt6 recommends no packages.

designer-qt6 suggests no packages.

-- no debconf information



Reply sent to Patrick Franz <deltaone@debian.org>:
You have taken responsibility. (Tue, 27 Feb 2024 18:54:12 GMT) (full text, mbox, link).


Notification sent to "Matthew A. Lukowicz" <mlukowicz@sdf.org>:
Bug acknowledged by developer. (Tue, 27 Feb 2024 18:54:12 GMT) (full text, mbox, link).


Message #10 received at 1059249-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1059249-close@bugs.debian.org
Subject: Bug#1059249: fixed in qt6-base 6.6.2+dfsg-4
Date: Tue, 27 Feb 2024 18:52:12 +0000
[Message part 1 (text/plain, inline)]
Source: qt6-base
Source-Version: 6.6.2+dfsg-4
Done: Patrick Franz <deltaone@debian.org>

We believe that the bug you reported is fixed in the latest version of
qt6-base, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1059249@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Patrick Franz <deltaone@debian.org> (supplier of updated qt6-base package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 27 Feb 2024 19:43:30 +0100
Source: qt6-base
Architecture: source
Version: 6.6.2+dfsg-4
Distribution: experimental
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Patrick Franz <deltaone@debian.org>
Closes: 1059249
Changes:
 qt6-base (6.6.2+dfsg-4) experimental; urgency=medium
 .
   [ Patrick Franz ]
   * Add B-Ds for XCB.
   * Do not reduce the amount of relocations (Closes: #1059249).
   * Clean up cmake-arguments.
Checksums-Sha1:
 ba69ab726a16986d341eaecb28605f3c37d8b4a0 5366 qt6-base_6.6.2+dfsg-4.dsc
 11f1445a8501f033a5fa02f0bd0cb9e61689bdc7 181748 qt6-base_6.6.2+dfsg-4.debian.tar.xz
 50d67abe3766b03ad4ec301a7d334de36c434399 10224 qt6-base_6.6.2+dfsg-4_source.buildinfo
Checksums-Sha256:
 08027354bc12432b66acc727e173169e125bab8cd1d5b1026cf70bfaa074575a 5366 qt6-base_6.6.2+dfsg-4.dsc
 8b6d5f3c74ab43e0bcc6020294a611760aa984a20ed396482cd80a3f3bd208ed 181748 qt6-base_6.6.2+dfsg-4.debian.tar.xz
 0da3265ad832c3b90da754c387b9278375df308b5e1ecf73d7a4f5bba7bfb0fe 10224 qt6-base_6.6.2+dfsg-4_source.buildinfo
Files:
 75e32764e5bd33983a3e13b87830db61 5366 libs optional qt6-base_6.6.2+dfsg-4.dsc
 f406c26af17d20943f38b8c4df3c4c13 181748 libs optional qt6-base_6.6.2+dfsg-4.debian.tar.xz
 add4b7a9d4f354785aabea0aa2cd46b9 10224 libs optional qt6-base_6.6.2+dfsg-4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEYodBXDR68cxZHu3Knp96YDB3/lYFAmXeLW8ACgkQnp96YDB3
/lY4rg/+OVIR+EQFFkDVYW3Gcr4J+V7sGRnXOrQ6C/8QlW3hcswZ+cpMbn6AnL/5
9uZdWQ7PbDwu+cPuNk1WoGCxTfodjRHer4TJSuPoe74mvmFAsHXe5/WKmnrbaoGO
ZisRpzAtVZJTbwbJgp7V3RiNcnC4oy0lh1SlhJoOil+OGiXgz2Fdo03NxlUhQITB
3YJNbsOiINEqyGqkeXXss1IS1hLzsCSWMN6opvtVZpPjTCpBknvIjK/+5gRRzNyO
/5Pz4AuswewDWcYIsPCN3fkqueQX1PYrMvKcTY13v7DEEsdcia+W8Tha3+tw1Fe5
NVOG4u2Hjy3BdDMjndCXJKNZKOOUn5GSl5p0njl154YyxUz9p5SKDyyKVz94jSyQ
4dgYzKF/IFIrl191T65JPQ+z8xYbH+BD+oyvX3npERAq1FdeZp32YWCluqDY94vN
eQPM4BSQPjJkE1r+8/YGMSAHpWzGQ0bon8tk8X7Y+PEktqb5mtU4zrDDdRm05Viz
u16OePegFXbtKtFQJx8pmtqUcn+Pgg1JPATmscFQTkF5Yz8dC/TH5LzlX1NS9y+p
MaxPt5JSszm0okXdVI2QdzGBfezt0GjLm7rMkBVRvMoFWoJwFcPrCUufDZ2FD1d/
WF7EejSOWAvf9BHtFwE/1V7+WEFgWTYP1sGRQQdgEL1UfxmvATk=
=R/0o
-----END PGP SIGNATURE-----

[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>:
Bug#1059249; Package designer-qt6. (Fri, 07 Jun 2024 07:24:02 GMT) (full text, mbox, link).


Acknowledgement sent to Emilio Pozuelo Monfort <pochu@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>. (Fri, 07 Jun 2024 07:24:02 GMT) (full text, mbox, link).


Message #15 received at 1059249@bugs.debian.org (full text, mbox, reply):

From: Emilio Pozuelo Monfort <pochu@debian.org>
To: 1059249@bugs.debian.org
Subject: Re: Bug#1059249: fixed in qt6-base 6.6.2+dfsg-4
Date: Fri, 7 Jun 2024 09:21:01 +0200
Control: reassign -1 qt6-base
Control: fixed -1 6.6.2+dfsg-4
Control: affects -1 designer-qt6

On Tue, 27 Feb 2024 18:52:12 +0000 Debian FTP Masters 
<ftpmaster@ftp-master.debian.org> wrote:
> Source: qt6-base
> Source-Version: 6.6.2+dfsg-4
> Done: Patrick Franz <deltaone@debian.org>
> 
>  qt6-base (6.6.2+dfsg-4) experimental; urgency=medium
>  .
>    [ Patrick Franz ]
>    * Add B-Ds for XCB.
>    * Do not reduce the amount of relocations (Closes: #1059249).
>    * Clean up cmake-arguments.

If this was a bug in qt6-base, then let's reassign it, so that the BTS doesn't 
keep it open for qt6-tools.



Bug reassigned from package 'designer-qt6' to 'qt6-base'. Request was from Emilio Pozuelo Monfort <pochu@debian.org> to 1059249-submit@bugs.debian.org. (Fri, 07 Jun 2024 07:24:02 GMT) (full text, mbox, link).


No longer marked as found in versions qt6-tools/6.6.1-1. Request was from Emilio Pozuelo Monfort <pochu@debian.org> to 1059249-submit@bugs.debian.org. (Fri, 07 Jun 2024 07:24:03 GMT) (full text, mbox, link).


No longer marked as fixed in versions qt6-base/6.6.2+dfsg-4. Request was from Emilio Pozuelo Monfort <pochu@debian.org> to 1059249-submit@bugs.debian.org. (Fri, 07 Jun 2024 07:24:03 GMT) (full text, mbox, link).


Marked as fixed in versions 6.6.2+dfsg-4. Request was from Emilio Pozuelo Monfort <pochu@debian.org> to 1059249-submit@bugs.debian.org. (Fri, 07 Jun 2024 07:24:04 GMT) (full text, mbox, link).


Added indication that 1059249 affects designer-qt6 Request was from Emilio Pozuelo Monfort <pochu@debian.org> to 1059249-submit@bugs.debian.org. (Fri, 07 Jun 2024 07:24:04 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Nov 24 10:27:13 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU 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.