Bug 1312675 - Please disable fatal warnings in dbus user session, dbus must guess about Qt5 applications
Summary: Please disable fatal warnings in dbus user session, dbus must guess about Qt5...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: qt5-qtbase
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: RejectedFreezeException
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-28 17:39 UTC by Raphael Groner
Modified: 2016-03-08 16:32 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-03-08 16:24:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 43303 0 None None None 2016-02-28 17:47:52 UTC
Qt Bug Tracker QTBUG-51299 0 None None None 2016-03-07 19:17:46 UTC

Description Raphael Groner 2016-02-28 17:39:53 UTC
Description of problem:
There are weird errors (so called "fatal warnings") in Qt5 applications logs. DBus user session complains about already closed connection and aborts (condition connection == NULL). That was found while fixing failures from recent F24 mass rebuild.

Version-Release number of selected component (if applicable):
rawhide

How reproducible:
yes

Steps to Reproduce:
1. build any Qt5 application, e.g. trojita, python-qutepart or enki
2. run some tests
3.

Actual results:
error entry in log, build fails

Expected results:
build success

Additional info:
Please disable the aborts completely or discuss with upstream about the sense for this aborts in meanwhile an application is running.

Workaround:
export DBUS_FATAL_WARNINGS=0
That line is needed in every spec file of a misbehaving(?) package. We never saw such a thing with Qt4.

https://dbus.freedesktop.org/doc/api/html/dbus-internals_8c_source.html

Comment 1 Raphael Groner 2016-02-28 17:40:49 UTC
DBus user session just tries to quit too early while Qt5 is still asking if alive.

Comment 2 Raphael Groner 2016-02-28 17:50:32 UTC
Google is also not sure about that feature(?).
https://codereview.chromium.org/2238006

Comment 3 Raphael Groner 2016-02-28 17:53:39 UTC
Temporarily moving to component qt5-qtbase to get maintainers into CC.

Comment 4 Rex Dieter 2016-02-28 18:38:11 UTC
For posterity, can you post a specific example of the specific error output

Comment 6 Fedora Blocker Bugs Application 2016-03-02 19:59:38 UTC
Proposed as a Freeze Exception for 24-alpha by Fedora user raphgro using the blocker tracking app because:

 This bug prevents UAT for Qt5 applications and propably cli tools, too. Indeed, it may confuse unexperienced or new packagers why their packages do not work. The mentioned dbus assertion is caused indirectly and has no obvious reasoning in the build logs for e.g. tests execution failure.

Comment 7 Raphael Groner 2016-03-02 20:00:08 UTC
friendly ping, any news here?

Comment 8 Colin Walters 2016-03-02 20:12:45 UTC
This is qt using the API incorrectly - please try to fix it there first.  But if for some reason this is too hard, we *can* back out the warning change.  It just should be a last resort.

Comment 9 Kamil Páral 2016-03-07 18:36:55 UTC
Discussed at today's blocker review meeting [1]. It was rejected as a freeze exception - there is not yet a clear indication that this causes practical issues in a context that would be affected by an FE (e.g. use of the KDE live image). it can be reproposed if such an impact is demonstrated

[1] https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2016-03-07/

Comment 10 Rex Dieter 2016-03-07 19:17:47 UTC
I was more interested in the details outlined in the build.log's of affected packages.

I *suspect* this may be related to:
https://bugreports.qt.io/browse/QTBUG-51299

and I'll pull in the fix for that.

Comment 11 Rex Dieter 2016-03-08 16:24:57 UTC
Confirmed this fixes it for me, in local build tests and koji trojita scratch build,

https://koji.fedoraproject.org/koji/taskinfo?taskID=13275639

%changelog
* Mon Mar 07 2016 Rex Dieter <rdieter> 5.6.0-0.38.rc
- backport "crash on start if system bus is not available" (QTBUG-51299)

Comment 12 Adam Williamson 2016-03-08 16:32:36 UTC
for the record, the same build made it to F24 before freeze/bodhi enablement.


Note You need to log in before you can comment on or make changes to this bug.