Hi,
I am trying to find a double free memory problem in my code. Using
MallocDebug, the application crashes
unexpectly inner PGAPI_Connect.
Has any who else had similar problems ?
I have unixODBC 2.2.11 on a G4 (Mac OS X 10.3.9) and I don't exactly
know how to find out the installed pgODBC driver version.
Any hints.
Thanks, Lothar
Date/Time: 2006-10-29 13:24:14 +0100
OS Version: 10.3.9 (Build 7W98)
Report Version: 2
Command: wxWrapper
Path:
/Users/lothar/develop/Projects/CPP/Test/GUI/wxWrapper/wxWrapper.app/Contents/MacOS/wxWrapper
Version: 2.6.3 (2.6.3)
PID: 3360
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
Thread 0 Crashed:
0 libMallocDebug.A.dylib 0x8dde5ba8 stackEqual + 0x14
1 libMallocDebug.A.dylib 0x8dde5c90 uniqueStack + 0xb4
2 libMallocDebug.A.dylib 0x8dde5e60 getBacktrace + 0x50
3 libMallocDebug.A.dylib 0x8dde5ef0 malloc + 0x7c
4 libodbcinst.1.dylib 0x0614eac0 iniObjectInsert + 0x40
(iniObjectInsert.c:32)
5 libodbcinst.1.dylib 0x0614ef00 iniOpen + 0x1e4
(iniOpen.c:416)
6 libodbcinst.1.dylib 0x0614b304
SQLGetPrivateProfileString + 0x238 (SQLGetPrivateProfileString.c:310)
7 psqlodbc.so 0x071f3f54 getDSNinfo + 0xd0
(dlg_specific.c:469)
8 psqlodbc.so 0x071d8664 PGAPI_Connect + 0xa8
(connection.c:115)
9 psqlodbc.so 0x071f593c SQLConnect + 0x68
(odbcapi.c:184)
10 libiodbc.2.1.6.dylib 0x89445098 SQLConnect + 0x2ac
11 lbDB.so 0x066488e0
lbDatabase::connect(char*, char*, char*) + 0x13f0 (lbDB.cpp:4460)
12 com.apple.lbHookframework 0x0100b514 translateText(char*) +
0xa14 (lbHook.cpp:732)
13 ...apple.wxWrapperDLLframework 0x00616654 lb_wxGUI::createFrame()
+ 0x90
14 org.wxwindows.. 0x00006afc MyApp::OnInit() + 0x162c
(dynamic.cpp:2120)