Installed your Drawing snap today, but was unable to use it - it crashes, output below. Anything I can do to help you troubleshoot this problem? Using Ubuntu 18.04, Snapd 2.40+18.04.
FWIW I see similar behavior with edge and stable channels on Ubuntu 19.04 for me, but I do see the window for a split second before it dies. The log message I get doesnāt include the Pango messages however.
Also I see the following denials in the system journal when this happens:
Adding the screencast-legacy interface doesnāt seem to fix the issue.
Since the app also crashes in devmode, can we rule out that itās a confinement issue?
This appears to be a regression in snapd. The app hasnāt been updated since I last tried it, and it used to work. Is there a way for me to test previous snapd versions?
What separates this snap from others is its use of the gnome-3-32-1804 platform-snap. I have a few test snaps that use this particular content plug that have started failing just like this too.
Iām certain these snaps were all working fine last Friday (11-10-2019) as I was testing them particularly to release the now stable gnome-3-32-1804 (Installing older versions of drawing and/or the gnome-3-32-1804 snap doesnāt fix things either btw).
Now this is weird, I can reproduce this on Disco and Eoan, but not on Bionic. Then, even weirder, if I run Disco or Eoan in a VM with ā3D Accelerationā disabled, it works! On the surface, it would seem this is something GL related. Though, LIBGL_ALWAYS_SOFTWARE=1 snap run drawing does not work.
strace reveals that the last thing the snap does before crashing is load Yaru icons. So on a hunch I decided to try switching my Applications theme to Adwaita - no luck, still crashed. Switched to HighContrast, andā¦ it workedā¦ no crash!
I then noticed that although the snap was working on Bionic, the Ambiance theming looked off, so I switched theme to Adwaita and boom! crash.
Now, Iām just brain dumping here in case someone has a good idea. Iām not sure that this is not gnome-3-32-1804ās (my) fault. Either way, these notes will come in handy
I tried the same, after your results, and it works ideed - accel disabled VM, 18.04, and Drawing works. I can see some visual glitches though - the red ādiscardā button, āsaveā button top bleeding to the title bar and othersā¦ Iām using Adwaita dark theme.
Things just keep getting strangerā¦ I just installed Eoan fresh on one of my machines, installed updates, installed the drawing snap - works perfectly. No issues whatsoever.
UPDATE:
Alright, the snap started core dumping on the above machine.
Iām pretty sure the iso I used to install was a daily build from 12th October, so it struck me that perhaps one of the seeded snaps that came with the iso was working and subsequently broke with a refresh some time after.
I noticed that the gtk-common-themes snap updated from 1313 to 1353 so, considering the theming issues we saw, I tried a snap revert gtk-common-themes, and yeah, fixed, no more crash.
Ah, do you happen to be on Adwaita or Yaru-light? I just noticed that on 1313, these themes still cause the crash, while standard Yaru, Yaru-dark, and the HighContrast themes allow drawing to launch just fine.
Youāre absolutely right, I was using Adwaita. Changing to High Contrast, for example, makes Drawing work; changing back to Adwaita while Drawing is open crashes the app.
He was packaging the master branch, which is the ānormalā thing to do (i suppose) for the edge channel. But here it was packaged as stable too: users only had the version 0.5 with all my work-in-progress. My experiments were probably fun to watch, but not very reliable to use. Meanwhile the stable versions tagged on the branch 0.4 were ignored
The issue is fixed, in a way: he changed a few things, and the version displayed by the snap store is now 0.4.7-bunchofnumbers, which is from the branch 0.4, which isnāt master, so itās cool.
Butā¦ the versioning of that package still looks quite chaotic: both snap channels have this weird version since december 2019 and the packaged code isnāt even really from the tag 0.4.7, which is weird. You can see that because when you install it, the āaboutā dialog says 0.4.8
are you aware that upstream have āissuesā with the snap version?
the link to the snapstore in my readme should rickroll you, which is a stronger message to snapcraft than any of my closed issues
The last version i published is 0.6.3, which is very different (far more reliable, more tools, many more options, finally zooming, more translations, etc.). As an user, you should use flatpak (or the PPA) to get it.