This is a discussion on BUG #2827 within the pgsql Bugs forums, part of the PostgreSQL category; --> My original "debugging code" was wrong. A minor correction to it seems to find something different: addr_cur->ai_addr is null. ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| My original "debugging code" was wrong. A minor correction to it seems to find something different: addr_cur->ai_addr is null. I presume this is the cause resulting in AV when calling memcpy(). New wine enters function PostgresPollingStatusType PQconnectPoll(PGconn *conn) in file "fe-connect.c": case CONNECTION_NEEDED: while (conn->addr_cur != NULL) { struct addrinfo *addr_cur = conn->addr_cur; if(addr_cur->ai_addr == NULL){ fopen("c:\\log.txt","a+"); fputs("addr_cur->ai_addr",f); //this does print! fclose(f); } Regards, CN -- http://www.fastmail.fm - Access all of your messages and folders wherever you are ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings |
| Thread Tools | |
| Display Modes | |
|
|