Bug 181154 - Audacity has segmentation fault
Summary: Audacity has segmentation fault
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: X11 Applications (show other bugs)
Version: unspecified
Hardware: i686 SUSE Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Stanislav Brabec
QA Contact: Stefan Dirsch
URL:
Whiteboard:
Keywords: blocking
Depends on:
Blocks:
 
Reported: 2006-06-02 12:00 UTC by Juan Erbes
Modified: 2006-09-26 01:02 UTC (History)
1 user (show)

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juan Erbes 2006-06-02 12:00:56 UTC
In SUSE Linux 10.2-3, when I start Audacity it has a segmentation fault, and do'nt start. In can see the error message, when I start it from konsole (in kde), because when I start it from the kde menu, I do'nt see any error message, and audacity not opens.
Comment 1 Juan Erbes 2006-06-03 03:32:25 UTC
With valgrind, I got:
==16627== Memcheck, a memory error detector.
==16627== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==16627== Using LibVEX rev 1575, a library for dynamic binary translation.
==16627== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==16627== Using valgrind-3.1.1, a dynamic binary instrumentation framework.
==16627== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==16627== For more details, rerun with: -v
==16627==
==16627== Syscall param write(buf) points to uninitialised byte(s)
==16627==    at 0x4A67233: __write_nocancel (in /lib/libpthread-2.4.so)
==16627==    by 0x50BF35E: _X11TransWrite (in /usr/X11R6/lib/libX11.so.6.2)
==16627==    by 0x50A3DD6: (within /usr/X11R6/lib/libX11.so.6.2)
==16627==    by 0x50A3EDA: _XReply (in /usr/X11R6/lib/libX11.so.6.2)
==16627==    by 0x5090201: XInternAtom (in /usr/X11R6/lib/libX11.so.6.2)
==16627==    by 0x50AC39D: XSetWMProperties (in /usr/X11R6/lib/libX11.so.6.2)
==16627==    by 0x4EF2FC7: (within /opt/gnome/lib/libgdk-x11-2.0.so.0.800.10)
==16627==    by 0x4EF573E: gdk_window_new (in /opt/gnome/lib/libgdk-x11-2.0.so.0
.800.10)
==16627==    by 0x4ED2C5C: gdk_display_open (in /opt/gnome/lib/libgdk-x11-2.0.so
.0.800.10)
==16627==    by 0x4EB17AE: gdk_display_open_default_libgtk_only (in /opt/gnome/l                                                                            ib/libgdk-x11-2.0.so.0.800.10)
==16627==    by 0x4CD908E: gtk_init_check (in /opt/gnome/lib/libgtk-x11-2.0.so.0                                                                            .800.10)
==16627==    by 0x4529230: wxApp::Initialize(int&, char**) (in /usr/lib/libwx_gt                                                                            k2_core-2.6.so.0.2.0)
==16627==  Address 0x56A64B0 is 128 bytes inside a block of size 16,384 alloc'd
==16627==    at 0x402064B: calloc (in /usr/lib/valgrind/x86-linux/vgpreload_memc                                                                            heck.so)
==16627==    by 0x5094046: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2)
==16627==    by 0x4ED2B21: gdk_display_open (in /opt/gnome/lib/libgdk-x11-2.0.so                                                                            .0.800.10)
==16627==    by 0x4EB17AE: gdk_display_open_default_libgtk_only (in /opt/gnome/l                                                                            ib/libgdk-x11-2.0.so.0.800.10)
==16627==    by 0x4CD908E: gtk_init_check (in /opt/gnome/lib/libgtk-x11-2.0.so.0                                                                            .800.10)
==16627==    by 0x4529230: wxApp::Initialize(int&, char**) (in /usr/lib/libwx_gt                                                                            k2_core-2.6.so.0.2.0)
==16627==    by 0x47E33D4: wxEntryStart(int&, char**) (in /usr/lib/libwx_base-2.                                                                            6.so.0.2.0)
==16627==    by 0x47E361B: wxEntry(int&, char**) (in /usr/lib/libwx_base-2.6.so.                                                                            0.2.0)
==16627==    by 0x806AF6F: main (in /usr/bin/audacity)
==16627==
==16627== Syscall param writev(vector[...]) points to uninitialised byte(s)
==16627==    at 0x4B26742: do_writev (in /lib/libc-2.4.so)
==16627==    by 0x50BF78D: (within /usr/X11R6/lib/libX11.so.6.2)
==16627==    by 0x50BF3BE: _X11TransWritev (in /usr/X11R6/lib/libX11.so.6.2)
==16627==    by 0x50A3BE0: _XSend (in /usr/X11R6/lib/libX11.so.6.2)
==16627==    by 0x5098795: (within /usr/X11R6/lib/libX11.so.6.2)
==16627==    by 0x50988DF: XPutImage (in /usr/X11R6/lib/libX11.so.6.2)
==16627==    by 0x54C0DAD: XcursorImageLoadCursor (in /usr/X11R6/lib/libXcursor.so.1.0.2)
==16627==    by 0x54C199D: XcursorImagesLoadCursors (in /usr/X11R6/lib/libXcursor.so.1.0.2)
==16627==    by 0x54C1AC9: XcursorImagesLoadCursor (in /usr/X11R6/lib/libXcursor.so.1.0.2)
==16627==    by 0x54C5069: XcursorTryShapeCursor (in /usr/X11R6/lib/libXcursor.so.1.0.2)
==16627==    by 0x5085171: XCreateGlyphCursor (in /usr/X11R6/lib/libX11.so.6.2)
==16627==    by 0x50855FC: XCreateFontCursor (in /usr/X11R6/lib/libX11.so.6.2)
==16627==  Address 0x56A64ED is 189 bytes inside a block of size 16,384 alloc'd
==16627==    at 0x402064B: calloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16627==    by 0x5094046: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2)
==16627==    by 0x4ED2B21: gdk_display_open (in /opt/gnome/lib/libgdk-x11-2.0.so.0.800.10)
==16627==    by 0x4EB17AE: gdk_display_open_default_libgtk_only (in /opt/gnome/lib/libgdk-x11-2.0.so.0.800.10)
==16627==    by 0x4CD908E: gtk_init_check (in /opt/gnome/lib/libgtk-x11-2.0.so.0.800.10)
==16627==    by 0x4529230: wxApp::Initialize(int&, char**) (in /usr/lib/libwx_gtk2_core-2.6.so.0.2.0)
==16627==    by 0x47E33D4: wxEntryStart(int&, char**) (in /usr/lib/libwx_base-2.6.so.0.2.0)
==16627==    by 0x47E361B: wxEntry(int&, char**) (in /usr/lib/libwx_base-2.6.so.0.2.0)
==16627==    by 0x806AF6F: main (in /usr/bin/audacity)
==16627==
==16627== Syscall param write(buf) points to uninitialised byte(s)
==16627==    at 0x4A67233: __write_nocancel (in /lib/libpthread-2.4.so)
==16627==    by 0x50BF35E: _X11TransWrite (in /usr/X11R6/lib/libX11.so.6.2)
==16627==    by 0x50A3DD6: (within /usr/X11R6/lib/libX11.so.6.2)
==16627==    by 0x50A4D52: _XEventsQueued (in /usr/X11R6/lib/libX11.so.6.2)
==16627==    by 0x5095491: XPending (in /usr/X11R6/lib/libX11.so.6.2)
==16627==    by 0x4EDF0AE: (within /opt/gnome/lib/libgdk-x11-2.0.so.0.800.10)
==16627==    by 0x4EDF4DE: (within /opt/gnome/lib/libgdk-x11-2.0.so.0.800.10)
==16627==    by 0x5200ABC: g_main_context_dispatch (in /opt/gnome/lib/libglib-2.0.so.0.800.5)
==16627==    by 0x5203CBE: (within /opt/gnome/lib/libglib-2.0.so.0.800.5)
==16627==    by 0x5204068: g_main_loop_run (in /opt/gnome/lib/libglib-2.0.so.0.800.5)
==16627==    by 0x4CD8AD3: gtk_main (in /opt/gnome/lib/libgtk-x11-2.0.so.0.800.10)
==16627==    by 0x454344A: wxEventLoop::Run() (in /usr/lib/libwx_gtk2_core-2.6.so.0.2.0)
==16627==  Address 0x56A6480 is 80 bytes inside a block of size 16,384 alloc'd
==16627==    at 0x402064B: calloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16627==    by 0x5094046: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2)
==16627==    by 0x4ED2B21: gdk_display_open (in /opt/gnome/lib/libgdk-x11-2.0.so.0.800.10)
==16627==    by 0x4EB17AE: gdk_display_open_default_libgtk_only (in /opt/gnome/lib/libgdk-x11-2.0.so.0.800.10)
==16627==    by 0x4CD908E: gtk_init_check (in /opt/gnome/lib/libgtk-x11-2.0.so.0.800.10)
==16627==    by 0x4529230: wxApp::Initialize(int&, char**) (in /usr/lib/libwx_gtk2_core-2.6.so.0.2.0)
==16627==    by 0x47E33D4: wxEntryStart(int&, char**) (in /usr/lib/libwx_base-2.6.so.0.2.0)
==16627==    by 0x47E361B: wxEntry(int&, char**) (in /usr/lib/libwx_base-2.6.so.0.2.0)
==16627==    by 0x806AF6F: main (in /usr/bin/audacity)
==16627==
==16627== Syscall param write(buf) points to uninitialised byte(s)
==16627==    at 0x4A67233: __write_nocancel (in /lib/libpthread-2.4.so)
==16627==    by 0x50BF35E: _X11TransWrite (in /usr/X11R6/lib/libX11.so.6.2)
==16627==    by 0x50A3DD6: (within /usr/X11R6/lib/libX11.so.6.2)
==16627==    by 0x5087D50: XFlush (in /usr/X11R6/lib/libX11.so.6.2)
==16627==    by 0x4ED218A: gdk_display_flush (in /opt/gnome/lib/libgdk-x11-2.0.so.0.800.10)
==16627==    by 0x4ECA2C9: gdk_window_process_all_updates (in /opt/gnome/lib/libgdk-x11-2.0.so.0.800.10)
==16627==    by 0x4ECA314: (within /opt/gnome/lib/libgdk-x11-2.0.so.0.800.10)
==16627==    by 0x51FF0A0: (within /opt/gnome/lib/libglib-2.0.so.0.800.5)
==16627==    by 0x5200ABC: g_main_context_dispatch (in /opt/gnome/lib/libglib-2.0.so.0.800.5)
==16627==    by 0x5203CBE: (within /opt/gnome/lib/libglib-2.0.so.0.800.5)
==16627==    by 0x5204068: g_main_loop_run (in /opt/gnome/lib/libglib-2.0.so.0.800.5)
==16627==    by 0x4CD8AD3: gtk_main (in /opt/gnome/lib/libgtk-x11-2.0.so.0.800.10)
==16627==  Address 0x56A6565 is 309 bytes inside a block of size 16,384 alloc'd
==16627==    at 0x402064B: calloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==16627==    by 0x5094046: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2)
==16627==    by 0x4ED2B21: gdk_display_open (in /opt/gnome/lib/libgdk-x11-2.0.so.0.800.10)
==16627==    by 0x4EB17AE: gdk_display_open_default_libgtk_only (in /opt/gnome/lib/libgdk-x11-2.0.so.0.800.10)
==16627==    by 0x4CD908E: gtk_init_check (in /opt/gnome/lib/libgtk-x11-2.0.so.0.800.10)
==16627==    by 0x4529230: wxApp::Initialize(int&, char**) (in /usr/lib/libwx_gtk2_core-2.6.so.0.2.0)
==16627==    by 0x47E33D4: wxEntryStart(int&, char**) (in /usr/lib/libwx_base-2.6.so.0.2.0)
==16627==    by 0x47E361B: wxEntry(int&, char**) (in /usr/lib/libwx_base-2.6.so.0.2.0)
==16627==    by 0x806AF6F: main (in /usr/bin/audacity)
==16627==
==16627== Conditional jump or move depends on uninitialised value(s)
==16627==    at 0x81AE9FC: LadspaEffect::LadspaEffect(_LADSPA_Descriptor const*) (in /usr/bin/audacity)
==16627==    by 0x81ACFD9: LoadLadspaEffect(wxString) (in /usr/bin/audacity)
==16627==    by 0x81AD46F: LoadLadspaPlugins() (in /usr/bin/audacity)
==16627==    by 0x806E654: AudacityApp::OnInit() (in /usr/bin/audacity)
==16627==    by 0x806F4A0: wxAppConsole::CallOnInit() (in /usr/bin/audacity)
==16627==    by 0x47E362F: wxEntry(int&, char**) (in /usr/lib/libwx_base-2.6.so.0.2.0)
==16627==    by 0x806AF6F: main (in /usr/bin/audacity)
==16627==
==16627== Invalid read of size 4
==16627==    at 0x7B24BA0: ladspa_descriptor (in /usr/lib/ladspa/triangle_1649.so)
==16627==    by 0x81ACFB6: LoadLadspaEffect(wxString) (in /usr/bin/audacity)
==16627==    by 0x81AD46F: LoadLadspaPlugins() (in /usr/bin/audacity)
==16627==    by 0x806E654: AudacityApp::OnInit() (in /usr/bin/audacity)
==16627==    by 0x806F4A0: wxAppConsole::CallOnInit() (in /usr/bin/audacity)
==16627==    by 0x47E362F: wxEntry(int&, char**) (in /usr/lib/libwx_base-2.6.so.0.2.0)
==16627==    by 0x806AF6F: main (in /usr/bin/audacity)
==16627==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==16627==
==16627== Process terminating with default action of signal 11 (SIGSEGV)
==16627==  Access not within mapped region at address 0x0
==16627==    at 0x7B24BA0: ladspa_descriptor (in /usr/lib/ladspa/triangle_1649.so)
==16627==    by 0x81ACFB6: LoadLadspaEffect(wxString) (in /usr/bin/audacity)
==16627==    by 0x81AD46F: LoadLadspaPlugins() (in /usr/bin/audacity)
==16627==    by 0x806E654: AudacityApp::OnInit() (in /usr/bin/audacity)
==16627==    by 0x806F4A0: wxAppConsole::CallOnInit() (in /usr/bin/audacity)
==16627==    by 0x47E362F: wxEntry(int&, char**) (in /usr/lib/libwx_base-2.6.so.0.2.0)
==16627==    by 0x806AF6F: main (in /usr/bin/audacity)
==16627==
==16627== ERROR SUMMARY: 14 errors from 6 contexts (suppressed: 28 from 1)
==16627== malloc/free: in use at exit: 2,333,861 bytes in 38,461 blocks.
==16627== malloc/free: 410,502 allocs, 372,041 frees, 37,491,225 bytes allocated.
==16627== For counts of detected errors, rerun with: -v
==16627== searching for pointers to 38,461 not-freed blocks.
==16627== checked 13,465,304 bytes.
==16627==
==16627== LEAK SUMMARY:
==16627==    definitely lost: 937 bytes in 36 blocks.
==16627==      possibly lost: 285,112 bytes in 5,512 blocks.
==16627==    still reachable: 2,047,812 bytes in 32,913 blocks.
==16627==         suppressed: 0 bytes in 0 blocks.
==16627== Use --leak-check=full to see details of leaked memory.
Terminado (killed)
Comment 2 Martin Lasarsch 2006-06-06 12:14:40 UTC
what is 10.2-3? factory? anyway, assigned to maintainer
Comment 3 Juan Erbes 2006-06-06 13:06:27 UTC
(In reply to comment #2)
> what is 10.2-3? factory? anyway, assigned to maintainer
> 

Yes, it's factory.
The cause of the problem appears because audacity was compiled with wxgtk 2.4, but  factory installs wxgtk 2.6. Audacity 1.3 is compatible with wxgtk 2.6, but not 1.2.
Comment 4 Juan Erbes 2006-09-26 01:02:41 UTC
The problem was with the ladspa library, (triangle.so)