Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 8EEEA1337B4E for ; Thu, 10 Feb 2011 05:47:53 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 89529-03 for ; Thu, 10 Feb 2011 09:47:47 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.anarazel.de (mail.anarazel.de [217.115.131.40]) by mail.postgresql.org (Postfix) with ESMTP id 024BA133616B for ; Thu, 10 Feb 2011 05:47:45 -0400 (AST) Received: from alap2.localnet (p579FAFBF.dip.t-dialin.net [87.159.175.191]) by mail.anarazel.de (Postfix) with ESMTPSA id 70C2C448004 for ; Thu, 10 Feb 2011 10:47:44 +0100 (CET) From: Andres Freund To: pgsql-bugs@postgresql.org Subject: crash in 9.1's psql:describeOneTableDetails Date: Thu, 10 Feb 2011 10:47:42 +0100 User-Agent: KMail/1.13.6 (Linux/2.6.38-rc4-andres-00025-gd3d373e; KDE/4.6.0; x86_64; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201102101047.43254.andres@anarazel.de> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201102/94 X-Sequence-Number: 29366 Hi, Timing is on. Pager is always used. psql (9.1devel, server 9.0.3) WARNING: psql version 9.1, server version 9.0. Some psql features might not work. Type "help" for help. # \d category column number 2 is out of range 0..1 results in: Program received signal SIGSEGV, Segmentation fault. __strcmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:106 106 ../sysdeps/x86_64/multiarch/../strcmp.S: No such file or directory. in ../sysdeps/x86_64/multiarch/../strcmp.S (gdb) bt #0 __strcmp_ssse3 () at ../sysdeps/x86_64/multiarch/../strcmp.S:106 #1 0x000000000041ec48 in describeOneTableDetails (schemaname=0x1f8ca06 "easyshop", relationname=0x1f8ca0f "category", oid=0x1f8ca00 "48441", verbose=0 '\000') at describe.c:1757 #2 0x000000000041cfac in describeTableDetails (pattern=0x1f8c570 "category", verbose=0 '\000', showSystem=0 '\000') at describe.c:1069 #3 0x0000000000404407 in exec_command (cmd=0x1f82e70 "d", scan_state=0x1f70050, query_buf=0x1f70690) at command.c:369 #4 0x0000000000403be2 in HandleSlashCmds (scan_state=0x1f70050, query_buf=0x1f70690) at command.c:108 #5 0x000000000040d7ce in MainLoop (source=0x7f40888fc7e0) at mainloop.c:301 #6 0x0000000000413085 in main (argc=8, argv=0x7fff05473d08) at startup.c:305 Unfortunately I wont have time to