[Bug 1090978] New: Audacity 2.2.2-1.3 doesn't start
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978 Bug ID: 1090978 Summary: Audacity 2.2.2-1.3 doesn't start Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: alawi2903_22@gmx.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- After running zypper dup, which updated the Audacity packages to V2.2.2-1.3, the application refuses to start. How to reproduce? - Run zypper dup to update Tumbleweed to Release 20180424-124.1 - Try to start Audacity from your desktop environment or from a console window. - This will give you a result like: @highlander:~> audacity No protocol specified No protocol specified (Audacity:11383): Gtk-WARNING **: 00:08:29.768: cannot open display: :0 @highlander:~> Is this reproducable? - Yes, on all of my machines that updated Tumbleweed to 20180424 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
Andreas Stieger
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c1
Dave Plater
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c2
--- Comment #2 from Berndt Tobias
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c3
Dave Plater
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c4
--- Comment #4 from Jan Engelhardt
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c5
Dave Plater
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c6
--- Comment #6 from Dave Plater
Created attachment 768604 [details] showcase on TW
works for me. See if you can run an other X program (like xterm), because unable to connect to :0 seems like something much more fundamental than wxWidgets.
The reporter has other wxWidgets programs installed : OpenSceneGraph FileZilla Hugin MediaInfo wxmp3gain and they work, this makes me suspect something in the NOSTL wxWidgets. The update to 3.0.4 would have made audacity rebuild. The only thing I can see is Tumbleweed audacity is forced to use gcc-7 and g++-7 instead of gcc and g++ this could cause a problem when we change to gcc8 but shouldn't be a problem now. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c7
--- Comment #7 from Berndt Tobias
There's a possibility of a library mismatch some where. Can you try a zypper dup to Tumbleweed snapshot 20180425. If audacity still fails can you please install and run audacity-2.2.2-141.1 or newer from: https://download.opensuse.org/repositories/home:/plater/openSUSE_Tumbleweed and also note if other packages are also pulled in.
I did so. As I installed Audacity from your repo, no other packages were updated/installed, only Audacity and Audacity-lang. The matching libwx* libraries should be installed, too: @highlander:~> rpm -q audacity audacity-2.2.2-143.1.x86_64 @highlander:~> ldd /usr/bin/audacity | grep libwx libwx_gtk2u_html-suse-nostl.so.3.0.4 => /usr/lib64/libwx_gtk2u_html-suse-nostl.so.3.0.4 (0x00007f6786188000) libwx_gtk2u_qa-suse-nostl.so.3.0.4 => /usr/lib64/libwx_gtk2u_qa-suse-nostl.so.3.0.4 (0x00007f6785f5a000) libwx_gtk2u_adv-suse-nostl.so.3.0.4 => /usr/lib64/libwx_gtk2u_adv-suse-nostl.so.3.0.4 (0x00007f6785ba1000) libwx_gtk2u_core-suse-nostl.so.3.0.4 => /usr/lib64/libwx_gtk2u_core-suse-nostl.so.3.0.4 (0x00007f67853ec000) libwx_baseu_net-suse-nostl.so.3.0.4 => /usr/lib64/libwx_baseu_net-suse-nostl.so.3.0.4 (0x00007f67851af000) libwx_baseu-suse-nostl.so.3.0.4 => /usr/lib64/libwx_baseu-suse-nostl.so.3.0.4 (0x00007f6784d76000) libwx_baseu_xml-suse-nostl.so.3.0.4 => /usr/lib64/libwx_baseu_xml-suse-nostl.so.3.0.4 (0x00007f678023f000) @highlander:~> audacity No protocol specified No protocol specified (Audacity:4994): Gtk-WARNING **: 08:07:15.202: cannot open display: :0 @highlander:~> This does not solve the issue. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c8
Dave Plater
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c9
--- Comment #9 from Berndt Tobias
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c10
Dave Plater
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c11
--- Comment #11 from Berndt Tobias
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c12
Dave Plater
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c13
--- Comment #13 from Berndt Tobias
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c14
Dave Plater
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c15
--- Comment #15 from Jan Engelhardt
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c16
--- Comment #16 from Dave Plater
Access to X displays is granted by cookies (cf. XAUTHORITY), not UID.
I can see where x is denied in the straces but I'm lost as to why: getpeername(3, {sa_family=AF_UNIX, sun_path=@"/tmp/.X11-unix/X0"}, [124->20]) = 0 uname({sysname="Linux", nodename="highlander.oberkommando", ...}) = 0 access("/home/testuser/.local/share/sddm/.Xauthority", R_OK) = 0 openat(AT_FDCWD, "/home/testuser/.local/share/sddm/.Xauthority", O_RDONLY) = -1 EACCES (Keine Berechtigung) fcntl(3, F_GETFL) = 0x2 (flags O_RDWR) fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 fcntl(3, F_SETFD, FD_CLOEXEC) = 0 poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}]) writev(3, [{iov_base="l\0\v\0\0\0\0\0\0\0\0\0", iov_len=12}, {iov_base="", iov_len=0}], 2) = 12 recvfrom(3, "\0\26\v\0\0\0\6\0", 8, 0, NULL, NULL) = 8 recvfrom(3, "No protocol specified\n\0\0", 24, 0, NULL, NULL) = 24 write(2, "No protocol specified\n", 22No protocol specified ) = 22 shutdown(3, SHUT_RDWR) = 0 close(3) = 0 Any suggestions. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c17
--- Comment #17 from Jan Engelhardt
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c18
--- Comment #18 from Berndt Tobias
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c19
Dave Plater
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c20
--- Comment #20 from Berndt Tobias
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c21
--- Comment #21 from Berndt Tobias
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c22
--- Comment #22 from Berndt Tobias
Three things to do next, post ~/.local/share/sddm/.Xauthority then post /etc/sysconfig/displaymanager then make sure you have lightdm installed, edit /etc/sysconfig/displaymanager and change DISPLAYMANAGER="sddm" to DISPLAYMANAGER="lightdm" If audacity still fails post another strace.
Have a look at the attachments for the two files. I have installed lightdm from repo and replaced sddm with it in /etc/sysconfig/displaymanager: @highlander:~> rpm -q lightdm lightdm-1.24.1-1.1.x86_64 @highlander:~> cat /etc/sysconfig/displaymanager | grep DISPLAYMANAGER= DISPLAYMANAGER="lightdm" @highlander:~> Anyway, lightdm seems not to be in use after a reboot if I look at systemctl: @highlander:~> su Passwort: highlander:/ # systemctl status display-manager ● display-manager.service - X Display Manager Loaded: loaded (/usr/lib/systemd/system/display-manager.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2018-05-11 22:40:07 CEST; 21min ago Main PID: 2184 (sddm) Tasks: 4 (limit: 4716) CGroup: /system.slice/display-manager.service ├─2184 /usr/bin/sddm └─2416 /usr/bin/X -nolisten tcp -auth /run/sddm/{2a37f935-b498-4977-ab50-766dc066e0f3} -background none I don't get why this happens. Anything I've missed? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
Dave Plater
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c23
Dave Plater
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c24
Fabian Vogt
access("/home/tobias/.local/share/sddm/.Xauthority", R_OK) = 0 openat(AT_FDCWD, "/home/tobias/.local/share/sddm/.Xauthority", O_RDONLY) = -1 EACCES (Keine Berechtigung)
This implies that audacity is running with the real UID != effective UID. Why? What does stat /home/tobias/.local/share/sddm/.Xauthority say? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c25
--- Comment #25 from Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c26
--- Comment #26 from Berndt Tobias
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c27
--- Comment #27 from Fabian Vogt
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c28
--- Comment #28 from Berndt Tobias
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c29
Dave Plater
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978
http://bugzilla.opensuse.org/show_bug.cgi?id=1090978#c30
--- Comment #30 from Fabian Vogt
Thanks for help with this bug.
The question is where the AppArmor profile came from - audacity itself? -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com