Bug 22176 - Cannot launch audacity after update to Mageia 6
Summary: Cannot launch audacity after update to Mageia 6
Status: RESOLVED WORKSFORME
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: José Jorge
QA Contact:
URL: https://gist.github.com/scriptum/1427...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-12 08:00 CET by Pavel Roschin
Modified: 2017-12-22 22:21 CET (History)
2 users (show)

See Also:
Source RPM: audacity-2.1.3-7.mga6
CVE:
Status comment:


Attachments

Description Pavel Roschin 2017-12-12 08:00:53 CET
Description of problem:
I faced with similar (currently closed) bug https://bugzilla.redhat.com/show_bug.cgi?id=1327541 with audacity after update mga5->mga6.

Version-Release number of selected component (if applicable):
audacity-2.1.3-7.mga6

All components from mga6 repository were updated.

How reproducible:
Always

Steps to Reproduce:
1. Run audacity in terminal

Output:

(Audacity:8492): GLib-GObject-WARNING **: cannot register existing type 'GdkDisplayManager'
(Audacity:8492): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(Audacity:8492): GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
(Audacity:8492): Gnome-WARNING **: Accessibility: failed to find module 'libgail-gnome' which is needed to make this application accessible
(Audacity:8492): GLib-GObject-WARNING **: cannot register existing type 'GtkWidget'
(Audacity:8492): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(Audacity:8492): GLib-GObject-WARNING **: cannot register existing type 'GtkBuildable'
(Audacity:8492): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed
(Audacity:8492): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(Audacity:8492): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(Audacity:8492): GLib-GObject-CRITICAL **: g_type_register_static: assertion 'parent_type > 0' failed

<Audacity freezes>

Ctrl+C

GUI doesn't start.
Comment 1 katnatek 2017-12-12 19:39:18 CET
WorksForMe, is also a upgrade but mga5 -> mga6sta2 -> mga6

check for gail packages

rpm -qa|grep gail
libgail3_0-3.22.16-1.mga6
libgail18-2.24.31-3.mga6

For x86_64 must be lib64 not just lib

CC: (none) => j.alberto.vc

Comment 2 Pavel Roschin 2017-12-12 21:59:09 CET
$ rpm -qa|grep gail
lib64gail3_0-3.22.16-1.mga6
lib64gail18-2.24.31-3.mga6

$ rpm -V lib64gail18 lib64gail3_0 # empty
Comment 3 Marja Van Waes 2017-12-13 06:29:34 CET
Assigning to the registered audacity maintainer.

Assignee: bugsquad => lists.jjorge
CC: (none) => marja11

Comment 4 José Jorge 2017-12-13 10:07:15 CET
(In reply to katnatek from comment #1)
> WorksForMe, is also a upgrade but mga5 -> mga6sta2 -> mga6
> 

Unfortunately, I won't say much more. I have tested in a x86_64 MGA6, and audacity works. Maybe some GTK package was misinstalled during the upgrade?

You can also try launching it from a live media to ensure the problem is in your install.

Closing as it works for two testers, please reopen if you find new informations.

Status: NEW => RESOLVED
Resolution: (none) => WORKSFORME

Comment 5 katnatek 2017-12-13 19:24:37 CET
(In reply to Pavel Roschin from comment #2)
> $ rpm -qa|grep gail
> lib64gail3_0-3.22.16-1.mga6
> lib64gail18-2.24.31-3.mga6
> 
> $ rpm -V lib64gail18 lib64gail3_0 # empty

Maybe you have the i586 audacity

What is the output of

file $(which audacity)
Comment 6 Pavel Roschin 2017-12-14 00:44:21 CET
Something wrong with ICEauthority (I'm using Xfce):

$ strace audacity
...
access("/home/rpg/.ICEauthority", R_OK) = 0
open("/home/rpg/.ICEauthority", O_RDONLY) = 12

(Audacity:10608): GLib-GObject-WARNING **: cannot register existing type 'GdkDisplayManager'

(Audacity:10608): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(Audacity:10608): GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed

$ file $(which audacity)
/usr/bin/audacity: ELF 64-bit LSB executable,

also

$ sudo audacity # works!
Comment 7 katnatek 2017-12-14 20:25:04 CET
Maybe you have a UID < 1000 ?
https://wiki.mageia.org/en/Mageia_5_Errata#System_user_ID_boundary_change_affects_logging

Check with userdrake

If that is the issue, maybe the easy way is create a new user and migrate configurations to that user
Comment 8 katnatek 2017-12-14 20:28:52 CET
Forget to ask, what DM are you using?
In blogdrake a user report have some issues if use other DM than Ligthdm
Comment 9 Pavel Roschin 2017-12-16 11:47:23 CET
> Maybe you have a UID < 1000 ?

Yes I had UID 500 before. I changed my UID to 1000 and chowned zillion of my files but audacity still doesn't work.

> Forget to ask, what DM are you using?

Yep, I use LightDM and Xfce4.
Comment 10 katnatek 2017-12-16 21:14:14 CET
Getting out of ideas :(

Things to try

1. Search if you have unupdated mga5 packages

rpm -qa|grep mga5

2. uninstall and install audacity and test
3. rename .audacity-data and test
4. Try in new clean user profile
Comment 11 Pavel Roschin 2017-12-16 22:17:06 CET
Hmm, I really had some packages installed from mga5
 icu53-data                                 
 kdegames4                                  
 kernel-desktop-4.1.15-2.mga5               
 lib64clang3.5.2                            
 lib64gcrypt11                              
 lib64git2_21                               
 lib64hogweed2                              
 lib64icu53                                 
 lib64llvm3.5                               
 lib64nettle4                               
 lib64plymouth2                             
 lib64procps3                               
 lib64rpm3                                  
 lib64rpmbuild3                             
 lib64vpx1                                  
 lib64webp5                                 
 lib64wsutil6                               
 lib64x264_142                              
 lib64x265_79                               
 libgit2_21                                 
 nvidia-current-kernel-4.1.15-desktop-2.mga5

1. I removed them:

rpm -qa | grep mga5 | xargs sudo dnf autoremove -y

2. Reinstalled audacity:

sudo dnf reinstall -y audacity

3. Removed audacity-data

rm -fr ~/.audacity-data

Still doesn't work.

4. For new user it works
Comment 12 katnatek 2017-12-16 22:57:37 CET
(In reply to Pavel Roschin from comment #11)
> Hmm, I really had some packages installed from mga5
> 1. I removed them:
> 
> rpm -qa | grep mga5 | xargs sudo dnf autoremove -y
> 

I think you did must try update before remove
You could end with broken system if you don't have the "equivalent" mga6 package of some of the packages in your list

> 2. Reinstalled audacity:
> 
> sudo dnf reinstall -y audacity
> 
> 3. Removed audacity-data
> 
> rm -fr ~/.audacity-data
> 
> Still doesn't work.
> 
> 4. For new user it works

Well the issue is then with the old profile
Check the permission of 

/home/failing_user and /home/working_user

And of the files inside that folders
Comment 13 katnatek 2017-12-16 23:00:55 CET
Also check to what groups each user belong
Comment 14 Pavel Roschin 2017-12-22 22:21:49 CET
Now audacity works for me after deleting ~/.gconf directory. But I think this is still a bug - old user configuration shouldn't lead to application freeze. I don't know which parameter was critical for that, possible something concerned with display manager. Nevertheless updating audacity could solve this problem.

Note You need to log in before you can comment on or make changes to this bug.