lxc / ruby-lxc

ruby bindings for liblxc
https://linuxcontainers.org/lxc
GNU Lesser General Public License v2.1
133 stars 29 forks source link

Segmentation faults #10

Closed hamann closed 10 years ago

hamann commented 10 years ago

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

/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]
ranjib commented 10 years ago

@hamann are you ruby ruby-lxc from master/github or from rubygems.

hamann commented 10 years ago

I tried both, github and rubygems

hamann commented 10 years ago

Should I provide you a vagrant image?

andrenth commented 10 years ago

It's a holiday here in Brazil, but I should be able to look at this next thursday. An image would certainly make it easier to test. Have you tried an earlier ruby version? I wonder if something changed in 2.1 wrt C extensions.

Cheers Andre On Mar 1, 2014 6:51 AM, "Holger Amann" notifications@github.com wrote:

Should I provide you a vagrant image?

Reply to this email directly or view it on GitHubhttps://github.com/lxc/ruby-lxc/issues/10#issuecomment-36420795 .

hamann commented 10 years ago

After I tried different ruby versions, I took a fresh lxc clone and the seg faults are gone. Maybe our lxc package was broken, whereas managing containers wasn't a problem. Or there was a bug in lxc which got fixed since 02/25. Anyway, works now and thanks for your help!

andrenth commented 10 years ago

There were no changes after 1.0.0. Maybe you had two lxc versions installed simultaneously? Either way, glad it's working now.

Cheers Andre On Mar 2, 2014 10:45 AM, "Holger Amann" notifications@github.com wrote:

After I tried different ruby versions, I took a fresh lxc clone and the seg faults are gone. Maybe our lxc package was broken, whereas managing containers wasn't a problem. Or there was a bug in lxc which got fixed since 02/25. Anyway, works now and thanks for your help!

Reply to this email directly or view it on GitHubhttps://github.com/lxc/ruby-lxc/issues/10#issuecomment-36454466 .