/srv/irclogs.ubuntu.com/2017/03/20/#ubuntu-unity.txt

=== maclin1 is now known as maclin
mardyseb128: hi! Do you happen to know where apps store their logs under unity8 (zesty)?07:37
seb128mardy, hey, no idea, try journalctl maybe?07:37
mardyseb128: yep, I tried "journalctl --user" but it says no journals were found07:39
seb128mardy, try the system one maybe, otherwise I don't know07:39
seb128but Saviq and others probably do07:39
mardyseb128: yep, thanks (just pinged you as I saw you logging in :-) )07:40
seb128np!07:40
mardySaviq: hi! Do you know where to find the logs? ^07:40
=== maclin1 is now known as maclin
=== maclin1 is now known as maclin
Saviqmardy, they are launched as systemd services, so if anywhere, it would be in journald09:17
Saviqmardy, yeah, they are, but you need to give the full unit name:09:18
Saviq$ journalctl --user-unit ubuntu-app-launch-application-legacy-ubuntu-system-settings-.service09:18
Saviqnot sure why plain `$ journalctl --user` doesn't give the same09:18
tsdgeosSaviq: Mirv: didn't we already fix https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1641175 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1630906 ?09:56
ubot5Ubuntu bug 1641175 in unity8 (Ubuntu) "unity8 fails to build in arm64 because of tests segfault" [Critical,Confirmed]09:56
ubot5Ubuntu bug 1630906 in qtdeclarative-opensource-src (Ubuntu RTM) "QML segfault on arm64 due to builder kernel change" [Undecided,In progress]09:56
mardySaviq: ah, thanks a lot!09:57
Saviqtsdgeos, no, Mirv found i386 issues09:57
tsdgeosah right09:57
tsdgeoswant me to try to have a quick look?09:58
SaviqMirv would have to tell where he's at09:58
tsdgeosSaviq: should we kill https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1367822 ?09:59
ubot5Ubuntu bug 1367822 in Ubuntu UX "[Scopes] Process required to pin a shortcut to the launcher does not fit users mental model" [High,In progress]09:59
Saviqtsdgeos, right, doing09:59
MirvSaviq: tsdgeos: it's still sitting in https://bileto.ubuntu.com/#/ticket/2519 - as you can see in unity8 i386 (and armhf actually) tests at https://bileto.ubuntu.com/excuses/2519/xenial.html , there are new segfaults. I don't see anything remotely possibly having a fix in the 5.6 branch that I could additionally cherry-pick, so kind of only hope is that the final 5.6.3 will magically fix those issues10:03
Mirvtsdgeos: this was the thing where I showed that there are only 1.5 pages sof commits since 5.6.2 in qtdeclarative: http://code.qt.io/cgit/qt/qtdeclarative.git/log/?h=5.610:04
Mirvthree are picked, all hinted by upstream originally some months ago10:05
tsdgeosSaviq: want me to try to update https://unity.ubuntu.com/getinvolved/development/unity8/ yet again?10:08
Saviqtsdgeos, I'd like us focus on the current buglist first http://goo.gl/nTYdDQ10:13
tsdgeosok10:13
Saviqif there's any that are not pwned, please take it10:14
tsdgeosSaviq: if you have some time, have a look at my last comment on https://bugs.launchpad.net/canonical-devices-system-image/+bug/152528510:15
ubot5Ubuntu bug 1525285 in clutter-gst-3.0 (Ubuntu) "inspecting clutter plugin hangs outside X11" [High,Triaged]10:15
tsdgeosnot convinced it's a bug anymore (or maybe some xmir defaulting "fixed" it)10:15
Saviqtsdgeos, try taking a screenshot with unity8 ;)10:16
Saviqhaving first removed the registry10:16
tsdgeosok10:20
tsdgeos10% battery and can't find the power brick :D10:20
tsdgeosok, at my parents place, bus10:27
Saviqtsdgeos, http://paste.ubuntu.com/24214533/ is what I get in unity8 when trying to take a screenshot without a registry present10:29
Saviqalthough it doesn't look like it's clutter responsible necessarily http://paste.ubuntu.com/24214540/10:31
Saviqmaek that http://paste.ubuntu.com/24214544/10:32
Saviqgreyback_, is thread 12 waiting for thread 27 is waiting for thread 12 is waiting for thread 27 is waiting for thread 12... you know what I mean ↑?10:33
greyback_Saviq: I do. Is this a multimonitor setup?10:36
Saviqgreyback_, it is10:36
greyback_Saviq: ok, that makes sense. Threads 26&27 are render threads, they're both waiting inside processEventsAndWaitForMore which is ok, they're waiting to be told to render something new10:37
greyback_Saviq: thread 12 being blocked there is bad, means Qt GUI thread blocked10:38
Saviqgreyback_, context: was trying to take a screenshot, hence gst in thread 27 trying to redo the registry10:38
Saviqand I'm thinking while doing so, it tried to connect to Mir and we're trying to see if we authorize it in thread 12?10:38
Saviqhmm but we shouldn't deadlock on that should we10:39
greyback_Saviq: possible. I don't get why taking a screenshot causes registry "redo" though10:39
Saviqgreyback_, because there wasn't any yet10:39
Saviqam trying to see where we are with bug #152528510:39
ubot5bug 1525285 in clutter-gst-3.0 (Ubuntu) "inspecting clutter plugin hangs outside X11" [High,Triaged] https://launchpad.net/bugs/152528510:39
Saviqgreyback_, and taking a screenshot causes sound10:40
greyback_Saviq: ah ok, understood10:40
greyback_then we're in a pickle10:41
greyback_need to do session authorization outside the Qt GUI thread10:41
greyback_which is do-able I think10:42
greyback_I'm still a bit surprised gst connects to mir10:43
Saviqgreyback_, yeah well that might be part of the bug10:47
Saviqit actually spawns gst-plugin-scanner10:49
Saviqand yeah, it's the clutter plugin that tries to connect to mir10:52
greyback_and this is all blocking? ugg10:53
Saviqhttp://pastebin.ubuntu.com/24214612/10:53
Saviqthat's gst-plugin-scanner's trace10:54
Saviqtsdgeos, ↑10:54
Saviqso the problem only seems to exist now if the registry is being scanned from within unity810:54
Saviqbut why would clutter contact the display server in the first place...10:54
tsdgeossame-ish as mine, no?10:54
tsdgeosupstream quickly waved off to gtk10:55
tsdgeossee the upstream bug i linked10:55
tsdgeosi was thinking while on the bus10:55
tsdgeosis it a deadlock because Unity8 wants to connect to Unity8 ?10:56
Saviqtsdgeos, no, unity8 → gst-plugin-scanner → unity810:56
Saviqso... -ish10:56
Saviqbrb10:56
Saviqso yeah, there are a bunch of problems here - gst blocking on registry generation (suppose it has to, to actually be able to play), clutter connecting to the display server, unity8 not able to reply to a auth request when gst is blocking it11:06
Saviqbut we'd have rejected the connection anyway11:09
tsdgeosthat's fine11:10
tsdgeosif you run gst-plugin-scanner in a user that has no connection11:10
tsdgeosit suceeds11:10
Saviqtsdgeos, well, not fine, as your own tests shows - if you run under a user that *does* run Mir, it fails (hangs?)11:13
Saviqand that's not because the unity8 → unity8 loop11:13
Saviqhttps://bugzilla.gnome.org/show_bug.cgi?id=780193#c511:13
ubot5Gnome bug 780193 in Backend: Mir "inspecting clutter plugin hangs outside X11" [Normal,New]11:13
tsdgeosyep11:13
tsdgeosactually since i was running it from a VT11:14
tsdgeosi'm not convinced it got stuck11:14
tsdgeosor was hit by "unity8 is not focused so it's suspended"11:14
tsdgeoswant to try to reproduce it again from unity8 itself11:14
Saviqwhen ran from a terminal, it does hang here... but so does it under unity711:20
Saviqwith -l that is11:20
Saviqah but that's likely for RPC11:21
tsdgeosSaviq: yeah, running gst-inspect-1.0 from konsole inside unity8 it's "ok"11:22
tsdgeosyeah, it hangs in a VT because untiy8 is suspended11:23
tsdgeosif i swtich to unity8 VT and come back11:23
tsdgeosit finished11:23
tsdgeosso i'd say the main problem is really "unity8 not able to reply to a auth request when gst is blocking it"11:23
tsdgeosand i guess this one is actually in our reach to fix11:23
Saviqtsdgeos, well, yeah, -ish, since the clutter plugin gets rejected11:24
tsdgeoswhich is fine11:24
tsdgeoswe don't want/need clutter11:24
Saviqsure we don't?11:24
Saviqwhat if a user switches to a gnome-shell session then11:25
SaviqI mean, sure, fine, but meh11:25
tsdgeosthat'd be a problem for gst to fix11:25
tsdgeosnot assuming that if featureY failed today, it will fail forever11:26
tsdgeosout of scope for our bug if you ask me11:26
Saviqtsdgeos, well, yes, *we* need to fix the auth block11:26
Saviqdoesn't change the fact that the bug's there in gst-clutter11:27
SaviqI've updated the description11:31
Saviqgreyback, so I've updated bug #1525285 - while I still think this is a gst-clutter bug, we need to try and make sure things like that don't bite us, and do the auth in a separate thread (and we should be able to, right? at most, we're simply talking to UAL for that?)11:36
ubot5bug 1525285 in qtmir (Ubuntu) "Unity8 deadlock when trying to screenshot without a current gst registry" [High,Triaged] https://launchpad.net/bugs/152528511:36
Saviqit'd be good to get it done for Zesty release11:37
greybackSaviq: yep we should be able to. Just requires some shimmying of code around and a little thread safety thinking11:38
tsdgeosMirv: i'm 34.65% you need a uitk rebuild in that silo11:45
tsdgeossince it's using some qv4 private classes affected by the patches11:45
Mirvtsdgeos: oh, thanks for the tip, trying that out12:12
tsdgeosMirv: rebuild fixes the crash locally, you may need to rebuild anything that depends on  qtdeclarative5-private-dev13:19
tsdgeosto be on the safe side13:19
=== JanC is now known as Guest30327
=== JanC_ is now known as JanC
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== jjb is now known as oao
=== oao is now known as jjb
=== JanC_ is now known as JanC
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== Saviq_ is now known as Saviq

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!