Hm, sadly the trace isn't very informative: Core was generated by `/sbin/cgmanager -m name=systemd'. Program terminated with signal SIGABRT, Aborted. #0 0x00007fade2d7a267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55 55 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) where #0 0x00007fade2d7a267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55 #1 0x00007fade2d7beca in __GI_abort () at abort.c:89 #2 0x00007fade2dbdc53 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7fade2ed3dad "*** %s ***: %s terminated\n") at ../sysdeps/posix/libc_fatal.c:175 #3 0x00007fade2e5de8c in __GI___fortify_fail (msg=<optimized out>, msg@entry=0x7fade2ed3d44 "buffer overflow detected") at fortify_fail.c:38 #4 0x00007fade2e5be80 in __GI___chk_fail () at chk_fail.c:28 #5 0x00007fade2e5ddd7 in __fdelt_chk (d=<optimized out>) at fdelt_chk.c:25 #6 0x00007fade356e970 in nih_io_select_fds () from /lib/x86_64-linux-gnu/libnih.so.1 #7 0x00007fade3572f79 in nih_main_loop () from /lib/x86_64-linux-gnu/libnih.so.1 #8 0x000056043364a145 in ?? () #9 0x00007fade2d65a40 in __libc_start_main (main=0x560433649ef0, argc=3, argv=0x7ffe4e46dda8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe4e46dd98) at libc-start.c:289 #10 0x000056043364a3d9 in ?? ()
How often does this happen? Can you trigger it in a particular way? Are you able to do cgm listcontrollers cgm getvalue memory . memory.limit_in_bytes cgm listchildren memory . cgm create memory x1 without any crashes? ** Changed in: lxc (Ubuntu) Importance: Undecided => High ** Changed in: lxc (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1532314 Title: Buffer overflow in cgmanager Status in lxc package in Ubuntu: Incomplete Bug description: Host: Ubuntu 15.10 lxc: 1.1.5-0ubuntu0.15.10.3 cgmanager: 0.39-2ubuntu2 Container: Ubuntu 15.10 Got the following trace in syslog. Please let me know what other information will be useful for troubleshooting. Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: *** buffer overflow detected ***: /sbin/cgmanager terminated Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: ======= Backtrace: ========= Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: /lib/x86_64-linux-gnu/libc.so.6(+0x78c4e)[0x7f1929550c4e] Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7f19295f0e8c] Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: /lib/x86_64-linux-gnu/libc.so.6(+0x116e80)[0x7f19295eee80] Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: /lib/x86_64-linux-gnu/libc.so.6(+0x118dd7)[0x7f19295f0dd7] Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: /lib/x86_64-linux-gnu/libnih.so.1(nih_io_handle_fds+0xad)[0x7f1929d01b3d] Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: /lib/x86_64-linux-gnu/libnih.so.1(nih_main_loop+0x13f)[0x7f1929d05faf] Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: /sbin/cgmanager(+0x5145)[0x562d8fc75145] Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f19294f8a40] Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: /sbin/cgmanager(+0x53d9)[0x562d8fc753d9] Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: ======= Memory map: ======== Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 562d8fc70000-562d8fc92000 r-xp 00000000 ca:01 12884 /sbin/cgmanager Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 562d8fe92000-562d8fe94000 r--p 00022000 ca:01 12884 /sbin/cgmanager Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 562d8fe94000-562d8fe95000 rw-p 00024000 ca:01 12884 /sbin/cgmanager Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 562d915f8000-562d92030000 rw-p 00000000 00:00 0 [heap] Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f1927d44000-7f1927d5a000 r-xp 00000000 ca:01 395872 /lib/x86_64-linux-gnu/libgcc_s.so.1 Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f1927d5a000-7f1927f59000 ---p 00016000 ca:01 395872 /lib/x86_64-linux-gnu/libgcc_s.so.1 Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f1927f59000-7f1927f5a000 r--p 00015000 ca:01 395872 /lib/x86_64-linux-gnu/libgcc_s.so.1 Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f1927f5a000-7f1927f5b000 rw-p 00016000 ca:01 395872 /lib/x86_64-linux-gnu/libgcc_s.so.1 Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f1927f5b000-7f1927f67000 r-xp 00000000 ca:01 403839 /lib/x86_64-linux-gnu/libnss_files-2.21.so Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f1927f67000-7f1928166000 ---p 0000c000 ca:01 403839 /lib/x86_64-linux-gnu/libnss_files-2.21.so Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f1928166000-7f1928167000 r--p 0000b000 ca:01 403839 /lib/x86_64-linux-gnu/libnss_files-2.21.so Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f1928167000-7f1928168000 rw-p 0000c000 ca:01 403839 /lib/x86_64-linux-gnu/libnss_files-2.21.so Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f1928168000-7f1928173000 r-xp 00000000 ca:01 403823 /lib/x86_64-linux-gnu/libnss_nis-2.21.so Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f1928173000-7f1928372000 ---p 0000b000 ca:01 403823 /lib/x86_64-linux-gnu/libnss_nis-2.21.so Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f1928372000-7f1928373000 r--p 0000a000 ca:01 403823 /lib/x86_64-linux-gnu/libnss_nis-2.21.so Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f1928373000-7f1928374000 rw-p 0000b000 ca:01 403823 /lib/x86_64-linux-gnu/libnss_nis-2.21.so Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f1928374000-7f192838b000 r-xp 00000000 ca:01 403845 /lib/x86_64-linux-gnu/libnsl-2.21.so Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f192838b000-7f192858a000 ---p 00017000 ca:01 403845 /lib/x86_64-linux-gnu/libnsl-2.21.so Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f192858a000-7f192858b000 r--p 00016000 ca:01 403845 /lib/x86_64-linux-gnu/libnsl-2.21.so Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f192858b000-7f192858c000 rw-p 00017000 ca:01 403845 /lib/x86_64-linux-gnu/libnsl-2.21.so Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f192858c000-7f192858e000 rw-p 00000000 00:00 0 Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f192858e000-7f1928596000 r-xp 00000000 ca:01 403841 /lib/x86_64-linux-gnu/libnss_compat-2.21.so Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f1928596000-7f1928795000 ---p 00008000 ca:01 403841 /lib/x86_64-linux-gnu/libnss_compat-2.21.so Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f1928795000-7f1928796000 r--p 00007000 ca:01 403841 /lib/x86_64-linux-gnu/libnss_compat-2.21.so Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f1928796000-7f1928797000 rw-p 00008000 ca:01 403841 /lib/x86_64-linux-gnu/libnss_compat-2.21.so Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f1928797000-7f19287a9000 r-xp 00000000 ca:01 394903 /lib/x86_64-linux-gnu/libgpg-error.so.0.15.0 Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f19287a9000-7f19289a8000 ---p 00012000 ca:01 394903 /lib/x86_64-linux-gnu/libgpg-error.so.0.15.0 Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f19289a8000-7f19289a9000 r--p 00011000 ca:01 394903 /lib/x86_64-linux-gnu/libgpg-error.so.0.15.0 Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f19289a9000-7f19289aa000 rw-p 00012000 ca:01 394903 /lib/x86_64-linux-gnu/libgpg-error.so.0.15.0 Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f19289aa000-7f19289ad000 r-xp 00000000 ca:01 403830 /lib/x86_64-linux-gnu/libdl-2.21.so Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f19289ad000-7f1928bac000 ---p 00003000 ca:01 403830 /lib/x86_64-linux-gnu/libdl-2.21.so Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f1928bac000-7f1928bad000 r--p 00002000 ca:01 403830 /lib/x86_64-linux-gnu/libdl-2.21.so Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f1928bad000-7f1928bae000 rw-p 00003000 ca:01 403830 /lib/x86_64-linux-gnu/libdl-2.21.so Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f1928bae000-7f1928c86000 r-xp 00000000 ca:01 394902 /lib/x86_64-linux-gnu/libgcrypt.so.20.0.3 Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f1928c86000-7f1928e86000 ---p 000d8000 ca:01 394902 /lib/x86_64-linux-gnu/libgcrypt.so.20.0.3 Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f1928e86000-7f1928e87000 r--p 000d8000 ca:01 394902 /lib/x86_64-linux-gnu/libgcrypt.so.20.0.3 Jan 8 19:29:24 ip-10-169-249-164 cgmanager[7725]: 7f1928e87000-7f1928e90000 rw-p 000d9000 ca:01 394902 /lib/x86_64-linux-gnu/libgcrypt.so.20.0.3 [snip] Jan 8 19:29:24 ip-10-169-249-164 systemd[1]: cgmanager.service: Main process exited, code=dumped, status=6/ABRT Jan 8 19:29:24 ip-10-169-249-164 systemd[1]: cgmanager.service: Unit entered failed state. Jan 8 19:29:24 ip-10-169-249-164 systemd[1]: cgmanager.service: Failed with result 'core-dump'. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1532314/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp