X-Original-To: pgsql-interfaces@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 64140475AE4 for ; Thu, 24 Apr 2003 22:40:51 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id BB711475458 for ; Thu, 24 Apr 2003 22:40:50 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h3P2eqU6004874; Thu, 24 Apr 2003 22:40:52 -0400 (EDT) To: Fabian Peters Cc: pgsql-interfaces@postgresql.org Subject: Re: PL/Tcl: internal error - cannot create 'normal' interpreter In-reply-to: References: Comments: In-reply-to Fabian Peters message dated "Thu, 24 Apr 2003 14:34:36 +0200" Date: Thu, 24 Apr 2003 22:40:52 -0400 Message-ID: <4873.1051238452@sss.pgh.pa.us> From: Tom Lane X-Spam-Status: No, hits=-32.5 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/164 X-Sequence-Number: 4103 Fabian Peters writes: >> ERROR: pltcl: internal error - cannot create 'normal' interpreter > Any ideas as to what might be the problem or how to get some more detailed > info greatly appreciated... Apparently Tcl_CreateSlave() is failing. Although it doesn't say so on its man page, it seems likely to me that the parent interpreter's result would be set to a possibly-useful error message. You might try adding code to pltcl.c to add the "hold" interpreter's result to this error message. We've heard other reports of strange failures involving Tcl_CreateSlave, but AFAIR the other ones prevented pltcl.so from even getting linked. If you learn anything I'd like to hear about it... regards, tom lane