GNU bug report logs - #30790
Broken Qt 5 in my main profile - Qt DBus ?

Previous Next

Package: guix;

Reported by: Danny Milosavljevic <dannym <at> scratchpost.org>

Date: Tue, 13 Mar 2018 00:14:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30790 in the body.
You can then email your comments to 30790 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

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


Report forwarded to bug-guix <at> gnu.org:
bug#30790; Package guix. (Tue, 13 Mar 2018 00:14:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Danny Milosavljevic <dannym <at> scratchpost.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 13 Mar 2018 00:14:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: <bug-guix <at> gnu.org>
Subject: Broken Qt 5 in my main profile - Qt DBus ?
Date: Tue, 13 Mar 2018 01:12:41 +0100
[Message part 1 (text/plain, inline)]
Hi,

seems I broke Qt 5 in my main profile by updating some packages.

I've got this situation:

/gnu/store/gdcnj399zhkpa5kf2mnzgg9lfb3nnd0h-lyx-2.2.3$ gdb share/lyx/bin/lyx2.2
(gdb) r
Cannot mix incompatible Qt library (version 0x50903) with this library (version 0x50904)
Aborted
(gdb) bt
#0  0x00007ffff50a41e4 in raise () from /gnu/store/4sqaib7c2dfjv62ivrg9b8wa7bh226la-glibc-2.26.105-g0890d5379c/lib/libc.so.6
#1  0x00007ffff50a55e5 in abort () from /gnu/store/4sqaib7c2dfjv62ivrg9b8wa7bh226la-glibc-2.26.105-g0890d5379c/lib/libc.so.6
#2  0x00007ffff61c5f0e in QMessageLogger::fatal(char const*, ...) const () from /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
#3  0x00007ffff63c5301 in QObjectPrivate::QObjectPrivate(int) () from /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
#4  0x00007fffedaae100 in ?? () from /gnu/store/4if0il1fssgh3zna4b3x9lwbgw49z01m-qtbase-5.9.3/lib/qt5/plugins/platforms/../../../libQt5DBus.so.5
#5  0x00007fffedaaeed4 in QDBusAbstractInterface::QDBusAbstractInterface(QString const&, QString const&, char const*, QDBusConnection const&, QObject*) () from /gnu/store/4if0il1fssgh3zna4b3x9lwbgw49z01m-qtbase-5.9.3/lib/qt5/plugins/platforms/../../../libQt5DBus.so.5
#6  0x00007fffeda98759 in QDBusConnectionInterface::QDBusConnectionInterface(QDBusConnection const&, QObject*) () from /gnu/store/4if0il1fssgh3zna4b3x9lwbgw49z01m-qtbase-5.9.3/lib/qt5/plugins/platforms/../../../libQt5DBus.so.5
#7  0x00007fffeda94d18 in ?? () from /gnu/store/4if0il1fssgh3zna4b3x9lwbgw49z01m-qtbase-5.9.3/lib/qt5/plugins/platforms/../../../libQt5DBus.so.5
#8  0x00007fffeda9552d in ?? () from /gnu/store/4if0il1fssgh3zna4b3x9lwbgw49z01m-qtbase-5.9.3/lib/qt5/plugins/platforms/../../../libQt5DBus.so.5
#9  0x00007ffff63c88f1 in QObject::event(QEvent*) () from /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
#10 0x00007ffff639dc63 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
#11 0x00007ffff63a030b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
#12 0x00007ffff63f0583 in ?? () from /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
#13 0x00007ffff17cd5c7 in g_main_context_dispatch () from /gnu/store/i1x64fz6m3i1l61vywn5bgdamw0h71c0-glib-2.54.2/lib/libglib-2.0.so.0
#14 0x00007ffff17cd808 in g_main_context_iterate.isra () from /gnu/store/i1x64fz6m3i1l61vywn5bgdamw0h71c0-glib-2.54.2/lib/libglib-2.0.so.0
#15 0x00007ffff17cd8ac in g_main_context_iteration () from /gnu/store/i1x64fz6m3i1l61vywn5bgdamw0h71c0-glib-2.54.2/lib/libglib-2.0.so.0
#16 0x00007ffff63efbcf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
#17 0x00007ffff639c25a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
#18 0x00007ffff61d819c in QThread::exec() () from /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
#19 0x00007fffeda939d5 in ?? () from /gnu/store/4if0il1fssgh3zna4b3x9lwbgw49z01m-qtbase-5.9.3/lib/qt5/plugins/platforms/../../../libQt5DBus.so.5
#20 0x00007ffff61dcd6a in ?? () from /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
#21 0x00007ffff4e594d5 in start_thread () from /gnu/store/4sqaib7c2dfjv62ivrg9b8wa7bh226la-glibc-2.26.105-g0890d5379c/lib/libpthread.so.0
#22 0x00007ffff51602cf in clone () from /gnu/store/4sqaib7c2dfjv62ivrg9b8wa7bh226la-glibc-2.26.105-g0890d5379c/lib/libc.so.6

So it's apparently Qt DBus related since the version of Qt DBus is 5.9.3 but the other Qt stuff is 5.9.4.

If I unset QT_PLUGIN_PATH, it works.

QT_PLUGIN_PATH was:

$HOME/.guix-profile/lib/qt5/plugins
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#30790; Package guix. (Fri, 09 Apr 2021 16:05:02 GMT) Full text and rfc822 format available.

Message #8 received at 30790 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 30790 <at> debbugs.gnu.org
Subject: Re: bug#30790: Broken Qt 5 in my main profile - Qt DBus ?
Date: Fri, 09 Apr 2021 12:04:31 -0400
Hi Danny,

Danny Milosavljevic <dannym <at> scratchpost.org> writes:

> Hi,
>
> seems I broke Qt 5 in my main profile by updating some packages.
>
> I've got this situation:
>
> /gnu/store/gdcnj399zhkpa5kf2mnzgg9lfb3nnd0h-lyx-2.2.3$ gdb share/lyx/bin/lyx2.2
> (gdb) r
> Cannot mix incompatible Qt library (version 0x50903) with this library (version 0x50904)
> Aborted
> (gdb) bt
> #0 0x00007ffff50a41e4 in raise () from
> /gnu/store/4sqaib7c2dfjv62ivrg9b8wa7bh226la-glibc-2.26.105-g0890d5379c/lib/libc.so.6
> #1 0x00007ffff50a55e5 in abort () from
> /gnu/store/4sqaib7c2dfjv62ivrg9b8wa7bh226la-glibc-2.26.105-g0890d5379c/lib/libc.so.6
> #2 0x00007ffff61c5f0e in QMessageLogger::fatal(char const*, ...) const
> () from
> /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
> #3 0x00007ffff63c5301 in QObjectPrivate::QObjectPrivate(int) () from
> /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
> #4 0x00007fffedaae100 in ?? () from
> /gnu/store/4if0il1fssgh3zna4b3x9lwbgw49z01m-qtbase-5.9.3/lib/qt5/plugins/platforms/../../../libQt5DBus.so.5
> #5 0x00007fffedaaeed4 in
> QDBusAbstractInterface::QDBusAbstractInterface(QString const&, QString
> const&, char const*, QDBusConnection const&, QObject*) () from
> /gnu/store/4if0il1fssgh3zna4b3x9lwbgw49z01m-qtbase-5.9.3/lib/qt5/plugins/platforms/../../../libQt5DBus.so.5
> #6 0x00007fffeda98759 in
> QDBusConnectionInterface::QDBusConnectionInterface(QDBusConnection
> const&, QObject*) () from
> /gnu/store/4if0il1fssgh3zna4b3x9lwbgw49z01m-qtbase-5.9.3/lib/qt5/plugins/platforms/../../../libQt5DBus.so.5
> #7 0x00007fffeda94d18 in ?? () from
> /gnu/store/4if0il1fssgh3zna4b3x9lwbgw49z01m-qtbase-5.9.3/lib/qt5/plugins/platforms/../../../libQt5DBus.so.5
> #8 0x00007fffeda9552d in ?? () from
> /gnu/store/4if0il1fssgh3zna4b3x9lwbgw49z01m-qtbase-5.9.3/lib/qt5/plugins/platforms/../../../libQt5DBus.so.5
> #9 0x00007ffff63c88f1 in QObject::event(QEvent*) () from
> /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
> #10 0x00007ffff639dc63 in QCoreApplication::notifyInternal2(QObject*,
> QEvent*) () from
> /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
> #11 0x00007ffff63a030b in
> QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
> () from
> /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
> #12 0x00007ffff63f0583 in ?? () from
> /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
> #13 0x00007ffff17cd5c7 in g_main_context_dispatch () from
> /gnu/store/i1x64fz6m3i1l61vywn5bgdamw0h71c0-glib-2.54.2/lib/libglib-2.0.so.0
> #14 0x00007ffff17cd808 in g_main_context_iterate.isra () from
> /gnu/store/i1x64fz6m3i1l61vywn5bgdamw0h71c0-glib-2.54.2/lib/libglib-2.0.so.0
> #15 0x00007ffff17cd8ac in g_main_context_iteration () from
> /gnu/store/i1x64fz6m3i1l61vywn5bgdamw0h71c0-glib-2.54.2/lib/libglib-2.0.so.0
> #16 0x00007ffff63efbcf in
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> () from
> /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
> #17 0x00007ffff639c25a in
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
> /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
> #18 0x00007ffff61d819c in QThread::exec() () from
> /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
> #19 0x00007fffeda939d5 in ?? () from
> /gnu/store/4if0il1fssgh3zna4b3x9lwbgw49z01m-qtbase-5.9.3/lib/qt5/plugins/platforms/../../../libQt5DBus.so.5
> #20 0x00007ffff61dcd6a in ?? () from
> /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
> #21 0x00007ffff4e594d5 in start_thread () from
> /gnu/store/4sqaib7c2dfjv62ivrg9b8wa7bh226la-glibc-2.26.105-g0890d5379c/lib/libpthread.so.0
> #22 0x00007ffff51602cf in clone () from
> /gnu/store/4sqaib7c2dfjv62ivrg9b8wa7bh226la-glibc-2.26.105-g0890d5379c/lib/libc.so.6
>
> So it's apparently Qt DBus related since the version of Qt DBus is 5.9.3 but the other Qt stuff is 5.9.4.
>
> If I unset QT_PLUGIN_PATH, it works.
>
> QT_PLUGIN_PATH was:
>
> $HOME/.guix-profile/lib/qt5/plugins

I believe the plugins are dynamically loaded, so if you were to have a
mixture of plugins built against various versions of Qt, problems could
occur.

I don't see a good solution for that, short of upgrading your whole
profile.

Unless you have ideas to research to improve this situation, I suggest
we close this issue.

What do you think?

Maxim




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Wed, 13 Jul 2022 12:52:02 GMT) Full text and rfc822 format available.

Notification sent to Danny Milosavljevic <dannym <at> scratchpost.org>:
bug acknowledged by developer. (Wed, 13 Jul 2022 12:52:02 GMT) Full text and rfc822 format available.

Message #13 received at 30790-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 30790-done <at> debbugs.gnu.org
Subject: Re: bug#30790: Broken Qt 5 in my main profile - Qt DBus ?
Date: Wed, 13 Jul 2022 08:51:49 -0400
Hi,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> Hi Danny,
>
> Danny Milosavljevic <dannym <at> scratchpost.org> writes:
>
>> Hi,
>>
>> seems I broke Qt 5 in my main profile by updating some packages.
>>
>> I've got this situation:
>>
>> /gnu/store/gdcnj399zhkpa5kf2mnzgg9lfb3nnd0h-lyx-2.2.3$ gdb share/lyx/bin/lyx2.2
>> (gdb) r
>> Cannot mix incompatible Qt library (version 0x50903) with this library (version 0x50904)
>> Aborted
>> (gdb) bt
>> #0 0x00007ffff50a41e4 in raise () from
>> /gnu/store/4sqaib7c2dfjv62ivrg9b8wa7bh226la-glibc-2.26.105-g0890d5379c/lib/libc.so.6
>> #1 0x00007ffff50a55e5 in abort () from
>> /gnu/store/4sqaib7c2dfjv62ivrg9b8wa7bh226la-glibc-2.26.105-g0890d5379c/lib/libc.so.6
>> #2 0x00007ffff61c5f0e in QMessageLogger::fatal(char const*, ...) const
>> () from
>> /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
>> #3 0x00007ffff63c5301 in QObjectPrivate::QObjectPrivate(int) () from
>> /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
>> #4 0x00007fffedaae100 in ?? () from
>> /gnu/store/4if0il1fssgh3zna4b3x9lwbgw49z01m-qtbase-5.9.3/lib/qt5/plugins/platforms/../../../libQt5DBus.so.5
>> #5 0x00007fffedaaeed4 in
>> QDBusAbstractInterface::QDBusAbstractInterface(QString const&, QString
>> const&, char const*, QDBusConnection const&, QObject*) () from
>> /gnu/store/4if0il1fssgh3zna4b3x9lwbgw49z01m-qtbase-5.9.3/lib/qt5/plugins/platforms/../../../libQt5DBus.so.5
>> #6 0x00007fffeda98759 in
>> QDBusConnectionInterface::QDBusConnectionInterface(QDBusConnection
>> const&, QObject*) () from
>> /gnu/store/4if0il1fssgh3zna4b3x9lwbgw49z01m-qtbase-5.9.3/lib/qt5/plugins/platforms/../../../libQt5DBus.so.5
>> #7 0x00007fffeda94d18 in ?? () from
>> /gnu/store/4if0il1fssgh3zna4b3x9lwbgw49z01m-qtbase-5.9.3/lib/qt5/plugins/platforms/../../../libQt5DBus.so.5
>> #8 0x00007fffeda9552d in ?? () from
>> /gnu/store/4if0il1fssgh3zna4b3x9lwbgw49z01m-qtbase-5.9.3/lib/qt5/plugins/platforms/../../../libQt5DBus.so.5
>> #9 0x00007ffff63c88f1 in QObject::event(QEvent*) () from
>> /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
>> #10 0x00007ffff639dc63 in QCoreApplication::notifyInternal2(QObject*,
>> QEvent*) () from
>> /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
>> #11 0x00007ffff63a030b in
>> QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
>> () from
>> /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
>> #12 0x00007ffff63f0583 in ?? () from
>> /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
>> #13 0x00007ffff17cd5c7 in g_main_context_dispatch () from
>> /gnu/store/i1x64fz6m3i1l61vywn5bgdamw0h71c0-glib-2.54.2/lib/libglib-2.0.so.0
>> #14 0x00007ffff17cd808 in g_main_context_iterate.isra () from
>> /gnu/store/i1x64fz6m3i1l61vywn5bgdamw0h71c0-glib-2.54.2/lib/libglib-2.0.so.0
>> #15 0x00007ffff17cd8ac in g_main_context_iteration () from
>> /gnu/store/i1x64fz6m3i1l61vywn5bgdamw0h71c0-glib-2.54.2/lib/libglib-2.0.so.0
>> #16 0x00007ffff63efbcf in
>> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
>> () from
>> /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
>> #17 0x00007ffff639c25a in
>> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
>> /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
>> #18 0x00007ffff61d819c in QThread::exec() () from
>> /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
>> #19 0x00007fffeda939d5 in ?? () from
>> /gnu/store/4if0il1fssgh3zna4b3x9lwbgw49z01m-qtbase-5.9.3/lib/qt5/plugins/platforms/../../../libQt5DBus.so.5
>> #20 0x00007ffff61dcd6a in ?? () from
>> /gnu/store/rr0225gz6qb1j9xwc5iinf1143dg6cw6-qtbase-5.9.4/lib/libQt5Core.so.5
>> #21 0x00007ffff4e594d5 in start_thread () from
>> /gnu/store/4sqaib7c2dfjv62ivrg9b8wa7bh226la-glibc-2.26.105-g0890d5379c/lib/libpthread.so.0
>> #22 0x00007ffff51602cf in clone () from
>> /gnu/store/4sqaib7c2dfjv62ivrg9b8wa7bh226la-glibc-2.26.105-g0890d5379c/lib/libc.so.6
>>
>> So it's apparently Qt DBus related since the version of Qt DBus is 5.9.3 but the other Qt stuff is 5.9.4.
>>
>> If I unset QT_PLUGIN_PATH, it works.
>>
>> QT_PLUGIN_PATH was:
>>
>> $HOME/.guix-profile/lib/qt5/plugins
>
> I believe the plugins are dynamically loaded, so if you were to have a
> mixture of plugins built against various versions of Qt, problems could
> occur.
>
> I don't see a good solution for that, short of upgrading your whole
> profile.
>
> Unless you have ideas to research to improve this situation, I suggest
> we close this issue.

Closing.

Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 11 Aug 2022 11:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 230 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.