Coder Social home page Coder Social logo

ruby-lxc's Introduction

Linux Containers logo

LXC

LXC is the well-known and heavily tested low-level Linux container runtime. It is in active development since 2008 and has proven itself in critical production environments world-wide. Some of its core contributors are the same people that helped to implement various well-known containerization features inside the Linux kernel.

Status

Type Service Status
CI (Linux) GitHub Build Status
CI (Linux) Jenkins Build Status
Project status CII Best Practices CII Best Practices
Fuzzing OSS-Fuzz Fuzzing Status
Fuzzing CIFuzz CIFuzz

System Containers

LXC's main focus is system containers. That is, containers which offer an environment as close as possible as the one you'd get from a VM but without the overhead that comes with running a separate kernel and simulating all the hardware.

This is achieved through a combination of kernel security features such as namespaces, mandatory access control and control groups.

Unprivileged Containers

Unprivileged containers are containers that are run without any privilege. This requires support for user namespaces in the kernel that the container is run on. LXC was the first runtime to support unprivileged containers after user namespaces were merged into the mainline kernel.

In essence, user namespaces isolate given sets of UIDs and GIDs. This is achieved by establishing a mapping between a range of UIDs and GIDs on the host to a different (unprivileged) range of UIDs and GIDs in the container. The kernel will translate this mapping in such a way that inside the container all UIDs and GIDs appear as you would expect from the host whereas on the host these UIDs and GIDs are in fact unprivileged. For example, a process running as UID and GID 0 inside the container might appear as UID and GID 100000 on the host. The implementation and working details can be gathered from the corresponding user namespace man page.

Since unprivileged containers are a security enhancement they naturally come with a few restrictions enforced by the kernel. In order to provide a fully functional unprivileged container LXC interacts with 3 pieces of setuid code:

  • lxc-user-nic (setuid helper to create a veth pair and bridge it on the host)
  • newuidmap (from the shadow package, sets up a uid map)
  • newgidmap (from the shadow package, sets up a gid map)

Everything else is run as your own user or as a uid which your user owns.

In general, LXC's goal is to make use of every security feature available in the kernel. This means LXC's configuration management will allow experienced users to intricately tune LXC to their needs.

A more detailed introduction into LXC security can be found under the following link

Removing all Privilege

In principle LXC can be run without any of these tools provided the correct configuration is applied. However, the usefulness of such containers is usually quite restricted. Just to highlight the two most common problems:

  1. Network: Without relying on a setuid helper to setup appropriate network devices for an unprivileged user (see LXC's lxc-user-nic binary) the only option is to share the network namespace with the host. Although this should be secure in principle, sharing the host's network namespace is still one step of isolation less and increases the attack vector. Furthermore, when host and container share the same network namespace the kernel will refuse any sysfs mounts. This usually means that the init binary inside of the container will not be able to boot up correctly.

  2. User Namespaces: As outlined above, user namespaces are a big security enhancement. However, without relying on privileged helpers users who are unprivileged on the host are only permitted to map their own UID into a container. A standard POSIX system however, requires 65536 UIDs and GIDs to be available to guarantee full functionality.

Configuration

LXC is configured via a simple set of keys. For example,

  • lxc.rootfs.path
  • lxc.mount.entry

LXC namespaces configuration keys by using single dots. This means complex configuration keys such as lxc.net.0 expose various subkeys such as lxc.net.0.type, lxc.net.0.link, lxc.net.0.ipv6.address, and others for even more fine-grained configuration.

LXC is used as the default runtime for Incus, a container hypervisor exposing a well-designed and stable REST-api on top of it.

Kernel Requirements

LXC runs on any kernel from 2.6.32 onwards. All it requires is a functional C compiler. LXC works on all architectures that provide the necessary kernel features. This includes (but isn't limited to):

  • i686
  • x86_64
  • ppc, ppc64, ppc64le
  • riscv64
  • s390x
  • armv7l, arm64
  • loongarch64

LXC also supports at least the following C standard libraries:

  • glibc
  • musl
  • bionic (Android's libc)

Backwards Compatibility

LXC has always focused on strong backwards compatibility. In fact, the API hasn't been broken from release 1.0.0 onwards. Main LXC is currently at version 4.*.*.

Reporting Security Issues

The LXC project has a good reputation in handling security issues quickly and efficiently. If you think you've found a potential security issue, please report it by e-mail to all of the following persons:

  • serge (at) hallyn (dot) com
  • stgraber (at) ubuntu (dot) com
  • brauner (at) kernel (dot) org

For further details please have a look at

Becoming Active in LXC development

We always welcome new contributors and are happy to provide guidance when necessary. LXC follows the kernel coding conventions. This means we only require that each commit includes a Signed-off-by line. The coding style we use is identical to the one used by the Linux kernel. You can find a detailed introduction at:

and should also take a look at the CONTRIBUTING file in this repo.

If you want to become more active it is usually also a good idea to show up in the LXC IRC channel #lxc-dev on irc.libera.chat. We try to do all development out in the open and discussion of new features or bugs is done either in appropriate GitHub issues or on IRC.

When thinking about making security critical contributions or substantial changes it is usually a good idea to ping the developers first and ask whether a PR would be accepted.

Semantic Versioning

LXC and its related projects strictly adhere to a semantic versioning scheme.

Downloading the current source code

Source for the latest released version can always be downloaded from

You can browse the up to the minute source code and change history online

Building LXC

Without considering distribution specific details a simple

meson setup -Dprefix=/usr build
meson compile -C build

is usually sufficient.

Getting help

When you find you need help, the LXC projects provides you with several options.

Discuss Forum

We maintain a discuss forum at

where you can get support.

IRC

You can find us in #lxc on irc.libera.chat.

Mailing Lists

You can check out one of the two LXC mailing list archives and register if interested:

ruby-lxc's People

Contributors

aither64 avatar akerouanton avatar andrenth avatar jafaral avatar jeremiahsnapp avatar ranjib avatar stgraber avatar uu59 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ruby-lxc's Issues

Cannot fork after attaching in ruby >= 2.6

Example code:

require 'lxc'

old_sync = $stdout.sync
$stdout.sync = true

ct = LXC::Container.new('container')
puts "#{Process.pid} Attaching to container"
exitcode = ct.attach({wait: true}) do
  puts "#{Process.pid} Inside container. Forking"
  fork do
    puts "#{Process.pid} Forked :)"
  end
end

This used to work fine in ruby 2.5:

# ruby --version
ruby 2.5.8p224 (2020-03-31 revision 67882) [x86_64-linux]
# ruby test.rb
138201 Attaching to container
26532 Inside container. Forking
26533 Forked :)

However it seems to trigger an internal ruby error (at https://github.com/ruby/ruby/blob/510df47f5f7f83918d3aa00316c8a5b959d80d7c/thread_pthread.c#L1695) in ruby 2.6 / 2.7:

# ruby --version
ruby 2.6.6p146 (2020-03-31 revision 67876) [x86_64-linux]
# ruby test.rb 2>&1 | head
138686 Attaching to container 
26536 Inside container. Forking
test.rb:10: [BUG] timer_posix was not dead: 0
           
ruby 2.6.6p146 (2020-03-31 revision 67876) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0005 p:---- s:0021 e:000020 CFUNC  :fork
c:0004 p:0035 s:0017 e:000016 BLOCK  test.rb:10 [FINISH]
c:0003 p:---- s:0014 e:000013 CFUNC  :attach
# ruby --version
ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux]
# ruby test.rb 2>&1 | head
138889 Attaching to container
26538 Inside container. Forking
test.rb:10: [BUG] timer_posix was not dead: 0

ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0005 p:---- s:0021 e:000020 CFUNC  :fork
c:0004 p:0033 s:0017 e:000016 BLOCK  test.rb:10 [FINISH]
c:0003 p:---- s:0014 e:000013 CFUNC  :attach

I've tested in CentOS 7.7, Debian buster (and sid)

clone segfaults with the latest lxc release

Hi!

Just update lxc form 1.1.2 to latest 1.1.4 and LXC::Container.clone is throwing segfault

I haven't look into this yet, but I just wanted to ask if ruby-lxc is compatible with lxc 1.1.4 before getting into it.

c.stop hangs

So, this is my code:

c = LXC::Container.new(container_name)
c.config_path = '/etc/lxc'
c.create('ubuntu') 
c.start
c.attach do
    LXC.run_command('ls /tmp/')
end
puts "Stoping container #{c.name}..."
c.stop
puts "Clearing config for container #{c.name}..."
c.clear_config

But, it hangs on c.stop and never reaches "puts "Clearing config for container #{c.name}...""

Manually trying to stop it shows:

lxc-stop --name 9081457b230bb11a041d
9081457b230bb11a041d is not running

lxc-info --name 9081457b230bb11a041d
9081457b230bb11a041d doesn't exist

zombie process after (attach and run_command)

require 'lxc'

c = LXC::Container.new('foo')
c.create('ubuntu')
c.start
c.attach do
LXC.run_command('/sbin/ifconfig')
end
c.stop
c.destroy

after i execute this script๏ผŒi found ifconfig process become a zombie process

destroying containers from code doesn't sync with lxc-ls

I created 10 containers, then, destroyed them all (muahaha).
Looking at lxc-ls and ifconfig I can see that the containers are still "running" but trying to execute lxc-destroy --name *** gives back an error

f87efd19-4594-407d-9b18-712273144675  RUNNING  10.0.3.130  -     -       NO         

root@Sphere:/var/lib/lxc# lxc-destroy --name f87efd19-4594-407d-9b18-712273144675
Container is not defined

looking at /var/lib/lxc shows an empty dir.

So it seems I got "phantom" containers ?

missing liblxc when installing

any ideas?

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    /usr/local/rvm/rubies/ruby-2.1.2/bin/ruby extconf.rb 
checking for lxc_container_new() in -llxc... no
missing liblxc
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/usr/local/rvm/rubies/ruby-2.1.2/bin/ruby
    --with-lxclib
    --without-lxclib

extconf failed, exit code 1

Gem files will remain installed in /usr/local/rvm/gems/ruby-2.1.2/bundler/gems/ruby-lxc-6024d0e40beb for inspection.
Results logged to /usr/local/rvm/gems/ruby-2.1.2/bundler/gems/extensions/x86_64-linux/2.1.0/ruby-lxc-6024d0e40beb/gem_make.out
An error occurred while installing ruby-lxc (1.2.0), and Bundler cannot continue.

LXC.run_command path issue

Hi,

I'm using your gem to automate container creation and execute commands.
I'm having an issue when trying to execute a command that includes a path, it seems that passing " instead of ' have weird effects.
Also, trying to do clamscan * on a dir says "Cannot find /home/ubuntu/*" instead of "expending" the * to all the files in the path, maybe it's something to do with how the run_command is executed in the container shell ? is it bash or sh ?

Thanks is advance :)

how to run lxc commands

where can i find documentation on how to run basic lxc commands like 'lxc-ls, lxc-start' etc and also how to connect to the lxc api to connect to a remote lxc node?

gem fails to install on ubuntu 18.04

Hello, I followed the instructions installing the required packages and when I issue gem install ruby-gems I get errors.

root@lxc-node:~# gem install ruby-lxc
Building native extensions. This could take a while...
ERROR:  Error installing ruby-lxc:
        ERROR: Failed to build gem native extension.

    current directory: /var/lib/gems/2.5.0/gems/ruby-lxc-1.2.2/ext/lxc
/usr/bin/ruby2.5 -r ./siteconf20180704-29573-1h4z7yu.rb extconf.rb
checking for lxc_container_new() in -llxc... yes
checking for lxc/lxccontainer.h... yes
checking for rb_thread_call_without_gvl()... yes
checking for rb_thread_blocking_region()... no
creating Makefile

current directory: /var/lib/gems/2.5.0/gems/ruby-lxc-1.2.2/ext/lxc
make "DESTDIR=" clean

current directory: /var/lib/gems/2.5.0/gems/ruby-lxc-1.2.2/ext/lxc
make "DESTDIR="
compiling lxc.c
In file included from /usr/include/lxc/lxccontainer.h:31:0,
                 from lxc.c:4:
lxc.c: In function โ€˜lxc_attach_parse_optionsโ€™:
lxc.c:572:41: error: โ€˜EBADFโ€™ undeclared (first use in this function)
     lxc_attach_options_t default_opts = LXC_ATTACH_OPTIONS_DEFAULT;
                                         ^
lxc.c:572:41: note: each undeclared identifier is reported only once for each function it appears in
Makefile:242: recipe for target 'lxc.o' failed
make: *** [lxc.o] Error 1

make failed, exit code 2

Gem files will remain installed in /var/lib/gems/2.5.0/gems/ruby-lxc-1.2.2 for inspection.
Results logged to /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/ruby-lxc-1.2.2/gem_make.out

On Ubuntu 16.04 things work flawlessly

c.config_item('lxc.mount.entry') sometimes returns a string instead of array

I'm not sure if the real problem is in LXC itself or not but c.config_item('lxc.mount.entry') should return an array of strings representing the configured mount entries.

Sometimes it instead returns a string of all the mount entries separated by "\n".

irb(main):015:0> a.config_item('lxc.mount.entry')
=> ["proc proc proc nodev,noexec,nosuid 0 0", "sysfs sys sysfs defaults 0 0", "/sys/fs/fuse/connections sys/fs/fuse/connections none bind,optional 0 0", "/sys/kernel/debug sys/kernel/debug none bind,optional 0 0", "/sys/kernel/security sy
s/kernel/security none bind,optional 0 0", "/sys/fs/pstore sys/fs/pstore none bind,optional 0 0", "/dev-shared dev-shared none bind,optional,create=dir 0 0     ## dev-lxc ##"]
irb(main):016:0> a.config_item('lxc.mount.entry')
=> "proc proc proc nodev,noexec,nosuid 0 0\nsysfs sys sysfs defaults 0 0\n/sys/fs/fuse/connections sys/fs/fuse/connections none bind,optional 0 0\n/sys/kernel/debug sys/kernel/debug none bind,optional 0 0\n/sys/kernel/security sys/kernel/
security none bind,optional 0 0\n/sys/fs/pstore sys/fs/pstore none bind,optional 0 0\n/dev-shared dev-shared none bind,optional,create=dir 0 0     ## dev-lxc ##\n"

undefined symbol: lxc_strerror

Hi,

I'm experimenting with this package but I keep getting this error:

$ruby test.rb
/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require': /var/lib/gems/2.3.0/gems/ruby-lxc-1.2.1/lib/lxc/lxc.so: undefined symbol: lxc_strerror - /var/lib/gems/2.3.0/gems/ruby-lxc-1.2.1/lib/lxc/lxc.so (LoadError) from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:inrequire'
from /var/lib/gems/2.3.0/gems/ruby-lxc-1.2.1/lib/lxc.rb:2:in <top (required)>' from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:inrequire'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in rescue in require' from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:40:inrequire'
from test.rb:1:in `

'

OUTPUT of nm:
$nm /var/lib/gems/2.3.0/gems/ruby-lxc-1.2.1/lib/lxc/lxc.so | grep lxc_str
U lxc_strerror

obviously it is undefined in lxc.so and it is expected to be defined at runtime. Who is supposed to define it? what am I missing ?

$lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial

$ruby --version
ruby 2.3.1p112 (2016-04-26) [arm-linux-gnueabihf]

I also tried on another Ubuntu machine but got the same error above. Same ruby version but it is x86 instead ot arm.

$ruby --version
ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]

Thanks in advanced for any help.

clone using overlayfs snapshot

Hi,

I am trying to do a snapshot based clone. Though this works fine via command line as
lxc-clone -o source-precise-amd64 --snapshot -B overlayfs -n p2

I am unable to do this via the ruby-lxc bindings. This is what I am doing,

container.clone(@container_info[:name], { 'flags' => 'lxc.LXC_CLONE_SNAPSHOT', 'bdev_type' => 'overlayfs' })

and it takes like the same amount of time as it itakes for the regular clone. How can this be solved?

Capturing the exit status of commands inside the container

I've been trying to find ways to capture the exit status of the commands runs inside the container. I had a look at #attach and #run_command but couldn't find a way to capture the exit status. I naively tried somethings like:

container = LXC::Container.new('foo')
container.start
status = nil
container.attach(wait: true) do 
    status = system("false") 
    p status       #=> false
end
p status           #=> nil

Has anyone had this issue before? Any suggestions to get hold of the exit status?

Error installing gem with Rubinius

Command: gem install ruby-lxc

Error:

Fetching: ruby-lxc-1.2.0.gem (100%)
Building native extensions.  This could take a while...
ERROR:  Error installing ruby-lxc:
    ERROR: Failed to build gem native extension.

    /usr/local/rvm/rubies/rbx-2.5.2/bin/rbx -r ./siteconf20160103-7975-gai0k3.rb extconf.rb
checking for lxc_container_new() in -llxc... yes
checking for lxc/lxccontainer.h... yes
checking for rb_thread_call_without_gvl()... no
checking for rb_thread_blocking_region()... no
creating Makefile

make "DESTDIR=" clean

make "DESTDIR="
compiling lxc.c
lxc.c:576:11: error: expected parameter declarator
    VALUE rb_stdin, rb_stdout, rb_stderr;
          ^
/usr/local/rvm/rubies/rbx-2.5.2/vm/include/capi/ruby/ruby.h:374:41: note: expanded from macro 'rb_stdin'
#define rb_stdin              rb_gv_get("$stdin")
                                        ^
lxc.c:576:11: error: expected ')'
/usr/local/rvm/rubies/rbx-2.5.2/vm/include/capi/ruby/ruby.h:374:41: note: expanded from macro 'rb_stdin'
#define rb_stdin              rb_gv_get("$stdin")
                                        ^
lxc.c:576:11: note: to match this '('
/usr/local/rvm/rubies/rbx-2.5.2/vm/include/capi/ruby/ruby.h:374:40: note: expanded from macro 'rb_stdin'
#define rb_stdin              rb_gv_get("$stdin")
                                       ^
lxc.c:576:21: error: expected parameter declarator
    VALUE rb_stdin, rb_stdout, rb_stderr;
                    ^
/usr/local/rvm/rubies/rbx-2.5.2/vm/include/capi/ruby/ruby.h:375:41: note: expanded from macro 'rb_stdout'
#define rb_stdout             rb_gv_get("$stdout")
                                        ^
lxc.c:576:21: error: expected ')'
/usr/local/rvm/rubies/rbx-2.5.2/vm/include/capi/ruby/ruby.h:375:41: note: expanded from macro 'rb_stdout'
#define rb_stdout             rb_gv_get("$stdout")
                                        ^
lxc.c:576:21: note: to match this '('
/usr/local/rvm/rubies/rbx-2.5.2/vm/include/capi/ruby/ruby.h:375:40: note: expanded from macro 'rb_stdout'
#define rb_stdout             rb_gv_get("$stdout")
                                       ^
lxc.c:576:32: error: expected parameter declarator
    VALUE rb_stdin, rb_stdout, rb_stderr;
                               ^
/usr/local/rvm/rubies/rbx-2.5.2/vm/include/capi/ruby/ruby.h:376:41: note: expanded from macro 'rb_stderr'
#define rb_stderr             rb_gv_get("$stderr")
                                        ^
lxc.c:576:32: error: expected ')'
/usr/local/rvm/rubies/rbx-2.5.2/vm/include/capi/ruby/ruby.h:376:41: note: expanded from macro 'rb_stderr'
#define rb_stderr             rb_gv_get("$stderr")
                                        ^
lxc.c:576:32: note: to match this '('
/usr/local/rvm/rubies/rbx-2.5.2/vm/include/capi/ruby/ruby.h:376:40: note: expanded from macro 'rb_stderr'
#define rb_stderr             rb_gv_get("$stderr")
                                       ^
lxc.c:649:14: error: expression is not assignable
    rb_stdin = rb_hash_aref(rb_opts, SYMBOL("stdin"));
    ~~~~~~~~ ^
lxc.c:656:15: error: expression is not assignable
    rb_stdout = rb_hash_aref(rb_opts, SYMBOL("stdout"));
    ~~~~~~~~~ ^
lxc.c:663:15: error: expression is not assignable
    rb_stderr = rb_hash_aref(rb_opts, SYMBOL("stderr"));
    ~~~~~~~~~ ^
9 errors generated.
make: *** [lxc.o] Error 1

make failed, exit code 2

Segmentation faults

Hi,
I'm getting lots of segmentation faults when trying to run tests or creating containers.

  • debian wheezy 7.4 with kernel 3.13.5
  • lxc 1.0.0 (2014/02/25)
  • ruby 2.1.1
/usr/local/bin/ruby -I"lib:test" -I"/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib" "/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/rake_test_loader.rb" "test/test_lxc_class_methods.rb" "test/test_lxc_created.rb" "test/test_lxc_running.rb" "test/test_lxc_undefined.rb" 
/var/tmp/lxc-test/ruby-lxc/test/test_lxc_class_methods.rb:14: [BUG] Segmentation fault at 0x00000000000030
ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0022 p:---- s:0098 e:000097 CFUNC  :create
c:0021 p:0076 s:0094 e:000093 METHOD /var/tmp/lxc-test/ruby-lxc/test/test_lxc_class_methods.rb:14
c:0020 p:0054 s:0091 e:000090 METHOD /usr/local/lib/ruby/2.1.0/minitest/unit.rb:1263
c:0019 p:0019 s:0083 e:000082 METHOD /usr/local/lib/ruby/2.1.0/test/unit/testcase.rb:17
c:0018 p:0068 s:0079 e:000078 BLOCK  /usr/local/lib/ruby/2.1.0/minitest/unit.rb:940 [FINISH]
c:0017 p:---- s:0073 e:000072 CFUNC  :map
c:0016 p:0103 s:0070 e:000069 METHOD /usr/local/lib/ruby/2.1.0/minitest/unit.rb:933
c:0015 p:0015 s:0060 e:000058 BLOCK  /usr/local/lib/ruby/2.1.0/test/unit.rb:663 [FINISH]
c:0014 p:---- s:0055 e:000054 CFUNC  :each
c:0013 p:0067 s:0052 e:000051 METHOD /usr/local/lib/ruby/2.1.0/test/unit.rb:661
c:0012 p:0135 s:0046 e:000045 METHOD /usr/local/lib/ruby/2.1.0/minitest/unit.rb:884
c:0011 p:0009 s:0036 e:000035 METHOD /usr/local/lib/ruby/2.1.0/minitest/unit.rb:1092
c:0010 p:0009 s:0033 e:000032 BLOCK  /usr/local/lib/ruby/2.1.0/minitest/unit.rb:1079 [FINISH]
c:0009 p:---- s:0030 e:000029 CFUNC  :each
c:0008 p:0048 s:0027 e:000026 METHOD /usr/local/lib/ruby/2.1.0/minitest/unit.rb:1078
c:0007 p:0017 s:0023 e:000022 METHOD /usr/local/lib/ruby/2.1.0/minitest/unit.rb:1066
c:0006 p:0019 s:0019 e:000018 METHOD /usr/local/lib/ruby/2.1.0/test/unit.rb:27
c:0005 p:0010 s:0015 e:000014 METHOD /usr/local/lib/ruby/2.1.0/test/unit.rb:780
c:0004 p:0027 s:0010 e:000008 BLOCK  /usr/local/lib/ruby/2.1.0/test/unit.rb:372
c:0003 p:0031 s:0007 e:000006 METHOD /usr/local/lib/ruby/2.1.0/test/unit.rb:33
c:0002 p:0024 s:0004 e:000003 BLOCK  /usr/local/lib/ruby/2.1.0/test/unit.rb:371 [FINISH]
c:0001 p:0000 s:0002 E:0005c8 TOP    [FINISH]

-- Ruby level backtrace information ----------------------------------------
/usr/local/lib/ruby/2.1.0/test/unit.rb:371:in `block in autorun'
/usr/local/lib/ruby/2.1.0/test/unit.rb:33:in `run_once'
/usr/local/lib/ruby/2.1.0/test/unit.rb:372:in `block (2 levels) in autorun'
/usr/local/lib/ruby/2.1.0/test/unit.rb:780:in `run'
/usr/local/lib/ruby/2.1.0/test/unit.rb:27:in `run'
/usr/local/lib/ruby/2.1.0/minitest/unit.rb:1066:in `run'
/usr/local/lib/ruby/2.1.0/minitest/unit.rb:1078:in `_run'
/usr/local/lib/ruby/2.1.0/minitest/unit.rb:1078:in `each'
/usr/local/lib/ruby/2.1.0/minitest/unit.rb:1079:in `block in _run'
/usr/local/lib/ruby/2.1.0/minitest/unit.rb:1092:in `run_tests'
/usr/local/lib/ruby/2.1.0/minitest/unit.rb:884:in `_run_anything'
/usr/local/lib/ruby/2.1.0/test/unit.rb:661:in `_run_suites'
/usr/local/lib/ruby/2.1.0/test/unit.rb:661:in `each'
/usr/local/lib/ruby/2.1.0/test/unit.rb:663:in `block in _run_suites'
/usr/local/lib/ruby/2.1.0/minitest/unit.rb:933:in `_run_suite'
/usr/local/lib/ruby/2.1.0/minitest/unit.rb:933:in `map'
/usr/local/lib/ruby/2.1.0/minitest/unit.rb:940:in `block in _run_suite'
/usr/local/lib/ruby/2.1.0/test/unit/testcase.rb:17:in `run'
/usr/local/lib/ruby/2.1.0/minitest/unit.rb:1263:in `run'
/var/tmp/lxc-test/ruby-lxc/test/test_lxc_class_methods.rb:14:in `setup'
/var/tmp/lxc-test/ruby-lxc/test/test_lxc_class_methods.rb:14:in `create'

-- C level backtrace information -------------------------------------------
/usr/local/lib/libruby.so.2.1(+0x1c798c) [0x7fc55d6a398c] vm_dump.c:685
/usr/local/lib/libruby.so.2.1(+0x75970) [0x7fc55d551970] error.c:307
/usr/local/lib/libruby.so.2.1(rb_bug+0xb3) [0x7fc55d552623] error.c:334
/usr/local/lib/libruby.so.2.1(+0x14939e) [0x7fc55d62539e] signal.c:704
/lib/x86_64-linux-gnu/libpthread.so.0(+0xf030) [0x7fc55d2cf030] confile.c:2045
/usr/lib/liblxc.so.1(+0x119cc) [0x7fc5597e99cc] bdev.c:479
/usr/lib/liblxc.so.1(+0x15ab3) [0x7fc5597edab3] bdev.c:2630
/usr/lib/liblxc.so.1(bdev_create+0x1cd) [0x7fc5597ee46d] bdev.c:2656
/usr/lib/liblxc.so.1(+0x42ded) [0x7fc55981aded] lxccontainer.c:798
/usr/lib/liblxc.so.1(+0x45ec6) [0x7fc55981dec6] lxccontainer.c:1310
/var/tmp/lxc-test/ruby-lxc/lib/lxc/lxc.so(+0x3a16) [0x7fc559a3da16] ../../../../ext/lxc/lxc.c:897
/usr/local/lib/libruby.so.2.1(+0x1b2160) [0x7fc55d68e160] vm_insnhelper.c:1470
/usr/local/lib/libruby.so.2.1(+0x1bed65) [0x7fc55d69ad65] vm_insnhelper.c:1560
/usr/local/lib/libruby.so.2.1(+0x1b6c7a) [0x7fc55d692c7a] insns.def:1028
/usr/local/lib/libruby.so.2.1(+0x1bb319) [0x7fc55d697319] vm.c:1304
/usr/local/lib/libruby.so.2.1(rb_yield+0x25) [0x7fc55d69c485] vm_eval.c:938
/usr/local/lib/libruby.so.2.1(+0x3714d) [0x7fc55d51314d] confile.c:2299
/usr/local/lib/libruby.so.2.1(+0x1b2160) [0x7fc55d68e160] vm_insnhelper.c:1470
/usr/local/lib/libruby.so.2.1(+0x1b7603) [0x7fc55d693603] insns.def:999
/usr/local/lib/libruby.so.2.1(+0x1bb319) [0x7fc55d697319] vm.c:1304
/usr/local/lib/libruby.so.2.1(rb_yield+0x25) [0x7fc55d69c485] vm_eval.c:938
/usr/local/lib/libruby.so.2.1(rb_ary_each+0x52) [0x7fc55d50c742] conf.c:2218
/usr/local/lib/libruby.so.2.1(+0x1b2160) [0x7fc55d68e160] vm_insnhelper.c:1470
/usr/local/lib/libruby.so.2.1(+0x1bed65) [0x7fc55d69ad65] vm_insnhelper.c:1560
/usr/local/lib/libruby.so.2.1(+0x1b7603) [0x7fc55d693603] insns.def:999
/usr/local/lib/libruby.so.2.1(+0x1bb319) [0x7fc55d697319] vm.c:1304
/usr/local/lib/libruby.so.2.1(rb_yield+0x25) [0x7fc55d69c485] vm_eval.c:938
/usr/local/lib/libruby.so.2.1(rb_ary_each+0x52) [0x7fc55d50c742] conf.c:2218
/usr/local/lib/libruby.so.2.1(+0x1b2160) [0x7fc55d68e160] vm_insnhelper.c:1470
/usr/local/lib/libruby.so.2.1(+0x1bed65) [0x7fc55d69ad65] vm_insnhelper.c:1560
/usr/local/lib/libruby.so.2.1(+0x1b7603) [0x7fc55d693603] insns.def:999
/usr/local/lib/libruby.so.2.1(+0x1bb319) [0x7fc55d697319] vm.c:1304
/usr/local/lib/libruby.so.2.1(+0x1be037) [0x7fc55d69a037] vm.c:732
/usr/local/lib/libruby.so.2.1(+0x1be0aa) [0x7fc55d69a0aa] vm.c:807
/usr/local/lib/libruby.so.2.1(rb_proc_call+0x42) [0x7fc55d561302] proc.c:759
/usr/local/lib/libruby.so.2.1(rb_exec_end_proc+0x166) [0x7fc55d55b5e6] eval_jump.c:107
/usr/local/lib/libruby.so.2.1(+0x7f6b3) [0x7fc55d55b6b3] eval.c:120
/usr/local/lib/libruby.so.2.1(ruby_cleanup+0x2da) [0x7fc55d55b9ea] eval.c:178
/usr/local/lib/libruby.so.2.1(ruby_run_node+0x23) [0x7fc55d55bbf3] eval.c:310
/usr/local/bin/ruby() [0x4008eb] main.c:36
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7fc55c68eead] parse.c:84
/usr/local/bin/ruby() [0x400919] main.c:38

-- Other runtime information -----------------------------------------------

* Loaded script: /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/rake_test_loader.rb

* Loaded features:

    0 enumerator.so
    1 /usr/local/lib/ruby/2.1.0/x86_64-linux/enc/encdb.so
    2 /usr/local/lib/ruby/2.1.0/x86_64-linux/enc/trans/transdb.so
    3 /usr/local/lib/ruby/2.1.0/x86_64-linux/rbconfig.rb
    4 /usr/local/lib/ruby/2.1.0/rubygems/compatibility.rb
    5 /usr/local/lib/ruby/2.1.0/rubygems/defaults.rb
    6 /usr/local/lib/ruby/2.1.0/rubygems/deprecate.rb
    7 /usr/local/lib/ruby/2.1.0/rubygems/errors.rb
    8 /usr/local/lib/ruby/2.1.0/rubygems/version.rb
    9 /usr/local/lib/ruby/2.1.0/rubygems/requirement.rb
   10 /usr/local/lib/ruby/2.1.0/rubygems/platform.rb
   11 /usr/local/lib/ruby/2.1.0/rubygems/basic_specification.rb
   12 /usr/local/lib/ruby/2.1.0/rubygems/stub_specification.rb
   13 /usr/local/lib/ruby/2.1.0/rubygems/util/stringio.rb
   14 /usr/local/lib/ruby/2.1.0/rubygems/specification.rb
   15 /usr/local/lib/ruby/2.1.0/rubygems/exceptions.rb
   16 /usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_gem.rb
   17 thread.rb
   18 /usr/local/lib/ruby/2.1.0/x86_64-linux/thread.so
   19 /usr/local/lib/ruby/2.1.0/monitor.rb
   20 /usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb
   21 /usr/local/lib/ruby/2.1.0/rubygems.rb
   22 /usr/local/lib/ruby/2.1.0/x86_64-linux/pathname.so
   23 /usr/local/lib/ruby/2.1.0/pathname.rb
   24 /usr/local/lib/ruby/2.1.0/rubygems/dependency.rb
   25 /usr/local/lib/ruby/2.1.0/rubygems/path_support.rb
   26 /usr/local/lib/ruby/2.1.0/x86_64-linux/io/console.so
   27 /usr/local/lib/ruby/2.1.0/rubygems/user_interaction.rb
   28 /usr/local/lib/ruby/2.1.0/x86_64-linux/etc.so
   29 /usr/local/lib/ruby/2.1.0/rubygems/config_file.rb
   30 /usr/local/lib/ruby/2.1.0/fileutils.rb
   31 /usr/local/lib/ruby/2.1.0/x86_64-linux/digest.so
   32 /usr/local/lib/ruby/2.1.0/digest.rb
   33 /usr/local/lib/ruby/2.1.0/x86_64-linux/openssl.so
   34 /usr/local/lib/ruby/2.1.0/openssl/bn.rb
   35 /usr/local/lib/ruby/2.1.0/openssl/cipher.rb
   36 /usr/local/lib/ruby/2.1.0/x86_64-linux/stringio.so
   37 /usr/local/lib/ruby/2.1.0/openssl/config.rb
   38 /usr/local/lib/ruby/2.1.0/openssl/digest.rb
   39 /usr/local/lib/ruby/2.1.0/openssl/x509.rb
   40 /usr/local/lib/ruby/2.1.0/openssl/buffering.rb
   41 /usr/local/lib/ruby/2.1.0/x86_64-linux/fcntl.so
   42 /usr/local/lib/ruby/2.1.0/openssl/ssl.rb
   43 /usr/local/lib/ruby/2.1.0/openssl.rb
   44 /usr/local/lib/ruby/2.1.0/rubygems/security/policy.rb
   45 /usr/local/lib/ruby/2.1.0/rubygems/security/policies.rb
   46 /usr/local/lib/ruby/2.1.0/rubygems/security/trust_dir.rb
   47 /usr/local/lib/ruby/2.1.0/rubygems/security/signer.rb
   48 /usr/local/lib/ruby/2.1.0/rubygems/security.rb
   49 /usr/local/lib/ruby/2.1.0/x86_64-linux/zlib.so
   50 /usr/local/lib/ruby/2.1.0/rubygems/package/digest_io.rb
   51 /usr/local/lib/ruby/2.1.0/rubygems/package/old.rb
   52 /usr/local/lib/ruby/2.1.0/rubygems/package/tar_header.rb
   53 /usr/local/lib/ruby/2.1.0/rubygems/package/tar_reader/entry.rb
   54 /usr/local/lib/ruby/2.1.0/rubygems/package/tar_reader.rb
   55 /usr/local/lib/ruby/2.1.0/rubygems/package/tar_writer.rb
   56 /usr/local/lib/ruby/2.1.0/rubygems/package.rb
   57 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/rubygems_integration.rb
   58 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/shared_helpers.rb
   59 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/gem_path_manipulation.rb
   60 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/gem_helpers.rb
   61 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/match_platform.rb
   62 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/rubygems_ext.rb
   63 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/version.rb
   64 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler.rb
   65 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/settings.rb
   66 /usr/local/lib/ruby/2.1.0/x86_64-linux/digest/sha1.so
   67 /usr/local/lib/ruby/2.1.0/set.rb
   68 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/definition.rb
   69 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/dependency.rb
   70 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/ruby_dsl.rb
   71 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/dsl.rb
   72 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/source.rb
   73 /usr/local/lib/ruby/2.1.0/uri/common.rb
   74 /usr/local/lib/ruby/2.1.0/uri/generic.rb
   75 /usr/local/lib/ruby/2.1.0/uri/ftp.rb
   76 /usr/local/lib/ruby/2.1.0/uri/http.rb
   77 /usr/local/lib/ruby/2.1.0/uri/https.rb
   78 /usr/local/lib/ruby/2.1.0/uri/ldap.rb
   79 /usr/local/lib/ruby/2.1.0/uri/ldaps.rb
   80 /usr/local/lib/ruby/2.1.0/uri/mailto.rb
   81 /usr/local/lib/ruby/2.1.0/uri.rb
   82 /usr/local/lib/ruby/2.1.0/x86_64-linux/socket.so
   83 /usr/local/lib/ruby/2.1.0/socket.rb
   84 /usr/local/lib/ruby/2.1.0/timeout.rb
   85 /usr/local/lib/ruby/2.1.0/net/protocol.rb
   86 /usr/local/lib/ruby/2.1.0/net/http/exceptions.rb
   87 /usr/local/lib/ruby/2.1.0/net/http/header.rb
   88 /usr/local/lib/ruby/2.1.0/net/http/generic_request.rb
   89 /usr/local/lib/ruby/2.1.0/net/http/request.rb
   90 /usr/local/lib/ruby/2.1.0/net/http/requests.rb
   91 /usr/local/lib/ruby/2.1.0/net/http/response.rb
   92 /usr/local/lib/ruby/2.1.0/net/http/responses.rb
   93 /usr/local/lib/ruby/2.1.0/net/http/proxy_delta.rb
   94 /usr/local/lib/ruby/2.1.0/net/http/backward.rb
   95 /usr/local/lib/ruby/2.1.0/net/http.rb
   96 /usr/local/lib/ruby/2.1.0/x86_64-linux/date_core.so
   97 /usr/local/lib/ruby/2.1.0/date/format.rb
   98 /usr/local/lib/ruby/2.1.0/date.rb
   99 /usr/local/lib/ruby/2.1.0/time.rb
  100 /usr/local/lib/ruby/2.1.0/rubygems/request.rb
  101 /usr/local/lib/ruby/2.1.0/cgi/core.rb
  102 /usr/local/lib/ruby/2.1.0/cgi/util.rb
  103 /usr/local/lib/ruby/2.1.0/cgi/cookie.rb
  104 /usr/local/lib/ruby/2.1.0/cgi.rb
  105 /usr/local/lib/ruby/2.1.0/rubygems/uri_formatter.rb
  106 /usr/local/lib/ruby/2.1.0/securerandom.rb
  107 /usr/local/lib/ruby/2.1.0/resolv.rb
  108 /usr/local/lib/ruby/2.1.0/rubygems/remote_fetcher.rb
  109 /usr/local/lib/ruby/2.1.0/rubygems/text.rb
  110 /usr/local/lib/ruby/2.1.0/rubygems/name_tuple.rb
  111 /usr/local/lib/ruby/2.1.0/rubygems/spec_fetcher.rb
  112 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/source/rubygems.rb
  113 /var/tmp/lxc-test/ruby-lxc/lib/lxc/version.rb
  114 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/source/path.rb
  115 /usr/local/lib/ruby/2.1.0/x86_64-linux/strscan.so
  116 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/source/git.rb
  117 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/lockfile_parser.rb
  118 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/lazy_specification.rb
  119 /usr/local/lib/ruby/2.1.0/tsort.rb
  120 /usr/local/lib/ruby/2.1.0/forwardable.rb
  121 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/spec_set.rb
  122 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/environment.rb
  123 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/runtime.rb
  124 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/index.rb
  125 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/remote_specification.rb
  126 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/dep_proxy.rb
  127 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/resolver.rb
  128 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/ui.rb
  129 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/endpoint_specification.rb
  130 /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.3.0/lib/bundler/setup.rb
  131 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/version.rb
  132 /usr/local/lib/ruby/2.1.0/singleton.rb
  133 /usr/local/lib/ruby/2.1.0/optparse.rb
  134 /usr/local/lib/ruby/2.1.0/ostruct.rb
  135 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/ext/module.rb
  136 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/ext/core.rb
  137 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/ext/string.rb
  138 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/early_time.rb
  139 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/ext/time.rb
  140 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/alt_system.rb
  141 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/win32.rb
  142 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/linked_list.rb
  143 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/scope.rb
  144 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task_argument_error.rb
  145 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/rule_recursion_overflow_error.rb
  146 /usr/local/lib/ruby/2.1.0/shellwords.rb
  147 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task_manager.rb
  148 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/cloneable.rb
  149 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_utils.rb
  150 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_utils_ext.rb
  151 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/pathmap.rb
  152 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_list.rb
  153 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/promise.rb
  154 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/thread_pool.rb
  155 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/private_reader.rb
  156 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/thread_history_display.rb
  157 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/trace_output.rb
  158 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb
  159 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/rake_module.rb
  160 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/pseudo_status.rb
  161 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task_arguments.rb
  162 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/invocation_chain.rb
  163 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/invocation_exception_mixin.rb
  164 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb
  165 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_task.rb
  166 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_creation_task.rb
  167 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/multi_task.rb
  168 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/dsl_definition.rb
  169 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/default_loader.rb
  170 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/name_space.rb
  171 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/backtrace.rb
  172 /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake.rb
  173 /usr/local/lib/ruby/2.1.0/minitest/unit.rb
  174 /usr/local/lib/ruby/2.1.0/prettyprint.rb
  175 /usr/local/lib/ruby/2.1.0/pp.rb
  176 /usr/local/lib/ruby/2.1.0/test/unit/assertions.rb
  177 /usr/local/lib/ruby/2.1.0/test/unit/testcase.rb
  178 /usr/local/lib/ruby/2.1.0/test/unit.rb
  179 /var/tmp/lxc-test/ruby-lxc/lib/lxc/lxc.so
  180 /var/tmp/lxc-test/ruby-lxc/lib/lxc.rb
  181 /var/tmp/lxc-test/ruby-lxc/test/test_lxc_class_methods.rb
  182 /var/tmp/lxc-test/ruby-lxc/test/test_lxc_created.rb
  183 /usr/local/lib/ruby/2.1.0/delegate.rb
  184 /usr/local/lib/ruby/2.1.0/tmpdir.rb
  185 /usr/local/lib/ruby/2.1.0/tempfile.rb
  186 /var/tmp/lxc-test/ruby-lxc/test/test_lxc_running.rb
  187 /var/tmp/lxc-test/ruby-lxc/test/test_lxc_undefined.rb

* Process memory map:

00400000-00401000 r-xp 00000000 fd:00 231934                             /usr/local/bin/ruby
00600000-00601000 rw-p 00000000 fd:00 231934                             /usr/local/bin/ruby
00b34000-01e48000 rw-p 00000000 00:00 0                                  [heap]
7fc558b8c000-7fc558ba1000 r-xp 00000000 fd:00 1703940                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fc558ba1000-7fc558da1000 ---p 00015000 fd:00 1703940                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fc558da1000-7fc558da2000 rw-p 00015000 fd:00 1703940                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fc558da2000-7fc558da6000 r-xp 00000000 fd:00 1703983                    /lib/x86_64-linux-gnu/libattr.so.1.1.0
7fc558da6000-7fc558fa5000 ---p 00004000 fd:00 1703983                    /lib/x86_64-linux-gnu/libattr.so.1.1.0
7fc558fa5000-7fc558fa6000 r--p 00003000 fd:00 1703983                    /lib/x86_64-linux-gnu/libattr.so.1.1.0
7fc558fa6000-7fc558fa7000 rw-p 00004000 fd:00 1703983                    /lib/x86_64-linux-gnu/libattr.so.1.1.0
7fc558fa7000-7fc558fc5000 r-xp 00000000 fd:00 1703974                    /lib/x86_64-linux-gnu/libselinux.so.1
7fc558fc5000-7fc5591c4000 ---p 0001e000 fd:00 1703974                    /lib/x86_64-linux-gnu/libselinux.so.1
7fc5591c4000-7fc5591c5000 r--p 0001d000 fd:00 1703974                    /lib/x86_64-linux-gnu/libselinux.so.1
7fc5591c5000-7fc5591c6000 rw-p 0001e000 fd:00 1703974                    /lib/x86_64-linux-gnu/libselinux.so.1
7fc5591c6000-7fc5591c7000 rw-p 00000000 00:00 0 
7fc5591c7000-7fc5591c9000 r-xp 00000000 fd:00 1705244                    /lib/x86_64-linux-gnu/libutil-2.13.so
7fc5591c9000-7fc5593c8000 ---p 00002000 fd:00 1705244                    /lib/x86_64-linux-gnu/libutil-2.13.so
7fc5593c8000-7fc5593c9000 r--p 00001000 fd:00 1705244                    /lib/x86_64-linux-gnu/libutil-2.13.so
7fc5593c9000-7fc5593ca000 rw-p 00002000 fd:00 1705244                    /lib/x86_64-linux-gnu/libutil-2.13.so
7fc5593ca000-7fc5593d3000 r-xp 00000000 fd:00 215573                     /usr/lib/libapparmor.so.1.0.2
7fc5593d3000-7fc5595d2000 ---p 00009000 fd:00 215573                     /usr/lib/libapparmor.so.1.0.2
7fc5595d2000-7fc5595d3000 r--p 00008000 fd:00 215573                     /usr/lib/libapparmor.so.1.0.2
7fc5595d3000-7fc5595d4000 rw-p 00009000 fd:00 215573                     /usr/lib/libapparmor.so.1.0.2
7fc5595d4000-7fc5595d8000 r-xp 00000000 fd:00 1705197                    /lib/x86_64-linux-gnu/libcap.so.2.22
7fc5595d8000-7fc5597d7000 ---p 00004000 fd:00 1705197                    /lib/x86_64-linux-gnu/libcap.so.2.22
7fc5597d7000-7fc5597d8000 rw-p 00003000 fd:00 1705197                    /lib/x86_64-linux-gnu/libcap.so.2.22
7fc5597d8000-7fc559837000 r-xp 00000000 fd:00 215599                     /usr/lib/liblxc.so.1.0.0
7fc559837000-7fc559a37000 ---p 0005f000 fd:00 215599                     /usr/lib/liblxc.so.1.0.0
7fc559a37000-7fc559a3a000 rw-p 0005f000 fd:00 215599                     /usr/lib/liblxc.so.1.0.0
7fc559a3a000-7fc559a41000 r-xp 00000000 fd:00 1335941                    /var/tmp/lxc-test/ruby-lxc/lib/lxc/lxc.so
7fc559a41000-7fc559c41000 ---p 00007000 fd:00 1335941                    /var/tmp/lxc-test/ruby-lxc/lib/lxc/lxc.so
7fc559c41000-7fc559c42000 rw-p 00007000 fd:00 1335941                    /var/tmp/lxc-test/ruby-lxc/lib/lxc/lxc.so
7fc559c42000-7fc559c47000 r-xp 00000000 fd:00 321295                     /usr/local/lib/ruby/2.1.0/x86_64-linux/strscan.so
7fc559c47000-7fc559e46000 ---p 00005000 fd:00 321295                     /usr/local/lib/ruby/2.1.0/x86_64-linux/strscan.so
7fc559e46000-7fc559e47000 rw-p 00004000 fd:00 321295                     /usr/local/lib/ruby/2.1.0/x86_64-linux/strscan.so
7fc559e47000-7fc559e7a000 r-xp 00000000 fd:00 321214                     /usr/local/lib/ruby/2.1.0/x86_64-linux/date_core.so
7fc559e7a000-7fc55a079000 ---p 00033000 fd:00 321214                     /usr/local/lib/ruby/2.1.0/x86_64-linux/date_core.so
7fc55a079000-7fc55a07c000 rw-p 00032000 fd:00 321214                     /usr/local/lib/ruby/2.1.0/x86_64-linux/date_core.so
7fc55a07c000-7fc55a07d000 rw-p 00000000 00:00 0 
7fc55a07d000-7fc55a0a4000 r-xp 00000000 fd:00 321293                     /usr/local/lib/ruby/2.1.0/x86_64-linux/socket.so
7fc55a0a4000-7fc55a2a4000 ---p 00027000 fd:00 321293                     /usr/local/lib/ruby/2.1.0/x86_64-linux/socket.so
7fc55a2a4000-7fc55a2a5000 rw-p 00027000 fd:00 321293                     /usr/local/lib/ruby/2.1.0/x86_64-linux/socket.so
7fc55a2a5000-7fc55a2a6000 r-xp 00000000 fd:00 321219                     /usr/local/lib/ruby/2.1.0/x86_64-linux/digest/sha1.so
7fc55a2a6000-7fc55a4a5000 ---p 00001000 fd:00 321219                     /usr/local/lib/ruby/2.1.0/x86_64-linux/digest/sha1.so
7fc55a4a5000-7fc55a4a6000 rw-p 00000000 fd:00 321219                     /usr/local/lib/ruby/2.1.0/x86_64-linux/digest/sha1.so
7fc55a4a6000-7fc55a4b5000 r-xp 00000000 fd:00 321298                     /usr/local/lib/ruby/2.1.0/x86_64-linux/zlib.so
7fc55a4b5000-7fc55a6b5000 ---p 0000f000 fd:00 321298                     /usr/local/lib/ruby/2.1.0/x86_64-linux/zlib.so
7fc55a6b5000-7fc55a6b6000 rw-p 0000f000 fd:00 321298                     /usr/local/lib/ruby/2.1.0/x86_64-linux/zlib.so
7fc55a6b6000-7fc55a6b7000 r-xp 00000000 fd:00 321281                     /usr/local/lib/ruby/2.1.0/x86_64-linux/fcntl.so
7fc55a6b7000-7fc55a8b6000 ---p 00001000 fd:00 321281                     /usr/local/lib/ruby/2.1.0/x86_64-linux/fcntl.so
7fc55a8b6000-7fc55a8b7000 rw-p 00000000 fd:00 321281                     /usr/local/lib/ruby/2.1.0/x86_64-linux/fcntl.so
7fc55a8b7000-7fc55a8be000 r-xp 00000000 fd:00 321294                     /usr/local/lib/ruby/2.1.0/x86_64-linux/stringio.so
7fc55a8be000-7fc55aabe000 ---p 00007000 fd:00 321294                     /usr/local/lib/ruby/2.1.0/x86_64-linux/stringio.so
7fc55aabe000-7fc55aabf000 rw-p 00007000 fd:00 321294                     /usr/local/lib/ruby/2.1.0/x86_64-linux/stringio.so
7fc55aabf000-7fc55aac3000 r-xp 00000000 fd:00 321221                     /usr/local/lib/ruby/2.1.0/x86_64-linux/digest.so
7fc55aac3000-7fc55acc2000 ---p 00004000 fd:00 321221                     /usr/local/lib/ruby/2.1.0/x86_64-linux/digest.so
7fc55acc2000-7fc55acc3000 rw-p 00003000 fd:00 321221                     /usr/local/lib/ruby/2.1.0/x86_64-linux/digest.so
7fc55acc3000-7fc55acd9000 r-xp 00000000 fd:00 1704026                    /lib/x86_64-linux-gnu/libz.so.1.2.7
7fc55acd9000-7fc55aed8000 ---p 00016000 fd:00 1704026                    /lib/x86_64-linux-gnu/libz.so.1.2.7
7fc55aed8000-7fc55aed9000 r--p 00015000 fd:00 1704026                    /lib/x86_64-linux-gnu/libz.so.1.2.7
7fc55aed9000-7fc55aeda000 rw-p 00016000 fd:00 1704026                    /lib/x86_64-linux-gnu/libz.so.1.2.7
7fc55aeda000-7fc55b0a4000 r-xp 00000000 fd:00 214733                     /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7fc55b0a4000-7fc55b2a3000 ---p 001ca000 fd:00 214733                     /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7fc55b2a3000-7fc55b2be000 r--p 001c9000 fd:00 214733                     /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7fc55b2be000-7fc55b2cd000 rw-p 001e4000 fd:00 214733                     /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7fc55b2cd000-7fc55b2d1000 rw-p 00000000 00:00 0 
7fc55b2d1000-7fc55b327000 r-xp 00000000 fd:00 214735                     /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
7fc55b327000-7fc55b527000 ---p 00056000 fd:00 214735                     /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
7fc55b527000-7fc55b52a000 r--p 00056000 fd:00 214735                     /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
7fc55b52a000-7fc55b531000 rw-p 00059000 fd:00 214735                     /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
7fc55b531000-7fc55b583000 r-xp 00000000 fd:00 321285                     /usr/local/lib/ruby/2.1.0/x86_64-linux/openssl.so
7fc55b583000-7fc55b782000 ---p 00052000 fd:00 321285                     /usr/local/lib/ruby/2.1.0/x86_64-linux/openssl.so
7fc55b782000-7fc55b785000 rw-p 00051000 fd:00 321285                     /usr/local/lib/ruby/2.1.0/x86_64-linux/openssl.so
7fc55b785000-7fc55b786000 rw-p 00000000 00:00 0 
7fc55b786000-7fc55b789000 r-xp 00000000 fd:00 321280                     /usr/local/lib/ruby/2.1.0/x86_64-linux/etc.so
7fc55b789000-7fc55b988000 ---p 00003000 fd:00 321280                     /usr/local/lib/ruby/2.1.0/x86_64-linux/etc.so
7fc55b988000-7fc55b989000 rw-p 00002000 fd:00 321280                     /usr/local/lib/ruby/2.1.0/x86_64-linux/etc.so
7fc55b989000-7fc55b98c000 r-xp 00000000 fd:00 327682                     /usr/local/lib/ruby/2.1.0/x86_64-linux/io/console.so
7fc55b98c000-7fc55bb8b000 ---p 00003000 fd:00 327682                     /usr/local/lib/ruby/2.1.0/x86_64-linux/io/console.so
7fc55bb8b000-7fc55bb8c000 rw-p 00002000 fd:00 327682                     /usr/local/lib/ruby/2.1.0/x86_64-linux/io/console.so
7fc55bb8c000-7fc55bb93000 r-xp 00000000 fd:00 321286                     /usr/local/lib/ruby/2.1.0/x86_64-linux/pathname.so
7fc55bb93000-7fc55bd92000 ---p 00007000 fd:00 321286                     /usr/local/lib/ruby/2.1.0/x86_64-linux/pathname.so
7fc55bd92000-7fc55bd93000 rw-p 00006000 fd:00 321286                     /usr/local/lib/ruby/2.1.0/x86_64-linux/pathname.so
7fc55bd93000-7fc55bd96000 r-xp 00000000 fd:00 321297                     /usr/local/lib/ruby/2.1.0/x86_64-linux/thread.so
7fc55bd96000-7fc55bf95000 ---p 00003000 fd:00 321297                     /usr/local/lib/ruby/2.1.0/x86_64-linux/thread.so
7fc55bf95000-7fc55bf96000 rw-p 00002000 fd:00 321297                     /usr/local/lib/ruby/2.1.0/x86_64-linux/thread.so
7fc55bf96000-7fc55bf98000 r-xp 00000000 fd:00 321271                     /usr/local/lib/ruby/2.1.0/x86_64-linux/enc/trans/transdb.so
7fc55bf98000-7fc55c198000 ---p 00002000 fd:00 321271                     /usr/local/lib/ruby/2.1.0/x86_64-linux/enc/trans/transdb.so
7fc55c198000-7fc55c199000 rw-p 00002000 fd:00 321271                     /usr/local/lib/ruby/2.1.0/x86_64-linux/enc/trans/transdb.so
7fc55c199000-7fc55c19b000 r-xp 00000000 fd:00 321229                     /usr/local/lib/ruby/2.1.0/x86_64-linux/enc/encdb.so
7fc55c19b000-7fc55c39a000 ---p 00002000 fd:00 321229                     /usr/local/lib/ruby/2.1.0/x86_64-linux/enc/encdb.so
7fc55c39a000-7fc55c39b000 rw-p 00001000 fd:00 321229                     /usr/local/lib/ruby/2.1.0/x86_64-linux/enc/encdb.so
7fc55c39b000-7fc55c670000 r--p 00000000 fd:00 215040                     /usr/lib/locale/locale-archive
7fc55c670000-7fc55c7f2000 r-xp 00000000 fd:00 1705187                    /lib/x86_64-linux-gnu/libc-2.13.so
7fc55c7f2000-7fc55c9f1000 ---p 00182000 fd:00 1705187                    /lib/x86_64-linux-gnu/libc-2.13.so
7fc55c9f1000-7fc55c9f5000 r--p 00181000 fd:00 1705187                    /lib/x86_64-linux-gnu/libc-2.13.so
7fc55c9f5000-7fc55c9f6000 rw-p 00185000 fd:00 1705187                    /lib/x86_64-linux-gnu/libc-2.13.so
7fc55c9f6000-7fc55c9fb000 rw-p 00000000 00:00 0 
7fc55c9fb000-7fc55ca7c000 r-xp 00000000 fd:00 1705230                    /lib/x86_64-linux-gnu/libm-2.13.so
7fc55ca7c000-7fc55cc7b000 ---p 00081000 fd:00 1705230                    /lib/x86_64-linux-gnu/libm-2.13.so
7fc55cc7b000-7fc55cc7c000 r--p 00080000 fd:00 1705230                    /lib/x86_64-linux-gnu/libm-2.13.so
7fc55cc7c000-7fc55cc7d000 rw-p 00081000 fd:00 1705230                    /lib/x86_64-linux-gnu/libm-2.13.so
7fc55cc7d000-7fc55cc85000 r-xp 00000000 fd:00 1705226                    /lib/x86_64-linux-gnu/libcrypt-2.13.so
7fc55cc85000-7fc55ce84000 ---p 00008000 fd:00 1705226                    /lib/x86_64-linux-gnu/libcrypt-2.13.so
7fc55ce84000-7fc55ce85000 r--p 00007000 fd:00 1705226                    /lib/x86_64-linux-gnu/libcrypt-2.13.so
7fc55ce85000-7fc55ce86000 rw-p 00008000 fd:00 1705226                    /lib/x86_64-linux-gnu/libcrypt-2.13.so
7fc55ce86000-7fc55ceb4000 rw-p 00000000 00:00 0 
7fc55ceb4000-7fc55ceb6000 r-xp 00000000 fd:00 1705237                    /lib/x86_64-linux-gnu/libdl-2.13.so
7fc55ceb6000-7fc55d0b6000 ---p 00002000 fd:00 1705237                    /lib/x86_64-linux-gnu/libdl-2.13.so
7fc55d0b6000-7fc55d0b7000 r--p 00002000 fd:00 1705237                    /lib/x86_64-linux-gnu/libdl-2.13.so
7fc55d0b7000-7fc55d0b8000 rw-p 00003000 fd:00 1705237                    /lib/x86_64-linux-gnu/libdl-2.13.so
7fc55d0b8000-7fc55d0bf000 r-xp 00000000 fd:00 1705243                    /lib/x86_64-linux-gnu/librt-2.13.so
7fc55d0bf000-7fc55d2be000 ---p 00007000 fd:00 1705243                    /lib/x86_64-linux-gnu/librt-2.13.so
7fc55d2be000-7fc55d2bf000 r--p 00006000 fd:00 1705243                    /lib/x86_64-linux-gnu/librt-2.13.so
7fc55d2bf000-7fc55d2c0000 rw-p 00007000 fd:00 1705243                    /lib/x86_64-linux-gnu/librt-2.13.so
7fc55d2c0000-7fc55d2d7000 r-xp 00000000 fd:00 1705241                    /lib/x86_64-linux-gnu/libpthread-2.13.so
7fc55d2d7000-7fc55d4d6000 ---p 00017000 fd:00 1705241                    /lib/x86_64-linux-gnu/libpthread-2.13.so
7fc55d4d6000-7fc55d4d7000 r--p 00016000 fd:00 1705241                    /lib/x86_64-linux-gnu/libpthread-2.13.so
7fc55d4d7000-7fc55d4d8000 rw-p 00017000 fd:00 1705241                    /lib/x86_64-linux-gnu/libpthread-2.13.so
7fc55d4d8000-7fc55d4dc000 rw-p 00000000 00:00 0 
7fc55d4dc000-7fc55d762000 r-xp 00000000 fd:00 231940                     /usr/local/lib/libruby.so.2.1.0
7fc55d762000-7fc55d962000 ---p 00286000 fd:00 231940                     /usr/local/lib/libruby.so.2.1.0
7fc55d962000-7fc55d96a000 rw-p 00286000 fd:00 231940                     /usr/local/lib/libruby.so.2.1.0
7fc55d96a000-7fc55d990000 rw-p 00000000 00:00 0 
7fc55d990000-7fc55d9b0000 r-xp 00000000 fd:00 1705245                    /lib/x86_64-linux-gnu/ld-2.13.so
7fc55da9b000-7fc55daa2000 r--s 00000000 fd:00 218579                     /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
7fc55daa2000-7fc55dba8000 rw-p 00000000 00:00 0 
7fc55dba8000-7fc55dba9000 rw-p 00000000 00:00 0 
7fc55dba9000-7fc55dbaa000 ---p 00000000 00:00 0 
7fc55dbaa000-7fc55dbaf000 rw-p 00000000 00:00 0 
7fc55dbaf000-7fc55dbb0000 r--p 0001f000 fd:00 1705245                    /lib/x86_64-linux-gnu/ld-2.13.so
7fc55dbb0000-7fc55dbb1000 rw-p 00020000 fd:00 1705245                    /lib/x86_64-linux-gnu/ld-2.13.so
7fc55dbb1000-7fc55dbb2000 rw-p 00000000 00:00 0 
7fffa704a000-7fffa706b000 rw-p 00000000 00:00 0                          [stack]
7fffa716a000-7fffa716c000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]

lxc.so is put in lib rather than lib/lxc

When I build and install this gem I can't use it unless I move the lxc.so into the installed gem's lib/lxc directory. Is there something I'm doing wrong? I've tried this with ruby 2.1.0 and ruby 1.9.3p448.

git clone ...
cd ruby-lxc
gem build ruby-lxc.gemspec
gem install ruby-lxc-0.1.0.gem

This is what requiring it looks like for me.

irb(main):001:0> require 'lxc'
LoadError: cannot load such file -- lxc/lxc
    from /opt/rubies/ruby-2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /opt/rubies/ruby-2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /opt/rubies/ruby-2.1.0/lib/ruby/gems/2.1.0/gems/ruby-lxc-0.1.0/lib/lxc.rb:2:in `<top (required)>'
    from /opt/rubies/ruby-2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in `require'
    from /opt/rubies/ruby-2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
    from /opt/rubies/ruby-2.1.0/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:144:in `require'
    from (irb):1
    from /opt/rubies/ruby-2.1.0/bin/irb:11:in `<main>'
irb(main):002:0>

Moving the .so file works but why?!

mv /opt/rubies/ruby-2.1.0/lib/ruby/gems/2.1.0/gems/ruby-lxc-0.1.0/lib/lxc.so /opt/rubies/ruby-2.1.0/lib/ruby/gems/2.1.0/gems/ruby-lxc-0.1.0/lib/lxc/

rb(main):001:0> require 'lxc'
=> true
irb(main):002:0>

ruby-lxc broken by liblxc 4.0.4: undefined symbol: lxc_config_parse_arch

When checking if my various LXC-related RPM packages still work with the latest Fedora version, I found that ruby-lxc is not working anymore. When trying to use it with the latest lxc-4.0.4 I get the following error:

Traceback (most recent call last):
        2: from container.rb:1:in `<main>'
        1: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in `require'
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- lxc (LoadError)
        6: from container.rb:1:in `<main>'
        5: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:34:in `require'
        4: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:130:in `rescue in require'
        3: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:130:in `require'
        2: from /usr/share/gems/gems/ruby-lxc-1.2.3/lib/lxc.rb:2:in `<top (required)>'
        1: from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in `require'
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in `require': /usr/lib64/gems/ruby/ruby-lxc-1.2.3/lxc/lxc.so: undefined symbol: lxc_config_parse_arch - /usr/lib64/gems/ruby/ruby-lxc-1.2.3/lxc/lxc.so (LoadError)

I guess it was broken by commit 63c2a0b: confile: hide unnecessary symbols.

Was this intended? Is ruby-lxc still supported?

#attach, #run_command and stdout

Hi,

first of all I'd like to say I'm not 100% sure whether this is a bug...so please let me know, it might just be a misunderstanding.

I'm working on a puppet module for full lxc management and while working on configuring interfaces I hit an issue (for my purpose) where #config_item('lxc.network.0.ipv4') returns the IP without the mask (i.e. 10.0.3.2 instead of 10.0.3.2/24) which is what I need on the puppet side.

To overcome this result, I thought I might give #attach and #run_command a try I saw I could pass :stdout to the opts hash to redirect the output of 'ip addr show dev'. So far I have only been able to do it with a file, I tried pipes and a StringIO object, no luck.

While using pipes or StringIO objects, I've got what I believe it's the issue which I'm reporting, the command is being executed on the host instead of in the container... โ“

The code is here: https://gist.github.com/tripledes/ae4509dbd30bc6826070

What I get when executing it is the following:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 08:00:27:88:55:fc brd ff:ff:ff:ff:ff:ff
    inet 10.0.2.15/24 brd 10.0.2.255 scope global dynamic enp0s3
       valid_lft 57426sec preferred_lft 57426sec
    inet6 fe80::a00:27ff:fe88:55fc/64 scope link 
       valid_lft forever preferred_lft forever
3: lxcbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default 
    link/ether fe:95:05:1d:e8:04 brd ff:ff:ff:ff:ff:ff
    inet 10.0.3.1/24 scope global lxcbr0
       valid_lft forever preferred_lft forever
    inet6 fe80::fc95:5ff:fe1d:e804/64 scope link 
       valid_lft forever preferred_lft forever
5: vethA2MDOD: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master lxcbr0 state UP group default qlen 1000
    link/ether fe:95:05:1d:e8:04 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fc95:5ff:fe1d:e804/64 scope link 
       valid_lft forever preferred_lft forever

I've tested the same script in both Archlinux and Ubuntu 14.04 with ruby-lxc 1.2.0 and latest liblxc available in both distros.

Any clue what's going on?

And any tips on how to capture the output without the need of temporary files would also be much appreciated.

save_config doesn't save cgroup related settings

when I'm using the save_config - it's working perfect for interface related stuff and stores the keys into the lxc config file.

but it doesn't work for cgroup memory.limit_in_bytes and cpuset.cpus
is that behavior expected?

Segmentation fault when creating a container

Hello!

I installed lxd on my system in order to use this gem and when I tried to follow the example there is a segmentation fault. Tried the following ruby versions:

  • 2.5.9
  • 2.6.8
  • 2.7.4

I honestly don't know what to do and sorry for asking for help with such little information. Any advice or hint will be well received and thanks in advance for paying attention to this issue

My versions:

ruby --version
ruby 2.5.9p229 (2021-04-05 revision 67939) [x86_64-linux]

gem list | grep lxc
ruby-lxc (1.2.3)

snap list
Name    Version   Rev    Tracking       Publisher   Notes
lxd    4.17      21390  latest/stable  canonicalโœ“  -

On IRB:

require 'lxc'
c = LXC::Container.new('foo')
c.create('ubuntu') # create a container named foo with ubuntu template
c.start
=> true
=> #<LXC::Container:0x0000560305750018>

produces:

(irb):3: [BUG] Segmentation fault at 0x00000000000021e0
ruby 2.5.9p229 (2021-04-05 revision 67939) [x86_64-linux]

-- Control frame information -----------------------------------------------
c:0020 p:---- s:0101 e:000100 CFUNC  :create
c:0019 p:0007 s:0096 e:000095 EVAL   (irb):3 [FINISH]
c:0018 p:---- s:0093 e:000092 CFUNC  :eval
c:0017 p:0021 s:0085 e:000084 METHOD /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/workspace.rb:85
c:0016 p:0021 s:0077 e:000075 METHOD /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/context.rb:380
c:0015 p:0017 s:0070 e:000069 BLOCK  /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb.rb:491
c:0014 p:0025 s:0060 e:000059 METHOD /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb.rb:623
c:0013 p:0008 s:0054 e:000053 BLOCK  /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb.rb:488
c:0012 p:0100 s:0049 e:000048 BLOCK  /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/ruby-lex.rb:246 [FINISH]
c:0011 p:---- s:0045 e:000044 CFUNC  :loop
c:0010 p:0006 s:0041 e:000040 BLOCK  /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/ruby-lex.rb:232 [FINISH]
c:0009 p:---- s:0038 e:000037 CFUNC  :catch
c:0008 p:0012 s:0033 e:000032 METHOD /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/ruby-lex.rb:231
c:0007 p:0031 s:0029 E:001e10 METHOD /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb.rb:487
c:0006 p:0005 s:0025 e:000024 BLOCK  /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb.rb:428 [FINISH]
c:0005 p:---- s:0022 e:000021 CFUNC  :catch
c:0004 p:0064 s:0017 E:002088 METHOD /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb.rb:427
c:0003 p:0102 s:0012 e:000011 METHOD /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb.rb:383
c:0002 p:0019 s:0006 e:000005 EVAL   /home/vanhalt/.rbenv/versions/2.5.9/bin/irb:11 [FINISH]
c:0001 p:0000 s:0003 E:000320 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
/home/vanhalt/.rbenv/versions/2.5.9/bin/irb:11:in `<main>'
/home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb.rb:383:in `start'
/home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb.rb:427:in `run'
/home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb.rb:427:in `catch'
/home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb.rb:428:in `block in run'
/home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb.rb:487:in `eval_input'
/home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/ruby-lex.rb:231:in `each_top_level_statement'
/home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/ruby-lex.rb:231:in `catch'
/home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/ruby-lex.rb:232:in `block in each_top_level_statement'
/home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/ruby-lex.rb:232:in `loop'
/home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/ruby-lex.rb:246:in `block (2 levels) in each_top_level_statement'
/home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb.rb:488:in `block in eval_input'
/home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb.rb:623:in `signal_status'
/home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb.rb:491:in `block (2 levels) in eval_input'
/home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/context.rb:380:in `evaluate'
/home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/workspace.rb:85:in `evaluate'
/home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/workspace.rb:85:in `eval'
(irb):3:in `irb_binding'
(irb):3:in `create'

-- Machine register context ------------------------------------------------
 RIP: 0x00007ffb7fe5cfba RBP: 0x00005603054e78f0 RSP: 0x00007ffc45525830
 RAX: 0x0000000000000000 RBX: 0x00005603054e78f0 RCX: 0x0000000000000018
 RDX: 0x00007ffb8061e160 RDI: 0x0000000000000000 RSI: 0x00007ffc455256f0
  R8: 0x00005603056e45f0  R9: 0x00007ffc45525660 R10: 0x00007ffc455cf080
 R11: 0x00007ffc455cf080 R12: 0x00005603056fb168 R13: 0x00005603056fb168
 R14: 0x0000000000000000 R15: 0x0000000000000000 EFL: 0x0000000000010202

-- C level backtrace information -------------------------------------------
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(rb_vm_bugreport+0x50e) [0x7ffb80c8c95e]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(0xaa81d) [0x7ffb80b0881d]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(0x19ed56) [0x7ffb80bfcd56]
/lib/x86_64-linux-gnu/libc.so.6(0x7ffb80897040) [0x7ffb80897040]
/lib/x86_64-linux-gnu/liblxc.so.1(0x7ffb7fe5cfba) [0x7ffb7fe5cfba]
/lib/x86_64-linux-gnu/liblxc.so.1(0x7ffb7fe5e418) [0x7ffb7fe5e418]
/home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/ruby-lxc-1.2.3/lib/lxc/lxc.so(container_create_without_gvl+0x2b) [0x7ffb7ff8b8eb]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(rb_thread_call_without_gvl+0x59) [0x7ffb80c3e9d9]
/home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/ruby-lxc-1.2.3/lib/lxc/lxc.so(0x5400) [0x7ffb7ff8e400]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(0x20bfbc) [0x7ffb80c69fbc]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(0x218f99) [0x7ffb80c76f99]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(0x21d0bd) [0x7ffb80c7b0bd]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(0x21d96c) [0x7ffb80c7b96c]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(0x21dfbf) [0x7ffb80c7bfbf]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(0x20bfbc) [0x7ffb80c69fbc]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(0x218f99) [0x7ffb80c76f99]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(0x21d0bd) [0x7ffb80c7b0bd]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(0x21e8db) [0x7ffb80c7c8db]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(rb_rescue2+0xdd) [0x7ffb80b0f8fd]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(0x20bfbc) [0x7ffb80c69fbc]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(0x2183cd) [0x7ffb80c763cd]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(0x21d0bd) [0x7ffb80c7b0bd]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(0x225604) [0x7ffb80c83604]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(0x20fa23) [0x7ffb80c6da23]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(rb_catch_obj+0x20) [0x7ffb80c6db60]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(0x20bfbc) [0x7ffb80c69fbc]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(0x2183cd) [0x7ffb80c763cd]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(0x21d0bd) [0x7ffb80c7b0bd]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(0x225604) [0x7ffb80c83604]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(0x20fa23) [0x7ffb80c6da23]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(rb_catch_obj+0x20) [0x7ffb80c6db60]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(0x20bfbc) [0x7ffb80c69fbc]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(0x2183cd) [0x7ffb80c763cd]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(0x21d0bd) [0x7ffb80c7b0bd]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(0xaecda) [0x7ffb80b0ccda]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(ruby_exec_node+0x21) [0x7ffb80b0ebf1]
/home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5(ruby_run_node+0x22) [0x7ffb80b119a2]
/home/vanhalt/.rbenv/versions/2.5.9/bin/ruby(main+0x4f) [0x560304ee014f] ./main.c:42

-- Other runtime information -----------------------------------------------

* Loaded script: irb

* Loaded features:

    0 enumerator.so
    1 thread.rb
    2 rational.so
    3 complex.so
    4 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/x86_64-linux/enc/encdb.so
    5 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/x86_64-linux/enc/trans/transdb.so
    6 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/x86_64-linux/rbconfig.rb
    7 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/rubygems/compatibility.rb
    8 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/rubygems/defaults.rb
    9 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/rubygems/deprecate.rb
   10 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/rubygems/errors.rb
   11 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/rubygems/version.rb
   12 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/rubygems/requirement.rb
   13 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/rubygems/platform.rb
   14 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/rubygems/basic_specification.rb
   15 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/rubygems/stub_specification.rb
   16 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/rubygems/util/list.rb
   17 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/x86_64-linux/stringio.so
   18 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/uri/rfc2396_parser.rb
   19 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/uri/rfc3986_parser.rb
   20 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/uri/common.rb
   21 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/uri/generic.rb
   22 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/uri/ftp.rb
   23 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/uri/http.rb
   24 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/uri/https.rb
   25 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/uri/ldap.rb
   26 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/uri/ldaps.rb
   27 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/uri/mailto.rb
   28 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/uri.rb
   29 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/rubygems/specification.rb
   30 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/rubygems/exceptions.rb
   31 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/rubygems/dependency.rb
   32 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/rubygems/core_ext/kernel_gem.rb
   33 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/monitor.rb
   34 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb
   35 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/rubygems.rb
   36 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/rubygems/path_support.rb
   37 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/version.rb
   38 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/core_ext/name_error.rb
   39 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/levenshtein.rb
   40 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/jaro_winkler.rb
   41 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checker.rb
   42 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/delegate.rb
   43 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb
   44 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb
   45 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/name_error_checkers.rb
   46 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/method_name_checker.rb
   47 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/key_error_checker.rb
   48 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/spell_checkers/null_checker.rb
   49 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean/formatters/plain_formatter.rb
   50 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/did_you_mean-1.2.0/lib/did_you_mean.rb
   51 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/e2mmap.rb
   52 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/init.rb
   53 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/workspace.rb
   54 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/inspector.rb
   55 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/output-method.rb
   56 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/context.rb
   57 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/extend-command.rb
   58 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/notifier.rb
   59 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/slex.rb
   60 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/ruby-token.rb
   61 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/ruby-lex.rb
   62 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/src_encoding.rb
   63 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/magic-file.rb
   64 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/x86_64-linux/readline.so
   65 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/input-method.rb
   66 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb/locale.rb
   67 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/irb.rb
   68 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/rubygems/bundler_version_finder.rb
   69 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/ruby-lxc-1.2.3/lib/lxc/version.rb
   70 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/ruby-lxc-1.2.3/lib/lxc/lxc.so
   71 /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/ruby-lxc-1.2.3/lib/lxc.rb

* Process memory map:

560304edf000-560304ee0000 r--p 00000000 103:02 5780548                   /home/vanhalt/.rbenv/versions/2.5.9/bin/ruby
560304ee0000-560304ee1000 r-xp 00001000 103:02 5780548                   /home/vanhalt/.rbenv/versions/2.5.9/bin/ruby
560304ee1000-560304ee2000 r--p 00002000 103:02 5780548                   /home/vanhalt/.rbenv/versions/2.5.9/bin/ruby
560304ee2000-560304ee3000 r--p 00002000 103:02 5780548                   /home/vanhalt/.rbenv/versions/2.5.9/bin/ruby
560304ee3000-560304ee4000 rw-p 00003000 103:02 5780548                   /home/vanhalt/.rbenv/versions/2.5.9/bin/ruby
56030525b000-560305820000 rw-p 00000000 00:00 0                          [heap]
7ffb7e635000-7ffb7e70d000 r--s 00000000 103:02 14815217                  /usr/lib/x86_64-linux-gnu/liblxc.so.1.7.0
7ffb7e70d000-7ffb7f2e6000 r--s 00000000 103:02 14813392                  /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.33.so
7ffb7f2e6000-7ffb7f4cb000 r--s 00000000 103:02 14819338                  /usr/lib/x86_64-linux-gnu/libc-2.33.so
7ffb7f4cb000-7ffb7fcd8000 r--s 00000000 103:02 5780549                   /home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5.9
7ffb7fcd8000-7ffb7fd01000 r--s 00000000 103:02 5780548                   /home/vanhalt/.rbenv/versions/2.5.9/bin/ruby
7ffb7fd01000-7ffb7fd03000 r--p 00000000 103:02 14820246                  /usr/lib/x86_64-linux-gnu/libpcre2-8.so.0.10.1
7ffb7fd03000-7ffb7fd6d000 r-xp 00002000 103:02 14820246                  /usr/lib/x86_64-linux-gnu/libpcre2-8.so.0.10.1
7ffb7fd6d000-7ffb7fd96000 r--p 0006c000 103:02 14820246                  /usr/lib/x86_64-linux-gnu/libpcre2-8.so.0.10.1
7ffb7fd96000-7ffb7fd97000 r--p 00094000 103:02 14820246                  /usr/lib/x86_64-linux-gnu/libpcre2-8.so.0.10.1
7ffb7fd97000-7ffb7fd98000 rw-p 00095000 103:02 14820246                  /usr/lib/x86_64-linux-gnu/libpcre2-8.so.0.10.1
7ffb7fd98000-7ffb7fd9b000 r--p 00000000 103:02 14812060                  /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
7ffb7fd9b000-7ffb7fdad000 r-xp 00003000 103:02 14812060                  /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
7ffb7fdad000-7ffb7fdb0000 r--p 00015000 103:02 14812060                  /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
7ffb7fdb0000-7ffb7fdb1000 ---p 00018000 103:02 14812060                  /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
7ffb7fdb1000-7ffb7fdb2000 r--p 00018000 103:02 14812060                  /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
7ffb7fdb2000-7ffb7fdb3000 rw-p 00019000 103:02 14812060                  /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
7ffb7fdb3000-7ffb7fdb5000 r--p 00000000 103:02 14820431                  /usr/lib/x86_64-linux-gnu/libseccomp.so.2.5.1
7ffb7fdb5000-7ffb7fdc5000 r-xp 00002000 103:02 14820431                  /usr/lib/x86_64-linux-gnu/libseccomp.so.2.5.1
7ffb7fdc5000-7ffb7fdd4000 r--p 00012000 103:02 14820431                  /usr/lib/x86_64-linux-gnu/libseccomp.so.2.5.1
7ffb7fdd4000-7ffb7fdd5000 r--p 00020000 103:02 14820431                  /usr/lib/x86_64-linux-gnu/libseccomp.so.2.5.1
7ffb7fdd5000-7ffb7fdd6000 rw-p 00021000 103:02 14820431                  /usr/lib/x86_64-linux-gnu/libseccomp.so.2.5.1
7ffb7fdd6000-7ffb7fddc000 r--p 00000000 103:02 14820434                  /usr/lib/x86_64-linux-gnu/libselinux.so.1
7ffb7fddc000-7ffb7fdf6000 r-xp 00006000 103:02 14820434                  /usr/lib/x86_64-linux-gnu/libselinux.so.1
7ffb7fdf6000-7ffb7fdfe000 r--p 00020000 103:02 14820434                  /usr/lib/x86_64-linux-gnu/libselinux.so.1
7ffb7fdfe000-7ffb7fdff000 r--p 00027000 103:02 14820434                  /usr/lib/x86_64-linux-gnu/libselinux.so.1
7ffb7fdff000-7ffb7fe00000 rw-p 00028000 103:02 14820434                  /usr/lib/x86_64-linux-gnu/libselinux.so.1
7ffb7fe00000-7ffb7fe02000 rw-p 00000000 00:00 0 
7ffb7fe02000-7ffb7fe0e000 r--p 00000000 103:02 14815217                  /usr/lib/x86_64-linux-gnu/liblxc.so.1.7.0
7ffb7fe0e000-7ffb7fe9d000 r-xp 0000c000 103:02 14815217                  /usr/lib/x86_64-linux-gnu/liblxc.so.1.7.0
7ffb7fe9d000-7ffb7fed5000 r--p 0009b000 103:02 14815217                  /usr/lib/x86_64-linux-gnu/liblxc.so.1.7.0
7ffb7fed5000-7ffb7fed8000 r--p 000d2000 103:02 14815217                  /usr/lib/x86_64-linux-gnu/liblxc.so.1.7.0
7ffb7fed8000-7ffb7feda000 rw-p 000d5000 103:02 14815217                  /usr/lib/x86_64-linux-gnu/liblxc.so.1.7.0
7ffb7fef6000-7ffb7ff04000 r--p 00000000 103:02 14820572                  /usr/lib/x86_64-linux-gnu/libtinfo.so.6.2
7ffb7ff04000-7ffb7ff12000 r-xp 0000e000 103:02 14820572                  /usr/lib/x86_64-linux-gnu/libtinfo.so.6.2
7ffb7ff12000-7ffb7ff20000 r--p 0001c000 103:02 14820572                  /usr/lib/x86_64-linux-gnu/libtinfo.so.6.2
7ffb7ff20000-7ffb7ff24000 r--p 00029000 103:02 14820572                  /usr/lib/x86_64-linux-gnu/libtinfo.so.6.2
7ffb7ff24000-7ffb7ff25000 rw-p 0002d000 103:02 14820572                  /usr/lib/x86_64-linux-gnu/libtinfo.so.6.2
7ffb7ff25000-7ffb7ff39000 r--p 00000000 103:02 14820381                  /usr/lib/x86_64-linux-gnu/libreadline.so.8.1
7ffb7ff39000-7ffb7ff65000 r-xp 00014000 103:02 14820381                  /usr/lib/x86_64-linux-gnu/libreadline.so.8.1
7ffb7ff65000-7ffb7ff6f000 r--p 00040000 103:02 14820381                  /usr/lib/x86_64-linux-gnu/libreadline.so.8.1
7ffb7ff6f000-7ffb7ff70000 ---p 0004a000 103:02 14820381                  /usr/lib/x86_64-linux-gnu/libreadline.so.8.1
7ffb7ff70000-7ffb7ff72000 r--p 0004a000 103:02 14820381                  /usr/lib/x86_64-linux-gnu/libreadline.so.8.1
7ffb7ff72000-7ffb7ff78000 rw-p 0004c000 103:02 14820381                  /usr/lib/x86_64-linux-gnu/libreadline.so.8.1
7ffb7ff78000-7ffb7ff79000 rw-p 00000000 00:00 0 
7ffb7ff7e000-7ffb7ff81000 r--p 00000000 103:02 14819353                  /usr/lib/x86_64-linux-gnu/libcap.so.2.44
7ffb7ff81000-7ffb7ff85000 r-xp 00003000 103:02 14819353                  /usr/lib/x86_64-linux-gnu/libcap.so.2.44
7ffb7ff85000-7ffb7ff87000 r--p 00007000 103:02 14819353                  /usr/lib/x86_64-linux-gnu/libcap.so.2.44
7ffb7ff87000-7ffb7ff88000 r--p 00008000 103:02 14819353                  /usr/lib/x86_64-linux-gnu/libcap.so.2.44
7ffb7ff88000-7ffb7ff89000 rw-p 00009000 103:02 14819353                  /usr/lib/x86_64-linux-gnu/libcap.so.2.44
7ffb7ff89000-7ffb7ff8b000 r--p 00000000 103:02 6819483                   /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/ruby-lxc-1.2.3/lib/lxc/lxc.so
7ffb7ff8b000-7ffb7ff91000 r-xp 00002000 103:02 6819483                   /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/ruby-lxc-1.2.3/lib/lxc/lxc.so
7ffb7ff91000-7ffb7ff93000 r--p 00008000 103:02 6819483                   /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/ruby-lxc-1.2.3/lib/lxc/lxc.so
7ffb7ff93000-7ffb7ff94000 r--p 00009000 103:02 6819483                   /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/ruby-lxc-1.2.3/lib/lxc/lxc.so
7ffb7ff94000-7ffb7ff95000 rw-p 0000a000 103:02 6819483                   /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/gems/2.5.0/gems/ruby-lxc-1.2.3/lib/lxc/lxc.so
7ffb7ff95000-7ffb7ff98000 r--p 00000000 103:02 5780795                   /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/x86_64-linux/readline.so
7ffb7ff98000-7ffb7ff9c000 r-xp 00003000 103:02 5780795                   /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/x86_64-linux/readline.so
7ffb7ff9c000-7ffb7ff9e000 r--p 00007000 103:02 5780795                   /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/x86_64-linux/readline.so
7ffb7ff9e000-7ffb7ff9f000 r--p 00008000 103:02 5780795                   /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/x86_64-linux/readline.so
7ffb7ff9f000-7ffb7ffa0000 rw-p 00009000 103:02 5780795                   /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/x86_64-linux/readline.so
7ffb7ffa0000-7ffb7ffa2000 r--p 00000000 103:02 5780796                   /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/x86_64-linux/stringio.so
7ffb7ffa2000-7ffb7ffa7000 r-xp 00002000 103:02 5780796                   /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/x86_64-linux/stringio.so
7ffb7ffa7000-7ffb7ffa9000 r--p 00007000 103:02 5780796                   /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/x86_64-linux/stringio.so
7ffb7ffa9000-7ffb7ffaa000 r--p 00008000 103:02 5780796                   /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/x86_64-linux/stringio.so
7ffb7ffaa000-7ffb7ffab000 rw-p 00009000 103:02 5780796                   /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/x86_64-linux/stringio.so
7ffb7ffab000-7ffb800ac000 rw-p 00000000 00:00 0 
7ffb800ac000-7ffb8061d000 r--p 00000000 103:02 14818156                  /usr/lib/locale/locale-archive
7ffb8061d000-7ffb80620000 rw-p 00000000 00:00 0 
7ffb80620000-7ffb8062f000 r--p 00000000 103:02 14820002                  /usr/lib/x86_64-linux-gnu/libm-2.33.so
7ffb8062f000-7ffb806d5000 r-xp 0000f000 103:02 14820002                  /usr/lib/x86_64-linux-gnu/libm-2.33.so
7ffb806d5000-7ffb8076c000 r--p 000b5000 103:02 14820002                  /usr/lib/x86_64-linux-gnu/libm-2.33.so
7ffb8076c000-7ffb8076d000 r--p 0014b000 103:02 14820002                  /usr/lib/x86_64-linux-gnu/libm-2.33.so
7ffb8076d000-7ffb8076e000 rw-p 0014c000 103:02 14820002                  /usr/lib/x86_64-linux-gnu/libm-2.33.so
7ffb8076e000-7ffb80770000 rw-p 00000000 00:00 0 
7ffb80770000-7ffb80772000 r--p 00000000 103:02 14819392                  /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7ffb80772000-7ffb80786000 r-xp 00002000 103:02 14819392                  /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7ffb80786000-7ffb8079f000 r--p 00016000 103:02 14819392                  /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7ffb8079f000-7ffb807a0000 ---p 0002f000 103:02 14819392                  /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7ffb807a0000-7ffb807a1000 r--p 0002f000 103:02 14819392                  /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7ffb807a1000-7ffb807a2000 rw-p 00030000 103:02 14819392                  /usr/lib/x86_64-linux-gnu/libcrypt.so.1.1.0
7ffb807a2000-7ffb807aa000 rw-p 00000000 00:00 0 
7ffb807aa000-7ffb807ac000 r--p 00000000 103:02 14819457                  /usr/lib/x86_64-linux-gnu/libdl-2.33.so
7ffb807ac000-7ffb807ae000 r-xp 00002000 103:02 14819457                  /usr/lib/x86_64-linux-gnu/libdl-2.33.so
7ffb807ae000-7ffb807af000 r--p 00004000 103:02 14819457                  /usr/lib/x86_64-linux-gnu/libdl-2.33.so
7ffb807af000-7ffb807b0000 r--p 00004000 103:02 14819457                  /usr/lib/x86_64-linux-gnu/libdl-2.33.so
7ffb807b0000-7ffb807b1000 rw-p 00005000 103:02 14819457                  /usr/lib/x86_64-linux-gnu/libdl-2.33.so
7ffb807b1000-7ffb807bb000 r--p 00000000 103:02 14819674                  /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
7ffb807bb000-7ffb8081a000 r-xp 0000a000 103:02 14819674                  /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
7ffb8081a000-7ffb80831000 r--p 00069000 103:02 14819674                  /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
7ffb80831000-7ffb80832000 ---p 00080000 103:02 14819674                  /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
7ffb80832000-7ffb80833000 r--p 00080000 103:02 14819674                  /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
7ffb80833000-7ffb80834000 rw-p 00081000 103:02 14819674                  /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
7ffb80834000-7ffb8083b000 r--p 00000000 103:02 14820334                  /usr/lib/x86_64-linux-gnu/libpthread-2.33.so
7ffb8083b000-7ffb8084b000 r-xp 00007000 103:02 14820334                  /usr/lib/x86_64-linux-gnu/libpthread-2.33.so
7ffb8084b000-7ffb80850000 r--p 00017000 103:02 14820334                  /usr/lib/x86_64-linux-gnu/libpthread-2.33.so
7ffb80850000-7ffb80851000 r--p 0001b000 103:02 14820334                  /usr/lib/x86_64-linux-gnu/libpthread-2.33.so
7ffb80851000-7ffb80852000 rw-p 0001c000 103:02 14820334                  /usr/lib/x86_64-linux-gnu/libpthread-2.33.so
7ffb80852000-7ffb80856000 rw-p 00000000 00:00 0 
7ffb80856000-7ffb8087c000 r--p 00000000 103:02 14819338                  /usr/lib/x86_64-linux-gnu/libc-2.33.so
7ffb8087c000-7ffb809e7000 r-xp 00026000 103:02 14819338                  /usr/lib/x86_64-linux-gnu/libc-2.33.so
7ffb809e7000-7ffb80a33000 r--p 00191000 103:02 14819338                  /usr/lib/x86_64-linux-gnu/libc-2.33.so
7ffb80a33000-7ffb80a36000 r--p 001dc000 103:02 14819338                  /usr/lib/x86_64-linux-gnu/libc-2.33.so
7ffb80a36000-7ffb80a39000 rw-p 001df000 103:02 14819338                  /usr/lib/x86_64-linux-gnu/libc-2.33.so
7ffb80a39000-7ffb80a42000 rw-p 00000000 00:00 0 
7ffb80a42000-7ffb80a43000 r--p 00000000 103:02 14820633                  /usr/lib/x86_64-linux-gnu/libutil-2.33.so
7ffb80a43000-7ffb80a44000 r-xp 00001000 103:02 14820633                  /usr/lib/x86_64-linux-gnu/libutil-2.33.so
7ffb80a44000-7ffb80a45000 r--p 00002000 103:02 14820633                  /usr/lib/x86_64-linux-gnu/libutil-2.33.so
7ffb80a45000-7ffb80a46000 r--p 00002000 103:02 14820633                  /usr/lib/x86_64-linux-gnu/libutil-2.33.so
7ffb80a46000-7ffb80a47000 rw-p 00003000 103:02 14820633                  /usr/lib/x86_64-linux-gnu/libutil-2.33.so
7ffb80a47000-7ffb80a48000 r--p 00000000 103:02 6557925                   /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/x86_64-linux/enc/trans/transdb.so
7ffb80a48000-7ffb80a4a000 r-xp 00001000 103:02 6557925                   /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/x86_64-linux/enc/trans/transdb.so
7ffb80a4a000-7ffb80a4b000 r--p 00003000 103:02 6557925                   /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/x86_64-linux/enc/trans/transdb.so
7ffb80a4b000-7ffb80a4c000 r--p 00003000 103:02 6557925                   /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/x86_64-linux/enc/trans/transdb.so
7ffb80a4c000-7ffb80a4d000 rw-p 00004000 103:02 6557925                   /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/x86_64-linux/enc/trans/transdb.so
7ffb80a4d000-7ffb80a4e000 r--p 00000000 103:02 6557939                   /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/x86_64-linux/enc/encdb.so
7ffb80a4e000-7ffb80a4f000 r-xp 00001000 103:02 6557939                   /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/x86_64-linux/enc/encdb.so
7ffb80a4f000-7ffb80a50000 r--p 00002000 103:02 6557939                   /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/x86_64-linux/enc/encdb.so
7ffb80a50000-7ffb80a51000 r--p 00002000 103:02 6557939                   /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/x86_64-linux/enc/encdb.so
7ffb80a51000-7ffb80a52000 rw-p 00003000 103:02 6557939                   /home/vanhalt/.rbenv/versions/2.5.9/lib/ruby/2.5.0/x86_64-linux/enc/encdb.so
7ffb80a52000-7ffb80a59000 r--s 00000000 103:02 15339505                  /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
7ffb80a59000-7ffb80a5a000 ---p 00000000 00:00 0 
7ffb80a5a000-7ffb80a5e000 rw-p 00000000 00:00 0 
7ffb80a5e000-7ffb80a87000 r--p 00000000 103:02 5780549                   /home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5.9
7ffb80a87000-7ffb80c96000 r-xp 00029000 103:02 5780549                   /home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5.9
7ffb80c96000-7ffb80d6f000 r--p 00238000 103:02 5780549                   /home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5.9
7ffb80d6f000-7ffb80d70000 ---p 00311000 103:02 5780549                   /home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5.9
7ffb80d70000-7ffb80d75000 r--p 00311000 103:02 5780549                   /home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5.9
7ffb80d75000-7ffb80d78000 rw-p 00316000 103:02 5780549                   /home/vanhalt/.rbenv/versions/2.5.9/lib/libruby.so.2.5.9
7ffb80d78000-7ffb80d8b000 rw-p 00000000 00:00 0 
7ffb80d8b000-7ffb80d8c000 r--p 00000000 103:02 14818591                  /usr/lib/x86_64-linux-gnu/ld-2.33.so
7ffb80d8c000-7ffb80db3000 r-xp 00001000 103:02 14818591                  /usr/lib/x86_64-linux-gnu/ld-2.33.so
7ffb80db3000-7ffb80dbd000 r--p 00028000 103:02 14818591                  /usr/lib/x86_64-linux-gnu/ld-2.33.so
7ffb80dbd000-7ffb80dbf000 r--p 00031000 103:02 14818591                  /usr/lib/x86_64-linux-gnu/ld-2.33.so
7ffb80dbf000-7ffb80dc1000 rw-p 00033000 103:02 14818591                  /usr/lib/x86_64-linux-gnu/ld-2.33.so
7ffc44d2d000-7ffc4552c000 rw-p 00000000 00:00 0                          [stack]
7ffc455cf000-7ffc455d3000 r--p 00000000 00:00 0                          [vvar]
7ffc455d3000-7ffc455d5000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 --xp 00000000 00:00 0                  [vsyscall]


[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

Aborted (core dumped)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.