(gdb) bt
#0 strlen () at ../sysdeps/x86_64/strlen.S:48
#1 0x0000000000000000 in ?? ()
(gdb)
#0 strlen () at ../sysdeps/x86_64/strlen.S:48
#1 0x0000000000000000 in ?? ()
(gdb)
Thanks,
Bala
On Sat, Nov 27, 2010 at 4:25 PM, Craig Ringer
<craig@postnewspapers.com.au>wrote:
> On 11/27/2010 05:45 PM, Balamurugan Mahendran wrote:
>
>> YES, Its on Amazon EC2 (our production DB running postgres 8.3 version
>> for more than 3yrs). And its a clean folder.
>>
>
> OK, thanks.
>
>
> Core was generated by `postgres: postgres acti [local] COPY '.
>> Program terminated with signal 11, Segmentation fault.
>> [New process 16223]
>> #0 strlen () at ../sysdeps/x86_64/strlen.S:48
>> 48 ../sysdeps/x86_64/strlen.S: Permission denied.
>> in ../sysdeps/x86_64/strlen.S
>> (gdb)
>>
>
> Here, you need to type:
>
> bt
>
> and press enter. That requests the backtrace that shows the function calls
> leading up to the crash. Without that all we know is that it crashed in
> strlen(), which isn't very useful since it was probably a null pointer
> dereference caused by an argument passed to it from elsewhere.
>
> --
> Craig Ringer
>