Re: Exited with status 139

Поиск
Список
Период
Сортировка
От Kristofer Munn
Тема Re: Exited with status 139
Дата
Msg-id Pine.LNX.4.10.10010060135140.16927-100000@munn.com
обсуждение исходный текст
Ответ на Re: Exited with status 139  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Exited with status 139  (Alfred Perlstein <bright@wintelcom.net>)
Список pgsql-hackers
On Fri, 6 Oct 2000, Tom Lane wrote:

> SIGSEGV, ie, bad pointer dereference.  There should be a core dump
> file --- can you provide a stack backtrace from it?

I can try:

# gdb bin/postgres core
GNU gdb 4.17.0.11 with Linux support
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux"...

warning: core file may not match specified executable file.
Core was generated by `/db/pgsql/bin/postgres localhost f'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libcrypt.so.1...done.
Reading symbols from /lib/libnsl.so.1...done.
Reading symbols from /lib/libdl.so.2...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libutil.so.1...done.
Reading symbols from /usr/lib/libreadline.so.3...done.
Reading symbols from /lib/libtermcap.so.2...done.
Reading symbols from /usr/lib/libncurses.so.4...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
#0  0x4013d223 in strncpy (s1=0x8975d60 "", s2=0x402c2d68 "",
n=4294967293)   at ../sysdeps/generic/strncpy.c:82
../sysdeps/generic/strncpy.c:82: No such file or directory.
(gdb) bt
#0  0x4013d223 in strncpy (s1=0x8975d60 "", s2=0x402c2d68 "",
n=4294967293)   at ../sysdeps/generic/strncpy.c:82
#1  0x8110fe5 in varcharout ()
#2  0x808b208 in CopyTo ()
#3  0x808ae4f in DoCopy ()
#4  0x80ec6a8 in ProcessUtility ()
#5  0x80eac88 in pg_exec_query_dest ()
#6  0x80eabe7 in pg_exec_query ()
#7  0x80ebad2 in PostgresMain ()
#8  0x80d61c2 in DoBackend ()
#9  0x80d5da1 in BackendStartup ()
#10 0x80d515a in ServerLoop ()
#11 0x80d4be4 in PostmasterMain ()
#12 0x80ab716 in main ()
#13 0x400f7cb3 in __libc_start_main (main=0x80ab6b0 <main>, argc=5,   argv=0xbffffd14, init=0x8064018 <_init>,
fini=0x812925c<_fini>,   rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffd0c)   at
../sysdeps/generic/libc-start.c:78
(gdb)

Did I do that right?

- K

Kristofer Munn * KMI * 732-254-9305 * AIM KrMunn * http://www.munn.com/



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Exited with status 139
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Bug