Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 72CA71337B34 for ; Wed, 16 Feb 2011 17:53:10 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 29447-02 for ; Wed, 16 Feb 2011 21:53:10 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id C1BEE133616B for ; Wed, 16 Feb 2011 17:53:09 -0400 (AST) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p1GLr9Fo068760 for ; Wed, 16 Feb 2011 21:53:09 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p1GLr9hB068759; Wed, 16 Feb 2011 21:53:09 GMT (envelope-from www) Date: Wed, 16 Feb 2011 21:53:09 GMT Message-Id: <201102162153.p1GLr9hB068759@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #5890: malloc error From: "Emmanuel" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201102/144 X-Sequence-Number: 29416 The following bug has been logged online: Bug reference: 5890 Logged by: Emmanuel Email address: tuco@pasteur.fr PostgreSQL version: 8.4.1 Operating system: Mac OSX 10.6.6 Description: malloc error Details: When I type a select query and then push the 'tab' key for table name completion (without) schema name, if there more than one table starting with the same prefix, I get this error: legiobiblio=# select pmid from pub psql(41402) malloc: *** error for object 0x4: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug Abort trap I have more than one table starting with 'pub...' - publications - pub_genes - pub_org - pub_auths However if I precise the schema name like 'public.pub..' and press 'tab' key, then I get list of table matching the beginning of my table name: legiobiblio=# select pmid from public.pub public.pub_auths public.pub_genes public.pub_org public.publications legiobiblio=# select pmid from public.pub hope my message is clear enough. Cheers