Advertisement
Guest User

Untitled

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