On 2015-02-16 16:24, Stuart Henderson wrote: > On 2015-02-15, Hugo Osvaldo Barrera <h...@barrera.io> wrote: > > > > Am I mistaken in understanding that this is an issue with postgresql itself, > > and not a local configuration error? > > Correct. > > > I tried building postgres with debug symbols (I added the flags described > > here[1] to the ports Makefile), but the backtrace is still useless: > > Please would you rebuild from the original port like this: > > make clean=all > make DEBUG="-O0 -g" repackage && sudo make reinstall > > and see if this gives a better backtrace. >
Thanks a lot, it did. I was unaware of make DEBUG, and had been editing the Makefile with no success. (gdb) bt #0 0x0000110a2815b92a in kill () at <stdin>:2 #1 0x0000110a28195119 in abort () at /usr/src/lib/libc/stdlib/abort.c:53 #2 0x0000110a2816a238 in memcpy (dst0=0xfb8d4, src0=0x6, length=0) at /usr/src/lib/libc/string/memcpy.c:65 #3 0x000011080cf8d1b1 in check_ip (raddr=0x110a899f7918, addr=0x110a899f9058, mask=0x110a899f9158) at hba.c:704 #4 0x000011080cf90a04 in check_hba (port=0x110a899f7800) at hba.c:1718 #5 0x000011080cf91d34 in hba_getauthmethod (port=0x110a899f7800) at hba.c:2256 #6 0x000011080cf88eb3 in ClientAuthentication (port=0x110a899f7800) at auth.c:307 #7 0x000011080d1edf5d in PerformAuthentication (port=0x110a899f7800) at postinit.c:223 #8 0x000011080d1eeae7 in InitPostgres (in_dbname=0x110af4508c00 "virtstart-dev", dboid=0, username=0x110af4508be0 "virtstart-dev", out_dbname=0x0) at postinit.c:688 #9 0x000011080d0a3eb1 in PostgresMain (argc=1, argv=0x110af4508c20, dbname=0x110af4508c00 "virtstart-dev", username=0x110af4508be0 "virtstart-dev") at postgres.c:3749 #10 0x000011080d033537 in BackendRun (port=Could not find the frame base for "BackendRun". ) at postmaster.c:4155 #11 0x000011080d032be8 in BackendStartup (port=0x110a899f7800) at postmaster.c:3829 #12 0x000011080d02f2d0 in ServerLoop () at postmaster.c:1597 #13 0x000011080d02e968 in PostmasterMain (argc=3, argv=0x7f7ffffd9658) at postmaster.c:1244 #14 0x000011080cf96dc8 in main (argc=Could not find the frame base for "main". ) at main.c:228 Current language: auto; currently asm This doesn't say much to me though. I guess my best shot is to post this at the postgresql list, right? Thanks, -- Hugo Osvaldo Barrera A: Because we read from top to bottom, left to right. Q: Why should I start my reply below the quoted text? [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]