[ https://issues.apache.org/jira/browse/HAWQ-375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15125808#comment-15125808 ]
ASF GitHub Bot commented on HAWQ-375: ------------------------------------- GitHub user liming01 opened a pull request: https://github.com/apache/incubator-hawq/pull/313 HAWQ-375. Fixed Fixed hawq core dump at dispatch_free_result():1493 w… …hen run stress test Same as HAWQ-374, it crashed at different variable, we need to make sure initiate it with NULL, and free it when it is not NULL. You can merge this pull request into a Git repository by running: $ git pull https://github.com/liming01/incubator-hawq mli/copy_crash2_at_dispatch_free_result Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-hawq/pull/313.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #313 ---- commit 9f5b9ee0ee6f897a1351b23536e6827769f4a7e1 Author: Ming LI <m...@pivotal.io> Date: 2016-02-01T05:49:11Z HAWQ-375. Fixed Fixed hawq core dump at dispatch_free_result():1493 when run stress test ---- > Fixed hawq core dump at dispatch_free_result():1493 when run stress test > ------------------------------------------------------------------------- > > Key: HAWQ-375 > URL: https://issues.apache.org/jira/browse/HAWQ-375 > Project: Apache HAWQ > Issue Type: Bug > Reporter: Ming LI > Assignee: Ming LI > > #0 0x00000036a7e32925 in raise () from /lib64/libc.so.6 > #1 0x00000036a7e34105 in abort () from /lib64/libc.so.6 > #2 0x00000000009ce0ec in ExceptionalCondition (conditionName=0xd84df8 > "!(pointer == (void *) (((intptr_t) ((pointer)) + ((8) - 1)) & ~((intptr_t) > ((8) - 1))))", errorType=0xd84bc9 "FailedAssertion", fileName=0xd84c17 > "mcxt.c", lineNumber=1197) at assert.c:78 > #3 0x0000000000a09bdc in MemoryContextFreeImpl (pointer=0x7f7f7f7f7f7f7f7f, > sfile=0xdf98e0 "dispatcher.c", sfunc=0xdf9fd0 "dispatch_free_result", > sline=1493) at mcxt.c:1197 > #4 0x0000000000b79b32 in dispatch_free_result (result=0x6bc0b20) at > dispatcher.c:1493 > #5 0x0000000000ac73c8 in cdbCopyEnd (c=0x6bc0b10) at cdbcopy.c:710 > #6 0x0000000000680a08 in CopyFromDispatch (cstate=0x1cf87b8, err_segnos=0x0) > at copy.c:3017 > #7 0x000000000067d1e8 in DoCopy (stmt=0x1c82fc0, queryString=0x1c82158 "COPY > lineitem_copy FROM > '/data1/gpadmin/pulse2-agent/agents/agent1/work/HAWQ-main-SystemTest-yarn/rhel5_x86_64/lsp/report/20160126-225538/stress_run/copy_parquet_part_gpadmin/tmp/copy.lineitem.tbl' > WI"...) at copy.c:1639 > #8 0x00000000008f5d81 in ProcessUtility (parsetree=0x1c82fc0, > queryString=0x1cf3728 "COPY lineitem_copy FROM > '/data1/gpadmin/pulse2-agent/agents/agent1/work/HAWQ-main-SystemTest-yarn/rhel5_x86_64/lsp/report/20160126-225538/stress_run/copy_parquet_part_gpadmin/tmp/copy.lineitem.tbl' > WI"..., params=0x0, > isTopLevel=1 '\001', dest=0x1c83430, completionTag=0x7fff2eed38e0 "") at > utility.c:1076 > #9 0x00000000008f3007 in PortalRunUtility (portal=0x1cf1718, > utilityStmt=0x1c82fc0, isTopLevel=1 '\001', dest=0x1c83430, > completionTag=0x7fff2eed38e0 "") at pquery.c:1887 > #10 0x00000000008f32d2 in PortalRunMulti (portal=0x1cf1718, isTopLevel=1 > '\001', dest=0x1c83430, altdest=0x1c83430, completionTag=0x7fff2eed38e0 "") > at pquery.c:1997 > #11 0x00000000008f26dc in PortalRun (portal=0x1cf1718, > count=9223372036854775807, isTopLevel=1 '\001', dest=0x1c83430, > altdest=0x1c83430, completionTag=0x7fff2eed38e0 "") at pquery.c:1514 > #12 0x00000000008e8639 in exec_simple_query (query_string=0x1c82158 "COPY > lineitem_copy FROM > '/data1/gpadmin/pulse2-agent/agents/agent1/work/HAWQ-main-SystemTest-yarn/rhel5_x86_64/lsp/report/20160126-225538/stress_run/copy_parquet_part_gpadmin/tmp/copy.lineitem.tbl' > WI"..., seqServerHost=0x0, seqServerPort=-1) > at postgres.c:1741 > #13 0x00000000008ed28b in PostgresMain (argc=4, argv=0x1bd9f10, > username=0x1bd9cd8 "gpadmin") at postgres.c:4711 > #14 0x0000000000893749 in BackendRun (port=0x1b80c80) at postmaster.c:5875 > #15 0x0000000000892bd3 in BackendStartup (port=0x1b80c80) at postmaster.c:5468 > #16 0x000000000088cc92 in ServerLoop () at postmaster.c:2147 > #17 0x000000000088bd68 in PostmasterMain (argc=9, argv=0x1b97940) at > postmaster.c:1439 > #18 0x00000000007a5cca in main (argc=9, argv=0x1b97940) at main.c:226 -- This message was sent by Atlassian JIRA (v6.3.4#6332)