[ 
https://issues.apache.org/jira/browse/HAWQ-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lei Chang closed HAWQ-163.
--------------------------
    Resolution: Fixed

> Null container set instance is not checked when allocating vseg from resource 
> pool
> ----------------------------------------------------------------------------------
>
>                 Key: HAWQ-163
>                 URL: https://issues.apache.org/jira/browse/HAWQ-163
>             Project: Apache HAWQ
>          Issue Type: Bug
>          Components: Resource Manager
>            Reporter: Yi Jin
>            Assignee: Yi Jin
>             Fix For: 2.0.0-beta-incubating
>
>
> Loaded symbols for /lib64/libnss_files.so.2
> Core was generated by `postgres: port 21000, master resource manager          
>                        '.
> Program terminated with signal 11, Segmentation fault.
> #0  0x00000000008e94cb in allocateResourceFromResourcePoolIOBytes2 
> (nodecount=<value optimized out>, minnodecount=<value optimized out>, 
> memory=<value optimized out>, core=<value optimized out>, iobytes=<value 
> optimized out>, slicesize=<value optimized out>, vseglimitpseg=<value 
> optimized out>, preferredcount=0, preferredhostname=0x0, 
> preferredscansize=0x0, fixnodecount=1 '\001', vsegcounters=0x7f5f9c949198, 
> totalvsegcount=0x7fff8ba85b1c, vsegiobytes=0x7f5f9c949140) at 
> resourcepool.c:2400
> 2400  resourcepool.c: No such file or directory.
>       in resourcepool.c
> Missing separate debuginfos, use: debuginfo-install hawq-2.0.0.0-18407.x86_64
> (gdb) bt
> #0  0x00000000008e94cb in allocateResourceFromResourcePoolIOBytes2 
> (nodecount=<value optimized out>, minnodecount=<value optimized out>, 
> memory=<value optimized out>, core=<value optimized out>, iobytes=<value 
> optimized out>, slicesize=<value optimized out>, vseglimitpseg=<value 
> optimized out>, preferredcount=0, preferredhostname=0x0, 
> preferredscansize=0x0, fixnodecount=1 '\001', vsegcounters=0x7f5f9c949198, 
> totalvsegcount=0x7fff8ba85b1c, vsegiobytes=0x7f5f9c949140) at 
> resourcepool.c:2400
> #1  0x00000000008f0bc4 in dispatchResourceToQueries_EVEN 
> (track=0x7f5f9c9471f0) at resqueuemanager.c:4046
> #2  0x00000000008efd6d in dispatchResourceToQueriesInOneQueue 
> (track=0x7f5f9c9471f0) at resqueuemanager.c:3782
> #3  0x00000000008f188e in dispatchResourceToQueries () at 
> resqueuemanager.c:3192
> #4  0x0000000000902ed3 in MainHandlerLoop () at resourcemanager.c:646
> #5  0x0000000000903291 in ResManagerMainServer2ndPhase () at 
> resourcemanager.c:507
> #6  0x00000000009036c4 in ResManagerMain (argc=<value optimized out>, 
> argv=<value optimized out>) at resourcemanager.c:330
> #7  0x0000000000903a51 in ResManagerProcessStartup () at resourcemanager.c:402
> #8  0x00000000007640e8 in CommenceNormalOperations () at postmaster.c:3626
> #9  0x0000000000764fa2 in do_reaper () at postmaster.c:3974
> #10 0x00000000007695fd in ServerLoop () at postmaster.c:2112
> #11 0x000000000076b13e in PostmasterMain (argc=9, argv=0x1dfc8e0) at 
> postmaster.c:1431
> #12 0x00000000006c5e3a in main (argc=9, argv=0x1dfc8a0) at main.c:226
> (gdb) n
> The program is not being run.
> (gdb) f 0
> #0  0x00000000008e94cb in allocateResourceFromResourcePoolIOBytes2 
> (nodecount=<value optimized out>, minnodecount=<value optimized out>, 
> memory=<value optimized out>, core=<value optimized out>, iobytes=<value 
> optimized out>, slicesize=<value optimized out>, vseglimitpseg=<value 
> optimized out>, preferredcount=0, preferredhostname=0x0, 
> preferredscansize=0x0, fixnodecount=1 '\001', vsegcounters=0x7f5f9c949198, 
> totalvsegcount=0x7fff8ba85b1c, vsegiobytes=0x7f5f9c949140) at 
> resourcepool.c:2400
> 2400  in resourcepool.c
> (gdb) print containerset
> $1 = (struct GRMContainerSetData *) 0x0



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

Reply via email to