Program crash on Mac
От | Adam H. Pendleton |
---|---|
Тема | Program crash on Mac |
Дата | |
Msg-id | 3ECA6D10.1080508@fmonkey.net обсуждение исходный текст |
Список | pgadmin-hackers |
I was sure that I sent this to the list, but maybe it got lost in all the list confusion. On the Mac, when adding a new server, I click the button or select the menu item, the add new server dialog appears. No matter what I enter, and it doesn't matter if I click Cancel or OK, I get a segfault with this error: *** malloc [23866]: Deallocation of a pointer not malloced: 0xbffff0c0; 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 Having changed all the wxLogInfo() calls to wxLogDebug() in the relevant areas of the program (so they would actually print out, since settings don't seem the be saved on the Mac), this is the last thing printed before the error: 13:52:59 Debug: Destroying a connect dialog This piece of output is located in the frmConnect destructor, all by itself. So I can only assume that the offending code is either after the destructor is called, or perhaps is located in the parent object of frmConnect. Wherever it is, my head hurts from debugging, and besides, I have real work to do (meaning work that pays the bills -- no more real than that :-). Maybe someone else can take a look at this. If not, I will start looking at it again tomorrow. ahp
В списке pgadmin-hackers по дате отправления: