Mon Oct 18, 2021 11:02 pm
Login Register Lost Password? Contact Us


How to debug a segmentation fault?

Questions around writing code and queries

Fri Oct 21, 2016 5:24 pm Change Time Zone

I don't really know where to go from here:

Code: Select all
00000000 2016-10-21 13:17:59.627 28921 28921 "Logging to /mnt/disk1/var/log/HPCCSystems/eclagent/eclagent.2016_10_21.log"
00000001 2016-10-21 13:17:59.964 28921 28921 "ECLAGENT build internal_4.2.10-rc2"
00000002 2016-10-21 13:17:59.969 28921 28921 "Waiting for workunit lock"
00000003 2016-10-21 13:17:59.970 28921 28921 "Obtained workunit lock"
00000004 2016-10-21 13:18:01.736 28921 28921 "Loading dll (libW20161021-131756.so) from location /var/lib/HPCCSystems/dllserver/temp/libW20161021-131756.so"
00000005 2016-10-21 13:18:01.738 28921 28921 "Starting process"
00000006 2016-10-21 13:18:01.738 28921 28921 "RoxieMemMgr: Setting memory limit to 314572800 bytes (300 pages)"
00000007 2016-10-21 13:18:01.738 28921 28921 "RoxieMemMgr: 320 Pages successfully allocated for the pool - memsize=335544320 base=0x7f0c07f00000 alignment=1048576 bitmapSize=10"
00000008 2016-10-21 13:18:01.738 28921 28921 "Waiting for run lock"
00000009 2016-10-21 13:18:01.802 28921 28921 "Obtained run lock"
0000000A 2016-10-21 13:18:01.803 28921 28921 "setResultString(search_str,-1,'Picture Houses v Wednesbury')"
0000000B 2016-10-21 13:18:01.803 28921 28921 "setResultUInt(num_results,-1,10)"
0000000C 2016-10-21 13:18:01.804 28921 28921 "setResultUInt(start_rec,-1,1)"
0000000D 2016-10-21 13:18:01.812 28921 28921 "setResultString(glG83M5,-3,'picture houses v wednesbury')"
0000000E 2016-10-21 13:18:01.813 28921 28921 "setResultInt(glI83M5,-3,20)"
0000000F 2016-10-21 13:18:01.814 28921 28921 "Executing hthor graph graph1"
00000010 2016-10-21 13:18:01.821 28921 28921 "Executing subgraph 34"
00000011 2016-10-21 13:18:01.821 28921 28921 "Executing subgraph 18"
00000012 2016-10-21 13:18:01.821 28921 28921 "Executing subgraph 1"
00000013 2016-10-21 13:18:01.822 28921 28921 "Completed subgraph 1"
00000014 2016-10-21 13:18:01.833 28921 28921 ",FileAccess,HThor,READ,hthor,policaka,relengine::vertlink::dev::v16::superkeys::doc_titles_by_sub_keyword,W20161021-131756,graph1"
00000015 2016-10-21 13:18:01.838 28921 28921 "DISKWRITE: using temporary filename /var/lib/HPCCSystems/eclagent/temp/W20161021-131756.~spill__scope__B93M5__W20161021-131756"
00000016 2016-10-21 13:18:02.889 28921 28921 "setResultInt(aK83M5,-3,174325)"
00000017 2016-10-21 13:18:02.986 28921 28921 "Completed subgraph 18"
00000018 2016-10-21 13:18:04.388 28921 28921 "setResultUInt(total_doc_count,0,174325)"
00000019 2016-10-21 13:18:04.678 28921 28921 "Completed subgraph 34"
0000001A 2016-10-21 13:18:06.112 28921 28921 "Executing subgraph 44"
0000001B 2016-10-21 13:18:06.112 28921 28921 "Executing subgraph 36"
0000001C 2016-10-21 13:18:06.112 28921 28921 "Executing subgraph 27"
0000001D 2016-10-21 13:18:06.112 28921 28921 "DISKWRITE: using temporary filename /var/lib/HPCCSystems/eclagent/temp/W20161021-131756.~spill__scope__autoM83M5__W20161021-131756"
0000001E 2016-10-21 13:18:06.409 28921 28921 ",FileAccess,HThor,READ,hthor,policaka,relengine::vertlink::dev::v16::superkeys::docs_by_pguid,W20161021-131756,graph1"
0000001F 2016-10-21 13:18:06.409 28921 28930 "Reading file /var/lib/HPCCSystems/eclagent/temp/W20161021-131756.~spill__scope__B93M5__W20161021-131756"
00000020 2016-10-21 13:18:06.492 28921 28921 "Completed subgraph 27"
00000021 2016-10-21 13:18:07.570 28921 28921 "DISKWRITE: using temporary filename /var/lib/HPCCSystems/eclagent/temp/W20161021-131756.~spill__scope__C93M5__W20161021-131756"
00000022 2016-10-21 13:18:07.570 28921 28921 "Reading file /var/lib/HPCCSystems/eclagent/temp/W20161021-131756.~spill__scope__autoM83M5__W20161021-131756"
00000023 2016-10-21 13:18:07.570 28921 28921 "Completed subgraph 36"
00000024 2016-10-21 13:18:07.573 28921 28921 "================================================"
00000025 2016-10-21 13:18:07.573 28921 28921 "Signal:    11 Segmentation fault"
00000026 2016-10-21 13:18:07.573 28921 28921 "Fault IP:  00007F0C36A0F19A"
00000027 2016-10-21 13:18:07.573 28921 28921 "Accessing: 0000000000000000"
00000028 2016-10-21 13:18:07.573 28921 28921 "Registers:"
00000029 2016-10-21 13:18:07.573 28921 28921 "EAX:000000000075AE10  EBX:000000000075AB90  ECX:0000000000000001  EDX:0000000000000000  ESI:0000000000755A00  EDI:0000000000000000"
0000002A 2016-10-21 13:18:07.573 28921 28921 "CS:EIP:0033:00007F0C36A0F19A"
0000002B 2016-10-21 13:18:07.573 28921 28921 "   ESP:00007FFF5F2C8EE0  EBP:0000000000000001"
0000002C 2016-10-21 13:18:07.573 28921 28921 "Stack[00007FFF5F2C8EE0]: 0000000000000001 0000000100000000 0000000000000001 0000000800000000 0000000000000008 0000000100000000 0000000000000001 0000000800000000"
0000002D 2016-10-21 13:18:07.573 28921 28921 "Stack[00007FFF5F2C8F00]: 0000000000000008 0075A9F000000000 000000000075A9F0 0000000100000000 0000000000000001 0000000000000000 0000000000000000 269B876A00000000"
0000002E 2016-10-21 13:18:07.573 28921 28921 "Stack[00007FFF5F2C8F20]: 00007F0C269B876A 36A0F3A000007F0C 00007F0C36A0F3A0 0075A9F000007F0C 000000000075A9F0 00795C0000000000 0000000000795C00 0075AAF800000000"
0000002F 2016-10-21 13:18:07.573 28921 28921 "Stack[00007FFF5F2C8F40]: 000000000075AAF8 0000000000000000 0000000000000000 00755A0000000000 0000000000755A00 36A0F4A900000000 00007F0C36A0F4A9 0075AA1000007F0C"
00000030 2016-10-21 13:18:07.573 28921 28921 "Stack[00007FFF5F2C8F60]: 000000000075AA10 0075AA1000000000 000000000075AA10 5F2C903000000000 00007FFF5F2C9030 36A0F41000007FFF 00007F0C36A0F410 0000000800007F0C"
00000031 2016-10-21 13:18:07.573 28921 28921 "Stack[00007FFF5F2C8F80]: 0000000000000008 269B88D300000000 00007F0C269B88D3 0000000000007F0C 0000000000000000 0000000000000000 0000000000000000 00755A1800000000"
00000032 2016-10-21 13:18:07.573 28921 28921 "Stack[00007FFF5F2C8FA0]: 0000000000755A18 0079946000000000 0000000000799460 3443281000000000 00007F0C34432810 09C522A800007F0C 00007F0C09C522A8 3443285800007F0C"
00000033 2016-10-21 13:18:07.573 28921 28921 "Stack[00007FFF5F2C8FC0]: 00007F0C34432858 0000000100007F0C 0000000000000001 00799DF000000000 0000000000799DF0 0000001000000000 00007F0C00000010 0079948000007F0C"
00000034 2016-10-21 13:18:07.573 28921 28921 "Backtrace:"
00000035 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libjlib.so(_Z16PrintStackReportv+0x28) [0x7f0c33a469c8]"
00000036 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libjlib.so(_Z13excsighandleriP7siginfoPv+0x9da) [0x7f0c33a4766a]"
00000037 2016-10-21 13:18:07.576 28921 28921 "  /lib64/libpthread.so.0(+0xf7e0) [0x7f0c30e5c7e0]"
00000038 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libhthor.so(_ZN11EclSubGraph9doExecuteEPKhb+0x11a) [0x7f0c36a0f19a]"
00000039 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libhthor.so(_ZN11EclSubGraph16executeSubgraphsEPKh+0x90) [0x7f0c36a0f3a0]"
0000003A 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libhthor.so(_ZN11EclSubGraph8evaluateEjPKh+0x89) [0x7f0c36a0f4a9]"
0000003B 2016-10-21 13:18:07.576 28921 28921 "  /var/lib/HPCCSystems/dllserver/temp/libW20161021-131756.so(+0x458d3) [0x7f0c269b88d3]"
0000003C 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libhthor.so(_ZN15EclGraphElement12callOnCreateER9IHThorArgR13IAgentContext+0x82) [0x7f0c36a0cbd2]"
0000003D 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libhthor.so(_ZN15EclGraphElement12createHelperER13IAgentContextP11EclSubGraph+0x5a) [0x7f0c36a0ccda]"
0000003E 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libhthor.so(_ZN15EclGraphElement14createActivityER13IAgentContextP11EclSubGraph+0x5f) [0x7f0c36a0ce6f]"
0000003F 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libhthor.so(_ZN15EclGraphElement14createActivityER13IAgentContextP11EclSubGraph+0x4cb) [0x7f0c36a0d2db]"
00000040 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libhthor.so(_ZN15EclGraphElement14createActivityER13IAgentContextP11EclSubGraph+0x4cb) [0x7f0c36a0d2db]"
00000041 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libhthor.so(_ZN15EclGraphElement14createActivityER13IAgentContextP11EclSubGraph+0x4cb) [0x7f0c36a0d2db]"
00000042 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libhthor.so(_ZN15EclGraphElement14createActivityER13IAgentContextP11EclSubGraph+0x4cb) [0x7f0c36a0d2db]"
00000043 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libhthor.so(_ZN15EclGraphElement14createActivityER13IAgentContextP11EclSubGraph+0x4cb) [0x7f0c36a0d2db]"
00000044 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libhthor.so(_ZN15EclGraphElement14createActivityER13IAgentContextP11EclSubGraph+0x4cb) [0x7f0c36a0d2db]"
00000045 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libhthor.so(_ZN15EclGraphElement14createActivityER13IAgentContextP11EclSubGraph+0x4cb) [0x7f0c36a0d2db]"
00000046 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libhthor.so(_ZN15EclGraphElement14createActivityER13IAgentContextP11EclSubGraph+0x4cb) [0x7f0c36a0d2db]"
00000047 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libhthor.so(_ZN11EclSubGraph16createActivitiesEv+0x86) [0x7f0c36a0d406]"
00000048 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libhthor.so(_ZN11EclSubGraph7executeEPKh+0xa0) [0x7f0c36a0e3d0]"
00000049 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libhthor.so(_ZN8EclGraph7executeEPKh+0x8e) [0x7f0c36a0e64e]"
0000004A 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libhthor.so(_ZN8EclAgent12executeGraphEPKcbjPKv+0x16e) [0x7f0c36a1210e]"
0000004B 2016-10-21 13:18:07.576 28921 28921 "  /var/lib/HPCCSystems/dllserver/temp/libW20161021-131756.so(+0x374e9) [0x7f0c269aa4e9]"
0000004C 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libworkunit.so(_ZN15WorkflowMachine11performItemEjj+0x7d) [0x7f0c3568fc9d]"
0000004D 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libworkunit.so(_ZN15WorkflowMachine13doExecuteItemER20IRuntimeWorkflowItemj+0x41) [0x7f0c35690cc1]"
0000004E 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libworkunit.so(_ZN15WorkflowMachine11executeItemEjj+0x2af) [0x7f0c3569076f]"
0000004F 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libworkunit.so(_ZN15WorkflowMachine7performEP18IGlobalCodeContextP11IEclProcess+0x100) [0x7f0c35691180]"
00000050 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libhthor.so(_ZN8EclAgent10runProcessEP11IEclProcess+0x1b6) [0x7f0c36a006b6]"
00000051 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libhthor.so(_ZN8EclAgent9doProcessEv+0x2fc) [0x7f0c36a00b3c]"
00000052 2016-10-21 13:18:07.576 28921 28921 "  /opt/HPCCSystems/lib/libhthor.so(_Z13eclagent_mainiPPKcP12StringBufferb+0x8b9) [0x7f0c36a01e89]"
00000053 2016-10-21 13:18:07.576 28921 28921 "  eclagent(main+0x5b) [0x40122b]"
00000054 2016-10-21 13:18:07.576 28921 28921 "  /lib64/libc.so.6(__libc_start_main+0xfd) [0x7f0c30ad7d1d]"
00000055 2016-10-21 13:18:07.576 28921 28921 "  eclagent() [0x4010f9]"
00000056 2016-10-21 13:18:07.576 28921 28921 "ThreadList:
00000057 2016-10-21 13:18:07.576 28921 28921 "SIG: Segmentation fault(11), accessing 0000000000000000, IP=00007F0C36A0F19A"
kpolicano
 
Posts: 3
Joined: Mon Apr 14, 2014 5:03 pm

Return to Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron