QNetworkSession::isOpen() always returns false
Bug #1404188 reported by
Michael Zanetti
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Confirmed
|
High
|
Zoltan Balogh | ||
apparmor-easyprof-ubuntu (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
qtbase-opensource-src (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
qtbase-opensource-src (Ubuntu RTM) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Using QNetworkSession
The test app in lp:~mzanetti/+junk/nmsessiontest can reproduce the issue. Open this project in ubuntu-sdk's qtcreator and run it on a vivid device. Press the button and watch the debug prints.
On a vivid-desktop or a RTM based phone it will print "all is well". On a vivid phone however, it'll print "network session not open..."
This used to work fine at least back in utopic images.
Changed in qtbase-opensource-src (Ubuntu): | |
assignee: | nobody → Lorn Potter (lorn-potter) |
no longer affects: | apparmor-easyprof-ubuntu (Ubuntu) |
affects: | apparmor-easyprof-ubuntu → apparmor-easyprof-ubuntu (Ubuntu) |
Changed in apparmor-easyprof-ubuntu (Ubuntu): | |
status: | New → Won't Fix |
Changed in apparmor-easyprof-ubuntu (Ubuntu): | |
status: | New → Confirmed |
Changed in qtbase-opensource-src (Ubuntu): | |
status: | Fix Released → Confirmed |
Changed in canonical-devices-system-image: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Zoltan Balogh (bzoltan) |
milestone: | none → ww40-2015 |
tags: | added: patch |
Changed in canonical-devices-system-image: | |
milestone: | ww40-2015 → backlog |
Changed in qtbase-opensource-src (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in apparmor-easyprof-ubuntu (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in canonical-devices-system-image: | |
status: | Confirmed → Fix Committed |
Changed in qtbase-opensource-src (Ubuntu RTM): | |
status: | New → Fix Committed |
Changed in qtbase-opensource-src (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in qtbase-opensource-src (Ubuntu RTM): | |
status: | Fix Committed → Fix Released |
Changed in canonical-devices-system-image: | |
milestone: | backlog → ww08-2016 |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
Changed in canonical-devices-system-image: | |
milestone: | ww08-2016 → 11 |
Changed in canonical-devices-system-image: | |
milestone: | 11 → 12 |
Changed in canonical-devices-system-image: | |
milestone: | 12 → 13 |
Changed in canonical-devices-system-image: | |
milestone: | 13 → backlog |
Changed in qtbase-opensource-src (Ubuntu): | |
assignee: | Lorn Potter (lorn-potter) → nobody |
To post a comment you must log in.
Looks like an app armour thing.
Debug-helper> Executing /usr/bin/ qmlscene[ '/usr/bin/ qmlscene' , '$@', 'share/ qml/nmsessionte st/nmsessiontes t.qml'] new_method_ call() were incorrect, assertion "_dbus_ check_is_ valid_path (path)" failed in file ../../dbus/ dbus-message. c line 1344. set_auto_ start() were incorrect, assertion "message != NULL" failed in file ../../dbus/ dbus-message. c line 3029. iter_init_ append( ) were incorrect, assertion "message != NULL" failed in file ../../dbus/ dbus-message. c line 2426. p.NetworkManage r" path "" interface "org.freedeskto p.DBus. Introspectable" member "Introspect": new_method_ call() were incorrect, assertion "_dbus_ check_is_ valid_path (path)" failed in file ../../dbus/ dbus-message. c line 1344. set_auto_ start() were incorrect, assertion "message != NULL" failed in file ../../dbus/ dbus-message. c line 3029. iter_init_ append( ) were incorrect, assertion "message != NULL" failed in file ../../dbus/ dbus-message. c line 2426. p.NetworkManage r" path "" interface "org.freedeskto p.DBus. Introspectable" member "Introspect": :handleSurfaceF ocusChange( focused= true) :handleSurfaceR esize(width= 540, height=919)
process 7885: arguments to dbus_message_
This is normally a bug in some application using the D-Bus library.
process 7885: arguments to dbus_message_
This is normally a bug in some application using the D-Bus library.
process 7885: arguments to dbus_message_
This is normally a bug in some application using the D-Bus library.
QDBusConnection: error: could not send message to service "org.freedeskto
using blocking call!
Using blocking call!
process 7885: arguments to dbus_message_
This is normally a bug in some application using the D-Bus library.
process 7885: arguments to dbus_message_
This is normally a bug in some application using the D-Bus library.
process 7885: arguments to dbus_message_
This is normally a bug in some application using the D-Bus library.
QDBusConnection: error: could not send message to service "org.freedeskto
using blocking call!
Using blocking call!
UbuntuWindow:
UbuntuWindow:
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
There was another bug mentioning that abstract dbus interface does not introspect, whereas QDBusInterface does
QDBusInterface is used all over in the nm QtBearer plugin.