Re: Weird psql crash

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Weird psql crash
Date: 2005-04-08 04:50:48
Message-ID: 42560DA8.2020604@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>>1. Fire up psql.
>>2. Press Ctrl-4
>>3. Crash, core dump...
>
>
> SIGQUIT is supposed to do that.

Seems to be a libreadline thing:

#0 0x2827fd60 in sigprocmask () from /usr/lib/libc.so.4
#1 0x281f5adb in _rl_savestring () from /usr/lib/libreadline.so.4
#2 0xbfbfffac in ?? ()
#3 0x281f2254 in rl_read_key () from /usr/lib/libreadline.so.4
#4 0x28202e20 in readline_internal_char () from /usr/lib/libreadline.so.4
#5 0x28202f79 in readline_internal_char () from /usr/lib/libreadline.so.4
#6 0x28202fa9 in readline_internal_char () from /usr/lib/libreadline.so.4
#7 0x28202b70 in readline () from /usr/lib/libreadline.so.4
#8 0x804ee9c in gets_interactive (prompt=0x8074a00 "test=# ") at input.c:95
#9 0x804f702 in MainLoop (source=0x282ce0c0) at mainloop.c:153
#10 0x8051310 in main (argc=2, argv=0xbfbffc04) at startup.c:314

Chris

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-04-08 04:54:04 Re: 8.0.2 bundled ...
Previous Message Tom Lane 2005-04-08 04:44:06 Re: Weird psql crash