First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 60151
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo wxWidgets Herd <wxwidgets@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Marcelo Coraça de Freitas <batera@linux.ime.usp.br>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 60151 depends on: Show dependency tree
Bug 60151 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-08-12 09:44 0000
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

------- Comment #1 From Marcelo Coraça de Freitas 2004-08-12 09:44:22 0000 -------
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

------- Comment #2 From y0zza 2004-08-15 18:21:11 0000 -------
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"

------- Comment #3 From Jeremy Huddleston (RETIRED) 2004-08-29 03:35:16 0000 -------
Can you pleasse try CFLAGS="-O2 -pipe"

------- Comment #4 From slur 2004-09-05 00:28:40 0000 -------
I get the same problem.  
My CFLAGS has -O2.

Any help with this bug would be greatly apprecieated!!

regards, 
slur 

------- Comment #5 From Marcelo Coraça de Freitas 2004-09-05 09:28:28 0000 -------
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.

------- Comment #6 From Rob Cakebread 2004-12-09 14:03:26 0000 -------
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

------- Comment #7 From Richard Ash 2004-12-29 13:43:09 0000 -------
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.

------- Comment #8 From Nick Hadaway 2005-01-03 23:58:30 0000 -------
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.

------- Comment #9 From PiFactorial 2005-01-16 21:23:04 0000 -------
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.

------- Comment #10 From Marcelo Coraça de Freitas 2005-01-17 06:02:37 0000 -------
Well, I had to compile everything in my computer and now audacity is working
fine with gtk2 (even in pt_BR language).


regards.

------- Comment #11 From Colin Macdonald 2005-02-24 10:20:15 0000 -------
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).

------- Comment #12 From Rob Cakebread 2005-03-03 13:36:06 0000 -------
Closing - all wxGTK-2.4* versions have a patch to fix this.

------- Comment #13 From Colin Macdonald 2005-03-04 00:25:40 0000 -------
I would push for reopening and reiterate that comment #7 is the thing to do
here...

------- Comment #14 From Rob Cakebread 2005-03-04 07:52:40 0000 -------
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


First Last Prev Next    No search results available      Search page      Enter new bug