Re: [BUGS] BUG #5418: psql exits after using tab-completion with error message

2010-04-15 Thread Ben Madin
Thanks Tom, I also reported it to Apple, but without this information, so I hope they get the sense that it might be important enough to look at, especially if there is already a fix known. I also contacted William Kyngesbury, and he was sympathetic (but had never had the problem himself, but

Re: [BUGS] BUG #5418: psql exits after using tab-completion with error message

2010-04-15 Thread Tom Lane
Ben Madin writes: > I also reported it to Apple, but without this information, so I hope they get > the sense that it might be important enough to look at, especially if there > is already a fix known. Mine is problem ID 7866382, if you'd like to add a note to yours pointing out the duplication

Re: [BUGS] BUG #5418: psql exits after using tab-completion with error message

2010-04-14 Thread Tom Lane
I wrote: > It's fairly easy to reproduce in the regression database: > type "\d ten". I'm not sure what the triggering condition > is exactly, because some seemingly-similar cases don't fail, > for instance "\d test" works as expected, ditto "\d t". It turns out that the problem occurs when there

Re: [BUGS] BUG #5418: psql exits after using tab-completion with error message

2010-04-13 Thread Craig Ringer
On 13/04/10 21:16, Ben Madin wrote: G'day Craig, thanks for your reply. Please disregard my follow-up. I hadn't seen Tom's reply that he was able to reproduce the issue. There's no need for you to collect a backtrace now :-) -- Craig Ringer -- Sent via pgsql-bugs mailing list (pgsql-bugs@p

Re: [BUGS] BUG #5418: psql exits after using tab-completion with error message

2010-04-13 Thread Craig Ringer
On 13/04/10 21:16, Ben Madin wrote: I have checked console, and there are many psql entries - I have attached two as they all appear fairly similar, some numbers changing in this section : Thread 0 crashed with X86 Thread State (64-bit): rax: 0x rbx: 0x0002 rcx

Re: [BUGS] BUG #5418: psql exits after using tab-completion with error message

2010-04-13 Thread Tom Lane
Craig Ringer writes: >> prices=# \d abapsql(11407) malloc: *** error for object 0xe: pointer being >> freed was not allocated >> *** set a breakpoint in malloc_error_break to debug >> Abort trap > This could be a bug in psql, a buggy/damaged readline library, etc. > ... > I don't have access to M

Re: [BUGS] BUG #5418: psql exits after using tab-completion with error message

2010-04-13 Thread Alvaro Herrera
Ben Madin wrote: > Bug reference: 5418 > Logged by: Ben Madin > Email address: b...@ausvet.com.au > PostgreSQL version: 8.4.3 > Operating system: Mac OS X 10.6.3 > Description:psql exits after using tab-completion with error message Lots of problems have been reported

Re: [BUGS] BUG #5418: psql exits after using tab-completion with error message

2010-04-13 Thread Ben Madin
G'day Craig, thanks for your reply. On 13/04/2010, at 20:33 , Craig Ringer wrote: > >> prices=# \d abapsql(11407) malloc: *** error for object 0xe: pointer being >> freed was not allocated >> *** set a breakpoint in malloc_error_break to debug >> Abort trap > > This could be a bug in psql, a bu

Re: [BUGS] BUG #5418: psql exits after using tab-completion with error message

2010-04-13 Thread Craig Ringer
prices=# \d abapsql(11407) malloc: *** error for object 0xe: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug Abort trap This could be a bug in psql, a buggy/damaged readline library, etc. For GUI apps Mac OS X makes a crash record in the system logs.