When I start audacity (compiled with gtk2) I get the followed output: (audacity:32507): Gtk-CRITICAL **: file gtkaccellabel.c: line 214 (gtk_accel_label_new): assertion `string != NULL' failed (audacity:32507): Gtk-CRITICAL **: file gtkmisc.c: line 211 (gtk_misc_set_alignment): assertion `GTK_IS_MISC (misc)' failed (audacity:32507): Gtk-CRITICAL **: file gtkcontainer.c: line 949 (gtk_container_add): assertion `GTK_IS_WIDGET (widget)' failed (audacity:32507): Gtk-CRITICAL **: file gtkaccellabel.c: line 400 (gtk_accel_label_set_accel_widget): assertion `GTK_IS_ACCEL_LABEL (accel_label)' failed Falha de segmenta
When I start audacity (compiled with gtk2) I get the followed output: (audacity:32507): Gtk-CRITICAL **: file gtkaccellabel.c: line 214 (gtk_accel_label_new): assertion `string != NULL' failed (audacity:32507): Gtk-CRITICAL **: file gtkmisc.c: line 211 (gtk_misc_set_alignment): assertion `GTK_IS_MISC (misc)' failed (audacity:32507): Gtk-CRITICAL **: file gtkcontainer.c: line 949 (gtk_container_add): assertion `GTK_IS_WIDGET (widget)' failed (audacity:32507): Gtk-CRITICAL **: file gtkaccellabel.c: line 400 (gtk_accel_label_set_accel_widget): assertion `GTK_IS_ACCEL_LABEL (accel_label)' failed Falha de segmentação Reproducible: Always Steps to Reproduce: as root: 1. set USE to "oggvorbis dvd cdr gtk gtk2 qt java gnome kde gnustep alsa esd artsd jack icq aim msn yahoo jabber aalib opengl xv videos xml2 zlib bzlib X 3dnow gd gd-external gif png jpg innodb v4l v4l2 bttv mpeg avi" 2. emerge audacity as a regular user: 1. audacity Actual Results: I get the followed output: (audacity:32507): Gtk-CRITICAL **: file gtkaccellabel.c: line 214 (gtk_accel_label_new): assertion `string != NULL' failed (audacity:32507): Gtk-CRITICAL **: file gtkmisc.c: line 211 (gtk_misc_set_alignment): assertion `GTK_IS_MISC (misc)' failed (audacity:32507): Gtk-CRITICAL **: file gtkcontainer.c: line 949 (gtk_container_add): assertion `GTK_IS_WIDGET (widget)' failed (audacity:32507): Gtk-CRITICAL **: file gtkaccellabel.c: line 400 (gtk_accel_label_set_accel_widget): assertion `GTK_IS_ACCEL_LABEL (accel_label)' failed Falha de segmentação Expected Results: the program to start ebuild: audacity-1.2.1
Same issue here. (audacity:4407): Gtk-CRITICAL **: file gtkaccellabel.c: line 214 (gtk_accel_label_new): assertion `string != NULL' failed (audacity:4407): Gtk-CRITICAL **: file gtkmisc.c: line 211 (gtk_misc_set_alignment): assertion `GTK_IS_MISC (misc)' failed (audacity:4407): Gtk-CRITICAL **: file gtkcontainer.c: line 949 (gtk_container_add): assertion `GTK_IS_WIDGET (widget)' failed (audacity:4407): Gtk-CRITICAL **: file gtkaccellabel.c: line 400 (gtk_accel_label_set_accel_widget): assertion `GTK_IS_ACCEL_LABEL (accel_label)' failed Segmentation fault -- Other info: Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040619-r1, 2.6.8.1-nitro1 System uname: 2.6.8.1-nitro1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.5.2 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -pipe -ftracer -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3"
Can you pleasse try CFLAGS="-O2 -pipe"
I get the same problem. My CFLAGS has -O2. Any help with this bug would be greatly apprecieated!! regards, slur
The problem is with wxGTK when compiled against gtk2. The one solution I've found was to do: # USE="-gtk2" emerge wxGTK audacity It's working as expected now, but it's still GTK 1 - that shouldn't be a BIG problem... Hope that helps.
I can't reproduce this. It works fine with various versions of gtk2 I've tried. A search on google reveals a German page with this problem. From what I can make of it they suggest removing ~/.audacity then try running it. http://audacity.fuchsi.de/51
Audacitry 1.2.x has never officially supported wxgtk (2.4.x) built with unicode or gtk2 support. Unofficially gtk2 builds usually work in english, but often break internationalised builds with errors like these. The ~/.audacity file stores user preferences so removing it restores defaults, including english language This is more or less independant of GTK2 versions - it affects all of the wxGTK builds against GTK2. This was always an experimantal option in wxGTK2.4.2 anyway, although often used. The current wxgtk 2.4.2 ebuild will install separate gtk 1 and gtk 2 versions of the libs (and possibly unicode), allowing audacity to use the gtk 1 version, which should resolve this problem. Works here anyway. Just don't try and use wxgtk 2.5.x - everything comes apart. Wait for audacity 1.3.x for that.
If you are using the latest builds of wxGTK in the 2.4 (and the 2.5) series.. they are installing 3 different versions of the wx libraries and configurations. So if we... 1. inherit wxwidgets globally in the audacity-1.2.* ebuild... 2. add WX_GTK_VER="2.4" globally as audacity doesn't support 2.5 3. and set-wxconfig wxgtk globally to use the gtk1 linked wxGTK 4. Remove the pkg_setup() section as it no longer applies with this fix Everything compiles and runs fine here in ~x86 land for audacity 1.2.2 AND 1.2.3 I wish I was still the maintainer... oh well... life goes on.
This can be resolved by running: LANG=en_US audacity (you may need to delete ~/.audacity first) Audacity uses the language you select on your first run for the main window, but it uses the LANG environment variable to determine the language of popup windows. As a result, everything worked fine when I was running Canadian English, but when I clicked "Preferences", it crashed with the aforementioned error. If you don't speak English, you're out of luck it seems.
Well, I had to compile everything in my computer and now audacity is working fine with gtk2 (even in pt_BR language). regards.
After reading #39931, Nick's suggestions in Comment #7 seem like the right thing to do. At least thats what other ebuilds have been doing (mkvtoolnix, amule, etc).
Closing - all wxGTK-2.4* versions have a patch to fix this.
I would push for reopening and reiterate that comment #7 is the thing to do here...
Colin, please check out bug# 74224 The attachment does everything in #7, except limit audacity to gtk1 only. I beleive people only have problems with gtk2 if its compiled with unicode, but if there are other problems, its easy enough to remove gtk2 support: http://bugs.gentoo.org/attachment.cgi?id=52572