hi all, I have a problem with "Audacity-1.2.1" media-sound/audacity-1.2.1 The problem is showed by GDB backtrace and it shows a problem with /usr/lib/libgtk-x11-2.0.so.0 Is it correct? ;-) bye TorbaX. Reproducible: Always Steps to Reproduce: 1.emerge audacity 2.audacity 3. Actual Results: # audacity (audacity:12664): Gtk-CRITICAL **: gtk_accel_label_new: assertion `string != NULL' failed (audacity:12664): Gtk-CRITICAL **: gtk_misc_set_alignment: assertion `GTK_IS_MISC (misc)' failed (audacity:12664): Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed (audacity:12664): Gtk-CRITICAL **: gtk_accel_label_set_accel_widget: assertion `GTK_IS_ACCEL_LABEL (accel_label)' failed Segmentation fault # ------- My emerge "info" # emerge info # emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r10 i686) ================================================================= System uname: 2.6.12-gentoo-r10 i686 AMD Athlon(tm) 4 Processor Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2, 2.4-r3 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O9 -march=athlon-xp -fomit-frame-pointer -ffast-math" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O9 -march=athlon-xp -fomit-frame-pointer -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="rsync://trumpetti.atm.tut.fi/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.mirror.icd.hu/ http://194.117.143.72" LANG="it_IT.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dfx 3dnow 3dnowext 7zip X aac aalib adns alsa apache2 apm arts artswrappersuid avi berkdb bitmap-fonts cdr cpudetection crypt cscope cups curl debug dev directfb divx4linux doc dvb dvd dvdr eds emboss encode fam flac flash foomaticdb fortran gd gd-external gdbm ggi gif gnome gnutls gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jack java jpeg kde libg++ libwww lirc live mad mikmod mmx mmxext motif mp3 mpeg mysql nas ncurses nls nsplugin ogg oggvorbis open gl oss pam pdflib perl php pic png postgres ppds python qt quicktime readline samba sdl slang sndfile speex spell sse sse2 ssl svga symlink tcl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode v4l v4l2 vhosts vorbis win32codecs xine xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY # After I see seg fault of Audacity, I try to check with GDB where is the problem: $ gdb audacity GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"...(no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (gdb) handle SIGPIPE nostop Signal Stop Print Pass to program Description SIGPIPE No Yes Yes Broken pipe (gdb) run Starting program: /usr/bin/audacity (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 12621)] (audacity:12621): Gtk-CRITICAL **: gtk_accel_label_new: assertion `stri ng != NULL' failed (audacity:12621): Gtk-CRITICAL **: gtk_misc_set_alignment: assertion `G TK_IS_MISC (misc)' failed (audacity:12621): Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS _WIDGET (widget)' failed (audacity:12621): Gtk-CRITICAL **: gtk_accel_label_set_accel_widget: as sertion `GTK_IS_ACCEL_LABEL (accel_label)' failed Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 12621)] 0xb75abd8a in gtk_widget_show () from /usr/lib/libgtk-x11-2.0.so.0 (gdb) bt #0 0xb75abd8a in gtk_widget_show () from /usr/lib/libgtk-x11-2.0.so.0 #1 0xb75d8ba5 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #2 0xb75d9de0 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #3 0xb7653506 in gtk_major_version () from /usr/lib/libgtk-x11-2.0.so. 0 #4 0xb73534b8 in gtk_accel_label_set_accel_widget () from /usr/lib/lib gtk-x11-2.0.so.0 #5 0xb7475ec0 in gtk_menu_item_new_with_label () from /usr/lib/libgtk- x11-2.0.so.0 #6 0x00000000 in ?? () #7 0x084cd9e8 in ?? () #8 0x3f000000 in ?? () #9 0xb7d7ec14 in ?? () from /usr/lib/libwx_gtk2-2.4.so #10 0xb7d7ec14 in ?? () from /usr/lib/libwx_gtk2-2.4.so #11 0xbfae8e40 in ?? () #12 0x084c82c4 in ?? () #13 0xb7b26c96 in wxChoice::GtkAppendHelper () from /usr/lib/libwx_gtk2 -2.4.so #14 0xb7b25ce8 in wxChoice::Create () from /usr/lib/libwx_gtk2-2.4.so #15 0x08093d4a in wxListItem::GetClassInfo () #16 0x0809439c in wxListItem::GetClassInfo () #17 0x08067647 in ?? () #18 0xb7b1cf4e in wxEntry () from /usr/lib/libwx_gtk2-2.4.so #19 0x0806582e in ?? () #20 0xb76ae3b3 in __libc_start_main () from /lib/libc.so.6 #21 0x0805bc81 in ?? () (gdb) (gdb) quit $ ----------
(In reply to comment #0) > hi all, > I have a problem with "Audacity-1.2.1" You have also a problem w/ reading the instructions, don't you? ;p <snip> Gentoo Linux: The Gentoo Linux Distribution - Ebuilds and System related issues. If you're unsure where your bugs go, then file them here. </snip>
Damn, you are flying, -09!!! WHEEEE Useless backtrace w/o debugging symbols also.
*** Bug 108116 has been marked as a duplicate of this bug. ***
please test `LANG=C audacity`. Perhaps it works well. but I don't know why it works ;(
LANG=C audacity segfaults asa well.
(In reply to comment #4) > please test `LANG=C audacity`. Perhaps it works well. > but I don't know why it works ;( it's a obscure problem, when I tried it audacity works, otherwise it doesn't work. I check my CFLAGS: CFLAGS="-O9 -march=athlon-xp -fomit-frame-pointer -ffast-math" and I do this: CFLAGS="-O3 -march=athlon-xp" then after I recompile "emerge audacity" and the problem persists. In other words the problem seems to be a unavailable value to variable LANG that it stops the creation of audacity's configuration file ".audacity". when I have written "LANG=C audacity" Audacity starts well and the configuration file ".audacity" has been created. after this Audacity starts simply with "audacity" command in the Bash shell or KDE Menu or Gnome... in my shell, I see that "set" shows LANG=it_IT.UTF-8 and Audacity crash. but if modify its with "export LANG=C" "export LANG=" or other value but not LANG=it_IT.UTF-8. audacity works!!!! My opinion is that's an error of Audacity source code at the moment of creation of ".audacity" file in your $HOME folder. for example if I clone ".audacity" by hand: -------------------- gemini ~ $ cat .audacity Version=1.2.1 PrefsVersion=1.1.1r1 [Locale] Language=it [Directories] TempDir=/tmp/audacity1.2-torbax [Window] Width=600 Height=420 Maximized=0 gemini ~ $ -------------------- audacity works. but if .audacity is not present, Audacity goes to Segfault. :-( It's an Audacity bug. Audacity simply don't recognize a valid LANG value to create a valid configuration file!!!
(In reply to comment #5) > LANG=C audacity segfaults asa well. libwx_gtk is not the problem. Its possible to modify the subject of this Bug#107629 with "Audacity segfaults with errata LANG value" ?
To solve this problem I try this: I Suppose that you don't have any version of Audacity installed and any ".audacity" configuration file is present. 1) Install audacity: # emerge audacity 2) FIRST run of Audacity in your $USER account to create configuration file correctly: $ LANG="" audacity 3) Any run of Audacity starts well: $ audacity That's all. bye. The problem are temporarily fixed with these three steps.
Can anyone confirm the fix of this bug?
I have been getting the same problem and the above fix works for me except that after the second run of audacity with: $ audacity accessing File-Preferences causes a seg fault, as per bug 108116. Running $ LANG="" audacity makes that seg fault go away, but if you don't include the LANG="" it comes back.
*** This bug has been marked as a duplicate of 100741 ***