ERRORDATA_STACK_SIZE exceeded

From: Stefan Sassenberg <stefan(dot)sassenberg(at)gmx(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: ERRORDATA_STACK_SIZE exceeded
Date: 2006-10-17 11:12:00
Message-ID: 4534BA80.6000606@gmx.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I've got a failing sql-Script that I execute with the psql command. The
Script contains:

----------------------------8<-----------------------------
SET CLIENT_ENCODING = 'LATIN1';

(Some other statements)

CREATE TABLE "public"."init_camera_type" (
"id_camera_type" SMALLINT NOT NULL,
"name" VARCHAR(75) NOT NULL,
"is_video_camera" BOOLEAN DEFAULT false NOT NULL,
"description" VARCHAR(75),
PRIMARY KEY("id_camera_type")
) WITH OIDS;
----------------------------8<-----------------------------

where it bails out. The console output is:
----------------------------8<-----------------------------
PANIK: ERRORDATA_STACK_SIZE exceeded
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
----------------------------8<-----------------------------

The postgresql.log writes:
----------------------------8<-----------------------------
2006-10-17 13:04:03 CEST FEHLER: 22021: ungültige Byte-Sequenz für
Kodierung »UTF8«: 0xbb
2006-10-17 13:04:03 CEST ORT: report_invalid_encoding, wchar.c:1328
2006-10-17 13:04:03 CEST ANWEISUNG: CREATE TABLE
"public"."init_camera_type" (
"id_camera_type" SMALLINT NOT NULL,
"name" VARCHAR(75) NOT NULL,
"is_video_camera" BOOLEAN DEFAULT false NOT NULL,
"description" VARCHAR(75),
PRIMARY KEY("id_camera_type")
) WITH OIDS;
2006-10-17 13:04:03 CEST FEHLER: 22021: ungültige Byte-Sequenz für
Kodierung »UTF8«: 0xfc6c74696765
2006-10-17 13:04:03 CEST ORT: report_invalid_encoding, wchar.c:1328
2006-10-17 13:04:03 CEST ANWEISUNG: CREATE TABLE
"public"."init_camera_type" (
"id_camera_type" SMALLINT NOT NULL,
"name" VARCHAR(75) NOT NULL,
"is_video_camera" BOOLEAN DEFAULT false NOT NULL,
"description" VARCHAR(75),
PRIMARY KEY("id_camera_type")
) WITH OIDS;
2006-10-17 13:04:03 CEST FEHLER: 22021: ungültige Byte-Sequenz für
Kodierung »UTF8«: 0xfc6c74696765
2006-10-17 13:04:03 CEST ORT: report_invalid_encoding, wchar.c:1328
2006-10-17 13:04:03 CEST ANWEISUNG: CREATE TABLE
"public"."init_camera_type" (
"id_camera_type" SMALLINT NOT NULL,
"name" VARCHAR(75) NOT NULL,
"is_video_camera" BOOLEAN DEFAULT false NOT NULL,
"description" VARCHAR(75),
PRIMARY KEY("id_camera_type")
) WITH OIDS;
2006-10-17 13:04:03 CEST FEHLER: 22021: ungültige Byte-Sequenz für
Kodierung »UTF8«: 0xfc6c74696765
2006-10-17 13:04:03 CEST ORT: report_invalid_encoding, wchar.c:1328
2006-10-17 13:04:03 CEST ANWEISUNG: CREATE TABLE
"public"."init_camera_type" (
"id_camera_type" SMALLINT NOT NULL,
"name" VARCHAR(75) NOT NULL,
"is_video_camera" BOOLEAN DEFAULT false NOT NULL,
"description" VARCHAR(75),
PRIMARY KEY("id_camera_type")
) WITH OIDS;
2006-10-17 13:04:03 CEST PANIK: XX000: ERRORDATA_STACK_SIZE exceeded
2006-10-17 13:04:03 CEST ORT: errstart, elog.c:274
2006-10-17 13:04:03 CEST ANWEISUNG: CREATE TABLE
"public"."init_camera_type" (
"id_camera_type" SMALLINT NOT NULL,
"name" VARCHAR(75) NOT NULL,
"is_video_camera" BOOLEAN DEFAULT false NOT NULL,
"description" VARCHAR(75),
PRIMARY KEY("id_camera_type")
) WITH OIDS;
2006-10-17 13:04:03 CEST DEBUG: 00000: reaping dead processes
2006-10-17 13:04:03 CEST ORT: reaper, postmaster.c:2021
2006-10-17 13:04:03 CEST DEBUG: 00000: Serverprozess (PID 32435) wurde
von Signal 6 beendet
2006-10-17 13:04:03 CEST ORT: LogChildExit, postmaster.c:2428
----------------------------8<-----------------------------

I don't think there are invalid byte sequences in my script. In fact
there is no occurrence of 0xbb anywhere in the script.

The database that script is applied to is UTF8 encoded.
The postgresql version is 8.1.4.
My system is Linux pc01 2.6.17-gentoo-r8 #2 SMP Mon Oct 16 11:23:12 CEST
2006 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz GNU/Linux

Is there someone who can explain what's going on here?

Regards

Stefan

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Markus Schiltknecht 2006-10-17 11:24:59 Re: ERRORDATA_STACK_SIZE exceeded
Previous Message Obe, Regina 2006-10-17 10:54:55 Re: [NOVICE] How to split a table?