I run Gentoo - Linux amd64 ( 2.6.11-gentoo-r11 #7 Tue Jul 26 18:02:38 CEST 2005 x86_64 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux )on 64bit OS with kde 3.4.1 I installed your application this way: 1. I allowed the system to install your applcation, which in portage is still marked unsatble this way: - I added this line to the file /etc/portage/package.keywords : media-sound/audacity ~amd64 2. I run emerge audacity It was installed this way: media-sound/audacity-1.2.3-r1 +encode +flac +gtk2 -libsamplerate +mad -oggvorbis 3. Succesfully installed, I selected from my menu bar your application. It does try to load, but nothing is shown on my monitor. So, I did look at my messages log and here is what I found: Jul 10 18:02:59 mir audacity[10451]: segfault at 0000000000000019 rip 00002aaaac402a51 rsp 00007fffffffdc20 error 4 Here if it helps, my sound card (lspci -vvv): 0000:00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio Controller (rev a2) Subsystem: ASUSTeK Computer Inc.: Unknown device 812a Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 (500ns min, 1250ns max) Interrupt: pin A routed to IRQ 23 Region 0: I/O ports at d800 Region 1: I/O ports at dc00 [size=256] Region 2: Memory at d2002000 (32-bit, non-prefetchable) [size=4K] Capabilities: [44] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- Could you kindly telle what might be wrong? thank you, Spiro
Please, read http://www.gentoo.org/doc/en/bugzilla-howto.xml and attach some debugging info here, so that we can see what's going on.
Here is it: Here is the output: [code]munmap(0x2aaaaeb81000, 4096) = 0 open("/usr/X11R6/lib/X11/fonts/ttf-gentium/fonts.cache-1", O_RDONLY) = 6 stat("/usr/X11R6/lib/X11/fonts/ttf-gentium", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/usr/X11R6/lib/X11/fonts/ttf-gentium/fonts.cache-1", {st_mode=S_IFREG|0644, st_size=3376, ...}) = 0 fstat(6, {st_mode=S_IFREG|0644, st_size=3376, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaaeb81000 read(6, "\"GentiumAItI.ttf\" 0 \"GentiumAlt:"..., 4096) = 3376 read(6, "", 4096) = 0 close(6) = 0 munmap(0x2aaaaeb81000, 4096) = 0 open("/usr/share/fonts/default/ghostscript/fonts.cache-1", O_RDONLY) = 6 stat("/usr/share/fonts/default/ghostscript", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/usr/share/fonts/default/ghostscript/fonts.cache-1", {st_mode=S_IFREG|0644, st_size=24346, ...}) = 0 fstat(6, {st_mode=S_IFREG|0644, st_size=24346, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaaeb81000 read(6, "\"a010013l.pfb\" 0 \"URW Gothic L:s"..., 4096) = 4096 read(6, "mg|mh|mk|mt|nb|nl|nn|no|ny|oc|om"..., 4096) = 4096 brk(0xaaa000) = 0xaaa000 read(6, "!!!+ !!+u{!!!!) :lang=aa|a"..., 4096) = 4096 read(6, "imbus Sans L:style=Bold Condense"..., 4096) = 4096 read(6, "|bg|bi|br|bs|bua|ca|ce|ch|chm|co"..., 4096) = 4096 read(6, "e=True:charset= |>^1!|>^1!P0oWQ"..., 4096) = 3866 read(6, "", 4096) = 0 close(6) = 0 munmap(0x2aaaaeb81000, 4096) = 0 open("/usr/share/fonts/encodings/large/fonts.cache-1", O_RDONLY) = 6 stat("/usr/share/fonts/encodings/large", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/usr/share/fonts/encodings/large/fonts.cache-1", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 fstat(6, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaaeb81000 read(6, "", 4096) = 0 close(6) = 0 munmap(0x2aaaaeb81000, 4096) = 0 open("/usr/X11R6/lib/X11/fonts/encodings/large/fonts.cache-1", O_RDONLY) = 6 stat("/usr/X11R6/lib/X11/fonts/encodings/large", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/usr/X11R6/lib/X11/fonts/encodings/large/fonts.cache-1", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 fstat(6, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaaeb81000 read(6, "", 4096) = 0 close(6) = 0 munmap(0x2aaaaeb81000, 4096) = 0 open("/usr/X11R6/lib/X11/fonts/default/ghostscript/fonts.cache-1", O_RDONLY) = 6 stat("/usr/X11R6/lib/X11/fonts/default/ghostscript", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/usr/X11R6/lib/X11/fonts/default/ghostscript/fonts.cache-1", {st_mode=S_IFREG|0644, st_size=24346, ...}) = 0 fstat(6, {st_mode=S_IFREG|0644, st_size=24346, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaaeb81000 read(6, "\"a010013l.pfb\" 0 \"URW Gothic L:s"..., 4096) = 4096 read(6, "mg|mh|mk|mt|nb|nl|nn|no|ny|oc|om"..., 4096) = 4096 read(6, "!!!+ !!+u{!!!!) :lang=aa|a"..., 4096) = 4096 read(6, "imbus Sans L:style=Bold Condense"..., 4096) = 4096 read(6, "|bg|bi|br|bs|bua|ca|ce|ch|chm|co"..., 4096) = 4096 read(6, "e=True:charset= |>^1!|>^1!P0oWQ"..., 4096) = 3866 read(6, "", 4096) = 0 close(6) = 0 munmap(0x2aaaaeb81000, 4096) = 0 mmap(NULL, 303104, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaaeb81000 open("/etc/mtab", O_RDONLY) = 6 fstat(6, {st_mode=S_IFREG|0644, st_size=219, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaaebcb000 read(6, "/dev/sda3 / ext3 rw 0 0\nproc /pr"..., 4096) = 219 close(6) = 0 munmap(0x2aaaaebcb000, 4096) = 0 open("/proc/meminfo", O_RDONLY) = 6 fstat(6, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaaebcb000 read(6, "MemTotal: 1025596 kB\nMemFre"..., 1024) = 604 close(6) = 0 munmap(0x2aaaaebcb000, 4096) = 0 munmap(0x2aaaaeb81000, 303104) = 0 stat("/usr/lib64/pango/1.4.0/modules/pango-basic-fc.so", {st_mode=S_IFREG|0755, st_size=9816, ...}) = 0 open("/usr/lib64/pango/1.4.0/modules/pango-basic-fc.so", O_RDONLY) = 6 read(6, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\20\0"..., 640) = 640 fstat(6, {st_mode=S_IFREG|0755, st_size=9816, ...}) = 0 mmap(NULL, 1056192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0x2aaaaeb81000 mprotect(0x2aaaaeb83000, 1048000, PROT_NONE) = 0 mmap(0x2aaaaec82000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x1000) = 0x2aaaaec82000 close(6) = 0 brk(0xacb000) = 0xacb000 open("/usr/share/fonts/ttf-bitstream-vera/Vera.ttf", O_RDONLY) = 6 fcntl(6, F_SETFD, FD_CLOEXEC) = 0 fstat(6, {st_mode=S_IFREG|0644, st_size=65932, ...}) = 0 mmap(NULL, 65932, PROT_READ, MAP_PRIVATE, 6, 0) = 0x2aaaaec83000 close(6) = 0 write(2, "\n(audacity:15385): Gtk-CRITICAL "..., 91 (audacity:15385): Gtk-CRITICAL **: gtk_accel_label_new: assertion `string != NULL' failed ) = 91 write(2, "\n(audacity:15385): Gtk-CRITICAL "..., 98 (audacity:15385): Gtk-CRITICAL **: gtk_misc_set_alignment: assertion `GTK_IS_MISC (misc)' failed ) = 98 write(2, "\n(audacity:15385): Gtk-CRITICAL "..., 97 (audacity:15385): Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed ) = 97 write(2, "\n(audacity:15385): Gtk-CRITICAL "..., 122 (audacity:15385): Gtk-CRITICAL **: gtk_accel_label_set_accel_widget: assertion `GTK_IS_ACCEL_LABEL (accel_label)' failed ) = 122 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++[/code] Spiro PS: I got this using strace audacity from konsole
*** Bug 101184 has been marked as a duplicate of this bug. ***
Hi Herbie Hopkins, thank you for pointing out this bug as being a duplicate istance but on both 100741 and 101184 no solution is offered other than "duplicate bug". Could we kindly have a solution now that we all know about its duplicate istance? thank you, Spiro
resolved how?
Spiro: no resolution for this bug & 101184 closed so this report stays reopened until it's solved
Created attachment 64990 [details] my strace - hope it helps
Hi Attila this is bad. I hoped to use audacity on my amd64 but now I fail to see it working. I hope someone will spend some time just to identify a potential solution. Has anybody tried to email audacity developers? Thank you, Spiro
btw: our stace outputs are different !
Unforturnately a strace is not really much use in debugging this sort or problem. The bug was marked NEEDINFO as we really need a backtrace (with debugging symbols). See http://www.gentoo.org/doc/en/bugzilla-howto.xml for more info.
that doesn't work here's what I did: magic atti # ACCEPT_KEYWORDS="~amd64" USE="debug" FEATURES="nostrip" emerge audacity -----> --- !empty dir /usr >>> original instance of package unmerged safely. >>> Regenerating /etc/ld.so.cache... >>> media-sound/audacity-1.2.3-r1 merged. >>> clean: No packages selected for removal. >>> Auto-cleaning packages ... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. magic atti # gdb --args 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 "x86_64-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/bin/audacity Program received signal SIGSEGV, Segmentation fault. 0x00002aaaad626892 in ?? () (gdb) bt #0 0x00002aaaad626892 in ?? () #1 0xd6a6af22b96fc027 in ?? () #2 0x00002aaaad602ea2 in ?? () #3 0xd6a6af22b96fc027 in ?? () #4 0x0000000055a93190 in ?? () #5 0x0000555555a92c10 in ?? () #6 0x00002aaaac7e6b70 in ?? () #7 0x0000555555a92af0 in ?? () #8 0x0000555555a93140 in ?? () #9 0x00007fffffe85ea0 in ?? () #10 0x00002aaaacc47216 in ?? () #11 0xd6a6af22b96fc027 in ?? () #12 0x00002aaaac7e7600 in ?? () #13 0x0000555555a92460 in ?? () #14 0x00002aaaabb34f02 in ?? () #15 0xd6a6af22b96fc027 in ?? () #16 0x0000555555a39f30 in ?? () #17 0x0000555555a92af0 in ?? () #18 0x0000555555a92460 in ?? () #19 0x0000555555a39f30 in ?? () #20 0x00002aaaabb318c6 in ?? () #21 0x00002aaa00000000 in ?? () #22 0x00007fff00000000 in ?? () #23 0xd6a6af22b96fc027 in ?? () #24 0x00007fffffe85ea0 in ?? () #25 0x0000040000000500 in ?? () #26 0x000000cc000001aa in ?? () #27 0x0000555555a93160 in ?? () #28 0x00002aaaabb3a31b in ?? () #29 0x0000555555a92460 in ?? () #30 0x0000555555a90940 in ?? () #31 0x0000555555a92460 in ?? () #32 0x00002aaaabf93650 in ?? () #33 0x0000555555a92af0 in ?? () #34 0x00002aaaabb3a4bb in ?? () #35 0xd6a6af22b96fc027 in ?? () #36 0x00002aaaac7e7600 in ?? () #37 0xd6a6af22b96fc027 in ?? () #38 0x0000555555a92c10 in ?? () #39 0x00007fffffe85e90 in ?? () #40 0x00002aaaac7e6b70 in ?? () #41 0x0000555555a92c10 in ?? () #42 0x0000555555a909e0 in ?? () #43 0x00002aaaabf75250 in ?? () #44 0x00002aaaabafdc25 in ?? () #45 0x0000000020400e40 in ?? () #46 0x00007fffffe85e90 in ?? () #47 0xd6a6af22b96fc027 in ?? () #48 0x00007fffffe85e90 in ?? () #49 0xd6a6af22b96fc027 in ?? () #50 0x00002aaaabf93650 in ?? () #51 0x0000555555a90940 in ?? () #52 0x00005555555e4d84 in ?? () #53 0x0000000020400e40 in ?? () #54 0x00007fffffe85e90 in ?? () #55 0x00007fffffe85eb0 in ?? () #56 0x00007fffffe85ea0 in ?? () #57 0xd6a6af22b96fc027 in ?? () #58 0x0000000000000001 in ?? () #59 0x0000555555a50bb0 in ?? () #60 0x00002aaaad605303 in ?? () #61 0xd6a6af22b96fc027 in ?? () ---Type <return> to continue, or q <return> to quit---q Quit (gdb) quit The program is running. Exit anyway? (y or n) y magic atti # cat /etc/make.conf # These settings were set by the catalyst build script that automatically built this stage # Please consult /etc/make.conf.example for a more detailed example CHOST ="x86_64-pc-linux-gnu" CFLAGS ="-march=athlon64 -O3 -pipe -fomit-frame-pointer -ggdb3" CXXFLAGS ="${CFLAGS}" LDFLAGS ="-Wl,-O1" MAKEOPTS ="-j2" # FEATURES ="candy severe sfperms test" FEATURES ="candy severe sfperms"
What version of wxGTK have you got installed (output of wx-config --version)? The GTK errors look very like the consequences of trying to build audacity 1.2.3 against wxwidgets 2.5 or newer, or a unicode build of wxwidgets. Also, are there any error messages sent to the console when audacity is run?
What's wrong with the unicode build? Instant crash - no console output. magic atti # wx-config --version 2.4.2 --- magic atti # emerge -pvD wxGTK These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] x11-libs/wxGTK-2.4.2-r3 -debug +gtk2 -odbc +opengl +unicode -wxgtk1 0 kB Total size of downloads: 0 kB --- magic atti # emerge -pvD audacity These are the packages that I would merge, in order: Calculating dependencies !!! All ebuilds that could satisfy "audacity" have been masked. !!! One of the following masked packages is required to complete your request: - media-sound/audacity-1.2.3-r1 (masked by: ~amd64 keyword) - media-sound/audacity-1.2.1 (masked by: ~amd64 keyword) - media-sound/audacity-1.2.3 (masked by: ~amd64 keyword) - media-sound/audacity-1.2.2 (masked by: ~amd64 keyword) For more information, see MASKED PACKAGES section in the emerge man page or section 2.2 "Software Availability" in the Gentoo Handbook. - #magic atti # ACCEPT_KEYWORDS="~amd64" emerge -pvD audacity These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-sound/audacity-1.2.3-r1 +encode +flac +gtk2 +libsamplerate +mad +oggvorbis 0 kB Total size of downloads: 0 kB --- magic atti # audacity & [1] 5062 magic atti # audacity [1]+ Segmentation fault audacity Segmentation fault magic atti #
Hi, Herewith will post my settings, although they are identical to Attila settings. I believe this issue is with "wxGTK" and nothing else. P.S.: I was not able to go through the adviced http://www.gentoo.org/doc/en/bugzilla-howto.xml because of many explanations. So, if strace is not sufficient, PLEASE just provide me the exact code to run from konsole so that I can post what you need, and I can learn this debug mode and perhaps find it in the above document and study its section. BTY, is this what i should type for what you asked " ACCEPT_KEYWORDS="~amd64" USE="debug" FEATURES="nostrip" emerge audacity "? Here is my settings: 1) wx-config --version: 2.4.2 2) emerge -pvD wxGTK These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] x11-libs/wxGTK-2.4.2-r3 -debug +gtk2 +odbc +opengl +unicode -wxgtk1 0 kB 3) emerge -pvD audacity These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-sound/audacity-1.2.3-r1 +encode +flac +gtk2 -libsamplerate +mad -oggvorbis 0 kB 4) audacity & [1] 11328 Immediately after the above output, from the $ prompt I get this: $ (audacity:11328): Gtk-CRITICAL **: gtk_accel_label_new: assertion `string != NULL' failed (audacity:11328): Gtk-CRITICAL **: gtk_misc_set_alignment: assertion `GTK_IS_MISC (misc)' failed (audacity:11328): Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed (audacity:11328): Gtk-CRITICAL **: gtk_accel_label_set_accel_widget: assertion `GTK_IS_ACCEL_LABEL (accel_label)' failed So, I have to break it with Ctrl-C and I get: [1]+ Segmentation fault audacity 5) audacity (audacity:11361): Gtk-CRITICAL **: gtk_accel_label_new: assertion `string != NULL' failed (audacity:11361): Gtk-CRITICAL **: gtk_misc_set_alignment: assertion `GTK_IS_MISC (misc)' failed (audacity:11361): Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed (audacity:11361): Gtk-CRITICAL **: gtk_accel_label_set_accel_widget: assertion `GTK_IS_ACCEL_LABEL (accel_label)' failed Segmentation fault 6) ACCEPT_KEYWORDS="~amd64" emerge -pvD audacity These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-sound/audacity-1.2.3-r1 +encode +flac +gtk2 -libsamplerate +mad -oggvorbis 0 kB 8) [Richard Ash] Also, are there any error messages sent to the console when audacity is run? Answer: No Please note that my audacity is succesfully installed. It just fails to run. I hope I provided you sueful information. Please let me know if you need anything else. Thank you, Spiro
Spiro: I just (directly) gave emerge the parameters which the bug-howto tells u to put them in your make.conf. This way I do not emerge every package with "debug" and "nostrip" but only this means I do not have to edit my make.conf forth and back... What's interesting 4 me, is thet u get an output on the command line - me not :( greetz ~ Attila
Hi Attila, thank you for the clarification. Considering that I do have my application installed and that I get some errors in konsole, I would assume I do not have to post anything at all or should i still re-emerge audacity again with the debug flag? I say this because having some errors in my konsole, I get to realise that the issue IS "wxGTK" I hope some developer or the people working on this bug can find a solution. Ceers, Spiro
Maybe this bug is connected with bug # 100067. Those looks like a wx* issue as well. Just noticed we haven't added the emerge --info so here is mine. magic atti # emerge --info Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0, 2.6.12-gentoo-r4 x86_64) ================================================================= System uname: 2.6.12-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 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.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer" CHOST="x86_64-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/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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /usr/X11R6/bin/startx /etc/env.d" CXXFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy distlocks sandbox severe sfperms strict test" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LANG="de_DE@euro" LC_ALL="de_DE@euro" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa amd64 audiofile avi berkdb bitmap-fonts bzlib cdr crypt cups curl dbus dga directfb dlloader dmalloc dpms dts dvd dvdr dvdread eds emacs encode esd exif fam fame fat fbcon ffmpeg firefox flac foomaticdb fortran gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 hal hardened howl imagemagick imlib ipv6 ithreads javascript jpeg jpeg2k kde lcms libsamplerate libwww lzo lzw lzw-tiff mad matroska memlimit mikmod mjpeg mmap mng mozcalendar mozdevelop mozsvg mp3 mpeg mpi ncurses nls nptl nptlonly ntfs nvidia ogg oggvorbis on-the-fly-crypt openal openexr opengl pam pda pdflib perl png ppds python qt quicktime readline real reiserfs sdl slang sndfile spell ssl svg symlink tcltk tcpd test tetex tga theora threads tidy tiff toolbar truetype truetype-fonts type1-fonts unicode usb userlocales videos vorbis wmf xine xml2 xmms xpm xprint xtermtoolbar xv xvid xvmc yv12 zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, PORTDIR_OVERLAY
_Good_ bad news! >:-| This is a hardened issue! Spiro, this did it for me: 1) gcc-config -l -> this shows you the number of the usual and the vanilla version 2) gcc-config <number of vanilla version here> 3) source /etc/profile 4) ACCEPT_KEYWORDS="~amd64" emerge -vD audacity Try starting audacity! I hope that does it for you as well! Now to change the system back to the usual profile do: 5) gcc-config <number of usual version> 6) source /etc/profile I didn't do anything more than starting audacity but so far it's fine - no segfault. Sth I'd like to ask from u is: - Please add " (hardened issue)" to the end of the summary. - Even if that workaround works for us, the bug still exists, so please don't mark it resolved or something similar. Yours ~ Attila Special thanks go to Mr Kevin F. Quinn who told me to try it with gcc-vanilla profile!!! (see bug #93862 comments #12+ for details)
Hi, this is the choices I have: # gcc-config -l [1] x86_64-pc-linux-gnu-3.4.4 * [2] x86_64-pc-linux-gnu-3.4.4-hardened [3] x86_64-pc-linux-gnu-3.4.4-hardenednopie [4] x86_64-pc-linux-gnu-3.4.4-hardenednopiessp [5] x86_64-pc-linux-gnu-3.4.4-hardenednossp What to choose from? Thanks, Spiro
Spiro: you have the vanilla compiler by default; you're not using hardened. Please attach the output of 'emerge --info' - we can tell this sort of thing from that, which is why we ask for it on _every_ bug. You should be able to get a stack backtrace easily. Attila: your segfault is different (the straces show this).
Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r9 x86_64) ================================================================= System uname: 2.6.12-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 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.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ http://gentoo.eliteitminds.com ftp://pandemonium.tiscali.de/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/" LANG="en_US.UTF-8" LC_ALL="" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 3ds X a52 aac acl acpi activefilter adns aim alsa altcolors apm arts audiofile avantgo avi bcmath bdf berkdb bitmap-fonts bmp bootsplash bzlib ccs cdda cdinstall cdparanoia cdr cdrom cgi chroot clamav clamd clflush client cmov codecs crypt cups curl curlwrappers custom-cflags cx8 dba dbase de dga directfb dnd dnsdb doc dpms dts dv dvb dvd dvdr dvdread dxr3 edl eds encode esd examples exif extensions faad fam fax fb fbcon fbdev ffmpeg flac font-server foomaticdb fortran fpu freetype ftp fxsr fxsr_opt gd gdbm gif gimp gimpprint ginac gkrellm glut gphoto2 gpm gsl gstreamer gtk gtk2 hal hbci http icq ieee1394 imagemagick imap imlib ipv6 irc jack jack-tmpfs java javascript jp2 jpeg jpeg2k kcal kde kdepim kipi lahf_lm lcd lcms libcaca libclamav libwww lm lm_sensors logitech-mouse lzw lzw-tiff mad mca mcal mce md5sum messages mikmod mime mixer mjpeg monkey motif mozilla moznoirc moznomail moznoxft mozsvg mp3 mpeg mpeg4 mpi mplayer msn msr mtrr music mysql nagios-dns nagios-ntp nagios-ping nagios-ssh nas ncurses network nls nntp nptl nvidia nx odbc ogg oggvorbis opengl pae pam pat pda pdf pdfkit pdflib perl pge php pic png pni pnp ppds print procmail pse pse36 python qt quicktime readline real rplay rss rtc samba sasl sblive scanner screenshot sdl sep server skk smime sndfile sounds spell ssl syscall tcltk tcpd tcpmd5 tiff transcode truetype truetype-fonts tsc type1 type1-fonts unicode usb userlocales v4l v4l2 vcd videos vim virus-scan vme vnc vorbis xchattext xine xml xml2 xmms xosd xpm xprint xscreensaver xv xvmc yahoo zlib linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS
I also tried to upgrade "wxGTK" from 2.4.2-r3 to 2.6.1 but it still fails, with this output: (audacity:9045): Gtk-CRITICAL **: gtk_accel_label_new: assertion `string != NULL' failed (audacity:9045): Gtk-CRITICAL **: gtk_misc_set_alignment: assertion `GTK_IS_MISC (misc)' failed (audacity:9045): Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed (audacity:9045): Gtk-CRITICAL **: gtk_accel_label_set_accel_widget: assertion `GTK_IS_ACCEL_LABEL (accel_label)' failed Segmentation fault thanks, Spiro
Also, one quick question: If i change my gcc settings, how does this change affects my current OS and all applications? can you please clarify a bit better this step? I do not know that by changing gcc setting what impact could have toward what has so far been installed. Thanks, Spiro
Spiro, this is a comment from Kevin bug # 93862 comment # 12) > Attila - "hardened" causes various compiler and linker options to be switched > on by default, amongst other things. Usually these options don't cause any > problem. However some packages, particularly those with hand-written 32-bit > x86 assembler code can fail. This is common in the media packages where the > only way to get any kind of decent throughput from the 32-bit x86 > architecture with gcc is to write low-level assembler code by hand, and this > is often not compatible with the hardened compiler options. > > If you come across packages that fail to emerge, please raise a separate bug > for each package (unless there's already one open). Usually we can find a > way to get it to work without sacrificing the hardened features; this often > means sacrificing some performance of course, but that's only really a problem > for older (slower) systems. If I get that right, it will not change the software which is emerged yet but all further compilations. Anyway, as Kevin said (in this bug reports) comment # 20 you have the vanilla gcc by default, so if we take it intimately then my conclusion that its a hardened issue for _this_ bug is not right - u seem to have a different problem than I do ..... :-( --- I have the same version of wxGTK on my system: magic atti # emerge -pvD wxGTK These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] x11-libs/wxGTK-2.4.2-r3 -debug +gtk2 -odbc +opengl +unicode -wxgtk1 0 kB --- Hope it helps when I post my emerge --info again ... maybe one can see sth from possible differences. Here we go: Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r4 x86_64) ================================================================= System uname: 2.6.12-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 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.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer" CHOST="x86_64-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/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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /usr/X11R6/bin/startx /etc/env.d" CXXFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy distlocks sandbox severe sfperms strict test" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LANG="de_DE@euro" LC_ALL="de_DE@euro" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa amd64 audiofile avi berkdb bitmap-fonts bzlib cdr crypt cups curl dbus dga directfb dlloader dmalloc dpms dts dvd dvdr dvdread eds emacs encode esd exif fam fame fat fbcon ffmpeg firefox flac foomaticdb fortran gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 hal hardened howl imagemagick imlib ipv6 ithreads javascript jpeg jpeg2k kde lcms libsamplerate libwww lzo lzw lzw-tiff mad matroska memlimit mikmod mjpeg mmap mng mozcalendar mozdevelop mozsvg mp3 mpeg mpi ncurses nls nptl nptlonly ntfs nvidia ogg oggvorbis on-the-fly-crypt openal openexr opengl pam pda pdflib perl png ppds python qt quicktime readline real reiserfs sdl slang sndfile spell ssl svg symlink tcltk tcpd test tetex tga theora threads tidy tiff toolbar truetype truetype-fonts type1-fonts unicode usb userlocales videos vorbis wmf xine xml2 xmms xpm xprint xtermtoolbar xv xvid xvmc yv12 zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY As far the only difference which turns out immediately is my "more aggressive CFLAGS" and the FEATURES entry ...
I compiled x11-libs/wxGTK-2.6.1 and media-sound/audacity-1.2.3-r1 with debug info. I got a bit more usable backtrace: #0 0x00002aaaac9e0331 in gtk_widget_show () from /usr/lib/libgtk-x11-2.0.so.0 #1 0x00002aaaac90eb15 in gtk_menu_item_new_with_label () from /usr/lib/libgtk-x11-2.0.so.0 #2 0x00002aaaaba723ad in wxChoice::GtkAppendHelper () from /usr/lib/libwx_gtk2-2.4.so #3 0x00002aaaaba726ce in wxChoice::Create () from /usr/lib/libwx_gtk2-2.4.so #4 0x000000000044d8c8 in LangChoiceDialog::LangChoiceDialog () #5 0x000000000044de50 in ChooseLanguage () #6 0x0000000000425af9 in AudacityApp::OnInit () #7 0x00002aaaaba6a3b7 in wxEntry () from /usr/lib/libwx_gtk2-2.4.so #8 0x00002aaaac3c6674 in __libc_start_main () from /lib/tls/libc.so.6 #9 0x000000000041afaa in _start () Gimme a yell if you need more info.
I have same problem. but `LANG=C audacity` works fine. Portage 2.0.51.22-r3 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.12-gentoo-r10 x86_64) ================================================================= System uname: 2.6.12-gentoo-r10 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.13 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2 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-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=k8" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/tomcat /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/lib64/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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -march=k8" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache cvs distlocks notitles sandbox sfperms strict usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="ja" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.jp.gentoo.org/gentoo-portage" USE="amd64 X aac accessibility alsa apache2 arts avi berkdb bidi bitmap-fonts bonobo browserplugin canna ccache cdr cjk crypt cups curl dga dvd dvdr eds emboss encode esd evo examples f77 fam flac foomaticdb fortran freetds gd gdbm gif gnome gstreamer gtk gtk2 gtkhtml guile hal howl imagemagick imlib imlib2 immqt-bc ipv6 jack java joystick jpeg junit kde kerberos ldap libwww lzw lzw-tiff mad migemo mikmod motif mozilla mp3 mpeg nas ncurses nls odbc ogg oggvorbis opengl pam pdflib perl png python qt quicktime readline ruby sdl slang snmp speex spell sqlite ssl tcltk tcpd theora tiff truetype-fonts type1-fonts unicode usb userlocales vorbis xine xml xml2 xmms xpm xv zlib linguas_ja userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS
Hi, OK, let's resume it from here: I still am not able to run Audacity. Here is my wxGTK version: [ebuild R ] x11-libs/wxGTK-2.6.1 -debug +doc -gnome +gtk2 -joystick +odbc +opengl +sdl +unicode -wxgtk1 0 kB Here is my info: Portage 2.0.51.22-r3 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r9 x86_64) ================================================================= System uname: 2.6.12-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 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.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.eliteitminds.com ftp://pandemonium.tiscali.de/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/" LANG="en_US.UTF-8" LC_ALL="" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 3ds X a52 aac acl acpi activefilter adns aim alsa altcolors apm arts audiofile avantgo avi bcmath bdf berkdb bitmap-fonts bmp bootsplash bzlib ccs cdda cdinstall cdparanoia cdr cdrom cgi chroot clamav clamd clflush client cmov codecs crypt cups curl curlwrappers custom-cflags cx8 dba dbase de dga directfb dnd dnsdb doc dpms dts dv dvb dvd dvdr dvdread dxr3 edl eds emboss encode esd examples exif extensions faad fam fax fb fbcon fbdev ffmpeg flac font-server foomaticdb fortran fpu freetype ftp fxsr fxsr_opt gd gdbm gif gimp gimpprint ginac gkrellm glut gphoto2 gpm gsl gstreamer gtk gtk2 hal hbci http icq ieee1394 imagemagick imap imlib ipv6 irc jack jack-tmpfs java javascript jp2 jpeg jpeg2k kcal kde kdepim kipi lahf_lm lcd lcms libcaca libclamav libwww lm lm_sensors logitech-mouse lzw lzw-tiff mad mca mcal mce md5sum messages mikmod mime mixer mjpeg monkey motif mozilla moznoirc moznomail moznoxft mozsvg mp3 mpeg mpeg4 mpi mplayer msn msr mtrr music mysql nagios-dns nagios-ntp nagios-ping nagios-ssh nas ncurses network nls nntp nptl nvidia nx odbc ogg oggvorbis opengl pae pam pat pda pdf pdfkit pdflib perl pge php pic png pni pnp ppds print procmail pse pse36 python qt quicktime readline real rplay rss rtc samba sasl sblive scanner screenshot sdl sep server skk smime sndfile sounds spell ssl syscall tcltk tcpd tcpmd5 tiff transcode truetype truetype-fonts tsc type1 type1-fonts unicode usb userlocales v4l v4l2 vcd videos vim virus-scan vme vnc vorbis xchattext xine xml xml2 xmms xosd xpm xprint xscreensaver xv xvmc yahoo zlib linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS Now, what do I have to do in order to get this package to work? I cannot believe that Audacity team or who ever is resposible for this application to run under Linux can do something to just solve this wxGTK issue. I hope they can otherwhise I have to find another application to do what I was aiming to do with Audacity. I hope I do not have to. Any fixing solution, which won't change my settings drastically is welcomed. Thank you, Spiro
See comment of Bug 100741. Perhaps it is same problem.
(In reply to comment #28) > See comment of Bug 100741. Perhaps it is same problem. > Hi, I quite do not understand your adivce. I am un bug #100741 as I initiated. So far, of what was said I do not get any solution. So, I am looking for a final solution to this issue. This is why I posted my info at end of this thread. I can conclude that --> "wxGTK" <-- is the problem. So, how to solve it? I do not have much gentoo - linux experience. So, please iff possible advice with simple statemets or step by step statements :-) I really wish to utilize this application as I have also purchased cables that I connected to my home stereo but have been unable since August to run Audacity. It would really be nice to run it now. Thank you for your help. Spiro
*** Bug 107629 has been marked as a duplicate of this bug. ***
Created attachment 71242 [details] audacity-1.2.3-r2.ebuild Please test this ebuild only supports =wxGTK-2.4* emerged with USE-"wxgtk1" The reason is: http://audacityteam.org/wiki/index.pl?CompilingAudacity
Hi, how can I test this new ebuild if I currently have x11-libs/wxGTK-2.6.2? thank you, Spiro
Has anybody seen this? "Audacity 1.3 (unstable) The development branch of audacity (version 1.3, currently only in CVS) requires wxWidgets 2.6.0 or higherUnicode and GTK2 builds are supported by default. Older development versions (2.5.x) may not work, so get the current wxWidgets 2.6 release." from http://audacityteam.org/wiki/index.pl?CompilingAudacity Any place where to download it and compile manually? Any advice or idea or suggestion? thank you, Spiro
>how can I test this new ebuild if I currently have x11-libs/wxGTK-2.6.2? The problem with just downgrading to wxGTK-2.4 is that some packages may depend on wxGTK-2.6 just like Audacity here depends on wxGTK-2.4 but if you are desperate then you can add this to /etc/portage/package.mask =x11-libs/wxGTK-2.6.2 =x11-libs/wxGTK-2.6.0-r1 =x11-libs/wxGTK-2.6.1 =x11-libs/wxGTK-2.5.3 That should downgrade to a 2.4 version of wxGTK but run revdep-rebuild after.
If you want the 2.4 libraries installed as well as 2.6, just do: emerge '=x11-libs/wxGTK-2.4*' and that should give you what you want. wxGTK is SLOTted do it won't downgrade from 2.6 to 2.4, it'll leave both installed.
Hi Kevin, after what you said I discovered this. I have: [ebuild R ] x11-libs/wxGTK-2.4.2-r3 -debug +gtk2 +odbc +opengl +unicode -wxgtk1 0 kB and [ebuild U ] x11-libs/wxGTK-2.6.2 [2.6.1] +X -debug +doc -gnome -joystick +odbc +opengl +sdl +unicode 14,160 kB Than, this means that I do have both wxGTK installed. At this point, could it be that I have to emerge audacity with wxGTK-2.4.2-r3? Perhaps it has been installed with wxGTK-2.6.2 rather. So, if my theory is correct, do you happend to know how to force emerge audacity to compile with wxGTK-2.4.2-r3? Thank you, Spiro
To see which libraries audacity is linked with, do: $ readelf -d `which audacity` | grep NEEDED Hopefully this will tell you which version of wxGTK* it's linked with.
Hi, here is the output: ~ # readelf -d `which audacity` | grep NEEDED 0x0000000000000001 (NEEDED) Shared library: [libsndfile.so.1] 0x0000000000000001 (NEEDED) Shared library: [libmad.so.0] 0x0000000000000001 (NEEDED) Shared library: [libvorbisenc.so.2] 0x0000000000000001 (NEEDED) Shared library: [libvorbisfile.so.3] 0x0000000000000001 (NEEDED) Shared library: [libvorbis.so.0] 0x0000000000000001 (NEEDED) Shared library: [libogg.so.0] 0x0000000000000001 (NEEDED) Shared library: [libid3tag.so.0] 0x0000000000000001 (NEEDED) Shared library: [libFLAC.so.6] 0x0000000000000001 (NEEDED) Shared library: [libFLAC++.so.4] 0x0000000000000001 (NEEDED) Shared library: [libwx_gtk2-2.4.so] 0x0000000000000001 (NEEDED) Shared library: [libstdc++.so.6] 0x0000000000000001 (NEEDED) Shared library: [libm.so.6] 0x0000000000000001 (NEEDED) Shared library: [libgcc_s.so.1] 0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x0000000000000001 (NEEDED) Shared library: [libdl.so.2] So, it uses gtk2-2.4. Now, how to install it with this version? I will ask gentoo forum. Thank you, Spiro
I hope I didn't get something wrong, but the current versions of GTK and audacity work for me. So it can't be a version incompatibility problem. magic atti # ACCEPT_KEYWORDS="~amd64" emerge -pvD audacity These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-sound/audacity-1.2.3-r1 +encode +flac +gtk2 +libsamplerate +mad +oggvorbis 0 kB Total size of downloads: 0 kB magic atti # readelf -d `which audacity` | grep NEEDED 0x0000000000000001 (NEEDED) Shared library: [libsndfile.so.1] 0x0000000000000001 (NEEDED) Shared library: [libmad.so.0] 0x0000000000000001 (NEEDED) Shared library: [libvorbisenc.so.2] 0x0000000000000001 (NEEDED) Shared library: [libvorbisfile.so.3] 0x0000000000000001 (NEEDED) Shared library: [libvorbis.so.0] 0x0000000000000001 (NEEDED) Shared library: [libogg.so.0] 0x0000000000000001 (NEEDED) Shared library: [libid3tag.so.0] 0x0000000000000001 (NEEDED) Shared library: [libFLAC.so.6] 0x0000000000000001 (NEEDED) Shared library: [libFLAC++.so.4] 0x0000000000000001 (NEEDED) Shared library: [libwx_gtk2-2.4.so] 0x0000000000000001 (NEEDED) Shared library: [libstdc++.so.6] 0x0000000000000001 (NEEDED) Shared library: [libm.so.6] 0x0000000000000001 (NEEDED) Shared library: [libgcc_s.so.1] 0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0] 0x0000000000000001 (NEEDED) Shared library: [libc.so.6] 0x0000000000000001 (NEEDED) Shared library: [libdl.so.2] magic atti # wx-config --version 2.4.2 magic atti #
Hi Attila, very strange indeed interesting. You are correct. So, how come I am not able to run audacity then? Spiro
*** Bug 100067 has been marked as a duplicate of this bug. ***
This isn't an AMD64-specific issue. I'm having an identical problem on my Athlon XP. Since I do serious development work on this box, I compile everything nostrip (but not +debug, that causes dangerous behavior in a lot of things, mostly daemons). Here's what GDB thinks: (gdb) run Starting program: /usr/bin/audacity [Thread debugging using libthread_db enabled] [New Thread -1225664832 (LWP 30649)] (audacity:30649): Gtk-CRITICAL **: gtk_accel_label_new: assertion `string != NULL' failed (audacity:30649): Gtk-CRITICAL **: gtk_misc_set_alignment: assertion `GTK_IS_MISC (misc)' failed (audacity:30649): Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed (audacity:30649): Gtk-CRITICAL **: gtk_accel_label_set_accel_widget: assertion `GTK_IS_ACCEL_LABEL (accel_label)' failed Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1225664832 (LWP 30649)] 0xb75730fa in gtk_widget_show () from /usr/lib/libgtk-x11-2.0.so.0 (gdb) bt #0 0xb75730fa in gtk_widget_show () from /usr/lib/libgtk-x11-2.0.so.0 #1 0xb748c87a in gtk_menu_item_new_with_label () from /usr/lib/libgtk-x11-2.0.so.0 #2 0xb7aa14a5 in wxChoice::GtkAppendHelper (this=0x84d9828, menu=0x84dd900, item=@0x84deac0) at buffer.h:98 #3 0xb7aa0109 in wxChoice::Create (this=0x84d9828, parent=0xbff91ad0, id=8, pos=@0xf, size=@0x82b2778, n=22, choices=0x84d97cc, style=139302892, validator=@0x8, name=@0x8) at choice.cpp:105 #4 0x08097872 in LangChoiceDialog::LangChoiceDialog () #5 0x0809680f in ChooseLanguage () #6 0x08066c12 in AudacityApp::OnInit () #7 0xb7a96d30 in wxEntry (argc=1, argv=0x82b28b0) at app.cpp:921 #8 0x080665ab in main () the aforementioned 'LANG=C audacity' works. emerge info: Portage 2.0.53_rc4 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.12-RT-V0.7.51-33 i686) ================================================================= System uname: 2.6.12-RT-V0.7.51-33 i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.12.0_pre8 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS=" -march=athlon -mcpu=athlon-xp -pipe -pass-exit-codes -O2 -ftracer" 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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS=" -march=athlon -mcpu=athlon-xp -pipe -pass-exit-codes -O2 -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy distlocks nostrip sandbox sfperms strict" GENTOO_MIRRORS=" http://gentoo.llarian.net/ http://ftp-mirror.internap.com/pub/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LANG="en_GB.utf8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://angel.ghettocluster/gentoo-portage" USE="x86 3dnow 3dnowext X a52 aac aalib acpi aimextras alsa audiofile avi bash-completion bitmap-fonts browserplugin cdr cg cjk crypt cups devil dga dvd encode ffmpeg flac freetype geoip gif gimp-print gmp gphoto2 gtk gtk2 imagemagick jack joystick jpeg ladcca ladspa live mad mjpeg mmx mmxext mng mozilla mp3 mpeg ncurses nethack network nls noreiserfs nptl nvidia offensive ogg oggvorbis openal opengl openssl oscar oss pam pcre perl png python quicktime readline real rtc soundtouch spell sse ssl svg tga theora threads tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs wmf xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
I wonder what would take to solve this issue. Is it possible that nobody from gentoo dev and gentoo audacity ebuild maintainer can contact audacity team and solve this issue once and for all? there are several people out there, me included, who cannot benefit of this great application. Audacity is no mean if it cannot be used. Please development team spend some time with this issue. thank you, Spiro
Spiro, have you tried to run it by doing: LANG=C audacity as mentioned by matsuu in comment #26?
Also try building the current release (1.2.4) which should have the relevant bugfix. Ebuild on bug 113948
Gentoo Base System version 1.6.13 Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.1 4-gentoo-r2 i686) ================================================================= System uname: 2.6.14-gentoo-r2 i686 Intel(R) Celeron(R) CPU 2.40GHz ccache version 2.3 [enabled] dev-lang/python: 2.3.5, 2.4.2 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-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X1 1/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks prelink sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/ distributions/gentoo" LC_ALL="en_US.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://ftp.latnet.lv/gentoo-portage" USE="x86 3ds 7zip X a52 aac aalib ace alsa apm audiofile avi berkdb bitmap-fonts bzip2 cairo cdda cdio cdr cdrom cpudetection crypt cups curl dbus dga dts dv ef fects encode exif expat fam ffmpeg firefox flac foomaticdb fortran gd gdbm gif g impprint glitz glut gnutls gpm gstreamer gtk gtk2 imagemagick imlib inkjar ipv6 irssi java jpeg lcms ldap libg++ libsamplerate libwww live lzo mad matroska mikm od mmx mng motif mozsvg mp3 mpeg mpi ncurses nls nptl nptlonly nsplugin nvidia o gg oggvorbis on-the-fly-crypt opengl oss pam pcre pdflib perl png python quickti me readline recode rtc sdl silc sndfile spell sse sse2 ssl stream svg symlink tc ltk tcpd tga theora tiff truetype truetype-fonts type1-fonts udev unicode vcd vl m vorbis win32codecs wmf wxwindows xanim xchat xml2 xscreensaver xv xvid xvmc zl ib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS And i have the same problem...
identical problem here. workaround: LC_ALL=C audacity (note: LANG=C didn't work for me!) audacity: both 1.2.1 and 1.2.3-r1 wxGTK: 2.4.2-r4 without unicode support and 2.6.1 with unicode $ ldd `which audacity` | grep wx libwx_gtk2-2.4.so => /usr/lib/libwx_gtk2-2.4.so (0x41946000)
For me works LANG=C audacity and LC_ALL=C audacity on :: Portage 2.1_pre2 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r1, 2.6.14-gentoo-r5-david x86_64) ================================================================= System uname: 2.6.14-gentoo-r5-david x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.0_pre12 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.linux.cz/pub/linux/gentoo http://mirror.gentoo.sk/pub http://distfiles.gentoo.org/" LANG="cs_CZ.UTF-8" LC_ALL="cs_CZ.UTF-8" LINGUAS="cs" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://mirror.gentoo.sk/gentoo-portage" USE="amd64 X aalib acpi adns alsa apache2 apm audiofile avi bash-completion berkdb bitmap-fonts bzip2 caps cdparanoia cdr cups curl curlwrappers dbus dga dio directfb divx4linux dts dvd dvdr dvdread emboss emul-linux-86 encode exif fbcon ffmpeg flac flash foomaticdb fortran ftp gd gdbm gif gpm gstreamer gtk gtk2 hal icq id3 id3v2 imagemagick imlib innodb ipv6 jabber javascript jpeg kde kdeenablefinal lame lcms libcaca libwww lm_sensors lzw lzw-tiff mad matroska mbox mikmod mime ming mng mp3 mpeg mplayer mysql mysqli ncurses nls nowebdav nptl nptlonly nvidia ogg oggvorbis openal opengl osc oscar pcntl pcre pdflib perl php pic png posix ppds python qt quicktime readline real recode sdl session skey slang slp sockets sox speex sqlite ssl svg symlink tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 vcd vorbis wmf xine xml xml2 xpm xv xvid zlib elibc_glibc kernel_linux linguas_cs userland_GNU" Unset: ASFLAGS, CTARGET, LDFLAGS
For me works LANG=C audacity and LC_ALL=C audacity approved! Portage 2.0.53 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r5 x86_64) ================================================================= System uname: 2.6.13-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 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-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2
audacity-1.2.4b in cvs.