-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
portableAnything to do with systemd-portable and portablectl and portablesAnything to do with systemd-portable and portablectl and portables
Description
systemd version the issue has been seen with
d17c93a
# portablectl detach --runtime --enable --now /root/t1
(Matching unit files with prefix 't1'.)
Queued /org/freedesktop/systemd1/job/1479 to call StopUnit on portable service t1.service.
Removed "/run/systemd/system.attached/t1.service".
DetachImage failed: No unit files associated with '/root/t1' found attached to the system. Image not attached?
=================================================================
==791==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 24 byte(s) in 1 object(s) allocated from:
#0 0x7ffbec4a88dc in __interceptor_reallocarray (/usr/lib64/clang/13.0.0/lib/libclang_rt.asan-x86_64.so+0xf78dc)
#1 0x7ffbeb2829c4 in unit_file_changes_add /home/vagrant/systemd/build/../src/shared/install.c:282:13
#2 0x7ffbeaff799c in bus_deserialize_and_dump_unit_file_changes /home/vagrant/systemd/build/../src/shared/bus-unit-util.c:2688:21
#3 0x41f6a7 in maybe_enable_disable /home/vagrant/systemd/build/../src/portable/portablectl.c:582:16
#4 0x422909 in maybe_stop_disable /home/vagrant/systemd/build/../src/portable/portablectl.c:810:24
#5 0x406c97 in detach_image /home/vagrant/systemd/build/../src/portable/portablectl.c:924:16
#6 0x7ffbeb55a77c in dispatch_verb /home/vagrant/systemd/build/../src/shared/verbs.c:103:24
#7 0x403ff8 in run /home/vagrant/systemd/build/../src/portable/portablectl.c:1427:16
#8 0x403a8a in main /home/vagrant/systemd/build/../src/portable/portablectl.c:1430:1
#9 0x7ffbea572f1f in __libc_start_call_main (/lib64/libc.so.6+0x40f1f)
Indirect leak of 40 byte(s) in 1 object(s) allocated from:
#0 0x7ffbec46c987 in __interceptor_strdup (/usr/lib64/clang/13.0.0/lib/libclang_rt.asan-x86_64.so+0xbb987)
#1 0x7ffbeb282ab0 in unit_file_changes_add /home/vagrant/systemd/build/../src/shared/install.c:288:21
#2 0x7ffbeaff799c in bus_deserialize_and_dump_unit_file_changes /home/vagrant/systemd/build/../src/shared/bus-unit-util.c:2688:21
#3 0x41f6a7 in maybe_enable_disable /home/vagrant/systemd/build/../src/portable/portablectl.c:582:16
#4 0x422909 in maybe_stop_disable /home/vagrant/systemd/build/../src/portable/portablectl.c:810:24
#5 0x406c97 in detach_image /home/vagrant/systemd/build/../src/portable/portablectl.c:924:16
#6 0x7ffbeb55a77c in dispatch_verb /home/vagrant/systemd/build/../src/shared/verbs.c:103:24
#7 0x403ff8 in run /home/vagrant/systemd/build/../src/portable/portablectl.c:1427:16
#8 0x403a8a in main /home/vagrant/systemd/build/../src/portable/portablectl.c:1430:1
#9 0x7ffbea572f1f in __libc_start_call_main (/lib64/libc.so.6+0x40f1f)
Indirect leak of 1 byte(s) in 1 object(s) allocated from:
#0 0x7ffbec46c987 in __interceptor_strdup (/usr/lib64/clang/13.0.0/lib/libclang_rt.asan-x86_64.so+0xbb987)
#1 0x7ffbeb282b83 in unit_file_changes_add /home/vagrant/systemd/build/../src/shared/install.c:296:21
#2 0x7ffbeaff799c in bus_deserialize_and_dump_unit_file_changes /home/vagrant/systemd/build/../src/shared/bus-unit-util.c:2688:21
#3 0x41f6a7 in maybe_enable_disable /home/vagrant/systemd/build/../src/portable/portablectl.c:582:16
#4 0x422909 in maybe_stop_disable /home/vagrant/systemd/build/../src/portable/portablectl.c:810:24
#5 0x406c97 in detach_image /home/vagrant/systemd/build/../src/portable/portablectl.c:924:16
#6 0x7ffbeb55a77c in dispatch_verb /home/vagrant/systemd/build/../src/shared/verbs.c:103:24
#7 0x403ff8 in run /home/vagrant/systemd/build/../src/portable/portablectl.c:1427:16
#8 0x403a8a in main /home/vagrant/systemd/build/../src/portable/portablectl.c:1430:1
#9 0x7ffbea572f1f in __libc_start_call_main (/lib64/libc.so.6+0x40f1f)
SUMMARY: AddressSanitizer: 65 byte(s) leaked in 3 allocation(s).Metadata
Metadata
Assignees
Labels
portableAnything to do with systemd-portable and portablectl and portablesAnything to do with systemd-portable and portablectl and portables