Issue #11574 has been updated by Nobuyoshi Nakada.

Description updated
Status changed from Open to Rejected

`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-54441

* 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)
~~~




-- 
https://bugs.ruby-lang.org/