Re: signal 11 on AIX: 7.4.2
От | Jan Wieck |
---|---|
Тема | Re: signal 11 on AIX: 7.4.2 |
Дата | |
Msg-id | 408409EB.7070901@Yahoo.com обсуждение исходный текст |
Ответ на | Re: signal 11 on AIX: 7.4.2 (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: signal 11 on AIX: 7.4.2
|
Список | pgsql-hackers |
Tom Lane wrote: > Andrew Sullivan <ajs@crankycanuck.ca> writes: >> On Thu, Apr 15, 2004 at 07:52:59PM -0400, Tom Lane wrote: >>> I can see from your trace that you are using the getaddrinfo code from >>> libc, but where is configure finding a header that declares struct >>> addrinfo? > >> Hrm, I can't seem to tell. I see this in config.log, but it isn't >> telling me where it found it. Am I looking in the wrong place? > > What you'd need to do is determine which system headers are being > #include'd by that config test, and then look through them to find > struct addrinfo. judging by gdb's structure printing, the crashed postgres instance used the non-43 compatible 64-bit version of the strucure. What I don't really get is that the whole excercise seems to have scribbled over the stack. The hints pointer originating from the on-stack structure in parse_hba is somehow pointing into the blue. Jan > > A shortcut is just to grep through /usr/include and its subdirectories > for addrinfo. If you only find one definition, then you don't really > need to worry too much. But if there's more than one you need to > determine which is getting used. > > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster -- #======================================================================# # It's easier to get forgiveness for being wrong than for being right. # # Let's break this rule - forgive me. # #================================================== JanWieck@Yahoo.com #
В списке pgsql-hackers по дате отправления: