==11255== Memcheck, a memory error detector for x86-linux. ==11255== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward. ==11255== Using valgrind-2.1.1, a program supervision framework for x86-linux. ==11255== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward. ==11255== ==11255== My PID = 11255, parent PID = 9939. Prog and args are: ==11255== pgadmin3 ==11255== For more details, rerun with: -v ==11255== ==11255== warning: Valgrind's pthread_getschedparam is incomplete ==11255== your program may misbehave as a result ==11255== Syscall param write(buf) contains uninitialised or unaddressable byte(s) ==11255== at 0x3C856F1E: write (in /lib/tls/libc-2.3.2.so) ==11255== by 0x3C916E0F: (within /usr/X11R6/lib/libX11.so.6.2) ==11255== by 0x3C9179FE: _X11TransWrite (in /usr/X11R6/lib/libX11.so.6.2) ==11255== by 0x3C8F7261: (within /usr/X11R6/lib/libX11.so.6.2) ==11255== Address 0x3CC4957C is 92 bytes inside a block of size 2048 alloc'd ==11255== at 0x3C01FC03: calloc (vg_replace_malloc.c:141) ==11255== by 0x3C8E909C: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2) ==11255== by 0x3C40CED1: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.200.4) ==11255== by 0x3C3EE195: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.200.4) ==11255== ==11255== Invalid read of size 4 ==11255== at 0x3C808C76: wcslen (in /lib/tls/libc-2.3.2.so) ==11255== by 0x8590697: wxLocale::Init(wchar_t const*, wchar_t const*, wchar_t const*, bool, bool) (in /usr/bin/pgadmin3) ==11255== by 0x85911FB: wxLocale::Init(int, int) (in /usr/bin/pgadmin3) ==11255== by 0x81991ED: pgAdmin3::OnInit() (in /usr/bin/pgadmin3) ==11255== Address 0x3CEA9074 is 0 bytes inside a block of size 24 free'd ==11255== at 0x3C01F918: free (vg_replace_malloc.c:127) ==11255== by 0x83A7508: wxWCharBuffer::~wxWCharBuffer() (in /usr/bin/pgadmin3) ==11255== by 0x859067D: wxLocale::Init(wchar_t const*, wchar_t const*, wchar_t const*, bool, bool) (in /usr/bin/pgadmin3) ==11255== by 0x85911FB: wxLocale::Init(int, int) (in /usr/bin/pgadmin3) ==11255== ==11255== Invalid read of size 4 ==11255== at 0x3C808C81: wcslen (in /lib/tls/libc-2.3.2.so) ==11255== by 0x8590697: wxLocale::Init(wchar_t const*, wchar_t const*, wchar_t const*, bool, bool) (in /usr/bin/pgadmin3) ==11255== by 0x85911FB: wxLocale::Init(int, int) (in /usr/bin/pgadmin3) ==11255== by 0x81991ED: pgAdmin3::OnInit() (in /usr/bin/pgadmin3) ==11255== Address 0x3CEA9078 is 4 bytes inside a block of size 24 free'd ==11255== at 0x3C01F918: free (vg_replace_malloc.c:127) ==11255== by 0x83A7508: wxWCharBuffer::~wxWCharBuffer() (in /usr/bin/pgadmin3) ==11255== by 0x859067D: wxLocale::Init(wchar_t const*, wchar_t const*, wchar_t const*, bool, bool) (in /usr/bin/pgadmin3) ==11255== by 0x85911FB: wxLocale::Init(int, int) (in /usr/bin/pgadmin3) ==11255== ==11255== Invalid read of size 4 ==11255== at 0x3C808C89: wcslen (in /lib/tls/libc-2.3.2.so) ==11255== by 0x8590697: wxLocale::Init(wchar_t const*, wchar_t const*, wchar_t const*, bool, bool) (in /usr/bin/pgadmin3) ==11255== by 0x85911FB: wxLocale::Init(int, int) (in /usr/bin/pgadmin3) ==11255== by 0x81991ED: pgAdmin3::OnInit() (in /usr/bin/pgadmin3) ==11255== Address 0x3CEA907C is 8 bytes inside a block of size 24 free'd ==11255== at 0x3C01F918: free (vg_replace_malloc.c:127) ==11255== by 0x83A7508: wxWCharBuffer::~wxWCharBuffer() (in /usr/bin/pgadmin3) ==11255== by 0x859067D: wxLocale::Init(wchar_t const*, wchar_t const*, wchar_t const*, bool, bool) (in /usr/bin/pgadmin3) ==11255== by 0x85911FB: wxLocale::Init(int, int) (in /usr/bin/pgadmin3) ==11255== ==11255== Invalid read of size 4 ==11255== at 0x3C808C91: wcslen (in /lib/tls/libc-2.3.2.so) ==11255== by 0x8590697: wxLocale::Init(wchar_t const*, wchar_t const*, wchar_t const*, bool, bool) (in /usr/bin/pgadmin3) ==11255== by 0x85911FB: wxLocale::Init(int, int) (in /usr/bin/pgadmin3) ==11255== by 0x81991ED: pgAdmin3::OnInit() (in /usr/bin/pgadmin3) ==11255== Address 0x3CEA9080 is 12 bytes inside a block of size 24 free'd ==11255== at 0x3C01F918: free (vg_replace_malloc.c:127) ==11255== by 0x83A7508: wxWCharBuffer::~wxWCharBuffer() (in /usr/bin/pgadmin3) ==11255== by 0x859067D: wxLocale::Init(wchar_t const*, wchar_t const*, wchar_t const*, bool, bool) (in /usr/bin/pgadmin3) ==11255== by 0x85911FB: wxLocale::Init(int, int) (in /usr/bin/pgadmin3) ==11255== ==11255== Invalid read of size 4 ==11255== at 0x3C808C99: wcslen (in /lib/tls/libc-2.3.2.so) ==11255== by 0x8590697: wxLocale::Init(wchar_t const*, wchar_t const*, wchar_t const*, bool, bool) (in /usr/bin/pgadmin3) ==11255== by 0x85911FB: wxLocale::Init(int, int) (in /usr/bin/pgadmin3) ==11255== by 0x81991ED: pgAdmin3::OnInit() (in /usr/bin/pgadmin3) ==11255== Address 0x3CEA9084 is 16 bytes inside a block of size 24 free'd ==11255== at 0x3C01F918: free (vg_replace_malloc.c:127) ==11255== by 0x83A7508: wxWCharBuffer::~wxWCharBuffer() (in /usr/bin/pgadmin3) ==11255== by 0x859067D: wxLocale::Init(wchar_t const*, wchar_t const*, wchar_t const*, bool, bool) (in /usr/bin/pgadmin3) ==11255== by 0x85911FB: wxLocale::Init(int, int) (in /usr/bin/pgadmin3) ==11255== ==11255== Invalid read of size 1 ==11255== at 0x3C01F010: memcpy (mac_replace_strmem.c:283) ==11255== by 0x85BA78C: wxStrdupW(wchar_t const*) (in /usr/bin/pgadmin3) ==11255== by 0x8590697: wxLocale::Init(wchar_t const*, wchar_t const*, wchar_t const*, bool, bool) (in /usr/bin/pgadmin3) ==11255== by 0x85911FB: wxLocale::Init(int, int) (in /usr/bin/pgadmin3) ==11255== Address 0x3CEA908B is 23 bytes inside a block of size 24 free'd ==11255== at 0x3C01F918: free (vg_replace_malloc.c:127) ==11255== by 0x83A7508: wxWCharBuffer::~wxWCharBuffer() (in /usr/bin/pgadmin3) ==11255== by 0x859067D: wxLocale::Init(wchar_t const*, wchar_t const*, wchar_t const*, bool, bool) (in /usr/bin/pgadmin3) ==11255== by 0x85911FB: wxLocale::Init(int, int) (in /usr/bin/pgadmin3) ==11255== ==11255== Invalid read of size 1 ==11255== at 0x3C01F01A: memcpy (mac_replace_strmem.c:284) ==11255== by 0x85BA78C: wxStrdupW(wchar_t const*) (in /usr/bin/pgadmin3) ==11255== by 0x8590697: wxLocale::Init(wchar_t const*, wchar_t const*, wchar_t const*, bool, bool) (in /usr/bin/pgadmin3) ==11255== by 0x85911FB: wxLocale::Init(int, int) (in /usr/bin/pgadmin3) ==11255== Address 0x3CEA908A is 22 bytes inside a block of size 24 free'd ==11255== at 0x3C01F918: free (vg_replace_malloc.c:127) ==11255== by 0x83A7508: wxWCharBuffer::~wxWCharBuffer() (in /usr/bin/pgadmin3) ==11255== by 0x859067D: wxLocale::Init(wchar_t const*, wchar_t const*, wchar_t const*, bool, bool) (in /usr/bin/pgadmin3) ==11255== by 0x85911FB: wxLocale::Init(int, int) (in /usr/bin/pgadmin3) ==11255== ==11255== Invalid read of size 1 ==11255== at 0x3C01F021: memcpy (mac_replace_strmem.c:285) ==11255== by 0x85BA78C: wxStrdupW(wchar_t const*) (in /usr/bin/pgadmin3) ==11255== by 0x8590697: wxLocale::Init(wchar_t const*, wchar_t const*, wchar_t const*, bool, bool) (in /usr/bin/pgadmin3) ==11255== by 0x85911FB: wxLocale::Init(int, int) (in /usr/bin/pgadmin3) ==11255== Address 0x3CEA9089 is 21 bytes inside a block of size 24 free'd ==11255== at 0x3C01F918: free (vg_replace_malloc.c:127) ==11255== by 0x83A7508: wxWCharBuffer::~wxWCharBuffer() (in /usr/bin/pgadmin3) ==11255== by 0x859067D: wxLocale::Init(wchar_t const*, wchar_t const*, wchar_t const*, bool, bool) (in /usr/bin/pgadmin3) ==11255== by 0x85911FB: wxLocale::Init(int, int) (in /usr/bin/pgadmin3) ==11255== ==11255== Invalid read of size 1 ==11255== at 0x3C01F028: memcpy (mac_replace_strmem.c:286) ==11255== by 0x85BA78C: wxStrdupW(wchar_t const*) (in /usr/bin/pgadmin3) ==11255== by 0x8590697: wxLocale::Init(wchar_t const*, wchar_t const*, wchar_t const*, bool, bool) (in /usr/bin/pgadmin3) ==11255== by 0x85911FB: wxLocale::Init(int, int) (in /usr/bin/pgadmin3) ==11255== Address 0x3CEA9088 is 20 bytes inside a block of size 24 free'd ==11255== at 0x3C01F918: free (vg_replace_malloc.c:127) ==11255== by 0x83A7508: wxWCharBuffer::~wxWCharBuffer() (in /usr/bin/pgadmin3) ==11255== by 0x859067D: wxLocale::Init(wchar_t const*, wchar_t const*, wchar_t const*, bool, bool) (in /usr/bin/pgadmin3) ==11255== by 0x85911FB: wxLocale::Init(int, int) (in /usr/bin/pgadmin3) ==11255== ==11255== pthread_mutex_lock/trylock: mutex has invalid owner ==11255== at 0x3C75CDBF: pthread_mutex_lock (vg_libpthread.c:1160) ==11255== by 0x3C761F87: _IO_flockfile (vg_libpthread.c:3181) ==11255== by 0x3C4C614A: pango_read_line (in /usr/lib/libpango-1.0.so.0.200.5) ==11255== by 0x3C23E09E: (within /usr/lib/libgtk-x11-2.0.so.0.200.4) ==11255== ==11255== pthread_mutex_lock/trylock: mutex has invalid owner ==11255== at 0x3C75CDBF: pthread_mutex_lock (vg_libpthread.c:1160) ==11255== by 0x3C761F87: _IO_flockfile (vg_libpthread.c:3181) ==11255== by 0x3C4C614A: pango_read_line (in /usr/lib/libpango-1.0.so.0.200.5) ==11255== by 0x3C4B6721: (within /usr/lib/libpango-1.0.so.0.200.5) ==11255== ==11255== Conditional jump or move depends on uninitialised value(s) ==11255== at 0x8502534: wxWindowBase::HeightDefault(int) (in /usr/bin/pgadmin3) ==11255== by 0x844AAF4: wxWindow::PreCreation(wxWindow*, wxPoint const&, wxSize const&) (in /usr/bin/pgadmin3) ==11255== by 0x8449FE6: wxWindow::Create(wxWindow*, int, wxPoint const&, wxSize const&, long, wxString const&) (in /usr/bin/pgadmin3) ==11255== by 0x8449F16: wxWindow::wxWindow(wxWindow*, int, wxPoint const&, wxSize const&, long, wxString const&) (in /usr/bin/pgadmin3) ==11255== ==11255== Conditional jump or move depends on uninitialised value(s) ==11255== at 0x3C3410B7: (within /usr/lib/libgtk-x11-2.0.so.0.200.4) ==11255== by 0x84442DA: gtk_pizza_put (in /usr/bin/pgadmin3) ==11255== by 0x8449C1F: (within /usr/bin/pgadmin3) ==11255== by 0x844D2A1: wxWindow::DoAddChild(wxWindow*) (in /usr/bin/pgadmin3) ==11255== ==11255== Conditional jump or move depends on uninitialised value(s) ==11255== at 0x846FD27: wxGenericListCtrl::CalculateAndSetHeaderHeight() (in /usr/bin/pgadmin3) ==11255== by 0x846FEF7: wxGenericListCtrl::CreateHeaderWindow() (in /usr/bin/pgadmin3) ==11255== by 0x84700C3: wxGenericListCtrl::Create(wxWindow*, int, wxPoint const&, wxSize const&, long, wxValidator const&, wxString const&) (in /usr/bin/pgadmin3) ==11255== by 0x8242252: frmMain::frmMain(wxString const&, wxPoint const&, wxSize const&) (in /usr/bin/pgadmin3) ==11255== ==11255== Conditional jump or move depends on uninitialised value(s) ==11255== at 0x8444817: gtk_pizza_set_size (in /usr/bin/pgadmin3) ==11255== by 0x844B3B9: wxWindow::DoMoveWindow(int, int, int, int) (in /usr/bin/pgadmin3) ==11255== by 0x844B717: wxWindow::DoSetSize(int, int, int, int, int) (in /usr/bin/pgadmin3) ==11255== by 0x85014CA: wxWindowBase::SetSize(int, int) (in /usr/bin/pgadmin3) ==11255== ==11255== Conditional jump or move depends on uninitialised value(s) ==11255== at 0x846FD27: wxGenericListCtrl::CalculateAndSetHeaderHeight() (in /usr/bin/pgadmin3) ==11255== by 0x846FEF7: wxGenericListCtrl::CreateHeaderWindow() (in /usr/bin/pgadmin3) ==11255== by 0x84700C3: wxGenericListCtrl::Create(wxWindow*, int, wxPoint const&, wxSize const&, long, wxValidator const&, wxString const&) (in /usr/bin/pgadmin3) ==11255== by 0x824230E: frmMain::frmMain(wxString const&, wxPoint const&, wxSize const&) (in /usr/bin/pgadmin3) ==11255== ==11255== Syscall param writev(vector[...]) contains uninitialised or unaddressable byte(s) ==11255== at 0x3C85DF4D: (within /lib/tls/libc-2.3.2.so) ==11255== Address 0x3CC497C9 is 681 bytes inside a block of size 2048 alloc'd ==11255== at 0x3C01FC03: calloc (vg_replace_malloc.c:141) ==11255== by 0x3C8E909C: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2) ==11255== by 0x3C40CED1: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.200.4) ==11255== by 0x3C3EE195: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.200.4) ==11255== ==11255== Syscall param sigaction(act) contains uninitialised or unaddressable byte(s) ==11255== at 0x3C7B2025: __libc_sigaction (in /lib/tls/libc-2.3.2.so) ==11255== Address 0x4FFFC4B4 is on thread 1's stack ==11255== ==11255== Conditional jump or move depends on uninitialised value(s) ==11255== at 0x825EB23: frmQuery::OnChange(wxNotifyEvent&) (in /usr/bin/pgadmin3) ==11255== by 0x8556EB1: wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const (in /usr/bin/pgadmin3) ==11255== by 0x85CEBA0: wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) (in /usr/bin/pgadmin3) ==11255== by 0x85CDD57: wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) (in /usr/bin/pgadmin3) ==11255== ==11255== Conditional jump or move depends on uninitialised value(s) ==11255== at 0x852F9B8: wxClipboard::IsSupported(wxDataFormat const&) (in /usr/bin/pgadmin3) ==11255== by 0x834A919: ScintillaWX::CanPaste() (in /usr/bin/pgadmin3) ==11255== by 0x836A3EA: Editor::WndProc(unsigned, unsigned long, long) (in /usr/bin/pgadmin3) ==11255== by 0x8373FF1: ScintillaBase::WndProc(unsigned, unsigned long, long) (in /usr/bin/pgadmin3) ==11255== ==11255== Conditional jump or move depends on uninitialised value(s) ==11255== at 0x825FBAD: frmQuery::setTools(bool) (in /usr/bin/pgadmin3) ==11255== by 0x825A028: frmQuery::frmQuery(frmMain*, wxString const&, pgConn*, wxPoint const&, wxSize const&, wxString const&) (in /usr/bin/pgadmin3) ==11255== by 0x82270C9: frmMain::OnSql(wxCommandEvent&) (in /usr/bin/pgadmin3) ==11255== by 0x8556EB1: wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const (in /usr/bin/pgadmin3) ==11255== ==11255== Conditional jump or move depends on uninitialised value(s) ==11255== at 0x825FBAD: frmQuery::setTools(bool) (in /usr/bin/pgadmin3) ==11255== by 0x825FDC4: frmQuery::execQuery(wxString const&, int, bool, int) (in /usr/bin/pgadmin3) ==11255== by 0x825F9F2: frmQuery::OnExecute(wxCommandEvent&) (in /usr/bin/pgadmin3) ==11255== by 0x8556EB1: wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const (in /usr/bin/pgadmin3) ==11255== ==11255== Use of uninitialised value of size 4 ==11255== at 0x3C7DA844: vfwprintf (in /lib/tls/libc-2.3.2.so) ==11255== by 0x3C7EF4DB: vswprintf (in /lib/tls/libc-2.3.2.so) ==11255== ==11255== Conditional jump or move depends on uninitialised value(s) ==11255== at 0x3C7DA84D: vfwprintf (in /lib/tls/libc-2.3.2.so) ==11255== by 0x3C7EF4DB: vswprintf (in /lib/tls/libc-2.3.2.so) ==11255== ==11255== Conditional jump or move depends on uninitialised value(s) ==11255== at 0x3C7DA201: vfwprintf (in /lib/tls/libc-2.3.2.so) ==11255== by 0x3C7EF4DB: vswprintf (in /lib/tls/libc-2.3.2.so) ==11255== ==11255== Conditional jump or move depends on uninitialised value(s) ==11255== at 0x3C7DA26C: vfwprintf (in /lib/tls/libc-2.3.2.so) ==11255== by 0x3C7EF4DB: vswprintf (in /lib/tls/libc-2.3.2.so) ==11255== ==11255== Conditional jump or move depends on uninitialised value(s) ==11255== at 0x3C7DA28D: vfwprintf (in /lib/tls/libc-2.3.2.so) ==11255== by 0x3C7EF4DB: vswprintf (in /lib/tls/libc-2.3.2.so) ==11255== ==11255== Conditional jump or move depends on uninitialised value(s) ==11255== at 0x3C7DA2BE: vfwprintf (in /lib/tls/libc-2.3.2.so) ==11255== by 0x3C7EF4DB: vswprintf (in /lib/tls/libc-2.3.2.so) ==11255== ==11255== Conditional jump or move depends on uninitialised value(s) ==11255== at 0x3C7DA2F0: vfwprintf (in /lib/tls/libc-2.3.2.so) ==11255== by 0x3C7EF4DB: vswprintf (in /lib/tls/libc-2.3.2.so) ==11255== warning: Valgrind's pthread_attr_destroy does nothing ==11255== your program may misbehave as a result ==11255== ==11255== Syscall param write(buf) contains uninitialised or unaddressable byte(s) ==11255== at 0x3C856F41: write (in /lib/tls/libc-2.3.2.so) ==11255== by 0x3C916E0F: (within /usr/X11R6/lib/libX11.so.6.2) ==11255== by 0x3C9179FE: _X11TransWrite (in /usr/X11R6/lib/libX11.so.6.2) ==11255== by 0x3C8F7261: (within /usr/X11R6/lib/libX11.so.6.2) ==11255== Address 0x3CC49535 is 21 bytes inside a block of size 2048 alloc'd ==11255== at 0x3C01FC03: calloc (vg_replace_malloc.c:141) ==11255== by 0x3C8E909C: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2) ==11255== by 0x3C40CED1: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.200.4) ==11255== by 0x3C3EE195: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.200.4) ==11255== ==11255== Invalid read of size 4 ==11255== at 0x8501420: wxWindowBase::GetId() const (in /usr/bin/pgadmin3) ==11255== by 0x3C25B863: _gtk_marshal_BOOLEAN__BOXED (in /usr/lib/libgtk-x11-2.0.so.0.200.4) ==11255== by 0x3C4E5A91: g_closure_invoke (in /usr/lib/libgobject-2.0.so.0.200.3) ==11255== by 0x3C4F5DA5: (within /usr/lib/libgobject-2.0.so.0.200.3) ==11255== Address 0x28 is not stack'd, malloc'd or free'd ==11255== ==11255== Process terminating with default action of signal 11 (SIGSEGV): dumping core ==11255== Access not within mapped region at address 0x28 ==11255== at 0x8501420: wxWindowBase::GetId() const (in /usr/bin/pgadmin3) ==11255== by 0x3C25B863: _gtk_marshal_BOOLEAN__BOXED (in /usr/lib/libgtk-x11-2.0.so.0.200.4) ==11255== by 0x3C4E5A91: g_closure_invoke (in /usr/lib/libgobject-2.0.so.0.200.3) ==11255== by 0x3C4F5DA5: (within /usr/lib/libgobject-2.0.so.0.200.3) ==11255== ==11255== ERROR SUMMARY: 1173 errors from 32 contexts (suppressed: 196 from 2) ==11255== malloc/free: in use at exit: 10388123 bytes in 103441 blocks. ==11255== malloc/free: 1633428 allocs, 1529987 frees, 228653377 bytes allocated. ==11255== For a detailed leak analysis, rerun with: --leak-check=yes ==11255== For counts of detected errors, rerun with: -v