-
Notifications
You must be signed in to change notification settings - Fork 579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dev.icinga.com #13409] Crash in CreateObjectHandler (regression from #11684 #4828
Comments
Updated by mfriedrich on 2016-12-05 15:26:25 00:00
Which PUT request are you firing against the Icinga 2 API? By chance, an empty "attrs" field in the body? |
Updated by mfriedrich on 2016-12-05 15:38:03 00:00
Ok, that's coming from a patch in 099fc76 Thanks for testing!
|
Updated by mfriedrich on 2016-12-05 15:38:25 00:00
|
Updated by mfriedrich on 2016-12-05 15:38:29 00:00
Applied in changeset 338f5c0. |
Updated by magnus on 2016-12-06 20:15:45 00:00 mfriedrich wrote:
Todays snapshot has ran since this morning without crashes so that is a big improvement. Thanks |
Updated by mfriedrich on 2016-12-07 08:24:58 00:00 Yeah sorry, should code more defensive. Was an old patch, normally I would catch such null ptrs. |
This issue has been migrated from Redmine: https://dev.icinga.com/issues/13409
Created by magnus on 2016-12-05 15:21:13 00:00
Assignee: mfriedrich
Status: Resolved (closed on 2016-12-05 15:38:29 00:00)
Target Version: 2.6.0
Last Update: 2016-12-07 08:24:58 00:00 (in Redmine)
Hello,
I did an upgrade to the latest snapshot since I am affected by the api related crash which I filed a bug for earlier.
This snapshot crashes even quicker.
I attach some information below, let me know if you need anything else:
ii icinga2 2.5.4 snapshot2016.12.04 1
xenial amd64 host and network monitoring systemxenial amd64 host and network monitoring system - daemonii icinga2-bin 2.5.4 snapshot2016.12.04 1
ii icinga2-common 2.5.4 snapshot2016.12.04 1
xenial all host and network monitoring system - common filesxenial all host and network monitoring system - documentationii icinga2-doc 2.5.4 snapshot2016.12.04 1
ii libicinga2 2.5.4 snapshot2016.12.04 1
xenial amd64 host and network monitoring system - internal librariesxenial all syntax highlighting for Icinga 2 config files in VIMii vim-icinga2 2.5.4 snapshot2016.12.04 1
NAME="Ubuntu"
VERSION="16.04.1 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.1 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
Application information:
Application version: v2.5.4-213-gd076617
Installation root: /usr
Sysconf directory: /etc
Run directory: /run
Local state directory: /var
Package data directory: /usr/share/icinga2
State path: /var/lib/icinga2/icinga2.state
Modified attributes path: /var/lib/icinga2/modified-attributes.conf
Objects path: /var/cache/icinga2/icinga2.debug
Vars path: /var/cache/icinga2/icinga2.vars
PID path: /run/icinga2/icinga2.pid
System information:
Platform: Ubuntu
Platform version: 16.04.1 LTS (Xenial Xerus)
Kernel: Linux
Kernel version: 4.4.0-21-generic
Architecture: x86_64
Build information:
Compiler: GNU 5.3.1
Build host: 65a501d4290c
Stacktrace:
(0) libpthread.so.0: ( 0x113e0) [0x7f863aee33e0]
(1) libc.so.6: gsignal ( 0x38) [0x7f8639c96428]
(2) libc.so.6: abort ( 0x16a) [0x7f8639c9802a]
(3) libc.so.6: ( 0x2dbd7) [0x7f8639c8ebd7]
(4) libc.so.6: ( 0x2dc82) [0x7f8639c8ec82]
(5) libremote.so.2.5.4: icinga::CreateObjectHandler::HandleRequest(boost::intrusive_ptricinga::ApiUser const&, icinga::HttpRequest&, icinga::HttpResponse&, boost::intrusive_ptricinga::Dictionary const&) ( 0x10b7) [0x7f8639475de7]
(6) libremote.so.2.5.4: icinga::HttpHandler::ProcessRequest(boost::intrusive_ptricinga::ApiUser const&, icinga::HttpRequest&, icinga::HttpResponse&) ( 0x68c) [0x7f8639464e0c]
(7) libremote.so.2.5.4: icinga::HttpServerConnection::ProcessMessageAsync(icinga::HttpRequest&) ( 0x54f) [0x7f8639465a0f]
(8) libbase.so.2.5.4: icinga::WorkQueue::WorkerThreadProc() ( 0x529) [0x7f863a631939]
(9) libboost_thread.so.1.58.0: ( 0x115d5) [0x7f863b5825d5]
(10) libpthread.so.0: ( 0x770a) [0x7f863aed970a]
(11) libc.so.6: clone ( 0x6d) [0x7f8639d6782d]
*****
Application information:
Application version: v2.5.4-213-gd076617
Installation root: /usr
Sysconf directory: /etc
Run directory: /run
Local state directory: /var
Package data directory: /usr/share/icinga2
State path: /var/lib/icinga2/icinga2.state
Modified attributes path: /var/lib/icinga2/modified-attributes.conf
Objects path: /var/cache/icinga2/icinga2.debug
Vars path: /var/cache/icinga2/icinga2.vars
PID path: /run/icinga2/icinga2.pid
System information:
Platform: Ubuntu
Platform version: 16.04.1 LTS (Xenial Xerus)
Kernel: Linux
Kernel version: 4.4.0-21-generic
Architecture: x86_64
Build information:
Compiler: GNU 5.3.1
Build host: 65a501d4290c
Stacktrace:
(0) libpthread.so.0: ( 0x113e0) [0x7f5b1f3413e0]
(1) libc.so.6: gsignal ( 0x38) [0x7f5b1e0f4428]
(2) libc.so.6: abort ( 0x16a) [0x7f5b1e0f602a]
(3) libc.so.6: ( 0x2dbd7) [0x7f5b1e0ecbd7]
(4) libc.so.6: ( 0x2dc82) [0x7f5b1e0ecc82]
(5) libremote.so.2.5.4: icinga::CreateObjectHandler::HandleRequest(boost::intrusive_ptricinga::ApiUser const&, icinga::HttpRequest&, icinga::HttpResponse&, boost::intrusive_ptricinga::Dictionary const&) ( 0x10b7) [0x7f5b1d8d3de7]
(6) libremote.so.2.5.4: icinga::HttpHandler::ProcessRequest(boost::intrusive_ptricinga::ApiUser const&, icinga::HttpRequest&, icinga::HttpResponse&) ( 0x68c) [0x7f5b1d8c2e0c]
(7) libremote.so.2.5.4: icinga::HttpServerConnection::ProcessMessageAsync(icinga::HttpRequest&) ( 0x54f) [0x7f5b1d8c3a0f]
(8) libbase.so.2.5.4: icinga::WorkQueue::WorkerThreadProc() ( 0x529) [0x7f5b1ea8f939]
(9) libboost_thread.so.1.58.0: ( 0x115d5) [0x7f5b1f9e05d5]
(10) libpthread.so.0: ( 0x770a) [0x7f5b1f33770a]
(11) libc.so.6: clone ( 0x6d) [0x7f5b1e1c582d]
*****
Application information:
Application version: v2.5.4-214-ge954a0e
Installation root: /usr
Sysconf directory: /etc
Run directory: /run
Local state directory: /var
Package data directory: /usr/share/icinga2
State path: /var/lib/icinga2/icinga2.state
Modified attributes path: /var/lib/icinga2/modified-attributes.conf
Objects path: /var/cache/icinga2/icinga2.debug
Vars path: /var/cache/icinga2/icinga2.vars
PID path: /run/icinga2/icinga2.pid
System information:
Platform: Ubuntu
Platform version: 16.04.1 LTS (Xenial Xerus)
Kernel: Linux
Kernel version: 4.4.0-21-generic
Architecture: x86_64
Build information:
Compiler: GNU 5.3.1
Build host: a987a60f2c36
Stacktrace:
(0) libpthread.so.0: ( 0x113e0) [0x7f9b0ce873e0]
(1) libc.so.6: gsignal ( 0x38) [0x7f9b0bc3a428]
(2) libc.so.6: abort ( 0x16a) [0x7f9b0bc3c02a]
(3) libc.so.6: ( 0x2dbd7) [0x7f9b0bc32bd7]
(4) libc.so.6: ( 0x2dc82) [0x7f9b0bc32c82]
(5) libremote.so.2.5.4: icinga::CreateObjectHandler::HandleRequest(boost::intrusive_ptricinga::ApiUser const&, icinga::HttpRequest&, icinga::HttpResponse&, boost::intrusive_ptricinga::Dictionary const&) ( 0x10b7) [0x7f9b0b419de7]
(6) libremote.so.2.5.4: icinga::HttpHandler::ProcessRequest(boost::intrusive_ptricinga::ApiUser const&, icinga::HttpRequest&, icinga::HttpResponse&) ( 0x68c) [0x7f9b0b408e0c]
(7) libremote.so.2.5.4: icinga::HttpServerConnection::ProcessMessageAsync(icinga::HttpRequest&) ( 0x54f) [0x7f9b0b409a0f]
(8) libbase.so.2.5.4: icinga::WorkQueue::WorkerThreadProc() ( 0x529) [0x7f9b0c5d5939]
(9) libboost_thread.so.1.58.0: ( 0x115d5) [0x7f9b0d5265d5]
(10) libpthread.so.0: ( 0x770a) [0x7f9b0ce7d70a]
(11) libc.so.6: clone ( 0x6d) [0x7f9b0bd0b82d]
*****
Changesets
2016-12-05 15:37:31 00:00 by mfriedrich 338f5c0
2016-12-06 07:57:27 00:00 by gbeutner fe12a10
The text was updated successfully, but these errors were encountered: