Adam H.Pendleton wrote:
> When trying to add a new server, I get this crash:
> (gdb) c
> *** malloc: Deallocation of a pointer not malloced: 0xbfffea10;
> This could be a double free(), or free() called with the middle of an
> allocated block; Try setting environment variable MallocHelp to see
> tools to help debug
> Program received signal EXC_BAD_ACCESS, Could not access memory.
> 0x00076914 in frmConnect::GetDescription() (this=0xbfffea10) at
> 145 return txtDescription->GetValue();
> And the backtrace:
> (gdb) bt
> #0 0x00076914 in frmConnect::GetDescription() (this=0xbfffea10) at
> #1 0x0003db88 in pgServer::Connect(wxFrame*, bool) (this=0xf44a1b0,
> form=0xb853600, lockFields=false) at schema/pgServer.cpp:108
Hm, seems the txtDescription isn't valid; why? When reviewing the code
in frmConnect, I wonder about those Destroy() in OnOk() and OnCancel();
looks dubious. I'll check this later.
> Also, attached is the way the add server dialog looks on the Mac.
> There seems to be some kind of size issue.
This is probably our well-known font inheritance problem. Pplease verify
this by adding SetFont(parent->GetFont()) in src/mac/control.cpp line
397 (after SetSize....)
In response to
pgadmin-hackers by date
|Next:||From: cvs||Date: 2004-03-19 19:18:47|
|Subject: CVS Commit by andreas: Fix duplicate Destroy() on Connect Server (is |
|Previous:||From: cvs||Date: 2004-03-19 18:12:33|
|Subject: CVS Commit by andreas: catch 2.5.1 assert|