You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/02/01 04:24:39 UTC

[jira] [Commented] (HAWQ-374) hawq core dump at dispatch_free_result() when run stress test

    [ https://issues.apache.org/jira/browse/HAWQ-374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15125688#comment-15125688 ] 

ASF GitHub Bot commented on HAWQ-374:
-------------------------------------

GitHub user liming01 opened a pull request:

    https://github.com/apache/incubator-hawq/pull/310

    HAWQ-374. Fixed hawq core dump at dispatch_free_result() when run str…

    …ess test
    
    The root cause is:
    The copy error may occurs after  c->executors initiated at cdbCopyEnd(), but before 
    c->executors.segment_conns initiated line 1432 at dispatch_statement() .

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/liming01/incubator-hawq mli/copy_crash_at_dispatch_free_result

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-hawq/pull/310.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 #310
    
----
commit bee2dff3b27f07552322544424037581d0d03ddf
Author: Ming LI <ml...@pivotal.io>
Date:   2016-02-01T03:14:01Z

    HAWQ-374. Fixed hawq core dump at dispatch_free_result() when run stress test

----


> hawq core dump at dispatch_free_result() when run stress test
> -------------------------------------------------------------
>
>                 Key: HAWQ-374
>                 URL: https://issues.apache.org/jira/browse/HAWQ-374
>             Project: Apache HAWQ
>          Issue Type: Bug
>          Components: Dispatcher
>            Reporter: Ming LI
>            Assignee: Lei Chang
>
> hawq core dumped when run stress test . QD and QE core dumped when do copy concurrent:
> QD core dumped stack :
> (gdb) bt
> 0 0x00000036a820f5db in raise () from /lib64/libpthread.so.0
> 1 0x00000000008728b2 in SafeHandlerForSegvBusIll (processName=<value optimized out>, postgres_signal_arg=11) at elog.c:4515
> 2 <signal handler called>
> 3 MemoryContextFreeImpl (pointer=0x10002000000b8, sfile=0xba3ea1 "dispatcher.c", sfunc=0xba1760 "dispatch_free_result", sline=1493) at mcxt.c:1222
> 4 0x00000000009ad221 in dispatch_free_result (result=0x24166c0) at dispatcher.c:1493
> 5 0x00000000009274a3 in cdbCopyEnd (c=0x24166b0) at cdbcopy.c:709
> 6 0x00000000005f0017 in CopyFromDispatch (cstate=0x0, err_segnos=<value optimized out>) at copy.c:3017
> 7 0x00000000005f4f59 in DoCopy (stmt=0x2266b98, queryString=<value optimized out>) at copy.c:1639
> 8 0x00000000007bdd47 in ProcessUtility (parsetree=0x2266b98, queryString=<value optimized out>, params=0x0, isTopLevel=1 '\001', dest=0x2266e78, completionTag=0x7fff42e54f30 "") at utility.c:1084
> 9 0x00000000007b89aa in PortalRunUtility (portal=0x22c9370, utilityStmt=0x2266b98, isTopLevel=-43 '\325', dest=0x2266e78, completionTag=0x7fff42e54f30 "") at pquery.c:1887
> 10 0x00000000007bad9e in PortalRunMulti (portal=0x22c9370, isTopLevel=1 '\001', dest=0x2266e78, altdest=<value optimized out>, completionTag=0x7fff42e54f30 "") at pquery.c:1997
> 11 0x00000000007bb362 in PortalRun (portal=<value optimized out>, count=<value optimized out>, isTopLevel=-95 '\241', dest=<value optimized out>, altdest=<value optimized out>, completionTag=<value optimized out>)
> at pquery.c:1514
> 12 0x00000000007b44ca in exec_simple_query (query_string=<value optimized out>, seqServerHost=<value optimized out>, seqServerPort=<value optimized out>) at postgres.c:1741
> 13 0x00000000007b59c2 in PostgresMain (argc=<value optimized out>, argv=0x21b3fc0, username=<value optimized out>) at postgres.c:4711
> 14 0x00000000007692c3 in BackendRun (port=0x2169750) at postmaster.c:5875
> 15 BackendStartup (port=0x2169750) at postmaster.c:5468
> 16 0x0000000000769a2d in ServerLoop () at postmaster.c:2147
> 17 0x000000000076b83e in PostmasterMain (argc=9, argv=0x217f5b0) at postmaster.c:1439
> 18 0x00000000006c58ca in main (argc=9, argv=0x217f570) at main.c:226



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)