dbTalk Databases Forums  

[BUGS] BUG #2827

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #2827 in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
CN
 
Posts: n/a

Default [BUGS] BUG #2827 - 12-17-2006 , 10:17 PM






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

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.