[ https://issues.apache.org/jira/browse/HAWQ-719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yi Jin updated HAWQ-719: ------------------------ Description: ``` Core file '/cores/core.77792' (x86_64) was loaded. (lldb) bt * thread #1: tid = 0x0000, 0x00007fff93739f06 libsystem_kernel.dylib`__pthread_kill + 10, stop reason = signal SIGSTOP * frame #0: 0x00007fff93739f06 libsystem_kernel.dylib`__pthread_kill + 10 frame #1: 0x00007fff984f34ec libsystem_pthread.dylib`pthread_kill + 90 frame #2: 0x00007fff944d26e7 libsystem_c.dylib`abort + 129 frame #3: 0x00007fff944d285e libsystem_c.dylib`abort_report_np + 181 frame #4: 0x00007fff944f8a14 libsystem_c.dylib`__chk_fail + 48 frame #5: 0x00007fff944f89e4 libsystem_c.dylib`__chk_fail_overflow + 16 frame #6: 0x00007fff944f8f00 libsystem_c.dylib`__sprintf_chk + 199 frame #7: 0x000000010c4eeb6e postgres`external_set_env_vars(extvar=0x00007fff537a0880, uri="localhost:51200/", csv='\0', escape=0x0000000000000000, quote=0x0000000000000000, header='\0', scancounter=0) + 926 at fileam.c:2596 frame #8: 0x000000010c4fe629 postgres`build_http_header(input=0x00007fff537a0968) + 329 at pxfheaders.c:64 frame #9: 0x000000010c4fbce0 postgres`get_pxf_item_metadata(profile="Hive", pattern="*", dboid=0) + 256 at hd_work_mgr.c:982 frame #10: 0x000000010c988395 postgres`pxf_item_fields_enum_start(profile=0x00007fe71c051f40, pattern=0x00007fe71c051fa8) + 69 at pxf_functions.c:46 frame #11: 0x000000010c987ebc postgres`pxf_get_item_fields(fcinfo=0x00007fff537a1410) + 140 at pxf_functions.c:112 frame #12: 0x000000010c6f2c44 postgres`ExecMakeTableFunctionResult(funcexpr=0x00007fe71c064630, econtext=0x00007fe71c061b68, expectedDesc=0x00007fe71c062c10, operatorMemKB=32768) + 1012 at execQual.c:1994 frame #13: 0x000000010c719976 postgres`FunctionNext(node=0x00007fe71c061708) + 134 at nodeFunctionscan.c:89 frame #14: 0x000000010c6ff2c8 postgres`ExecScan(node=0x00007fe71c061708, accessMtd=(postgres`FunctionNext at nodeFunctionscan.c:69)) + 72 at execScan.c:128 frame #15: 0x000000010c7198df postgres`ExecFunctionScan(node=0x00007fe71c061708) + 31 at nodeFunctionscan.c:161 frame #16: 0x000000010c6f0b20 postgres`ExecProcNode(node=0x00007fe71c061708) + 640 at execProcnode.c:947 frame #17: 0x000000010c6e6ccd postgres`ExecutePlan(estate=0x00007fe71c061230, planstate=0x00007fe71c061708, operation=CMD_SELECT, numberTuples=0, direction=ForwardScanDirection, dest=0x00007fe71c0511d0) + 637 at execMain.c:3231 frame #18: 0x000000010c6e672e postgres`ExecutorRun(queryDesc=0x00007fe71c060f20, direction=ForwardScanDirection, count=0) + 1054 at execMain.c:1213 frame #19: 0x000000010c8da186 postgres`PortalRunSelect(portal=0x00007fe71c05ee30, forward='\x01', count=0, dest=0x00007fe71c0511d0) + 230 at pquery.c:1731 frame #20: 0x000000010c8d9c91 postgres`PortalRun(portal=0x00007fe71c05ee30, count=9223372036854775807, isTopLevel='\x01', dest=0x00007fe71c0511d0, altdest=0x00007fe71c0511d0, completionTag="") + 881 at pquery.c:1553 frame #21: 0x000000010c8d04c5 postgres`exec_simple_query(query_string="SELECT * FROM pxf_get_item_fields('Hive', '*');", seqServerHost=0x0000000000000000, seqServerPort=-1) + 2133 at postgres.c:1751 frame #22: 0x000000010c8cea5f postgres`PostgresMain(argc=6, argv=0x00007fe71b80dd28, username="yijin") + 7535 at postgres.c:4760 frame #23: 0x000000010c878ab5 postgres`BackendRun(port=0x00007fe71a6014b0) + 981 at postmaster.c:5889 frame #24: 0x000000010c875f05 postgres`BackendStartup(port=0x00007fe71a6014b0) + 373 at postmaster.c:5484 frame #25: 0x000000010c8733e0 postgres`ServerLoop + 1248 at postmaster.c:2163 frame #26: 0x000000010c871b13 postgres`PostmasterMain(argc=9, argv=0x00007fe71a41d2b0) + 4835 at postmaster.c:1454 frame #27: 0x000000010c77d4cc postgres`main(argc=9, argv=0x00007fe71a41d2b0) + 940 at main.c:226 frame #28: 0x00007fff9a20c5ad libdyld.dylib`start + 1 frame #29: 0x00007fff9a20c5ad libdyld.dylib`start + 1 (lldb) ``` was: ''' Core file '/cores/core.77792' (x86_64) was loaded. (lldb) bt * thread #1: tid = 0x0000, 0x00007fff93739f06 libsystem_kernel.dylib`__pthread_kill + 10, stop reason = signal SIGSTOP * frame #0: 0x00007fff93739f06 libsystem_kernel.dylib`__pthread_kill + 10 frame #1: 0x00007fff984f34ec libsystem_pthread.dylib`pthread_kill + 90 frame #2: 0x00007fff944d26e7 libsystem_c.dylib`abort + 129 frame #3: 0x00007fff944d285e libsystem_c.dylib`abort_report_np + 181 frame #4: 0x00007fff944f8a14 libsystem_c.dylib`__chk_fail + 48 frame #5: 0x00007fff944f89e4 libsystem_c.dylib`__chk_fail_overflow + 16 frame #6: 0x00007fff944f8f00 libsystem_c.dylib`__sprintf_chk + 199 frame #7: 0x000000010c4eeb6e postgres`external_set_env_vars(extvar=0x00007fff537a0880, uri="localhost:51200/", csv='\0', escape=0x0000000000000000, quote=0x0000000000000000, header='\0', scancounter=0) + 926 at fileam.c:2596 frame #8: 0x000000010c4fe629 postgres`build_http_header(input=0x00007fff537a0968) + 329 at pxfheaders.c:64 frame #9: 0x000000010c4fbce0 postgres`get_pxf_item_metadata(profile="Hive", pattern="*", dboid=0) + 256 at hd_work_mgr.c:982 frame #10: 0x000000010c988395 postgres`pxf_item_fields_enum_start(profile=0x00007fe71c051f40, pattern=0x00007fe71c051fa8) + 69 at pxf_functions.c:46 frame #11: 0x000000010c987ebc postgres`pxf_get_item_fields(fcinfo=0x00007fff537a1410) + 140 at pxf_functions.c:112 frame #12: 0x000000010c6f2c44 postgres`ExecMakeTableFunctionResult(funcexpr=0x00007fe71c064630, econtext=0x00007fe71c061b68, expectedDesc=0x00007fe71c062c10, operatorMemKB=32768) + 1012 at execQual.c:1994 frame #13: 0x000000010c719976 postgres`FunctionNext(node=0x00007fe71c061708) + 134 at nodeFunctionscan.c:89 frame #14: 0x000000010c6ff2c8 postgres`ExecScan(node=0x00007fe71c061708, accessMtd=(postgres`FunctionNext at nodeFunctionscan.c:69)) + 72 at execScan.c:128 frame #15: 0x000000010c7198df postgres`ExecFunctionScan(node=0x00007fe71c061708) + 31 at nodeFunctionscan.c:161 frame #16: 0x000000010c6f0b20 postgres`ExecProcNode(node=0x00007fe71c061708) + 640 at execProcnode.c:947 frame #17: 0x000000010c6e6ccd postgres`ExecutePlan(estate=0x00007fe71c061230, planstate=0x00007fe71c061708, operation=CMD_SELECT, numberTuples=0, direction=ForwardScanDirection, dest=0x00007fe71c0511d0) + 637 at execMain.c:3231 frame #18: 0x000000010c6e672e postgres`ExecutorRun(queryDesc=0x00007fe71c060f20, direction=ForwardScanDirection, count=0) + 1054 at execMain.c:1213 frame #19: 0x000000010c8da186 postgres`PortalRunSelect(portal=0x00007fe71c05ee30, forward='\x01', count=0, dest=0x00007fe71c0511d0) + 230 at pquery.c:1731 frame #20: 0x000000010c8d9c91 postgres`PortalRun(portal=0x00007fe71c05ee30, count=9223372036854775807, isTopLevel='\x01', dest=0x00007fe71c0511d0, altdest=0x00007fe71c0511d0, completionTag="") + 881 at pquery.c:1553 frame #21: 0x000000010c8d04c5 postgres`exec_simple_query(query_string="SELECT * FROM pxf_get_item_fields('Hive', '*');", seqServerHost=0x0000000000000000, seqServerPort=-1) + 2133 at postgres.c:1751 frame #22: 0x000000010c8cea5f postgres`PostgresMain(argc=6, argv=0x00007fe71b80dd28, username="yijin") + 7535 at postgres.c:4760 frame #23: 0x000000010c878ab5 postgres`BackendRun(port=0x00007fe71a6014b0) + 981 at postmaster.c:5889 frame #24: 0x000000010c875f05 postgres`BackendStartup(port=0x00007fe71a6014b0) + 373 at postmaster.c:5484 frame #25: 0x000000010c8733e0 postgres`ServerLoop + 1248 at postmaster.c:2163 frame #26: 0x000000010c871b13 postgres`PostmasterMain(argc=9, argv=0x00007fe71a41d2b0) + 4835 at postmaster.c:1454 frame #27: 0x000000010c77d4cc postgres`main(argc=9, argv=0x00007fe71a41d2b0) + 940 at main.c:226 frame #28: 0x00007fff9a20c5ad libdyld.dylib`start + 1 frame #29: 0x00007fff9a20c5ad libdyld.dylib`start + 1 (lldb) ''' > core found when running make checkinstall-good in Mac OS > -------------------------------------------------------- > > Key: HAWQ-719 > URL: https://issues.apache.org/jira/browse/HAWQ-719 > Project: Apache HAWQ > Issue Type: Bug > Components: PXF > Reporter: Yi Jin > Assignee: Goden Yao > > ``` > Core file '/cores/core.77792' (x86_64) was loaded. > (lldb) bt > * thread #1: tid = 0x0000, 0x00007fff93739f06 > libsystem_kernel.dylib`__pthread_kill + 10, stop reason = signal SIGSTOP > * frame #0: 0x00007fff93739f06 libsystem_kernel.dylib`__pthread_kill + 10 > frame #1: 0x00007fff984f34ec libsystem_pthread.dylib`pthread_kill + 90 > frame #2: 0x00007fff944d26e7 libsystem_c.dylib`abort + 129 > frame #3: 0x00007fff944d285e libsystem_c.dylib`abort_report_np + 181 > frame #4: 0x00007fff944f8a14 libsystem_c.dylib`__chk_fail + 48 > frame #5: 0x00007fff944f89e4 libsystem_c.dylib`__chk_fail_overflow + 16 > frame #6: 0x00007fff944f8f00 libsystem_c.dylib`__sprintf_chk + 199 > frame #7: 0x000000010c4eeb6e > postgres`external_set_env_vars(extvar=0x00007fff537a0880, > uri="localhost:51200/", csv='\0', escape=0x0000000000000000, > quote=0x0000000000000000, header='\0', scancounter=0) + 926 at fileam.c:2596 > frame #8: 0x000000010c4fe629 > postgres`build_http_header(input=0x00007fff537a0968) + 329 at pxfheaders.c:64 > frame #9: 0x000000010c4fbce0 > postgres`get_pxf_item_metadata(profile="Hive", pattern="*", dboid=0) + 256 at > hd_work_mgr.c:982 > frame #10: 0x000000010c988395 > postgres`pxf_item_fields_enum_start(profile=0x00007fe71c051f40, > pattern=0x00007fe71c051fa8) + 69 at pxf_functions.c:46 > frame #11: 0x000000010c987ebc > postgres`pxf_get_item_fields(fcinfo=0x00007fff537a1410) + 140 at > pxf_functions.c:112 > frame #12: 0x000000010c6f2c44 > postgres`ExecMakeTableFunctionResult(funcexpr=0x00007fe71c064630, > econtext=0x00007fe71c061b68, expectedDesc=0x00007fe71c062c10, > operatorMemKB=32768) + 1012 at execQual.c:1994 > frame #13: 0x000000010c719976 > postgres`FunctionNext(node=0x00007fe71c061708) + 134 at nodeFunctionscan.c:89 > frame #14: 0x000000010c6ff2c8 postgres`ExecScan(node=0x00007fe71c061708, > accessMtd=(postgres`FunctionNext at nodeFunctionscan.c:69)) + 72 at > execScan.c:128 > frame #15: 0x000000010c7198df > postgres`ExecFunctionScan(node=0x00007fe71c061708) + 31 at > nodeFunctionscan.c:161 > frame #16: 0x000000010c6f0b20 > postgres`ExecProcNode(node=0x00007fe71c061708) + 640 at execProcnode.c:947 > frame #17: 0x000000010c6e6ccd > postgres`ExecutePlan(estate=0x00007fe71c061230, planstate=0x00007fe71c061708, > operation=CMD_SELECT, numberTuples=0, direction=ForwardScanDirection, > dest=0x00007fe71c0511d0) + 637 at execMain.c:3231 > frame #18: 0x000000010c6e672e > postgres`ExecutorRun(queryDesc=0x00007fe71c060f20, > direction=ForwardScanDirection, count=0) + 1054 at execMain.c:1213 > frame #19: 0x000000010c8da186 > postgres`PortalRunSelect(portal=0x00007fe71c05ee30, forward='\x01', count=0, > dest=0x00007fe71c0511d0) + 230 at pquery.c:1731 > frame #20: 0x000000010c8d9c91 > postgres`PortalRun(portal=0x00007fe71c05ee30, count=9223372036854775807, > isTopLevel='\x01', dest=0x00007fe71c0511d0, altdest=0x00007fe71c0511d0, > completionTag="") + 881 at pquery.c:1553 > frame #21: 0x000000010c8d04c5 > postgres`exec_simple_query(query_string="SELECT * FROM > pxf_get_item_fields('Hive', '*');", seqServerHost=0x0000000000000000, > seqServerPort=-1) + 2133 at postgres.c:1751 > frame #22: 0x000000010c8cea5f postgres`PostgresMain(argc=6, > argv=0x00007fe71b80dd28, username="yijin") + 7535 at postgres.c:4760 > frame #23: 0x000000010c878ab5 > postgres`BackendRun(port=0x00007fe71a6014b0) + 981 at postmaster.c:5889 > frame #24: 0x000000010c875f05 > postgres`BackendStartup(port=0x00007fe71a6014b0) + 373 at postmaster.c:5484 > frame #25: 0x000000010c8733e0 postgres`ServerLoop + 1248 at > postmaster.c:2163 > frame #26: 0x000000010c871b13 postgres`PostmasterMain(argc=9, > argv=0x00007fe71a41d2b0) + 4835 at postmaster.c:1454 > frame #27: 0x000000010c77d4cc postgres`main(argc=9, > argv=0x00007fe71a41d2b0) + 940 at main.c:226 > frame #28: 0x00007fff9a20c5ad libdyld.dylib`start + 1 > frame #29: 0x00007fff9a20c5ad libdyld.dylib`start + 1 > (lldb) > ``` -- This message was sent by Atlassian JIRA (v6.3.4#6332)