From: | <tom(at)minnesota(dot)com> |
---|---|
To: | <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | <pgsql-general(at)postgresql(dot)org>, <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Subject: | Re: table schema causes crash |
Date: | 2002-12-20 21:55:33 |
Message-ID: | 2549.63.226.186.156.1040421333.squirrel@www.minnesota.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-12-20 22:11:15 | Re: table schema causes crash |
Previous Message | Tom Lane | 2002-12-20 21:18:30 | Re: table schema causes crash |