Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220038 - media-sound/audacity - floating point exception in preferences
Summary: media-sound/audacity - floating point exception in preferences
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Professional Audio Applications Maintainers
URL: http://limpet.net/audacity/bugzilla/s...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-02 13:07 UTC by Marcin Gryszkalis
Modified: 2011-08-23 18:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Gryszkalis 2008-05-02 13:07:54 UTC
Audacity crashes with FPE when entering Preferences. The bug is traced in audacity bugzilla but it seems to be gentoo-specific. Oryginal bug reports contain stacktraces etc. 

Exception is triggered in gtk function gtk_label_get_angle(GtkLabel *label)
Comment 1 Marcin Gryszkalis 2008-05-02 13:10:19 UTC
I case you've missed bug's URL field here's the link again:
http://limpet.net/audacity/bugzilla/show_bug.cgi?id=282
Comment 2 Alexis Ballier gentoo-dev 2008-05-11 18:23:58 UTC
are we sure this is an audacity issue and not a wxgtk / gtk issue ?
can you try with latest stable  (1.3.4-r3) or 1.3.5, it uses wx 2.8 perhaps that'll help and we'll probably get more support for this release than the 2.6 version
Comment 3 Marcin Gryszkalis 2008-05-11 19:18:16 UTC
this is media-sound/audacity-1.3.4-r3 linked against wxgtk 2.8

ldd `which audacity`
        linux-gate.so.1 =>  (0xffffe000)
        libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0xb7df2000)
        libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0xb7deb000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb7dc4000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0xb7dbf000)
        libmad.so.0 => /usr/lib/libmad.so.0 (0xb7da3000)
        libsndfile.so.1 => /usr/lib/libsndfile.so.1 (0xb7d4c000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7d2c000)
        libwx_gtk2ud_richtext-2.8.so.0 => /usr/lib/libwx_gtk2ud_richtext-2.8.so.0 (0xb7c39000)
        libwx_gtk2ud_aui-2.8.so.0 => /usr/lib/libwx_gtk2ud_aui-2.8.so.0 (0xb7bdd000)
        libwx_gtk2ud_xrc-2.8.so.0 => /usr/lib/libwx_gtk2ud_xrc-2.8.so.0 (0xb7b3f000)
        libwx_gtk2ud_qa-2.8.so.0 => /usr/lib/libwx_gtk2ud_qa-2.8.so.0 (0xb7b1d000)
        libwx_gtk2ud_html-2.8.so.0 => /usr/lib/libwx_gtk2ud_html-2.8.so.0 (0xb7a74000)
        libwx_gtk2ud_adv-2.8.so.0 => /usr/lib/libwx_gtk2ud_adv-2.8.so.0 (0xb79a3000)
        libwx_gtk2ud_core-2.8.so.0 => /usr/lib/libwx_gtk2ud_core-2.8.so.0 (0xb75f4000)
        libwx_baseud_xml-2.8.so.0 => /usr/lib/libwx_baseud_xml-2.8.so.0 (0xb75e8000)
        libwx_baseud_net-2.8.so.0 => /usr/lib/libwx_baseud_net-2.8.so.0 (0xb75b7000)
        libwx_baseud-2.8.so.0 => /usr/lib/libwx_baseud-2.8.so.0 (0xb7422000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0xb7377000)
        librt.so.1 => /lib/librt.so.1 (0xb736e000)
        libm.so.6 => /lib/libm.so.6 (0xb7349000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7332000)
        libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6 (0xb7255000)
        libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1 (0xb724a000)
        libc.so.6 => /lib/libc.so.6 (0xb7117000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7113000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb6d82000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb6d48000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb6c7d000)
        libz.so.1 => /lib/libz.so.1 (0xb6c69000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb6bdd000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb6bc4000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb6bac000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb6b71000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb6b6c000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb6b67000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb6b64000)
        libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb6b5f000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb6b57000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb6b34000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb6b14000)
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0xb6ac3000)
        /lib/ld-linux.so.2 (0xb7f17000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb6ab8000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb69d0000)
        libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb69cd000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb69ca000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb69c5000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb6962000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb6939000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb692c000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb6924000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb691c000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb6916000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb690d000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb68f5000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb68cd000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb684b000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb6848000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6842000)
        libglitz-glx.so.1 => /usr/lib/libglitz-glx.so.1 (0xb683c000)
        libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb6814000)
        libglitz.so.1 => /usr/lib/libglitz.so.1 (0xb67f0000)
        libGL.so.1 => //usr//lib/opengl/nvidia/lib/libGL.so.1 (0xb674b000)
        libGLcore.so.1 => //usr//lib/opengl/nvidia/lib/libGLcore.so.1 (0xb5c36000)
        libnvidia-tls.so.1 => //usr//lib/opengl/nvidia/lib/libnvidia-tls.so.1 (0xb5c34000)
Comment 4 Marcin Gryszkalis 2008-05-12 20:45:40 UTC
With latest 1.3.5 it's the same:

#0  IA__gtk_label_get_angle (label=0x8e05150) at gtklabel.c:3352
#1  0xb6f27179 in gtk_label_ensure_layout (label=0x8e05150) at gtklabel.c:2006
#2  0xb6f2c749 in gtk_label_size_request (widget=0x8e05150, requisition=0xbfb91c34) at gtklabel.c:2167
#3  0xb7823eac in wxStaticText::DoGetBestSize (this=0x8e06cf8) at /var/tmp/portage/x11-libs/wxGTK-2.8.7.1-r1/work/wxPython-src-2.8.7.1/src/gtk/stattext.cpp:165
#4  0xb782455c in wxStaticText::SetLabel (this=0x8e06cf8, label=@0xbfb91cb8) at /var/tmp/portage/x11-libs/wxGTK-2.8.7.1-r1/work/wxPython-src-2.8.7.1/include/wx/window.h:336
#5  0x08229a72 in FileFormatPrefs::SetMP3VersionText (this=0x8e031f0, prompt=false) at prefs/FileFormatPrefs.cpp:136
#6  0x0822afb6 in FileFormatPrefs::Populate (this=0x8e031f0) at prefs/FileFormatPrefs.cpp:66
#7  0x0822b5a4 in FileFormatPrefs (this=0x8e031f0, parent=0x8d93a30) at prefs/FileFormatPrefs.cpp:50
#8  0x08238e91 in PrefsDialog (this=0xbfb91ed0, parent=0x89aefc0) at prefs/PrefsDialog.cpp:142
#9  0x080d692c in AudacityProject::OnPreferences (this=0x89aefc0) at Menus.cpp:2250
Comment 5 Frédéric COIFFIER 2008-05-14 20:51:28 UTC
Seems to be solved media-sound/audacity-1.3.5 (or the 'debug' USE flag as I have just removed this flag)
Comment 6 Andy 2008-10-07 10:40:26 UTC
Just installed: 1.3.5-r1, but i still get FPE when entering preferences.

Compiled using: alsa flac jack ladspa libsamplerate mp3 vorbis

Tried to switch through:
  [1]   gtk2-ansi-release-2.6
  [2]   gtk2-unicode-release-2.6
  [3]   gtk2-unicode-release-2.8

emerge --info here: 
http://pastebin.com/f5c27369a
Comment 7 Antonio Orefice 2008-11-27 12:25:43 UTC
Same here,
Also, i get that error when i try to export an mp3 too.
Comment 8 Frédéric COIFFIER 2008-11-27 12:57:30 UTC
What USE flags are you using for lame package ?

Mine :
 - - debug   : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
 + + mmx     : Adds support for optimizations for Pentium MMX and Athlon class processors
 - - mp3rtp  : Build the mp3-to-RTP streaming utility. **UNSUPPORTED**
 - - sndfile : Adds support for libsndfile

(I've no more seen this problem for several months)
Comment 9 Antonio Orefice 2008-11-27 13:00:56 UTC
(In reply to comment #8)
> What USE flags are you using for lame package ?
> 
> Mine :
>  - - debug   : Enable extra debug codepaths, like asserts and extra output. If
> you want to get meaningful backtraces see
> http://www.gentoo.org/proj/en/qa/backtraces.xml
>  + + mmx     : Adds support for optimizations for Pentium MMX and Athlon class
> processors
>  - - mp3rtp  : Build the mp3-to-RTP streaming utility. **UNSUPPORTED**
>  - - sndfile : Adds support for libsndfile
> 
> (I've no more seen this problem for several months)
> 
Here:
# emerge -pv lame
[ebuild   R   ] media-sound/lame-3.98.2  USE="mmx* -debug* -mp3rtp -sndfile" 1,297 kB

Comment 10 Frédéric COIFFIER 2009-05-13 07:34:09 UTC
I can't reproduce the problem with latest versions of Audacity (media-sound/audacity-1.3.7).

Is there someone who still reproduces the problem ?
Comment 11 Anton 2009-06-26 10:41:22 UTC
Yes I have it with =media-sound/audacity-1.3.7 with USE="alsa ffmpeg flac id3tag ladspa libsamplerate midi mp3 soundtouch twolame vamp vorbis -jack"

Comment 12 Zsolt Palatinus 2009-10-15 04:55:04 UTC
It is still there for me in audacity-1.3.8 
both at requesting preferences or exporting mp3

These are the first few lines of the bug report:

14/10/2009 23:31:01 Advertising authentication type: 'No Authentication' (1)
14/10/2009 23:31:01 Advertising security type: 'No Authentication' (1)
Connection failure: Connection refused
** (nautilus:4754): WARNING **: Unable to add monitor: Not supported
(gnome-panel:4749): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -15 and height 30
(gnome-panel:4749): GLib-GObject-WARNING **: invalid cast from `GtkImageMenuItem' to `ButtonWidget'
** (gnome-panel:4749): CRITICAL **: button_widget_get_orientation: assertion `BUTTON_IS_WIDGET (button)' failed
(gnome-panel:4749): GLib-GObject-WARNING **: invalid cast from `GtkImageMenuItem' to `ButtonWidget'
** (gnome-panel:4749): CRITICAL **: button_widget_get_pixbuf: assertion `BUTTON_IS_WIDGET (button)' failed

Comments, suggestions appreciated

Zsolt
Comment 13 Frédéric COIFFIER 2010-05-03 13:41:35 UTC
In my case, I've never seen it again.
Do you confirm that the problem still exists with last media-sound/audacity-1.3.12 ?
Comment 14 Jeremy Murphy 2010-11-21 09:21:21 UTC
Like Frédéric said six months ago, could you please test and confirm this bug with the latest version (1.3.12), thanks.
Comment 15 Tim Harder gentoo-dev 2011-08-23 18:34:01 UTC
Closing since I can't reproduce the crash with 1.3.13. Feel free to reopen it with more info if you can reproduce the problem with a current version.