{"action":"created","issue":{"url":"https://api.github.com/repos/Icinga/icinga2/issues/6520","repository_url":"https://api.github.com/repos/Icinga/icinga2","labels_url":"https://api.github.com/repos/Icinga/icinga2/issues/6520/labels{/name}","comments_url":"https://api.github.com/repos/Icinga/icinga2/issues/6520/comments","events_url":"https://api.github.com/repos/Icinga/icinga2/issues/6520/events","html_url":"https://github.com/Icinga/icinga2/issues/6520","id":347791903,"node_id":"MDU6SXNzdWUzNDc3OTE5MDM=","number":6520,"title":"Icinga2 Segmantation Fault","user":{"login":"firatalkis","id":42132281,"node_id":"MDQ6VXNlcjQyMTMyMjgx","avatar_url":"https://avatars0.githubusercontent.com/u/42132281?v=4","gravatar_id":"","url":"https://api.github.com/users/firatalkis","html_url":"https://github.com/firatalkis","followers_url":"https://api.github.com/users/firatalkis/followers","following_url":"https://api.github.com/users/firatalkis/following{/other_user}","gists_url":"https://api.github.com/users/firatalkis/gists{/gist_id}","starred_url":"https://api.github.com/users/firatalkis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firatalkis/subscriptions","organizations_url":"https://api.github.com/users/firatalkis/orgs","repos_url":"https://api.github.com/users/firatalkis/repos","events_url":"https://api.github.com/users/firatalkis/events{/privacy}","received_events_url":"https://api.github.com/users/firatalkis/received_events","type":"User","site_admin":false},"labels":[{"id":533991125,"node_id":"MDU6TGFiZWw1MzM5OTExMjU=","url":"https://api.github.com/repos/Icinga/icinga2/labels/Crash","name":"Crash","color":"d93f0b","default":false},{"id":520072683,"node_id":"MDU6TGFiZWw1MjAwNzI2ODM=","url":"https://api.github.com/repos/Icinga/icinga2/labels/needs-feedback","name":"needs-feedback","color":"535353","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-06T06:15:21Z","updated_at":"2018-08-14T13:49:13Z","closed_at":null,"author_association":"NONE","body":"We are using Icinga2 version r2.9.1-1 and runs on VM (Rethat 7.5 - Maipo).In our arhitecture we have 1 master and 9 slave servers. The Icinga2 service ,which is installed on the one of our slave server, crashes frequently. When we check the messages.log, we can see this pattern : SIGSEGV. We followed the gdp steps like docs said and get the below results. If anyone has same issue, plz share your comments.\r\n\r\n\r\n[icinga2.zip](https://github.com/Icinga/icinga2/files/2261345/icinga2.zip)\r\n\r\nicinga2.log at attachment,\r\n\r\n**GDB Output**\r\n\r\n[root@hostname cores]# gdb /usr/lib64/icinga2/sbin/icinga2 core.icinga2.36862\r\nGNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-110.el7\r\nCopyright © 2013 Free Software Foundation, Inc.\r\nLicense GPLv3+: GNU GPL version 3 or later -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-gnu.org/software/gdb/bugs/-…\r\nReading symbols from /usr/lib64/icinga2/sbin/icinga2…Reading symbols from /usr/lib64/icinga2/sbin/icinga2…(no debugging symbols found)…done.\r\n(no debugging symbols found)…done.\r\n[New LWP 93781]\r\n[New LWP 93799]\r\n[New LWP 91795]\r\n[New LWP 94443]\r\n[New LWP 93751]\r\n[New LWP 94342]\r\n[New LWP 93754]\r\n[New LWP 93757]\r\n[New LWP 94346]\r\n[New LWP 93752]\r\n[New LWP 36999]\r\n[New LWP 93770]\r\n[New LWP 93800]\r\n[New LWP 93763]\r\n[New LWP 39430]\r\n[New LWP 93798]\r\n[New LWP 105815]\r\n[New LWP 36862]\r\n[New LWP 105818]\r\n[New LWP 93766]\r\n[New LWP 105814]\r\n[New LWP 93765]\r\n[New LWP 61141]\r\n[New LWP 124709]\r\n[New LWP 93724]\r\n[New LWP 124608]\r\n[New LWP 93756]\r\n[New LWP 93750]\r\n[New LWP 94306]\r\n[New LWP 105817]\r\n[New LWP 94254]\r\n[New LWP 33679]\r\n[New LWP 93755]\r\n[New LWP 93764]\r\n[New LWP 93753]\r\n[New LWP 93801]\r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library “/lib64/libthread_db.so.1”.\r\nCore was generated by `/usr/lib64/icinga2/sbin/icinga2 --no-stack-rlimit daemon -e /var/log/icinga2/er’.\r\nProgram terminated with signal 11, Segmentation fault.\r\n#0 0x00002ba91e938d58 in std::basic_string-char, std::char_traits-char-, std::allocator-char- -::basic_string(std::string const&) () from /lib64/libstdc++.so.6\r\nMissing separate debuginfos, use: debuginfo-install icinga2-bin-2.9.1-1.el7.icinga.x86_64\r\n(gdb) bt\r\n#0 0x00002ba91e938d58 in std::basic_string-char, std::char_traits-char-, std::allocator-char- -::basic_string(std::string const&) () from /lib64/libstdc++.so.6\r\n#1 0x0000000000960225 in icinga::Comment::RemoveComment(icinga::String const&, boost::intrusive_ptr-icinga::MessageOrigin- const&) ()\r\n#2 0x00000000008a0cf6 in icinga::Checkable::RemoveCommentsByType(int) ()\r\n#3 0x0000000000a10364 in icinga::Checkable::ProcessCheckResult(boost::intrusive_ptr-icinga::CheckResult- const&, boost::intrusive_ptr-icinga::MessageOrigin- const&)\r\n()\r\n#4 0x0000000000a1f3d1 in icinga::ClusterEvents::CheckResultAPIHandler(boost::intrusive_ptr-icinga::MessageOrigin- const&, boost::intrusive_ptr-icinga::Dictionary- const&) ()\r\n#5 0x000000000078f69f in std::_Function_handler-icinga::Value (boost::intrusive_ptr-icinga::MessageOrigin- const&, boost::intrusive_ptr-icinga::Dictionary- const&), icinga::Value (*)(boost::intrusive_ptr-icinga::MessageOrigin- const&, boost::intrusive_ptr-icinga::Dictionary- const&)-::_M_invoke(std::_Any_data const&, boost::intrusive_ptr-icinga::MessageOrigin- const&, boost::intrusive_ptr-icinga::Dictionary- const&) ()\r\n#6 0x00000000009b4923 in icinga::JsonRpcConnection::MessageHandler(icinga::String const&) ()\r\n#7 0x00000000009b54ab in icinga::JsonRpcConnection::MessageHandlerWrapper(icinga::String const&) ()\r\n#8 0x000000000071f469 in icinga::WorkQueue::RunTaskFunction(std::function-void ()- const&) ()\r\n#9 0x000000000073f0f7 in icinga::WorkQueue::WorkerThreadProc() ()\r\n#10 0x00002ba91d18d27a in thread_proxy () from /lib64/libboost_thread-mt.so.1.53.0\r\n#11 0x00002ba91f0a0dd5 in start_thread () from /lib64/libpthread.so.0\r\n#12 0x00002ba91f3b3b3d in clone () from /lib64/libc.so.6\r\n(gdb)"},"comment":{"url":"https://api.github.com/repos/Icinga/icinga2/issues/comments/412877924","html_url":"https://github.com/Icinga/icinga2/issues/6520#issuecomment-412877924","issue_url":"https://api.github.com/repos/Icinga/icinga2/issues/6520","id":412877924,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjg3NzkyNA==","user":{"login":"firatalkis","id":42132281,"node_id":"MDQ6VXNlcjQyMTMyMjgx","avatar_url":"https://avatars0.githubusercontent.com/u/42132281?v=4","gravatar_id":"","url":"https://api.github.com/users/firatalkis","html_url":"https://github.com/firatalkis","followers_url":"https://api.github.com/users/firatalkis/followers","following_url":"https://api.github.com/users/firatalkis/following{/other_user}","gists_url":"https://api.github.com/users/firatalkis/gists{/gist_id}","starred_url":"https://api.github.com/users/firatalkis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firatalkis/subscriptions","organizations_url":"https://api.github.com/users/firatalkis/orgs","repos_url":"https://api.github.com/users/firatalkis/repos","events_url":"https://api.github.com/users/firatalkis/events{/privacy}","received_events_url":"https://api.github.com/users/firatalkis/received_events","type":"User","site_admin":false},"created_at":"2018-08-14T13:49:13Z","updated_at":"2018-08-14T13:49:13Z","author_association":"NONE","body":"the problem continues. the latest gdb below. you have any other suggestions?\r\n\r\n**GDB OutPut**\r\n\r\n[root@cluster1 cores]# gdb /usr/lib64/icinga2/sbin/icinga2 core.icinga2.26932 \r\nGNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-110.el7\r\nCopyright (C) 2013 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 /usr/lib64/icinga2/sbin/icinga2...Reading symbols from /usr/lib64/icinga2/sbin/icinga2...(no debugging symbols found)...done.\r\n(no debugging symbols found)...done.\r\n[New LWP 26950]\r\n[New LWP 51291]\r\n[New LWP 51265]\r\n[New LWP 51922]\r\n[New LWP 51292]\r\n[New LWP 26951]\r\n[New LWP 51280]\r\n[New LWP 51290]\r\n[New LWP 51287]\r\n[New LWP 51288]\r\n[New LWP 51299]\r\n[New LWP 51297]\r\n[New LWP 51279]\r\n[New LWP 107174]\r\n[New LWP 51274]\r\n[New LWP 51834]\r\n[New LWP 107145]\r\n[New LWP 107195]\r\n[New LWP 26949]\r\n[New LWP 51833]\r\n[New LWP 51298]\r\n[New LWP 57062]\r\n[New LWP 51276]\r\n[New LWP 51277]\r\n[New LWP 51281]\r\n[New LWP 27345]\r\n[New LWP 51275]\r\n[New LWP 51296]\r\n[New LWP 51278]\r\n[New LWP 74163]\r\n[New LWP 51818]\r\n[New LWP 51289]\r\n[New LWP 51850]\r\n[New LWP 26932]\r\n[New LWP 51256]\r\n[New LWP 107190]\r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/lib64/libthread_db.so.1\".\r\nCore was generated by `/usr/lib64/icinga2/sbin/icinga2 --no-stack-rlimit daemon -e /var/log/icinga2/er'.\r\nProgram terminated with signal 11, Segmentation fault.\r\n#0  0x00002b514cce7d58 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) () from /lib64/libstdc++.so.6\r\nMissing separate debuginfos, use: debuginfo-install icinga2-bin-2.9.1-1.el7.icinga.x86_64\r\n(gdb) bt\r\n#0  0x00002b514cce7d58 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) () from /lib64/libstdc++.so.6\r\n#1  0x0000000000960225 in icinga::Comment::RemoveComment(icinga::String const&, boost::intrusive_ptr<icinga::MessageOrigin> const&) ()\r\n#2  0x00000000008a0cf6 in icinga::Checkable::RemoveCommentsByType(int) ()\r\n#3  0x0000000000a10364 in icinga::Checkable::ProcessCheckResult(boost::intrusive_ptr<icinga::CheckResult> const&, boost::intrusive_ptr<icinga::MessageOrigin> const&) ()\r\n#4  0x0000000000a16d0b in icinga::PluginCheckTask::ProcessFinishedHandler(boost::intrusive_ptr<icinga::Checkable> const&, boost::intrusive_ptr<icinga::CheckResult> const&, icinga::Value const&, icinga::ProcessResult const&) ()\r\n#5  0x0000000000806cfa in icinga::ThreadPool::WorkerThread::ThreadProc(icinga::ThreadPool::Queue&) ()\r\n#6  0x00002b514b53c27a in thread_proxy () from /lib64/libboost_thread-mt.so.1.53.0\r\n#7  0x00002b514d44fdd5 in start_thread () from /lib64/libpthread.so.0\r\n#8  0x00002b514d762b3d in clone () from /lib64/libc.so.6\r\n(gdb)"}}
{"actor":{"display_login":"firatalkis"}}