Skip to content
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 #8104] segfault on startup #2445

Closed
icinga-migration opened this issue Dec 18, 2014 · 4 comments
Closed

[dev.icinga.com #8104] segfault on startup #2445

icinga-migration opened this issue Dec 18, 2014 · 4 comments
Labels
area/configuration DSL, parser, compiler, error handling bug Something isn't working
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/8104

Created by jflach on 2014-12-18 08:54:13 00:00

Assignee: gbeutner
Status: Resolved (closed on 2014-12-18 10:25:03 00:00)
Target Version: 2.3.0
Last Update: 2015-02-13 07:02:50 00:00 (in Redmine)

Icinga Version: 2.3.0
Backport?: No
Include in Changelog: 0

`(gdb) up

#1  0x00007ffff75bdc91 in icinga::IndexerExpression::GetReference (this=0x63be50, frame=..., init_dict=, parent=0x7ffff0b1a040, index=0x7ffff0b19e30, 
dhint=0x7ffff0b19e68) at ../../../lib/config/expression.cpp:422

422 ../../../lib/config/expression.cpp: No such file or directory.
(gdb) p vparent
$1 = {m_Value = {which_ = 0, storage_ = {<boost::detail::aligned_storage::aligned_storage_imp<8ul, 8ul>> = {data_ = {buf = "(\016r\000\000\000\000",
align_ = {}}}, static size = , static alignment = }}}
(gdb) p vindex
$2 = {static NPos = 18446744073709551615, m_Data = {static npos = ,
_M_dataplus = {<std::allocator> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x63bd38 "vars"}}}
`

Changesets

2014-12-18 10:21:11 00:00 by gbeutner 28734da

Fix crash when accessing invalid fields

fixes #8104
@icinga-migration
Copy link
Author

Updated by gbeutner on 2014-12-18 09:13:54 00:00

  • Status changed from New to Assigned
  • Assigned to set to gbeutner
  • Target Version set to 2.3.0
  • Icinga Version changed from 2 to 2

Minimal test case:

object Endpoint "z" {
  x.z = 3
}

@icinga-migration
Copy link
Author

Updated by gbeutner on 2014-12-18 10:25:03 00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset 28734da.

@icinga-migration
Copy link
Author

Updated by gbeutner on 2015-01-29 13:29:09 00:00

  • Backport? set to No

@icinga-migration
Copy link
Author

Updated by gbeutner on 2015-02-12 15:01:35 00:00

  • Include in Changelog set to 0

@icinga-migration icinga-migration added bug Something isn't working area/configuration DSL, parser, compiler, error handling labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.3.0 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/configuration DSL, parser, compiler, error handling bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant