[#70977] [Ruby trunk - Feature #11473] Immutable String literal in Ruby 3 — arai@...
Issue #11473 has been updated by Shunichi Arai.
3 messages
2015/10/04
[#70982] limiting scope of magic comments like frozen_string_literal — Eric Wong <normalperson@...>
How about being able to limit the scope of magic comments like
4 messages
2015/10/05
[#71062] [Ruby trunk - Bug #10892] Deadlock in autoload — eregontp@...
Issue #10892 has been updated by Benoit Daloze.
4 messages
2015/10/12
[#71090] Re: [Ruby trunk - Bug #10892] Deadlock in autoload
— Eric Wong <normalperson@...>
2015/10/14
eregontp@gmail.com wrote:
[#71127] [Ruby trunk - Feature #11607] [PATCH] fiddle: release GVL for ffi_call — normalperson@...
Issue #11607 has been updated by Eric Wong.
3 messages
2015/10/20
[#71164] [Ruby trunk - Feature #11614] [Open] [RFC] use id_table for constant tables — normalperson@...
Issue #11614 has been reported by Eric Wong.
3 messages
2015/10/22
[#71211] [Ruby trunk - Feature #11607] [PATCH] fiddle: release GVL for ffi_call — naruse@...
Issue #11607 has been updated by Yui NARUSE.
6 messages
2015/10/27
[#71212] Re: [Ruby trunk - Feature #11607] [PATCH] fiddle: release GVL for ffi_call
— Eric Wong <normalperson@...>
2015/10/27
Yes, user must check if the function is MT-safe. Probably fine
[#71246] Re: [Ruby trunk - Feature #11607] [PATCH] fiddle: release GVL for ffi_call
— Aaron Patterson <tenderlove@...>
2015/10/28
On Tue, Oct 27, 2015 at 08:54:07AM +0000, Eric Wong wrote:
[#71254] Re: [Ruby trunk - Feature #11607] [PATCH] fiddle: release GVL for ffi_call
— Eric Wong <normalperson@...>
2015/10/28
Aaron Patterson <tenderlove@ruby-lang.org> wrote:
[#71230] [Ruby trunk - Feature #11625] Unlock GVL for SHA1 calculations — tenderlove@...
Issue #11625 has been updated by Aaron Patterson.
5 messages
2015/10/27
[#71236] Re: [Ruby trunk - Feature #11625] Unlock GVL for SHA1 calculations
— Юрий Соколов <funny.falcon@...>
2015/10/28
What's about other hashsum algos? MD5, SHA2, etc
[#71242] Re: [Ruby trunk - Feature #11625] Unlock GVL for SHA1 calculations
— Eric Wong <normalperson@...>
2015/10/28
Юрий Соколов <funny.falcon@gmail.com> wrote:
[#71239] [Ruby trunk - Bug #11384] multi-threaded autoload sometimes fails — shugo@...
Issue #11384 has been updated by Shugo Maeda.
4 messages
2015/10/28
[ruby-core:71079] [Ruby trunk - Bug #11574] chef-client-FATAL: Chef::Exceptions::ChildConvergeError: Chef run process terminated by signal 6 (IOT)
From:
ally0224@...
Date:
2015-10-14 01:37:35 UTC
List:
ruby-core #71079
Issue #11574 has been updated by Ally Kuo.
File OpEN.so added
File OpENUtil.rb added
File test.rb added
thanks for the reply,
i've downgraded the ruby to 1.8 and try to run the OpEN.so and got the error msg like below:
honestly, before i posted the article yesterday, i got the same msg,using the ryby 1.8 with the .so file from switch equipment, i cannot find any solution for the error,
so i tried to upgrade my ruby to 2.0.
and now i downgraded the ruby to 1.8 and stuck in **'cannot load such file -- OpEN'**
i have no idea why i excute it from **ruby test.rb** was good but from chef-client?
does anyone have any idea about this?
`
root@localhost:/usr/bin# chef-client
Starting Chef Client, version 11.4.0
resolving cookbooks for run list: ["apt"]
Synchronizing Cookbooks:
- apt
Compiling Cookbooks...
================================================================================
Recipe Compile Error in /var/chef/cache/cookbooks/apt/recipes/default.rb
================================================================================
LoadError
---------
cannot load such file -- OpEN
Cookbook Trace:
---------------
/var/chef/cache/cookbooks/apt/recipes/default.rb:11:in `from_file'
Relevant File Content:
----------------------
/var/chef/cache/cookbooks/apt/recipes/default.rb:
4: #
5: # Copyright 2015, YOUR_COMPANY_NAME
6: #
7: # All rights reserved - Do Not Redistribute
8: #
9:
10:
11>> require "OpEN"
12: require "OpENUtil"
13:
14: open = OpENUtil.new()
15: conn_ret = open.connect("boa-vlan")
16: exists = false
17: if conn_ret == OpEN::OPEN_E_NONE
18: client = open.client
19: ret = OpEN::openapiVlanCreatedCheck(client,1)
20: if ret == OpEN::OPEN_E_NONE
[2015-10-14T01:27:00+00:00] ERROR: Running exception handlers
[2015-10-14T01:27:00+00:00] FATAL: Saving node information to /var/chef/cache/failed-run-data.json
[2015-10-14T01:27:00+00:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated
[2015-10-14T01:27:00+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2015-10-14T01:27:00+00:00] FATAL: LoadError: cannot load such file -- OpEN
`
Nobuyoshi Nakada wrote:
> `unknown type 0x22 (0x11 given)` means the extension library you loaded is for 1.8.
> It is not binary compatible.
>
> Rebuild that extension library.
----------------------------------------
Bug #11574: chef-client-FATAL: Chef::Exceptions::ChildConvergeError: Chef run process terminated by signal 6 (IOT)
https://bugs.ruby-lang.org/issues/11574#change-54445
* Author: Ally Kuo
* Status: Rejected
* Priority: Normal
* Assignee:
* ruby -v: ruby 2.1.6p336 (2015-04-13 revision 50298) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
Hi, I'm running chef-clien and got the following msg, please help to solve.
-------------sysinfo-------------------------
~~~
root@localhost:/home# ruby -v
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
root@localhost:/home# uname -a
Linux chef-switch 3.5.0-23-generic #35~precise1 SMP Thu Apr 23 19:34:58 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux
root@localhost:/home# sudo lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise
root@localhost:/home# which ruby
/usr/bin/ruby
root@localhost:/home# chef-client -v
Chef: 12.4.3
~~~
-----------------error-----------------------
~~~
root@localhost:/home# chef-client
Starting Chef Client, version 12.4.3
resolving cookbooks for run list: ["boa"]
Synchronizing Cookbooks:
- boa
Compiling Cookbooks...
/mnt/application/OpEN.so: [BUG] unknown type 0x22 (0x11 given)
ruby 2.1.6p336 (2015-04-13 revision 50298) [x86_64-linux]
(snip)
[2015-10-08T07:23:40+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process terminated by signal 6 (IOT)
root@localhost:/home# clear
root@localhost:/home# chef-client
Starting Chef Client, version 12.4.3
resolving cookbooks for run list: ["boa"]
Synchronizing Cookbooks:
- boa
Compiling Cookbooks...
/mnt/application/OpEN.so: [BUG] unknown type 0x22 (0x11 given)
ruby 2.1.6p336 (2015-04-13 revision 50298) [x86_64-linux]
(snip)
[2015-10-08T07:34:09+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process terminated by signal 6 (IOT)
~~~
---Files--------------------------------
OpENUtil.rb (2.78 KB)
OpEN.so (1.63 MB)
test.rb (494 Bytes)
--
https://bugs.ruby-lang.org/