https://bugzilla.novell.com/show_bug.cgi?id=294693#c4
--- Comment #4 from Casual J. Programmer 2007-07-26 12:41:42 MST ---
Not sure whether I'm doing this right:
cjp@workstation6l:~> valgrind -v --tool=memcheck --leak-check=yes
--db-attach=yes audacity
==8260== Memcheck, a memory error detector.
==8260== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==8260== Using LibVEX rev 1732, a library for dynamic binary translation.
==8260== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==8260== Using valgrind-3.2.3, a dynamic binary instrumentation framework.
==8260== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==8260==
--8260-- Command line
--8260-- audacity
--8260-- Startup, with flags:
--8260-- -v
--8260-- --tool=memcheck
--8260-- --leak-check=yes
--8260-- --db-attach=yes
--8260-- Contents of /proc/version:
--8260-- Linux version 2.6.22.1-6-default (geeko@buildhost) (gcc version
4.2.1 20070705 (prerelease) (SUSE Linux)) #1 SMP 2007/07/23 08:21:49 UTC
--8260-- Arch and hwcaps: X86, x86-sse1-sse2
--8260-- Page sizes: currently 4096, max supported 4096
--8260-- Valgrind library directory: /usr/lib/valgrind
--8260-- Reading syms from /lib/ld-2.6.so (0x4000000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/bin/audacity (0x8048000)
--8260-- Reading debug info from /usr/lib/debug/usr/bin/audacity.debug...
--8260-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0x38000000)
--8260-- object doesn't have a symbol table
--8260-- object doesn't have a dynamic symbol table
--8260-- Reading suppressions file: /usr/lib/valgrind/default.supp
--8260-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so
(0x401E000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so
(0x4021000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libvorbisenc.so.2.0.2 (0x4045000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libvorbisfile.so.3.1.1 (0x4143000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libvorbis.so.0.3.1 (0x414B000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libogg.so.0.5.3 (0x4177000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libsndfile.so.1.0.17 (0x417E000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libFLAC++.so.6.0.1 (0x41DA000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libFLAC.so.8.0.1 (0x41F3000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libid3tag.so.0.3.0 (0x4239000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libsamplerate.so.0.1.1 (0x424B000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libexpat.so.1.5.2 (0x4268000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libwx_gtk2u_aui-2.8.so.0.1.1 (0x428A000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libwx_gtk2u_xrc-2.8.so.0.1.1 (0x42DE000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libwx_gtk2u_qa-2.8.so.0.1.1 (0x4374000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libwx_gtk2u_html-2.8.so.0.1.1 (0x4394000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libwx_gtk2u_adv-2.8.so.0.1.1 (0x443C000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libwx_gtk2u_core-2.8.so.0.1.1 (0x4502000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libwx_baseu_xml-2.8.so.0.1.1 (0x487F000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libwx_baseu_net-2.8.so.0.1.1 (0x488A000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libwx_baseu-2.8.so.0.1.1 (0x48B8000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libasound.so.2.0.0 (0x4A16000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libjack.so.0.0.23 (0x4AD2000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /lib/libpthread-2.6.so (0x4AEC000)
--8260-- Reading syms from /lib/librt-2.6.so (0x4B03000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libstdc++.so.6.0.9 (0x4B0C000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /lib/libm-2.6.so (0x4BFA000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /lib/libgcc_s.so.1 (0x4C1F000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /lib/libc-2.6.so (0x4C2C000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /lib/libdl-2.6.so (0x4D5E000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libgtk-x11-2.0.so.0.1105.0 (0x4D62000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libgobject-2.0.so.0.1307.0 (0x5114000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libglib-2.0.so.0.1307.0 (0x5150000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /lib/libz.so.1.2.3 (0x520D000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libgdk-x11-2.0.so.0.1105.0 (0x5220000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libatk-1.0.so.0.1912.1 (0x52AD000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libgdk_pixbuf-2.0.so.0.1105.0 (0x52C8000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libpango-1.0.so.0.1703.0 (0x52E1000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libgmodule-2.0.so.0.1307.0 (0x5320000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libgthread-2.0.so.0.1307.0 (0x5325000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libXinerama.so.1.0.0 (0x532A000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libSM.so.6.0.0 (0x532E000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libpng12.so.0.18.0 (0x5337000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libjpeg.so.62.0.0 (0x535D000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libtiff.so.3.8.2 (0x537D000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libmspack.so.0.1.0 (0x53D1000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libSDL-1.2.so.0.11.0 (0x53E0000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libpangocairo-1.0.so.0.1703.0 (0x5475000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libX11.so.6.2.0 (0x547F000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libXcomposite.so.1.0.0 (0x559A000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libXdamage.so.1.1.0 (0x559E000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libXfixes.so.3.1.0 (0x55A2000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libcairo.so.2.11.5 (0x55A9000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libfontconfig.so.1.2.0 (0x5627000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libXext.so.6.4.0 (0x5653000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libXrender.so.1.3.0 (0x5662000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libXrandr.so.2.1.0 (0x566B000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libXcursor.so.1.0.2 (0x5672000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libICE.so.6.3.0 (0x567D000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libaa.so.1.0.4 (0x5697000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libpangoft2-1.0.so.0.1703.0 (0x56B2000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libfreetype.so.6.3.16 (0x56E0000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libxcb-xlib.so.0.0.0 (0x574F000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libxcb.so.1.0.0 (0x5753000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libglitz.so.1.0.0 (0x576C000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libxcb-render-util.so.0.0.0 (0x5793000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libxcb-render.so.0.0.0 (0x5798000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libXau.so.6.0.0 (0x57A0000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /lib/libncurses.so.5.6 (0x57A5000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libgpm.so.1.19.0 (0x57DA000)
--8260-- object doesn't have a symbol table
--8260-- REDIR: 0x4C9A080 (memset) redirected to 0x4024940 (memset)
--8260-- REDIR: 0x4C9A570 (memcpy) redirected to 0x4025500 (memcpy)
--8260-- REDIR: 0x4C991D0 (rindex) redirected to 0x4024410 (rindex)
--8260-- REDIR: 0x4BC6070 (operator new(unsigned)) redirected to 0x4023F40
(operator new(unsigned))
--8260-- REDIR: 0x4BC61B0 (operator new[](unsigned)) redirected to 0x4023BD0
(operator new[](unsigned))
--8260-- REDIR: 0x4C98750 (index) redirected to 0x4024500 (index)
--8260-- REDIR: 0x4C95820 (calloc) redirected to 0x4022ACD (calloc)
--8260-- REDIR: 0x4C98E00 (strlen) redirected to 0x40245C0 (strlen)
--8260-- REDIR: 0x4C95B30 (malloc) redirected to 0x40237A0 (malloc)
--8260-- REDIR: 0x4C93FB0 (free) redirected to 0x40233BA (free)
--8260-- REDIR: 0x4C988C0 (strcmp) redirected to 0x4024690 (strcmp)
--8260-- REDIR: 0x4C99000 (strncmp) redirected to 0x4024620 (strncmp)
--8260-- REDIR: 0x4C9AF70 (strchrnul) redirected to 0x40249C0 (strchrnul)
--8260-- REDIR: 0x4C9A0E0 (mempcpy) redirected to 0x4025000 (mempcpy)
--8260-- REDIR: 0x4C99B80 (memchr) redirected to 0x40247E0 (memchr)
--8260-- REDIR: 0x4C95F60 (realloc) redirected to 0x402384F (realloc)
--8260-- REDIR: 0x4C98EB0 (strnlen) redirected to 0x4024590 (strnlen)
--8260-- REDIR: 0x4C9A270 (stpcpy) redirected to 0x4024CC0 (stpcpy)
--8260-- REDIR: 0x4C98930 (strcpy) redirected to 0x4025740 (strcpy)
--8260-- REDIR: 0x4C9AEA0 (rawmemchr) redirected to 0x40249F0 (rawmemchr)
--8260-- Reading syms from /usr/lib/gconv/UTF-32.so (0x402F000)
--8260-- object doesn't have a symbol table
--8260-- REDIR: 0x4C95E80 (posix_memalign) redirected to 0x4022A7B
(posix_memalign)
--8260-- REDIR: 0x4C99100 (strncpy) redirected to 0x4024DA0 (strncpy)
--8260-- REDIR: 0x4C9A010 (memmove) redirected to 0x4024970 (memmove)
--8260-- REDIR: 0x4D004B0 (__strcpy_chk) redirected to 0x4024C60 (__strcpy_chk)
--8260-- REDIR: 0x4C985A0 (strcat) redirected to 0x4025820 (strcat)
--8260-- Reading syms from /lib/libnss_compat-2.6.so (0x403D000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /lib/libnsl-2.6.so (0x5A21000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /lib/libnss_ldap.so.2 (0x5A38000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libldap-2.3.so.0.2.23 (0x5A58000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/liblber-2.3.so.0.2.23 (0x5A91000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libgssapi_krb5.so.2.2 (0x5A9F000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /lib/libresolv-2.6.so (0x5AC9000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libsasl2.so.2.0.22 (0x5ADC000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libssl.so.0.9.8 (0x5AF4000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libcrypto.so.0.9.8 (0x5B37000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libkrb5.so.3.3 (0x5C7C000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libk5crypto.so.3.1 (0x5D04000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /lib/libcom_err.so.2.1 (0x5D29000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libkrb5support.so.0.1 (0x5D2D000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /lib/libkeyutils-1.2.so (0x5D36000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /lib/libnss_files-2.6.so (0x5A05000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/gconv/ISO8859-1.so (0x5A0F000)
--8260-- object doesn't have a symbol table
--8260-- REDIR: 0x4BC47F0 (operator delete[](void*)) redirected to 0x4022D53
(operator delete[](void*))
--8260-- Reading syms from /usr/lib/libgnomeprint-2-2.so.0.1.0 (0x5D57000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libart_lgpl_2.so.2.3.19 (0x5DBF000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libxml2.so.2.6.29 (0x5DD6000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libgnomeprintui-2-2.so.0.1.0 (0x5F15000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/libgnomecanvas-2.so.0.1400.0 (0x5F54000)
--8260-- object doesn't have a symbol table
--8260-- REDIR: 0x4BC4790 (operator delete(void*)) redirected to 0x40230D1
(operator delete(void*))
--8260-- Reading syms from /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so
(0x607F000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
(0x5A12000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/gtk-2.0/2.10.0/immodules/im-xim.so
(0x5D3A000)
--8260-- object doesn't have a symbol table
--8260-- Reading syms from /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
(0x69CC000)
--8260-- object doesn't have a symbol table
==8260== Invalid free() / delete / delete[]
==8260== at 0x402343F: free (in
/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==8260== by 0x5186BF0: g_free (in /usr/lib/libglib-2.0.so.0.1307.0)
==8260== by 0x469424F: (within /usr/lib/libwx_gtk2u_core-2.8.so.0.1.1)
==8260== by 0x46948D1: wxButton::SetDefault() (in
/usr/lib/libwx_gtk2u_core-2.8.so.0.1.1)
==8260== by 0x80C6B8F: LangChoiceDialog::LangChoiceDialog(wxWindow*, int,
wxString const&) (LangChoice.cpp:104)
==8260== by 0x80C6F74: ChooseLanguage(wxWindow*) (LangChoice.cpp:56)
==8260== by 0x8082BD3: AudacityApp::OnInit() (AudacityApp.cpp:622)
==8260== by 0x8083AA0: wxAppConsole::CallOnInit() (app.h:76)
==8260== by 0x493FFCF: wxEntry(int&, wchar_t**) (in
/usr/lib/libwx_baseu-2.8.so.0.1.1)
==8260== by 0x49400A6: wxEntry(int&, char**) (in
/usr/lib/libwx_baseu-2.8.so.0.1.1)
==8260== by 0x807EA0F: main (AudacityApp.cpp:338)
==8260== Address 0x62BD230 is 48 bytes inside a block of size 248 alloc'd
==8260== at 0x4022A50: memalign (in
/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==8260== by 0x4022AAA: posix_memalign (in
/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==8260== by 0x519B344: (within /usr/lib/libglib-2.0.so.0.1307.0)
==8260== by 0x519C479: g_slice_alloc (in /usr/lib/libglib-2.0.so.0.1307.0)
==8260== by 0x517D4B5: g_list_prepend (in /usr/lib/libglib-2.0.so.0.1307.0)
==8260== by 0x5178E4E: (within /usr/lib/libglib-2.0.so.0.1307.0)
==8260== by 0x517BA43: (within /usr/lib/libglib-2.0.so.0.1307.0)
==8260== by 0x517BCE3: (within /usr/lib/libglib-2.0.so.0.1307.0)
==8260== by 0x517BFF7: (within /usr/lib/libglib-2.0.so.0.1307.0)
==8260== by 0x517C5F6: g_key_file_load_from_file (in
/usr/lib/libglib-2.0.so.0.1307.0)
==8260== by 0x4E8C455: (within /usr/lib/libgtk-x11-2.0.so.0.1105.0)
==8260== by 0x4E8D75E: (within /usr/lib/libgtk-x11-2.0.so.0.1105.0)
==8260==
==8260== ---- Attach to debugger ? --- [Return/N/n/Y/y/C/c] ----
starting debugger
==8260== starting debugger with cmd: /usr/bin/gdb -nw /proc/8261/fd/1024 8261
GNU gdb 6.6.50.20070713-cvs
Copyright (C) 2007 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 "i586-suse-linux"...
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
Attaching to program: /proc/8261/fd/1024, process 8261
(no debugging symbols found)
Failed to read a valid object file image from memory.
0x0402343f in ?? () from /lib/ld-linux.so.2
(gdb)
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.