[systemd-devel] log_assert_failed_realm: systemd journal related crash
Amit anand
amit.table at gmail.com
Mon Dec 14 14:17:34 UTC 2020
Hi systemd-devel team,
We are getting below crash in our CI environment with systemd v244-stable,
so could you please confirm whether the PR:
https://github.com/systemd/systemd/pull/15557
<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsystemd%2Fsystemd%2Fpull%2F15557&data=04%7C01%7CAmitanand.Chikorde%40kpit.com%7C41360d20a4ae4cca6e2308d8a036ab8b%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C637435503947983325%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=hS72mwKIfNaYzxzr%2FSnLE%2BdsmTSH9t5Moex5aluVPrg%3D&reserved=0>
will fix it? If yes then I will send back port of these PR to v244-stable
as well and if not then could you please help to understand what can be
cause of this?:
(gdb) bt full
#0 __GI_abort () at abort.c:107
act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0},
sa_mask = {__val = {
18446744073709551615 <repeats 16 times>}}, sa_flags = 0, sa_restorer = 0x0}
sigs = {__val = {32, 0 <repeats 15 times>}}
#1
<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsystemd%2Fsystemd%2Fpull%2F1&data=04%7C01%7CAmitanand.Chikorde%40kpit.com%7C41360d20a4ae4cca6e2308d8a036ab8b%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C637435503947983325%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=xTdvHiTcIwypmANeYkO6k5KnJL6MSDL9Ff66hqCEavY%3D&reserved=0>
0x0000007f87d2900c in log_assert_failed_realm (realm=realm at entry
=LOG_REALM_SYSTEMD,
text=text at entry=0x7f87d41f30 "p > 0",
file=file at entry=0x7f87d41e1f "src/journal/journal-file.c", line=line at entry
=2442,
func=func at entry=0x7f87d42fe0 <*PRETTY_FUNCTION*.13000> "test_object_seqnum")
at ../git/src/basic/log.c:809
No locals.
#2
<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsystemd%2Fsystemd%2Fpull%2F2&data=04%7C01%7CAmitanand.Chikorde%40kpit.com%7C41360d20a4ae4cca6e2308d8a036ab8b%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C637435503947993325%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=8ACodwPYIlrvOrBAlSHxocDCax%2BqzxtTLs6bnxLFW9s%3D&reserved=0>
0x0000007f87d0e5e8 in test_object_seqnum (f=0x217c, p=0, needle=8572)
at ../git/src/journal/journal-file.c:2442
o =
r =
*PRETTY_FUNCTION* = "test_object_seqnum"
#3
<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsystemd%2Fsystemd%2Fpull%2F3&data=04%7C01%7CAmitanand.Chikorde%40kpit.com%7C41360d20a4ae4cca6e2308d8a036ab8b%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C637435503947993325%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=GtJzwLGmqQ465Xox1bd4RMPfBROn3PkDW6IbrtUIUkk%3D&reserved=0>
test_object_seqnum (f=f at entry=0x7f78012030, p=p at entry=0, needle=needle at entry
=8572)
at ../git/src/journal/journal-file.c:2437
o = 0x7f8524a0a8
r =
*PRETTY_FUNCTION* = "test_object_seqnum"
#4
<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsystemd%2Fsystemd%2Fpull%2F4&data=04%7C01%7CAmitanand.Chikorde%40kpit.com%7C41360d20a4ae4cca6e2308d8a036ab8b%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C637435503948003312%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=BKArNdrRueE67M3uqzr7dJYIqVhaptU8%2B2rxBzO7T8E%3D&reserved=0>
0x0000007f87d0fa84 in generic_array_bisect_plus_one (idx=0x0,
offset=0x7f8524a210, ret=0x0,
direction=DIRECTION_DOWN, test_object=0x7f87d0e528 <test_object_seqnum>,
needle=8572, n=1,
first=0, extra=0, f=0x7f78012030) at ../git/src/journal/journal-file.c:2376
r =
step_back =
o = 0x173318
r =
--Type for more, q to quit, c to continue without paging--
step_back =
o =
*PRETTY_FUNCTION* = "generic_array_bisect_plus_one"
#5
<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsystemd%2Fsystemd%2Fpull%2F5&data=04%7C01%7CAmitanand.Chikorde%40kpit.com%7C41360d20a4ae4cca6e2308d8a036ab8b%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C637435503948003312%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=FC8wBOpTYoZGbQ%2F8r26eexdFUyL47SePWSboaZ8WlgU%3D&reserved=0>
generic_array_bisect_plus_one (f=0x7f78012030, extra=0, first=0, n=1,
needle=8572,
test_object=0x7f87d0e528 <test_object_seqnum>, direction=DIRECTION_DOWN,
ret=0x0,
offset=0x7f8524a210, idx=0x0) at ../git/src/journal/journal-file.c:2352
r =
o =
*PRETTY_FUNCTION* = "generic_array_bisect_plus_one"
#6
<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsystemd%2Fsystemd%2Fpull%2F6&data=04%7C01%7CAmitanand.Chikorde%40kpit.com%7C41360d20a4ae4cca6e2308d8a036ab8b%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C637435503948013303%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=MpZxXkivhuspRgV97YmdRzG%2FfTqJvf%2Bgy6pQnT1Kndc%3D&reserved=0>
0x0000007f87d10f84 in journal_file_move_to_entry_by_seqnum_for_data
(f=f at entry=0x7f78012030,
data_offset=, seqnum=8572, direction=direction at entry=DIRECTION_DOWN,
ret=ret at entry=0x0, offset=offset at entry=0x7f8524a210) at
../git/src/basic/sparse-endian.h:83
d = 0x7f77a0cce8
r =
*PRETTY_FUNCTION* = "journal_file_move_to_entry_by_seqnum_for_data"
#7
<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsystemd%2Fsystemd%2Fpull%2F7&data=04%7C01%7CAmitanand.Chikorde%40kpit.com%7C41360d20a4ae4cca6e2308d8a036ab8b%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C637435503948013303%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=GmyMEphehg8RwnPI%2Bl%2BqcxsVI4vx%2Bh65GVlVnVITDe8%3D&reserved=0>
0x0000007f87d15990 in find_location_for_match (j=j at entry=0x7f78000bc0,
m=m at entry=0x7f78001fa0, f=f at entry=0x7f78012030, direction=direction at entry
=DIRECTION_DOWN,
ret=ret at entry=0x0, offset=offset at entry=0x7f8524a210) at
../git/src/journal/sd-journal.c:605
dp = 52456
r =
*PRETTY_FUNCTION* = "find_location_for_match"
#8
<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsystemd%2Fsystemd%2Fpull%2F8&data=04%7C01%7CAmitanand.Chikorde%40kpit.com%7C41360d20a4ae4cca6e2308d8a036ab8b%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C637435503948023298%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=y%2BU%2Fdhx6EjP9514UZXqcgo6ErzbWJCGsQeXRvhGvfKM%3D&reserved=0>
0x0000007f87d15838 in find_location_for_match (j=j at entry=0x7f78000bc0,
m=m at entry=0x7f78001f50, f=f at entry=0x7f78012030, direction=direction at entry
=DIRECTION_DOWN,
ret=ret at entry=0x0, offset=offset at entry=0x7f8524a2a0) at
../git/src/journal/sd-journal.c:626
cp = 7161343769125990453
np = 0
n = 0x6362343731363035
--Type for more, q to quit, c to continue without paging--
i = 0x7f78001fa0
r =
*PRETTY_FUNCTION* = "find_location_for_match"
#9
<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsystemd%2Fsystemd%2Fpull%2F9&data=04%7C01%7CAmitanand.Chikorde%40kpit.com%7C41360d20a4ae4cca6e2308d8a036ab8b%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C637435503948023298%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=eaobDw0E8OVoFDsE8AwvFx1%2BTCnNKdW2m5J0ZLeefCw%3D&reserved=0>
0x0000007f87d156f8 in find_location_for_match (j=j at entry=0x7f78000bc0,
m=m at entry=0x7f78001f00, f=f at entry=0x7f78012030, direction=direction at entry
=DIRECTION_DOWN,
ret=ret at entry=0x0, offset=offset at entry=0x7f8524a330) at
../git/src/journal/sd-journal.c:664
cp = 547474115520
i = 0x7f78001f50
np = 0
r =
*PRETTY_FUNCTION* = "find_location_for_match"
#10
<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsystemd%2Fsystemd%2Fpull%2F10&data=04%7C01%7CAmitanand.Chikorde%40kpit.com%7C41360d20a4ae4cca6e2308d8a036ab8b%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C637435503948033293%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=liaab1uQ2QUkRSiuL5eX9H3ZgG%2FxpOMQXWKS8J7DPX0%3D&reserved=0>
0x0000007f87d15838 in find_location_for_match (j=j at entry=0x7f78000bc0,
m=m at entry=0x7f78001eb0, f=f at entry=0x7f78012030, direction=direction at entry
=DIRECTION_DOWN,
ret=ret at entry=0x0, offset=offset at entry=0x7f8524a3c0) at
../git/src/journal/sd-journal.c:626
cp = 1000000
np = 0
n = 0xf4240
i = 0x7f78001f00
r =
*PRETTY_FUNCTION* = "find_location_for_match"
#11
<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsystemd%2Fsystemd%2Fpull%2F11&data=04%7C01%7CAmitanand.Chikorde%40kpit.com%7C41360d20a4ae4cca6e2308d8a036ab8b%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C637435503948033293%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=vDKD5FOgBEZM3zXwpnrRB2VO8b1MhJ7uEt%2FC5SCAS%2BU%3D&reserved=0>
0x0000007f87d156f8 in find_location_for_match (j=j at entry=0x7f78000bc0,
m=0x7f78001e60,
f=f at entry=0x7f78012030, direction=direction at entry=DIRECTION_DOWN,
ret=ret at entry=0x7f8524a478,
offset=offset at entry=0x7f8524a480) at ../git/src/journal/sd-journal.c:664
cp = 547694617584
i = 0x7f78001eb0
np = 0
r =
--Type for more, q to quit, c to continue without paging--
*PRETTY_FUNCTION* = "find_location_for_match"
#12
<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsystemd%2Fsystemd%2Fpull%2F12&data=04%7C01%7CAmitanand.Chikorde%40kpit.com%7C41360d20a4ae4cca6e2308d8a036ab8b%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C637435503948033293%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=bwO%2FGql6bIuE1wlM23JGlnMYto7Sgx8xoKoHU9cqiEo%3D&reserved=0>
0x0000007f87d1725c in find_location_with_matches (offset=0x7f8524a480,
ret=0x7f8524a478,
direction=DIRECTION_DOWN, f=0x7f78012030, j=0x7f78000bc0)
at ../git/src/journal/sd-journal.c:709
r =
r =
*PRETTY_FUNCTION* =
#13
<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsystemd%2Fsystemd%2Fpull%2F13&data=04%7C01%7CAmitanand.Chikorde%40kpit.com%7C41360d20a4ae4cca6e2308d8a036ab8b%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C637435503948043288%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=NqFsp3fbrZlo9cUSNgFGVhLSNpoF92CoWihpqW%2FM8sE%3D&reserved=0>
next_beyond_location (direction=DIRECTION_DOWN, f=0x7f78012030,
j=0x7f78000bc0)
at ../git/src/journal/sd-journal.c:769
c = 0x555ae98fa0 <journal_thread_impl+1240>
cp = 547694617776
n_entries =
r =
c =
cp =
n_entries =
r =
*PRETTY_FUNCTION* = "next_beyond_location"
found =
k =
#14
<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsystemd%2Fsystemd%2Fpull%2F14&data=04%7C01%7CAmitanand.Chikorde%40kpit.com%7C41360d20a4ae4cca6e2308d8a036ab8b%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C637435503948043288%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=vYlkjc1jrZZ9DriaH9eio5nBYX%2BjYSDkWXfe1uQg4Jk%3D&reserved=0>
real_journal_next (j=0x7f78000bc0, direction=direction at entry=DIRECTION_DOWN)
at ../git/src/journal/sd-journal.c:823
f = 0x7f78012030
found =
new_file = 0x0
i = 8
n_files = 9
--Type for more, q to quit, c to continue without paging--
files = 0x7f78002030
o = 0x7f8524a4b0
r =
*PRETTY_FUNCTION* = "real_journal_next"
*func* = "real_journal_next"
#15
<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsystemd%2Fsystemd%2Fpull%2F15&data=04%7C01%7CAmitanand.Chikorde%40kpit.com%7C41360d20a4ae4cca6e2308d8a036ab8b%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C637435503948053290%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=o03TA3q7Any3oGqFlgHTFBysRFWirvP%2FOY%2BIEwkEPys%3D&reserved=0>
0x0000007f87d18e10 in sd_journal_next (j=)
at ../git/src/journal/sd-journal.c:860
No locals.
Regards,
Amit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20201214/e986f483/attachment-0001.htm>
More information about the systemd-devel
mailing list