Received: from moon.mteege.de (ppps-nb01.MVnet.de [194.25.108.145]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f257D8x42753 for ; Mon, 5 Mar 2001 02:13:08 -0500 (EST) (envelope-from matthias@mteege.de) Received: (from matthias@localhost) by moon.mteege.de (8.8.8/8.8.8) id HAA04809; Mon, 5 Mar 2001 07:52:55 +0100 (MET) (envelope-from matthias@mteege.de) X-Authentication-Warning: moon.mteege.de: matthias set sender to matthias@mteege.de using -f To: Tom Lane Cc: pgsql-interfaces@postgresql.org Subject: Re: pg_connect dumps core References: <200103041334.OAA01945@moon.mteege.de> <9431.983723500@sss.pgh.pa.us> Content-Type: text/plain; charset=iso-8859-1 From: Matthias Teege Date: 05 Mar 2001 07:52:55 +0100 In-Reply-To: Tom Lane's message of "Sun, 04 Mar 2001 11:31:40 -0500" Message-ID: <87pufwso54.fsf@moon.mteege.de> Lines: 42 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 MIME-Version: 1.0 X-Archive-Number: 200103/41 X-Sequence-Number: 1202 Tom Lane writes: > Strange. Evidently it's getting as far as opening the connection > (pq_recvbuf is used in the backend, not the postmaster), but then > crashing after that. I can't see any reason why it would work for > pgaccess but not for you. (I notice that pgaccess uses the conninfo > style of arguments to pg_connect, but that shouldn't make a > difference...) Hmm, I tested this one but without success. > Can you provide a stack backtrace from the core file? This one? (gdb) bt #0 0x281ca5d9 in Tcl_GetEncodingName () from /usr/local/lib/libtcl83.so #1 0x281daee4 in Tcl_CreateChannel () from /usr/local/lib/libtcl83.so #2 0x281843dd in PgSetConnectionId () from /usr/local/pgsql/lib/libpgtcl.so #3 0x28182549 in Pg_connect () from /usr/local/pgsql/lib/libpgtcl.so #4 0x805efa0 in TclInvokeStringCommand () #5 0x8079fbb in TclExecuteByteCode () #6 0x805f9f3 in Tcl_EvalObjEx () #7 0x8083a85 in Tcl_RecordAndEvalObj () #8 0x808395f in Tcl_RecordAndEval () #9 0x804b485 in StdinProc () #10 0x808a493 in Tcl_NotifyChannel () #11 0x805daf7 in FileHandlerEventProc () #12 0x804bb36 in Tcl_ServiceEvent () #13 0x804be15 in Tcl_DoOneEvent () #14 0x804b731 in Tcl_MainLoop () #15 0x804b364 in Tcl_Main () #16 0x804af5f in main () #17 0x804aea9 in _start () Many thanks Matthias -- Matthias Teege -- matthias@mteege.de -- http://emugs.de make world not war PGP-Key auf Anfrage