Re: table schema causes crash

Поиск
Список
Период
Сортировка
От
Тема Re: table schema causes crash
Дата
Msg-id 2549.63.226.186.156.1040421333.squirrel@www.minnesota.com
обсуждение исходный текст
Ответ на Re: table schema causes crash  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: table schema causes crash  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
[...]
> Hmm.  Evidently a null (or invalid) pointer is getting passed to
> strlen(), but it's hard to say more without a symbolic backtrace
> --- for which you'll need to recompile psql with debug symbols.
[...]

I recompiled psql with debug.

---
Program received signal SIGSEGV, Segmentation fault.
0x160275d84 in strlen () from /usr/lib/libc.so.12
(gdb) bt
#0  0x160275d84 in strlen () from /usr/lib/libc.so.12
#1  0x120010a10 in print_aligned_text (
    title=0x120036580 "Table \"imap_passwd\"", headers=0x1fffff510,
    cells=0x120036100, footers=0x12003a460, opt_align=0x120020d16 "llll",
    opt_barebones=0 '\000', opt_border=1, fout=0x160293568) at print.c:280
#2  0x120012ea8 in printTable (title=0x120036580 "Table \"imap_passwd\"",
    headers=0x1fffff510, cells=0x120036100, footers=0x12003a460,
    align=0x120020d16 "llll", opt=0x1fffff4e8, fout=0x160293568)
    at print.c:1123
#3  0x120015a94 in describeTableDetails (name=0x120020cc4 "Primary key",
    desc=0 '\000') at describe.c:914
#4  0x1200041f0 in exec_command (cmd=0x12003a430 "d",
    options_string=0x12003a432 "imap_passwd", continue_parse=0x1fffff6e0,
    query_buf=0x1200389e0) at command.c:347
#5  0x120003a50 in HandleSlashCmds (line=0x12003a3b1 "d imap_passwd",
    query_buf=0x1200389e0, end_of_cmd=0x1fffff750) at command.c:135
#6  0x12000bb8c in MainLoop (source=0x1602934d0) at mainloop.c:467
#7  0x12000d974 in main (argc=1613313248, argv=0x12001ea33) at startup.c:305
(gdb)



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: table schema causes crash
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: table schema causes crash