Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Program received signal SIGSEGV, Segmentation fault.
- 0x0000000000475cdf in dataPlaceToPage (btree=0x23bbb50, buf=2902, off=39, prdata=0x7fff7f942408) at gindatapage.c:780
- 780 addInfo = datumCopy(addInfo, attr->attbyval, attr->attlen);
- (gdb) bt
- #0 0x0000000000475cdf in dataPlaceToPage (btree=0x23bbb50, buf=2902, off=39, prdata=0x7fff7f942408) at gindatapage.c:780
- #1 0x0000000000478b5b in ginInsertValue (btree=0x23bbb50, stack=0x23b4268, buildStats=0x0) at ginbtree.c:301
- #2 0x0000000000478144 in ginInsertItemPointers (ginstate=0x7fff7f942a30, attnum=1, gdi=0x23bbb50, items=0x23b48d0, addInfo=0x23b50e0, addInfoIsNull=0x23b60f0 '\001' <repeats 200 times>..., nitem=273,
- buildStats=0x0) at gindatapage.c:1411
- #3 0x000000000046dd47 in addItemPointersToLeafTuple (ginstate=0x7fff7f942a30, old=0x7f10e0c82f18, items=0x23b48d0, addInfo=0x23b50e0, addInfoIsNull=0x23b60f0 '\001' <repeats 200 times>..., nitem=273,
- buildStats=0x0) at gininsert.c:336
- #4 0x000000000046e362 in ginEntryInsert (ginstate=0x7fff7f942a30, attnum=1, key=34027080, category=0 '\000', items=0x23b48d0, addInfo=0x23b50e0, addInfoIsNull=0x23b60f0 '\001' <repeats 200 times>..., nitem=273,
- buildStats=0x0) at gininsert.c:505
- #5 0x0000000000482b2b in ginInsertCleanup (ginstate=0x7fff7f942a30, vac_delay=0 '\000', stats=0x0) at ginfast.c:965
- #6 0x00000000004812b0 in ginHeapTupleFastInsert (ginstate=0x7fff7f942a30, collector=0x7fff7f942a10) at ginfast.c:443
- #7 0x000000000046f158 in gininsert (fcinfo=0x7fff7f9451f0) at gininsert.c:854
- #8 0x0000000000827c42 in FunctionCall6Coll (flinfo=0x1e297a0, collation=0, arg1=139711552759192, arg2=140735333815936, arg3=140735333815904, arg4=31779268, arg5=139711552772624, arg6=0) at fmgr.c:1480
- #9 0x00000000004aa400 in index_insert (indexRelation=0x7f1121792598, values=0x7fff7f945680, isnull=0x7fff7f945660 "", heap_t_ctid=0x1e4e9c4, heapRelation=0x7f1121795a10, checkUnique=UNIQUE_CHECK_NO)
- at indexam.c:216
- #10 0x00000000005ffde4 in ExecInsertIndexTuples (slot=0x1d27450, tupleid=0x1e4e9c4, estate=0x1ed6ba0) at execUtils.c:1087
- #11 0x0000000000612590 in ExecInsert (slot=0x1d27450, planSlot=0x1ed8790, estate=0x1ed6ba0, canSetTag=1 '\001') at nodeModifyTable.c:249
- #12 0x0000000000613583 in ExecModifyTable (node=0x1ed7890) at nodeModifyTable.c:906
- #13 0x00000000005f2c71 in ExecProcNode (node=0x1ed7890) at execProcnode.c:376
- #14 0x00000000005f0f1b in ExecutePlan (estate=0x1ed6ba0, planstate=0x1ed7890, operation=CMD_INSERT, sendTuples=0 '\000', numberTuples=0, direction=ForwardScanDirection, dest=0x1dbc430) at execMain.c:1394
- #15 0x00000000005ef692 in standard_ExecutorRun (queryDesc=0x1d39e80, direction=ForwardScanDirection, count=0) at execMain.c:302
- #16 0x00000000005ef583 in ExecutorRun (queryDesc=0x1d39e80, direction=ForwardScanDirection, count=0) at execMain.c:250
- #17 0x0000000000719742 in ProcessQuery (plan=0x1dbc350,
- sourceText=0x1e5a850 "INSERT INTO messages (list, message_id, in_reply_to, refs, sent, subject, author, body_plain, headers, raw_message) VALUES ('pgsql-hackers', NULL, NULL, NULL, 'Jan 6 14:52:29 1998', 'Re: [HACKERS] Do"..., params=0x0, dest=0x1dbc430, completionTag=0x7fff7f945cd0 "") at pquery.c:185
- #18 0x000000000071aeb9 in PortalRunMulti (portal=0x1c570e0, isTopLevel=1 '\001', dest=0x1dbc430, altdest=0x1dbc430, completionTag=0x7fff7f945cd0 "") at pquery.c:1278
- #19 0x000000000071a4f2 in PortalRun (portal=0x1c570e0, count=9223372036854775807, isTopLevel=1 '\001', dest=0x1dbc430, altdest=0x1dbc430, completionTag=0x7fff7f945cd0 "") at pquery.c:814
- #20 0x00000000007147e7 in exec_simple_query (
- query_string=0x1e5a850 "INSERT INTO messages (list, message_id, in_reply_to, refs, sent, subject, author, body_plain, headers, raw_message) VALUES ('pgsql-hackers', NULL, NULL, NULL, 'Jan 6 14:52:29 1998', 'Re: [HACKERS] Do"...) at postgres.c:1048
- #21 0x0000000000718810 in PostgresMain (argc=2, argv=0x1c35b50, username=0x1c35b20 "tomas") at postgres.c:3966
- #22 0x00000000006c6236 in BackendRun (port=0x1c52020) at postmaster.c:3665
- #23 0x00000000006c59e9 in BackendStartup (port=0x1c52020) at postmaster.c:3349
- #24 0x00000000006c291b in ServerLoop () at postmaster.c:1431
- #25 0x00000000006c22f3 in PostmasterMain (argc=3, argv=0x1c33a10) at postmaster.c:1180
- #26 0x0000000000633acb in main (argc=3, argv=0x1c33a10) at main.c:197
- (gdb) print addInfo
- $1 = 0
- (gdb) print attr
- $2 = (Form_pg_attribute) 0x0
- (gdb) print attr->attbyval
- Cannot access memory at address 0x5c
- (gdb) print attr->attlen
- Cannot access memory at address 0x4c
- (gdb) print *attr
- Cannot access memory at address 0x0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement