Skip to content

Instantly share code, notes, and snippets.

@sodre
Created April 4, 2016 03:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sodre/1ac233ff6c70f2217c574aee072ed6d4 to your computer and use it in GitHub Desktop.
Save sodre/1ac233ff6c70f2217c574aee072ed6d4 to your computer and use it in GitHub Desktop.
GTM and Coordinator crash during make check.
[postgres@pgxl-dev ~/cores/archive]$ mdb -e '::stack' core.gtm.31850
libc.so.1`strlen+0xb(840f1a8, fe6127c8, fe612720, 0, 400, 83fa968)
libc.so.1`vsnprintf+0x78(840f5b0, 3ff, 840f1a8, fe6127c8)
appendStringInfoVA+0x47(fe612790, 840f1a8, fe6127c8, 8087120)
elog_finish+0x12c(f, 8086f34, bc913569, 1d296, e06239f0, 1d296)
GTM_HandleGlobalXmin+0x5f2(4, fe61388f, 5a21, fe613878, fe613ce4, 8415950)
ProcessReportXminCommand+0x93(840af28, fe613ce4, 0, 0)
GTM_ThreadMain+0xeb0(83fa058, 83fa058, 8, fef126c0, 0, fe613fc8)
GTM_ThreadMainWrapper+0x48(83fa058, 0, 0, 0)
libc.so.1`_thrp_setup+0x88(fec53240)
libc.so.1`_lwp_start(fec53240, 0, 0, 0, 0, 0)
libc.so.1`_lwp_kill+0x15(1, 6, 1a9, fe9ee000, fe9ee000, 16)
libc.so.1`raise+0x2b(6, 0, 8044120, fe9ee000, 0, 0)
libc.so.1`abort+0x10e(865bea0, 0, 8044198, 844cdbf, 8697820, 1d)
errfinish+0x259(0, 8044221, 80441e0, fe911701, 8880cf2, 80441e0)
0x8450c0a(84b008c, 69, 84b040b)
InitGTM+0x254(86dd6c8, 86f13c8, 1, 804435b, 0, 0)
GetSnapshotGTM+0xf(0, 1, 8044398, 833f1ed)
GetSnapshotDataFromGTM+0xa7(862c940, 87b6880, 8044408, 833f7b3)
GetSnapshotData+0x276(862c940, 1, 8044498, 843d227, b8, 8044450)
GetNonHistoricCatalogSnapshot+0x1e(4eb, 1, 14, 0)
ScanPgRelation+0x5f(2337, 1, 0, 834733d)
RelationBuildDesc+0x21(2337, 1, 0, 0)
RelationIdGetRelation+0x87(2337, 1, 4000, 112)
relation_open+0x18(2337, 1, 8044618, 0, 87009f0, 0)
heap_open+0x12(2337, 1, 8044630, 0, d3, 8044636)
SearchCatCache+0x1f4(87008e8, 4000, 0, 0, 0, 85f3fbe)
get_pgxc_nodename+0x19(4000, 0, 80447d8, 813dfe2, b, 86da820)
GetNewTransactionId+0x3b2(0, 804481f, 8044820, 825e5c1)
AssignTransactionId+0x9e(862d540, 85acb54, caa, 85ad15e, 0, 0)
GetCurrentTransactionId+0x31(0, 86f7c68, 80de8cc, 862c940, 4eb, 1)
GetSnapshotDataFromGTM+0xdb(862c940, 87b6880, 8044b08, 833f7b3)
GetSnapshotData+0x276(862c940, 1, 8044b98, 843d227, b8, 8044b50)
GetNonHistoricCatalogSnapshot+0x1e(4eb, 1, 14, 0)
ScanPgRelation+0x5f(2337, 1, 0, 834733d)
RelationBuildDesc+0x21(2337, 1, 0, 0)
RelationIdGetRelation+0x87(2337, 1, 4000, fe8e60f9)
relation_open+0x18(2337, 1, 8044d18, 0, 87009f0, 0)
heap_open+0x12(2337, 1, 8044d30, 0, d3, 8044d36)
SearchCatCache+0x1f4(87008e8, 4000, 0, 0, 0, 85f3fbe)
get_pgxc_nodename+0x19(4000, 0, 8044ed8, 813dfe2, b, 86da820)
GetNewTransactionId+0x3b2(0, 8044f1f, 8044f20, 825e5c1)
AssignTransactionId+0x9e(862d540, 85acb54, caa, 85ad15e, 0, 0)
GetCurrentTransactionId+0x31(0, 86f7c68, 80de8cc, 862c940, 4eb, 1)
GetSnapshotDataFromGTM+0xdb(862c940, 87b6880, 8045208, 833f7b3)
GetSnapshotData+0x276(862c940, 1, 8045298, 843d227, b8, 8045250)
GetNonHistoricCatalogSnapshot+0x1e(4eb, 1, 14, 0)
ScanPgRelation+0x5f(2337, 1, 0, 834733d)
RelationBuildDesc+0x21(2337, 1, 0, 0)
RelationIdGetRelation+0x87(2337, 1, 4000, fe9ee000)
relation_open+0x18(2337, 1, 8045418, 0, 87009f0, 0)
heap_open+0x12(2337, 1, 8045430, 0, d3, 8045436)
SearchCatCache+0x1f4(87008e8, 4000, 0, 0, 0, 85f3fbe)
get_pgxc_nodename+0x19(4000, 0, 80455d8, 813dfe2, b, 86da820)
GetNewTransactionId+0x3b2(0, 804561f, 8045620, 825e5c1)
AssignTransactionId+0x9e(862d540, 85acb54, caa, 85ad15e, 0, 0)
GetCurrentTransactionId+0x31(0, 86f7c68, 80de8cc, 862c940, 4eb, 1)
GetSnapshotDataFromGTM+0xdb(862c940, 87b6880, 8045908, 833f7b3)
GetSnapshotData+0x276(862c940, 1, 8045998, 843d227, b8, 8045950)
GetNonHistoricCatalogSnapshot+0x1e(4eb, 1, 14, 0)
ScanPgRelation+0x5f(2337, 1, 0, 834733d)
RelationBuildDesc+0x21(2337, 1, 0, 0)
RelationIdGetRelation+0x87(2337, 1, 4000, 1)
relation_open+0x18(2337, 1, 1, 0, 87009f0, 0)
heap_open+0x12(2337, 1, 8045b30, 0, d3, 8045b36)
SearchCatCache+0x1f4(87008e8, 4000, 0, 0, 0, 85f3fbe)
get_pgxc_nodename+0x19(4000, 0, 8045cd8, 813dfe2, b, 86da820)
GetNewTransactionId+0x3b2(0, 8045d1f, 8045d20, 825e5c1)
AssignTransactionId+0x9e(862d540, 85acb54, caa, 85ad15e, 0, 0)
GetCurrentTransactionId+0x31(8676740, 86f7c68, 80de8cc, 862c940, 4eb, 1)
GetSnapshotDataFromGTM+0xdb(862c940, 87b6880, 8046008, 833f7b3)
GetSnapshotData+0x276(862c940, 1, 8046098, 843d227, b8, 8046050)
GetNonHistoricCatalogSnapshot+0x1e(4eb, 1, 6fbb87cc, 0)
ScanPgRelation+0x5f(a67, 1, 0, 0)
RelationReloadIndexInfo+0x6e(870efd8, 1, 8046128, 8441635, 0, 38454)
RelationCacheInvalidate+0x12c(843b300, 85ad59c, 8046168, 8342386, b, 8600ea1)
InvalidateSystemCaches+0x1b(b, 8600ea1, 85ad680, 8347d3f)
ReceiveSharedInvalidMessages+0x1b6(843b300, 843a9a0, 80461a8, 83454dc)
AcceptInvalidationMessages+0x15(0, 2337, 0, 1000000, 8046200, 0)
LockRelationOid+0x59(2337, 1, 4000, 8046284)
relation_open+0x6a(2337, 1, fe9f2f80, 0, 87009f0, 0)
heap_open+0x12(2337, 1, 8046230, 0, d3, 8046236)
SearchCatCache+0x1f4(87008e8, 4000, 0, 0, 0, 85f3fbe)
get_pgxc_nodename+0x19(4000, 0, 80463d8, 813dfe2, b, 86da820)
GetNewTransactionId+0x3b2(0, 804641f, 8046420, 825e5c1)
AssignTransactionId+0x9e(862d540, 85acb54, caa, 85ad15e, 0, 0)
GetCurrentTransactionId+0x31(8046690, 86f7c68, 80de8cc, 862c940, 8631940, 20)
GetSnapshotDataFromGTM+0xdb(862c940, 870efd8, 8046708, 833f7b3)
GetSnapshotData+0x276(862c940, 1, 8046738, 844138f, 87b6880, 80467c0)
GetNonHistoricCatalogSnapshot+0x1e(4eb, 1, 8046758, 810b53c, 87b6880, 1)
systable_beginscan+0x184(87b6880, a67, 1, 0, 2)
SearchCatCache+0x21f(8702b58, 86cfa80, 5eb3, 0, 0, 86cfa70)
GetSysCacheOid+0x1b(32, 86cfa80, 5eb3, 0, 0, 74)
get_relname_relid+0x17(86cfa80, 5eb3, a, fe8f02de)
_readRangeTblEntry+0x434(88babd8, 10, 86ceac8, 86cfac8, 408, 8676590)
parseNodeString+0x25d8(10, 885cda8, 80469c8, 7b666b7b, 408, 0)
nodeRead+0x215(88bad08, 1, 82b3619, 8046a34, 20, 86d2f80)
nodeRead+0x1dc(0, 1, a, fe9188b6, 885efb0, 88b9020)
_readRemoteStmt+0x7c(8699ca8, 8604cae, 8046aa8, 846b901, 8692f48, 6f)
parseNodeString+0x2890(88b9020, 8604cae, 8046b18, 7b46b704, 259, 64)
nodeRead+0x215(0, 1, 8046b68, 843cf65, 8699ca8, 879bb60)
stringToNode+0x1e(88b903a, 8699ca8, 8046b68, 879bb60, 88b9020, 8046c30)
SetRemoteSubplan+0x48(879bb60, 88b903a, 0, 1, 75006674, fefe3ca6)
PostgresMain+0x720(1, 869a5a0, 869a378, 869a360, fe6412f4, feffb0a8)
ServerLoop+0x9c2(7, 0, 361cc, 361cc, 0, 86934a0)
PostmasterMain+0xec4(9, 8690f40, 73, 73, 8624880, 862d008)
main+0x635(804791c, fe9f8728, 804795c, 80e03b3, 9, 8047968)
_start+0x83(9, 8047a98, 8047f98, 8047f98, 8047f98, 8047f98)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment