{"action":"created","issue":{"url":"https://api.github.com/repos/FastVPSEestiOu/fastnetmon/issues/90","labels_url":"https://api.github.com/repos/FastVPSEestiOu/fastnetmon/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/FastVPSEestiOu/fastnetmon/issues/90/comments","events_url":"https://api.github.com/repos/FastVPSEestiOu/fastnetmon/issues/90/events","html_url":"https://github.com/FastVPSEestiOu/fastnetmon/issues/90","id":54629769,"number":90,"title":"Segmentation fault (core dumped) - Crash","user":{"login":"Rosiak","id":6378934,"avatar_url":"https://avatars.githubusercontent.com/u/6378934?v=3","gravatar_id":"","url":"https://api.github.com/users/Rosiak","html_url":"https://github.com/Rosiak","followers_url":"https://api.github.com/users/Rosiak/followers","following_url":"https://api.github.com/users/Rosiak/following{/other_user}","gists_url":"https://api.github.com/users/Rosiak/gists{/gist_id}","starred_url":"https://api.github.com/users/Rosiak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rosiak/subscriptions","organizations_url":"https://api.github.com/users/Rosiak/orgs","repos_url":"https://api.github.com/users/Rosiak/repos","events_url":"https://api.github.com/users/Rosiak/events{/privacy}","received_events_url":"https://api.github.com/users/Rosiak/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-16T21:54:41Z","updated_at":"2015-01-17T18:00:56Z","closed_at":"2015-01-17T18:00:56Z","body":"Hi!\r\nI'm having issues with the application when using the sFlow collector.\r\nThe server application only run for a few minutes, then crash.\r\n\r\nHeres what the application report itself:\r\n\r\n```\r\n[root@testbed]# /opt/fastnetmon/fastnetmon\r\nICMPType 8\r\nICMPCode 0\r\nICMPType 8\r\nICMPCode 0\r\nSegmentation fault (core dumped)\r\n```\r\nHere's what i found in /var/log/messages:\r\n```\r\nJan 16 21:39:09 flowcol02 kernel: slots: 4108\r\nJan 16 21:40:29 flowcol02 kernel: fastnetmon[3091]: segfault at 90020cb388 ip 0000000000421067 sp 00007fb32ffee550 error 6 in fastnetmon[400000+4a000]\r\n```\r\n\r\nPlease me know if a can gather more information for you!"},"comment":{"url":"https://api.github.com/repos/FastVPSEestiOu/fastnetmon/issues/comments/70376993","html_url":"https://github.com/FastVPSEestiOu/fastnetmon/issues/90#issuecomment-70376993","issue_url":"https://api.github.com/repos/FastVPSEestiOu/fastnetmon/issues/90","id":70376993,"user":{"login":"Rosiak","id":6378934,"avatar_url":"https://avatars.githubusercontent.com/u/6378934?v=3","gravatar_id":"","url":"https://api.github.com/users/Rosiak","html_url":"https://github.com/Rosiak","followers_url":"https://api.github.com/users/Rosiak/followers","following_url":"https://api.github.com/users/Rosiak/following{/other_user}","gists_url":"https://api.github.com/users/Rosiak/gists{/gist_id}","starred_url":"https://api.github.com/users/Rosiak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rosiak/subscriptions","organizations_url":"https://api.github.com/users/Rosiak/orgs","repos_url":"https://api.github.com/users/Rosiak/repos","events_url":"https://api.github.com/users/Rosiak/events{/privacy}","received_events_url":"https://api.github.com/users/Rosiak/received_events","type":"User","site_admin":false},"created_at":"2015-01-17T18:00:56Z","updated_at":"2015-01-17T18:00:56Z","body":"Found it.\r\nCore files are generated under /usr/src/fastnetmon/sflow_plugin.\r\n```\r\n[root@testbed ~]# gdb /opt/fastnetmon/fastnetmon /usr/src/fastnetmon/sflow_plugin/core.3086\r\nGNU gdb (GDB) Red Hat Enterprise Linux (7.2-75.el6)\r\nCopyright (C) 2010 Free Software Foundation, Inc.\r\nLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\r\nThis is free software: you are free to change and redistribute it.\r\nThere is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\r\nand \"show warranty\" for details.\r\nThis GDB was configured as \"x86_64-redhat-linux-gnu\".\r\nFor bug reporting instructions, please see:\r\n<http://www.gnu.org/software/gdb/bugs/>...\r\nReading symbols from /opt/fastnetmon/fastnetmon...(no debugging symbols found)...done.\r\n[New Thread 3091]\r\n[New Thread 3087]\r\n[New Thread 3086]\r\n[New Thread 3089]\r\n[New Thread 3090]\r\n[New Thread 3088]\r\nMissing separate debuginfo for /opt/pf_ring/lib/libpfring.so\r\nTry: yum --enablerepo='*-debug*' install /usr/lib/debug/.build-id/e8/d722456c756ef4eed6cb9797de0ff4cc02c0df\r\nMissing separate debuginfo for \r\nTry: yum --enablerepo='*-debug*' install /usr/lib/debug/.build-id/a1/4ed96540aab1af58066fb2fd5fc9510745015c\r\nReading symbols from /usr/lib64/libboost_thread-mt.so.5...(no debugging symbols found)...done.\r\nLoaded symbols for /usr/lib64/libboost_thread-mt.so.5\r\nReading symbols from /usr/lib64/libboost_regex-mt.so.5...(no debugging symbols found)...done.\r\nLoaded symbols for /usr/lib64/libboost_regex-mt.so.5\r\nReading symbols from /usr/lib64/liblog4cpp.so.4...(no debugging symbols found)...done.\r\nLoaded symbols for /usr/lib64/liblog4cpp.so.4\r\nReading symbols from /usr/lib64/libnuma.so.1...(no debugging symbols found)...done.\r\nLoaded symbols for /usr/lib64/libnuma.so.1\r\nReading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done.\r\n[Thread debugging using libthread_db enabled]\r\nLoaded symbols for /lib64/libpthread.so.0\r\nReading symbols from /usr/lib64/libpcap.so.1...(no debugging symbols found)...done.\r\nLoaded symbols for /usr/lib64/libpcap.so.1\r\nReading symbols from /opt/pf_ring/lib/libpfring.so...(no debugging symbols found)...done.\r\nLoaded symbols for /opt/pf_ring/lib/libpfring.so\r\nReading symbols from /usr/lib64/libstdc++.so.6...(no debugging symbols found)...done.\r\nLoaded symbols for /usr/lib64/libstdc++.so.6\r\nReading symbols from /lib64/libm.so.6...(no debugging symbols found)...done.\r\nLoaded symbols for /lib64/libm.so.6\r\nReading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.\r\nLoaded symbols for /lib64/libgcc_s.so.1\r\nReading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.\r\nLoaded symbols for /lib64/libc.so.6\r\nReading symbols from /lib64/librt.so.1...(no debugging symbols found)...done.\r\nLoaded symbols for /lib64/librt.so.1\r\nReading symbols from /usr/lib64/libicuuc.so.42...(no debugging symbols found)...done.\r\nLoaded symbols for /usr/lib64/libicuuc.so.42\r\nReading symbols from /usr/lib64/libicui18n.so.42...(no debugging symbols found)...done.\r\nLoaded symbols for /usr/lib64/libicui18n.so.42\r\nReading symbols from /lib64/libnsl.so.1...(no debugging symbols found)...done.\r\nLoaded symbols for /lib64/libnsl.so.1\r\nReading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.\r\nLoaded symbols for /lib64/ld-linux-x86-64.so.2\r\nReading symbols from /usr/lib64/libicudata.so.42...(no debugging symbols found)...done.\r\nLoaded symbols for /usr/lib64/libicudata.so.42\r\nCore was generated by `/opt/fastnetmon/fastnetmon'.\r\nProgram terminated with signal 11, Segmentation fault.\r\n#0  0x0000000000421067 in process_packet(simple_packet&) ()\r\nMissing separate debuginfos, use: debuginfo-install boost-regex-1.41.0-25.el6.x86_64 boost-thread-1.41.0-25.el6.x86_64 glibc-2.12-1.149.el6_6.4.x86_64 libgcc-4.4.7-11.el6.x86_64 libicu-4.2.1-9.1.el6_2.x86_64 libpcap-1.4.0-1.20130826git2dbcaa1.el6.x86_64 libstdc++-4.4.7-11.el6.x86_64 log4cpp-1.0-13.el6_5.1.x86_64 numactl-2.0.9-2.el6.x86_64\r\n(gdb) bt\r\n#0  0x0000000000421067 in process_packet(simple_packet&) ()\r\n#1  0x000000000043c6ef in decodeIPLayer4(_SFSample*, unsigned char*) ()\r\n#2  0x000000000043c923 in decodeIPV4(_SFSample*) ()\r\n#3  0x000000000043cc51 in readFlowSample(_SFSample*, int) ()\r\n#4  0x000000000043ce72 in read_sflow_datagram(_SFSample*) ()\r\n#5  0x000000000043cfa7 in start_sflow_collection(void (*)(simple_packet&)) ()\r\n#6  0x00007fb339e53d47 in thread_proxy () from /usr/lib64/libboost_thread-mt.so.5\r\n#7  0x00007fb3394f79d1 in start_thread () from /lib64/libpthread.so.0\r\n#8  0x00007fb33860a8fd in clone () from /lib64/libc.so.6\r\n(gdb) \r\n```"}}