Hide Forgot
Description of problem: Audacity doesn't start. This is the terminal output: jonas@cyberman:~$ audacity (Audacity:11873): GLib-GObject-WARNING **: cannot register existing type 'GdkDisplayManager' (Audacity:11873): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed (Audacity:11873): GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed (Audacity:11873): Gtk-WARNING **: gtk_disable_setlocale() must be called before gtk_init() jonas@cyberman:~$ Version-Release number of selected component (if applicable): 2.1.2-3.fc23 How reproducible: 100% Steps to Reproduce: 1. Install audacity 2. Type "audacity" into terminal Actual results: doesn't start Expected results: starts Additional info:
Hi Jonas, I see the same warnings during audacity startup, but it does succeed and work OK (see messages). Does it work OK for you now ? ==== $ audacity (Audacity:27613): GLib-GObject-WARNING **: cannot register existing type 'GdkDisplayManager' (Audacity:27613): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed (Audacity:27613): GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed (Audacity:27613): Gtk-WARNING **: gtk_disable_setlocale() must be called before gtk_init() lilv_world_add_plugin(): error: Duplicate plugin <http://lv2plug.in/plugins/eg-fifths> lilv_world_add_plugin(): error: ... found in file:///usr/lib64/lv2/eg-fifths.lv2/ lilv_world_add_plugin(): error: ... and file:///usr/lib64/lv2/eg-fifths.lv2/ lilv_world_add_plugin(): error: Duplicate plugin <http://lv2plug.in/plugins/eg-midigate> lilv_world_add_plugin(): error: ... found in file:///usr/lib64/lv2/eg-midigate.lv2/ lilv_world_add_plugin(): error: ... and file:///usr/lib64/lv2/eg-midigate.lv2/ lilv_world_add_plugin(): error: Duplicate plugin <http://lv2plug.in/plugins/eg-metro> lilv_world_add_plugin(): error: ... found in file:///usr/lib64/lv2/eg-metro.lv2/ lilv_world_add_plugin(): error: ... and file:///usr/lib64/lv2/eg-metro.lv2/ lilv_world_add_plugin(): error: Duplicate plugin <http://lv2plug.in/plugins/eg-amp> lilv_world_add_plugin(): error: ... found in file:///usr/lib64/lv2/eg-amp.lv2/ lilv_world_add_plugin(): error: ... and file:///usr/lib64/lv2/eg-amp.lv2/ ALSA lib pcm_dsnoop.c:606:(snd_pcm_dsnoop_open) unable to open slave ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started Expression 'stream->capture.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4589 Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4608 ====
No, it doesn't... (would be surprising since I don't think there was an update of any sort?) As you can see from my pasted output it quits much earlier than yours (after the gtk_init() warning). In gdb you can see it seems to terminate with exit code 0377: jonas@cyberman:~$ gdb audacity GNU gdb (GDB) Fedora 7.10.1-31.fc23 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from audacity...Reading symbols from /usr/lib/debug/usr/bin/audacity.debug...done. done. (gdb) run audacity Starting program: /usr/bin/audacity audacity Missing separate debuginfos, use: dnf debuginfo-install glibc-2.22-16.fc23.x86_64 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7fffd2356700 (LWP 12157)] [New Thread 0x7fffd1b55700 (LWP 12158)] (Audacity:12153): GLib-GObject-WARNING **: cannot register existing type 'GdkDisplayManager' (Audacity:12153): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed (Audacity:12153): GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed (Audacity:12153): Gtk-WARNING **: gtk_disable_setlocale() must be called before gtk_init() [Thread 0x7fffd2356700 (LWP 12157) exited] [Thread 0x7ffff7f07b00 (LWP 12153) exited] [Inferior 1 (process 12153) exited with code 0377]
How about the results of $ audacity --version and $ audacity --test and try renaming the hidden folder: ~/.audacity-data to say: ~/.audacity-data.real and try again. If no-go, can you list your running kernel and lsmod|grep snd to indicate your sound hw driver.
I had some things in ~/.audacity-data/ with wrong permissions (not owned by the user), removing that directory fixed it. It appears audacity doesn't have any sensible error handling when stuff in that folder is inaccessible.. I guess this could both be closed or turned into an issue that audacity is unable to show any sort of relevant error message when with files in ~/.audacity-data/ have incorrect permissions. Proceed as you wish :)
Do you think the bad permissions were caused by audacity (e.g. an older version) ? Which files or folders in particular weren't good ? Or was this a "self made" issue that wouldn't happen to other users ?
Somewhat self-made: the files were owned by root, so it's not something that would easily happen to someone else. But it still wouldn't hurt if Audacity had a better error message for this!
audacity-2.1.3-0.7.20161109git53a5c93.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-99f8d418ba
audacity-2.1.3-0.7.20161109git53a5c93.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-3f35f35613
audacity-2.1.3-0.7.20161109git53a5c93.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-99f8d418ba
audacity-2.1.3-0.7.20161109git53a5c93.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-3f35f35613
audacity-2.1.3-0.7.20161109git53a5c93.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
audacity-2.1.3-0.7.20161109git53a5c93.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
This message is a reminder that Fedora 23 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 23. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '23'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 23 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.