Your message dated Tue, 09 Apr 2024 16:47:10 +0000
with message-id <e1rueco-000itr...@fasolo.debian.org>
and subject line Bug#1068473: fixed in icinga2 2.13.6-2+deb12u1
has caused the Debian Bug report #1068473,
regarding icinga2: crashes on startup on ppc64el
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1068473: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068473
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: icinga2
Version: 2.13.6-2
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: d...@debian.org
Control: fixed -1 icinga2/2.14.2-1

Dear maintainer,

DSA has issues running icinga2 on ppc64el on Bookworm, it fails with a
segmentation fault just after startup:

| × icinga2.service - Icinga host/service/network monitoring system
|      Loaded: loaded (/lib/systemd/system/icinga2.service; enabled; preset: 
enabled)
|      Active: failed (Result: exit-code) since Thu 2024-04-04 20:55:13 UTC; 
3min 57s ago
|    Duration: 1.209s
|        Docs: https://icinga.com/docs/icinga2/latest/
|     Process: 356368 ExecStartPre=/usr/lib/icinga2/prepare-dirs 
/usr/lib/icinga2/icinga2 (code=exited, status=0/SUCCESS)
|     Process: 356373 ExecStart=/usr/sbin/icinga2 daemon --close-stdio -e 
${ICINGA2_ERROR_LOG} (code=exited, status=139)
|    Main PID: 356373 (code=exited, status=139)
|      Status: "Startup finished."
|         CPU: 473ms
| 
| Apr 04 20:55:12 platti icinga2[356415]: [2024-04-04 20:55:12 +0000] 
information/ConfigItem: Instantiated 1 IcingaApplication.
| Apr 04 20:55:12 platti icinga2[356415]: [2024-04-04 20:55:12 +0000] 
information/ConfigItem: Instantiated 2 Endpoints.
| Apr 04 20:55:12 platti icinga2[356415]: [2024-04-04 20:55:12 +0000] 
information/ConfigItem: Instantiated 1 FileLogger.
| Apr 04 20:55:12 platti icinga2[356415]: [2024-04-04 20:55:12 +0000] 
information/ConfigItem: Instantiated 249 CheckCommands.
| Apr 04 20:55:12 platti icinga2[356415]: [2024-04-04 20:55:12 +0000] 
information/ConfigItem: Instantiated 1 ApiListener.
| Apr 04 20:55:12 platti icinga2[356415]: [2024-04-04 20:55:12 +0000] 
information/ScriptGlobal: Dumping variables to file 
'/var/cache/icinga2/icinga2.vars'
| Apr 04 20:55:12 platti systemd[1]: Started icinga2.service - Icinga 
host/service/network monitoring system.
| Apr 04 20:55:12 platti icinga2[356373]: [2024-04-04 20:55:12 +0000] 
information/cli: Closing console log.
| Apr 04 20:55:13 platti systemd[1]: icinga2.service: Main process exited, 
code=exited, status=139/n/a
| Apr 04 20:55:13 platti systemd[1]: icinga2.service: Failed with result 
'exit-code'.

I have been able to obtain a backtrace:

| (gdb) bt full
| #0  0x0000000127d44850 in icinga::JsonRpcConnection::CheckLiveness 
(this=this@entry=0x0, yc=...) at ./lib/remote/jsonrpcconnection.cpp:344
|         ec = {val_ = 0, failed_ = false, cat_ = 0x0}
| #1  0x0000000127d44f04 in operator() (__closure=0x7fff7c002620, yc=...) at 
./lib/remote/jsonrpcconnection.cpp:58
|         keepAlive = {px = 0x0}
|         this = 0x0
|         keepAlive = <optimized out>
|         this = <optimized out>
| #2  operator() (__closure=__closure@entry=0x7fff7c002620, yc=...) at 
./lib/base/io-engine.hpp:106
|         f = {__this = 0x0, __keepAlive = {px = 0x0}}
| #3  0x0000000127d521bc in 
boost::asio::detail::coro_entry_point<boost::asio::executor_binder<void (*)(), 
boost::asio::io_context::strand>, 
icinga::IoEngine::SpawnCoroutine<boost::asio::io_context::strand, 
icinga::JsonRpcConnection::Start()::<lambda(boost::asio::yield_context)> 
>(boost::asio::io_context::strand&, 
icinga::JsonRpcConnection::Start()::<lambda(boost::asio::yield_context)>)::<lambda(boost::asio::yield_context)>
 >::operator() (
|     ca=..., this=<optimized out>) at 
/usr/include/boost/asio/impl/spawn.hpp:355
|         data = <optimized out>
|         yield = {coro_ = 
std::weak_ptr<boost::coroutines::push_coroutine<void>> (use count 1, weak count 
5) = {get() = 0x7fff7c0c3640}, ca_ = @0x7fff7c103488,
|           handler_ = {<boost::asio::detail::executor_binder_result_type<void 
(*)(), void>> = {<No data fields>}, 
<boost::asio::detail::executor_binder_argument_type<void (*)(), void>> = {<No 
data fields>}, <boost::asio::detail::executor_binder_argument_types<void (*)(), 
void>> = {<No data fields>}, <boost::asio::detail::executor_binder_base<void 
(*)(), boost::asio::io_context::strand, false>> = {executor_ = {service_ = 
@0x7fff94003150,
|                 impl_ = 0x7fff7c002040}, target_ = 0x127d70760 
<boost::asio::detail::default_spawn_handler()>}, <No data fields>}, ec_ = 0x0}
|         data = <optimized out>
|         yield = <optimized out>
| #4  
boost::coroutines::detail::push_coroutine_object<boost::coroutines::pull_coroutine<void>,
 void, boost::asio::detail::coro_entry_point<boost::asio::executor_binder<void 
(*)(), boost::asio::io_context::strand>, 
icinga::IoEngine::SpawnCoroutine<boost::asio::io_context::strand, 
icinga::JsonRpcConnection::Start()::<lambda(boost::asio::yield_context)> 
>(boost::asio::io_context::strand&, 
icinga::JsonRpcConnection::Start()::<lambda(boost::asio::yield_context)>)::<lambda(boost::asio::yield_context)>
 >&, 
boost::coroutines::basic_standard_stack_allocator<boost::coroutines::stack_traits>
 >::run (this=0x7fff7c1035c0)
|     at /usr/include/boost/coroutine/detail/push_coroutine_object.hpp:302
|         b = {<boost::coroutines::detail::pull_coroutine_impl<void>> = 
{<boost::noncopyable_::noncopyable> = {<boost::noncopyable_::base_token> = {<No 
data fields>}, <No data fields>},
|             _vptr.pull_coroutine_impl = 0x12884b938 <vtable for 
boost::coroutines::detail::pull_coroutine_synthesized<void>+16>, flags_ = 0, 
except_ = {ptr_ = {px = 0x0, pn = {pi_ = 0x0}}}, caller_ = 0x7fff7c103618,
|             callee_ = 0x7fff7c1035f0}, <No data fields>}
|         push_coro = {impl_ = 0x7fff7c103490}
|         to = {do_unwind = 64, coro = 0x7fff7c103670}
|         __PRETTY_FUNCTION__ = <optimized out>
|         b = <optimized out>
|         push_coro = <optimized out>
|         to = <optimized out>
| #5  
boost::coroutines::detail::trampoline_push_void<boost::coroutines::detail::push_coroutine_object<boost::coroutines::pull_coroutine<void>,
 void, boost::asio::detail::coro_entry_point<boost::asio::executor_binder<void 
(*)(), boost::asio::io_context::strand>, 
icinga::IoEngine::SpawnCoroutine<boost::asio::io_context::strand, 
icinga::JsonRpcConnection::Start()::<lambda(boost::asio::yield_context)> 
>(boost::asio::io_context::strand&, 
icinga::JsonRpcConnection::Start()::<lambda(boost::asio::yield_context)>)::<lambda(boost::asio::yield_context)>
 >&, 
boost::coroutines::basic_standard_stack_allocator<boost::coroutines::stack_traits>
 > >(boost::context::detail::transfer_t) (t=...) at 
/usr/include/boost/coroutine/detail/trampoline_push.hpp:70
|         __PRETTY_FUNCTION__ = "void 
boost::coroutines::detail::trampoline_push_void(boost::context::detail::transfer_t)
 [with Coro = push_coroutine_object<boost::coroutines::pull_coroutine<void>, 
void, boost::asio::detail::coro_ent"...
|         data = <optimized out>
|         param = <optimized out>
|         coro = 0x7fff7c1035c0
| #6  0x00007fffa9670f0c in make_fcontext () from 
/lib/powerpc64le-linux-gnu/libboost_context.so.1.74.0
| No symbol table info available.

It is not exactly clear what is the issue, but it also happens when
building the version from Trixie or Bullseye on Bookworm, so it looks
like a compiler issue. This is confirmed by rebuilding the package with
-O0 or -O1, which makes the bug disappear.

I have verified that the version in Trixie is not affected, probably
because it uses a newer compiler and/or a newer boost version. I am
therefore marking the bug as fixed on this version.

For Bookworm given we can not fix the compiler easily, I propose to just
build icinga2 with -O1 on ppc64el. If you are fine with that option, I
can take care of proposing a patch and submitting it to the stable
release team.

Regards
Aurelien

--- End Message ---
--- Begin Message ---
Source: icinga2
Source-Version: 2.13.6-2+deb12u1
Done: Bas Couwenberg <sebas...@debian.org>

We believe that the bug you reported is fixed in the latest version of
icinga2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1068...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bas Couwenberg <sebas...@debian.org> (supplier of updated icinga2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 06 Apr 2024 14:02:31 +0200
Source: icinga2
Architecture: source
Version: 2.13.6-2+deb12u1
Distribution: bookworm
Urgency: medium
Maintainer: Debian Nagios Maintainer Group 
<pkg-nagios-de...@lists.alioth.debian.org>
Changed-By: Bas Couwenberg <sebas...@debian.org>
Closes: 1068473
Changes:
 icinga2 (2.13.6-2+deb12u1) bookworm; urgency=medium
 .
   * Team upload.
   * Update branch in gbp.conf & Vcs-Git URL.
   * Fix segfault on startup on ppc64el.
     (closes: #1068473)
Checksums-Sha1:
 d910e78de18dc4f1ceab42f21095f16a785b8b09 2782 icinga2_2.13.6-2+deb12u1.dsc
 9d70cf0576fdfbfaf086d0b69f131c3f59473d98 23828 
icinga2_2.13.6-2+deb12u1.debian.tar.xz
 0f8683b46621276620ebc0ec60609f7e444a8199 12322 
icinga2_2.13.6-2+deb12u1_amd64.buildinfo
Checksums-Sha256:
 3c669c48809bcde37b3ebf26f1370451cd43b8a4cead8cf779939fc5b3776bd2 2782 
icinga2_2.13.6-2+deb12u1.dsc
 f0e6da374df52a02c4717fa60936ada4d5e596baad82ecdd346b0e5e430de871 23828 
icinga2_2.13.6-2+deb12u1.debian.tar.xz
 657ff23844fd32a6a32caf04a6ae8f6de1acf5c1ce4c63598230723c95a01fc1 12322 
icinga2_2.13.6-2+deb12u1_amd64.buildinfo
Files:
 048b9e962a1ffd45f180bff0c8005b3b 2782 admin optional 
icinga2_2.13.6-2+deb12u1.dsc
 93c087b2523c7952b330dae68d602ae5 23828 admin optional 
icinga2_2.13.6-2+deb12u1.debian.tar.xz
 4f2aee1e430e6e99999beef71c863c3f 12322 admin optional 
icinga2_2.13.6-2+deb12u1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEgYLeQXBWQI1hRlDRZ1DxCuiNSvEFAmYTZXEACgkQZ1DxCuiN
SvEwsRAAzwgNbyYWGoL+d69coSG0MDIr9z/R4T/Uvd4t0VWA3rOpqDEs5+VoquEZ
eLMGSnYL3d7nK/1tgPrfF+uEemb/vc6cvYkg5/NmYlbZbgaH7pQjFVXvk8ScbyAe
84xTbX9NEKhRtcvUnIvWa24HvaBsXwc196NmRhyXNp/j0w5AZGFrtIyMJhvEn1WF
dar8c7cXU0yGs6p2FRcCoHmRTbt1JYjAvsQw+e+7YT5wZZ49J2V+5e2DXxANWpg2
Fq92Pc6HWNfW33vXdMMYmkQ6l+/g4ipe4eos8NaeeihaHz0DBgLI1PapEvcJLKnk
yvuj+yyb1sm1eLZWs63YkwR9J4ACWDrWsuLiFuUWEhQt3auNok9/IPaIxuOlpE/A
kgrvb0NPr0u6bQHMjAtaFXTs20wsWvDcRtpjotyA2bqF8v3xFDjSIr4/vub7Cd0C
iGBAVkgOdCKoY3iMXZkjuxzrHaIQVuebWDYkyDTeLaiPZ0R+vgziggFUg6Z9NB8M
Iyt9276BKLPIH6j3B/ctdjCutH4vqzsPIYSgmLodqCUS8fJAadNvA/rN3oh98w7P
6hiOWhfKN/g5lYOqN0r9r1vgIEOekGOSupHws78RuqBYUwhPXjFhqqtP9kiBWK0X
5pFsVTHyXQuC4f2qAD760mwkurD6dS3lVoMr6XFsYHyw8OjWG3A=
=ipYF
-----END PGP SIGNATURE-----

Attachment: pgpFHQLsr6eGA.pgp
Description: PGP signature


--- End Message ---

Reply via email to