(gdb) bt #0 0x0000003f3d4eaf97 in semop () from /lib64/libc.so.6 #1 0x000000000067a41f in PGSemaphoreLock (sema=0x7f93290405d8) at pg_sema.c:387 #2 0x00000000006df613 in LWLockAcquire (lock=0x7f92a4dce900, mode=LW_EXCLUSIVE) at lwlock.c:1049 #3 0x00000000004878c6 in ginHeapTupleFastInsert (ginstate=0x7ffd969c88f0, collector=0x7ffd969caeb0) at ginfast.c:250 #4 0x000000000047423a in gininsert (fcinfo=) at gininsert.c:531 #5 0x00000000007e18e3 in FunctionCall6Coll (flinfo=, collation=, arg1=, arg2=, arg3=, arg4=, arg5=140267807601056, arg6=0) at fmgr.c:1436 #6 0x00000000004b4b97 in index_insert (indexRelation=0x7f92a4d8c6b8, values=0x7ffd969cb3d0, isnull=0x7ffd969cb4d0 "", heap_t_ctid=0x2fa58ac, heapRelation=0x7f92a4d871a0, checkUnique=UNIQUE_CHECK_NO) at indexam.c:226 #7 0x00000000005d8db7 in ExecInsertIndexTuples (slot=0x2f18b80, tupleid=0x2fa58ac, estate=0x2d3c0a8, noDupErr=0 '\000', specConflict=0x0, arbiterIndexes=0x0) at execIndexing.c:384 #8 0x00000000005f876d in ExecInsert (node=0x2d3ceb8) at nodeModifyTable.c:458 #9 ExecModifyTable (node=0x2d3ceb8) at nodeModifyTable.c:1430 #10 0x00000000005dd678 in ExecProcNode (node=0x2d3ceb8) at execProcnode.c:396 #11 0x00000000005db3f2 in ExecutePlan (queryDesc=0x2affb98, direction=, count=0) at execMain.c:1566 #12 standard_ExecutorRun (queryDesc=0x2affb98, direction=, count=0) at execMain.c:338 #13 0x00000000006f15ef in ProcessQuery (plan=0x2f00c68, sourceText=0x2ef36a8 "INSERT INTO messages (list, message_id, in_reply_to, refs, sent, subject, author, body_plain, headers, raw_message) VALUES ('pgsql-hackers', '3A931FA9.1D698302@tpf.co.jp', NULL, ARRAY['EKEJJICOHDIEMGP"..., params=0x0, dest=, completionTag=0x7ffd969cb920 "") at pquery.c:185 #14 0x00000000006f184c in PortalRunMulti (portal=0x2a83ed8, isTopLevel=1 '\001', dest=0x2f00d60, altdest=0x2f00d60, completionTag=0x7ffd969cb920 "") at pquery.c:1275 #15 0x00000000006f1f92 in PortalRun (portal=0x2a83ed8, count=9223372036854775807, isTopLevel=1 '\001', dest=0x2f00d60, altdest=0x2f00d60, completionTag=0x7ffd969cb920 "") at pquery.c:812 #16 0x00000000006eebc7 in exec_simple_query ( query_string=0x2ef36a8 "INSERT INTO messages (list, message_id, in_reply_to, refs, sent, subject, author, body_plain, headers, raw_message) VALUES ('pgsql-hackers', '3A931FA9.1D698302@tpf.co.jp', NULL, ARRAY['EKEJJICOHDIEMGP"...) at postgres.c:1105 #17 0x00000000006f0262 in PostgresMain (argc=, argv=, dbname=0x2a6a878 "archie", username=) at postgres.c:4031 #18 0x000000000068d89b in BackendRun (argc=, argv=) at postmaster.c:4235 #19 BackendStartup (argc=, argv=) at postmaster.c:3911 #20 ServerLoop (argc=, argv=) at postmaster.c:1684 #21 PostmasterMain (argc=, argv=) at postmaster.c:1292 #22 0x0000000000616238 in main (argc=3, argv=0x2a69a20) at main.c:223