the following gnokii command fails:
echo "this is a test message" | sudo gnokii --phone ATblue --sendsms +<number> -r
i can recieve sms and get network info using the current config file.
the above command results in this:
GNOKII Version 0.6.28
*** glibc detected *** gnokii: free(): invalid next size (fast): 0x09a7b540 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(+0x6b591)[0x4ed591]
/lib/tls/i686/cmov/libc.so.6(+0x6cde8)[0x4eede8]
/lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0x4f1ecd]
/usr/lib/libgnokii.so.5(gn_char_def_alphabet+0xb3)[0x3d2a43]
gnokii[0x805bb78]
gnokii[0x804b948]
gnokii[0x804b230]
gnokii[0x804bd5f]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x498bd6]
gnokii[0x804ab61]
======= Memory map: ========
00110000-00116000 r-xp 00000000 08:01 315119 /lib/libusb-0.1.so.4.4.4
00116000-00117000 r--p 00005000 08:01 315119 /lib/libusb-0.1.so.4.4.4
00117000-00119000 rw-p 00006000 08:01 315119 /lib/libusb-0.1.so.4.4.4
00119000-0011b000 r-xp 00000000 08:01 260201 /lib/tls/i686/cmov/libdl-2.11.1.so
0011b000-0011c000 r--p 00001000 08:01 260201 /lib/tls/i686/cmov/libdl-2.11.1.so
0011c000-0011d000 rw-p 00002000 08:01 260201 /lib/tls/i686/cmov/libdl-2.11.1.so
0011d000-00132000 r-xp 00000000 08:01 260266 /lib/tls/i686/cmov/libpthread-2.11.1.so
00132000-00133000 r--p 00014000 08:01 260266 /lib/tls/i686/cmov/libpthread-2.11.1.so
00133000-00134000 rw-p 00015000 08:01 260266 /lib/tls/i686/cmov/libpthread-2.11.1.so
00134000-00136000 rw-p 00000000 00:00 0
00136000-0014e000 r-xp 00000000 08:01 268696 /usr/lib/libxcb.so.1.1.0
0014e000-0014f000 r--p 00017000 08:01 268696 /usr/lib/libxcb.so.1.1.0
0014f000-00150000 rw-p 00018000 08:01 268696 /usr/lib/libxcb.so.1.1.0
00150000-00152000 r-xp 00000000 08:01 267689 /usr/lib/libXau.so.6.0.0
00152000-00153000 r--p 00001000 08:01 267689 /usr/lib/libXau.so.6.0.0
00153000-00154000 rw-p 00002000 08:01 267689 /usr/lib/libXau.so.6.0.0
00154000-00158000 r-xp 00000000 08:01 267700 /usr/lib/libXdmcp.so.6.0.0
00158000-00159000 r--p 00003000 08:01 267700 /usr/lib/libXdmcp.so.6.0.0
00159000-0015a000 rw-p 00004000 08:01 267700 /usr/lib/libXdmcp.so.6.0.0
0020a000-0024c000 r-xp 00000000 08:01 268247 /usr/lib/libical.so.0.44.0
0024c000-00254000 r--p 00042000 08:01 268247 /usr/lib/libical.so.0.44.0
00254000-00255000 rw-p 0004a000 08:01 268247 /usr/lib/libical.so.0.44.0
00340000-0035d000 r-xp 00000000 08:01 260186 /lib/libgcc_s.so.1
0035d000-0035e000 r--p 0001c000 08:01 260186 /lib/libgcc_s.so.1
0035e000-0035f000 rw-p 0001d000 08:01 260186 /lib/libgcc_s.so.1
003a9000-00431000 r-xp 00000000 08:01 302338 /usr/lib/libgnokii.so.5.0.0
00431000-00432000 ---p 00088000 08:01 302338 /usr/lib/libgnokii.so.5.0.0
00432000-00435000 r--p 00088000 08:01 302338 /usr/lib/libgnokii.so.5.0.0
00435000-00437000 rw-p 0008b000 08:01 302338 /usr/lib/libgnokii.so.5.0.0
00437000-0047c000 rw-p 00000000 00:00 0
00481000-00482000 r-xp 00000000 00:00 0 [vdso]
00482000-005d5000 r-xp 00000000 08:01 260156 /lib/tls/i686/cmov/libc-2.11.1.so
005d5000-005d6000 ---p 00153000 08:01 260156 /lib/tls/i686/cmov/libc-2.11.1.so
005d6000-005d8000 r--p 00153000 08:01 260156 /lib/tls/i686/cmov/libc-2.11.1.so
005d8000-005d9000 rw-p 00155000 08:01 260156 /lib/tls/i686/cmov/libc-2.11.1.so
005d9000-005dc000 rw-p 00000000 00:00 0
006ca000-006d3000 r-xp 00000000 08:01 260246 /lib/libpcsclite.so.1.0.0
006d3000-006d4000 r--p 00009000 08:01 260246 /lib/libpcsclite.so.1.0.0
006d4000-006d5000 rw-p 0000a000 08:01 260246 /lib/libpcsclite.so.1.0.0
007f6000-00809000 r-xp 00000000 08:01 267800 /usr/lib/libbluetooth.so.3.5.0
00809000-0080a000 r--p 00012000 08:01 267800 /usr/lib/libbluetooth.so.3.5.0
0080a000-0080b000 rw-p 00013000 08:01 267800 /usr/lib/libbluetooth.so.3.5.0
008b5000-009ce000 r-xp 00000000 08:01 267685 /usr/lib/libX11.so.6.3.0
009ce000-009cf000 r--p 00118000 08:01 267685 /usr/lib/libX11.so.6.3.0
009cf000-009d1000 rw-p 00119000 08:01 267685 /usr/lib/libX11.so.6.3.0
009d1000-009d2000 rw-p 00000000 00:00 0
00dc3000-00dd2000 r-xp 00000000 08:01 267720 /usr/lib/libXpm.so.4.11.0
00dd2000-00dd3000 r--p 0000e000 08:01 267720 /usr/lib/libXpm.so.4.11.0
00dd3000-00dd4000 rw-p 0000f000 08:01 267720 /usr/lib/libXpm.so.4.11.0
00fcd000-00fe8000 r-xp 00000000 08:01 264975 /lib/ld-2.11.1.so
00fe8000-00fe9000 r--p 0001a000 08:01 264975 /lib/ld-2.11.1.so
00fe9000-00fea000 rw-p 0001b000 08:01 264975 /lib/ld-2.11.1.so
08048000-08067000 r-xp 00000000 08:01 302405 /usr/bin/gnokii
08067000-08068000 r--p 0001e000 08:01 302405 /usr/bin/gnokii
08068000-08069000 rw-p 0001f000 08:01 302405 /usr/bin/gnokii
08069000-0806c000 rw-p 00000000 00:00 0
09a79000-09add000 rw-p 00000000 00:00 0 [heap]
b7500000-b7521000 rw-p 00000000 00:00 0
b7521000-b7600000 ---p 00000000 00:00 0
b7662000-b7669000 r--s 00000000 08:01 280697 /usr/lib/gconv/gconv-modules.cache
b76a9000-b76ed000 rw-p 00000000 00:00 0
b76ed000-b772c000 r--p 00000000 08:01 272703 /usr/lib/locale/en_IN/LC_CTYPE
b772c000-b784a000 r--p 00000000 08:01 272702 /usr/lib/locale/en_IN/LC_COLLATE
b784a000-b784e000 rw-p 00000000 00:00 0
b7860000-b7861000 r--p 00000000 08:01 266931 /usr/lib/locale/en_IN/LC_NUMERIC
b7861000-b7862000 r--p 00000000 08:01 266932 /usr/lib/locale/en_IN/LC_TIME
b7862000-b7863000 r--p 00000000 08:01 266933 /usr/lib/locale/en_IN/LC_MONETARY
b7863000-b7864000 r--p 00000000 08:01 272751 /usr/lib/locale/en_IN/LC_MESSAGES/SYS_LC_MESSAGES
b7864000-b7865000 r--p 00000000 08:01 272709 /usr/lib/locale/en_IN/LC_PAPER
b7865000-b7866000 r--p 00000000 08:01 272668 /usr/lib/locale/en_IN/LC_NAME
b7866000-b7867000 r--p 00000000 08:01 272493 /usr/lib/locale/en_IN/LC_ADDRESS
b7867000-b7868000 r--p 00000000 08:01 272502 /usr/lib/locale/en_IN/LC_TELEPHONE
b7868000-b7869000 r--p 00000000 08:01 272705 /usr/lib/locale/en_IN/LC_MEASUREMENT
b7869000-b786a000 r--p 00000000 08:01 266934 /usr/lib/locale/en_IN/LC_IDENTIFICATION
b786a000-b786c000 rw-p 00000000 00:00 0
bfcec000-bfd6f000 rw-p 00000000 00:00 0 [stack]
Aborted
It was fixed in gnokii 0.6.29
Related
My background jobs are all failing with the following error Resque::DirtyExit Child process received unhandled signal. After I restart the server they work for some minutes and then start failing. If I run the single jobs from Resque-schedule, they work fine.
Below is a part of the output of the resque-pool.stderr.log:
I've tried reducing the number of jobs to only one that only logs to a file, but the error persists.
I've also tried rebuilding the AWS server instance and the redis instance but the error is still there.
System details:
- Server instance: AWS linux version ( 4.14.88-72.76.amzn1.x86_64)
- Resque version: 1.27.4
- Redis: AWS elastic cache
- ruby: 2.3.8
- rails: 4.2
* Process memory map:
5613e7788000-5613e7a77000 r-xp 00000000 ca:01 170946 /opt/rubies/ruby-2.3.8/bin/ruby
5613e7c76000-5613e7c7c000 rw-p 002ee000 ca:01 170946 /opt/rubies/ruby-2.3.8/bin/ruby
5613e7c7c000-5613e7c8e000 rw-p 00000000 00:00 0
5613e7e33000-5613e95ce000 rw-p 00000000 00:00 0 [heap]
5613e95ce000-5613f2de3000 rw-p 00000000 00:00 0 [heap]
5613f2de3000-5613f314a000 rw-p 00000000 00:00 0 [heap]
5613f314a000-5613f316b000 rw-p 00000000 00:00 0 [heap]
7faccc000000-7faccc021000 rw-p 00000000 00:00 0
7faccc021000-7facd0000000 ---p 00000000 00:00 0
7facd0000000-7facd0021000 rw-p 00000000 00:00 0
7facd0021000-7facd4000000 ---p 00000000 00:00 0
7facd4000000-7facd4021000 rw-p 00000000 00:00 0
7facd4021000-7facd8000000 ---p 00000000 00:00 0
7facd8000000-7facd8021000 rw-p 00000000 00:00 0
7facd8021000-7facdc000000 ---p 00000000 00:00 0
7facdc000000-7facdc13c000 rw-p 00000000 00:00 0
7facdc13c000-7face0000000 ---p 00000000 00:00 0
7face4000000-7face4021000 rw-p 00000000 00:00 0
7face4021000-7face421b000 rw-p 00000000 00:00 0
7face421b000-7face4222000 rw-p 00000000 00:00 0
7face4222000-7face8000000 ---p 00000000 00:00 0
7faceb144000-7facec000000 r--s 00000000 ca:01 170946 /opt/rubies/ruby-2.3.8/bin/ruby
7facec000000-7facec021000 rw-p 00000000 00:00 0
7facec021000-7facec508000 rw-p 00000000 00:00 0
7facec508000-7facf0000000 ---p 00000000 00:00 0
7facf0890000-7facf0aa3000 r--s 00000000 ca:01 262174 /lib64/libc-2.17.so
7facf0aa3000-7facf0d4c000 r--s 00000000 ca:01 929288 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/grpc-1.14.2-x86_64-linux/src/ruby/lib/grpc/2.3/grpc_c.so
7facf0d4c000-7facf1150000 rw-p 00000000 00:00 0
7facf1150000-7facf1151000 r-xp 00000000 ca:01 171207 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/thread.so
7facf1151000-7facf1350000 ---p 00001000 ca:01 171207
7facf1552000-7facf1553000 ---p 00000000 00:00 0
7facf1553000-7facf1d53000 rw-p 00000000 00:00 0
7facf1d53000-7facf1d54000 ---p 00000000 00:00 0
/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/bootsnap-1.3.2/lib/bootsnap/bootsnap.so
7facf3067000-7facf3266000 ---p 00003000 ca:01 917677 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/bootsnap-1.3.2/lib/bootsnap/bootsnap.so
7facf3266000-7facf3267000 rw-p 00002000 ca:01 917677 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/bootsnap-1.3.2/lib/bootsnap/bootsnap.so
7facf32fd000-7facf3310000 r-xp 00000000 ca:01 917623 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/msgpack-1.2.4/lib/msgpack/msgpack.so
7facf3310000-7facf3510000 ---p 00013000 ca:01 917623 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/msgpack-1.2.4/lib/msgpack/msgpack.so
7facf3510000-7facf3511000 rw-p 00013000 ca:01 917623 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/msgpack-1.2.4/lib/msgpack/msgpack.so
7facf3511000-7facf3515000 r-xp 00000000 ca:01 171126 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/io/console.so
7facf3515000-7facf3715000 ---p 00004000 ca:01 171126 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/io/console.so
7facf3715000-7facf3716000 rw-p 00004000 ca:01 171126 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/io/console.so
7facf3716000-7facf376d000 r-xp 00000000 ca:01 929163 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/google-protobuf-3.6.1-x86_64-linux/lib/google/2.3/protobuf_c.so
7facf376d000-7facf396c000 ---p 00057000 ca:01 929163 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/google-protobuf-3.6.1-x86_64-linux/lib/google/2.3/protobuf_c.so
7facf396c000-7facf3974000 r--p 00056000 ca:01 929163 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/google-protobuf-3.6.1-x86_64-linux/lib/google/2.3/protobuf_c.so
7facf3974000-7facf3976000 rw-p 0005e000 ca:01 929163 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/google-protobuf-3.6.1-x86_64-linux/lib/google/2.3/protobuf_c.so
7facf3976000-7facf3bdd000 r-xp 00000000 ca:01 929288 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/grpc-1.14.2-x86_64-linux/src/ruby/lib/grpc/2.3/grpc_c.so
7facf3bdd000-7facf3ddd000 ---p 00267000 ca:01 929288 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/grpc-1.14.2-x86_64-linux/src/ruby/lib/grpc/2.3/grpc_c.so
7facf3ddd000-7facf3df2000 r--p 00267000 ca:01 929288 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/grpc-1.14.2-x86_64-linux/src/ruby/lib/grpc/2.3/grpc_c.so
7facf3df2000-7facf3df9000 rw-p 0027c000 ca:01 929288 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/grpc-1.14.2-x86_64-linux/src/ruby/lib/grpc/2.3/grpc_c.so
7facf3df9000-7facf3dfe000 rw-p 00000000 00:00 0
7facf3dfe000-7facf3e00000 r-xp 00000000 ca:01 804772 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/debug_inspector-0.0.3/lib/debug_inspector.so
7facf3e00000-7facf3fff000 ---p 00002000 ca:01 804772 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/debug_inspector-0.0.3/lib/debug_inspector.so
7facf3fff000-7facf4000000 rw-p 00001000 ca:01 804772 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/debug_inspector-0.0.3/lib/debug_inspector.so
7facf4000000-7facf4054000 rw-p 00000000 00:00 0
7facf4054000-7facf8000000 ---p 00000000 00:00 0
7facf800c000-7facf810d000 rw-p 00000000 00:00 0
7facf810d000-7facf8110000 r-xp 00000000 ca:01 929639 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/google-cloud-debugger-0.32.2/lib/google/cloud/debugger/debugger_c.so
7facf8110000-7facf8310000 ---p 00003000 ca:01 929639 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/google-cloud-debugger-0.32.2/lib/google/cloud/debugger/debugger_c.so
7facf8310000-7facf8311000 rw-p 00003000 ca:01 929639 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/google-cloud-debugger-0.32.2/lib/google/cloud/debugger/debugger_c.so
7facf8311000-7facf8313000 r-xp 00000000 ca:01 171173 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/enc/iso_8859_1.so
7facf8313000-7facf8512000 ---p 00002000 ca:01 171173 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/enc/iso_8859_1.so
7facf8512000-7facf8513000 rw-p 00001000 ca:01 171173 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/enc/iso_8859_1.so
7facf8513000-7facf851e000 r-xp 00000000 ca:01 171211 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/objspace.so
7facf851e000-7facf871e000 ---p 0000b000 ca:01 171211 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/objspace.so
7facf871e000-7facf871f000 rw-p 0000b000 ca:01 171211 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/objspace.so
7facf871f000-7facf8722000 r-xp 00000000 ca:01 171138 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/enc/windows_31j.so
7facf8722000-7facf8921000 ---p 00003000 ca:01 171138 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/enc/windows_31j.so
7facf8921000-7facf8922000 rw-p 00002000 ca:01 171138 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/enc/windows_31j.so
7facf8922000-7facf8f43000 r-xp 00000000 ca:01 1053096 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/therubyracer-0.12.3/lib/v8/init.so
7facf8f43000-7facf9143000 ---p 00621000 ca:01 1053096 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/therubyracer-0.12.3/lib/v8/init.so
7facf9143000-7facf917e000 rw-p 00621000 ca:01 1053096 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/therubyracer-0.12.3/lib/v8/init.so
7facf917e000-7facf9182000 rw-p 00000000 00:00 0
7facf9182000-7facf918c000 r-xp 00000000 ca:01 171123 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/json/ext/generator.so
7facf918c000-7facf938b000 ---p 0000a000 ca:01 171123 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/json/ext/generator.so
7facf938b000-7facf938c000 rw-p 00009000 ca:01 171123 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/json/ext/generator.so
7facf938c000-7facf9392000 r-xp 00000000 ca:01 171124 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/json/ext/parser.so
7facf9392000-7facf9591000 ---p 00006000 ca:01 171124 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/json/ext/parser.so
7facf9591000-7facf9592000 rw-p 00005000 ca:01 171124 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/json/ext/parser.so
7facf9592000-7facf9595000 r-xp 00000000 ca:01 171157 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/enc/trans/utf_16_32.so
7facf9595000-7facf9795000 ---p 00003000 ca:01 171157 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/enc/trans/utf_16_32.so
7facf9795000-7facf9796000 rw-p 00003000 ca:01 171157 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/enc/trans/utf_16_32.so
7facf9796000-7facf97a2000 r-xp 00000000 ca:01 262192 /lib64/libnss_files-2.17.so
7facf97a2000-7facf99a1000 ---p 0000c000 ca:01 262192 /lib64/libnss_files-2.17.so
7facf99a1000-7facf99a2000 r--p 0000b000 ca:01 262192 /lib64/libnss_files-2.17.so
7facf99a2000-7facf99a3000 rw-p 0000c000 ca:01 262192 /lib64/libnss_files-2.17.so
7facf99a3000-7facf99a9000 rw-p 00000000 00:00 0
7facf99a9000-7facf99aa000 ---p 00000000 00:00 0
7facf99aa000-7facfa1aa000 rw-p 00000000 00:00 0
7facfa1aa000-7facfa1c0000 r-xp 00000000 ca:01 262163 /lib64/libgcc_s-7-20170915.so.1
7facfa1c0000-7facfa3bf000 ---p 00016000 ca:01 262163 /lib64/libgcc_s-7-20170915.so.1
7facfa3bf000-7facfa3c0000 rw-p 00015000 ca:01 262163 /lib64/libgcc_s-7-20170915.so.1
7facfa3c0000-7facfa535000 r-xp 00000000 ca:01 3438 /usr/lib64/libstdc++.so.6.0.24
7facfa535000-7facfa735000 ---p 00175000 ca:01 3438 /usr/lib64/libstdc++.so.6.0.24
7facfa735000-7facfa73f000 r--p 00175000 ca:01 3438 /usr/lib64/libstdc++.so.6.0.24
7facfa73f000-7facfa741000 rw-p 0017f000 ca:01 3438 /usr/lib64/libstdc++.so.6.0.24
7facfa741000-7facfa745000 rw-p 00000000 00:00 0
7facfa745000-7facfa99d000 r-xp 00000000 ca:01 145026 /usr/lib64/mysql/libmysqlclient.so.18.0.0
7facfa99d000-7facfab9c000 ---p 00258000 ca:01 145026 /usr/lib64/mysql/libmysqlclient.so.18.0.0
7facfab9c000-7facfac1d000 rw-p 00257000 ca:01 145026 /usr/lib64/mysql/libmysqlclient.so.18.0.0
7facfac1d000-7facfac22000 rw-p 00000000 00:00 0
7facfac22000-7facfac32000 r-xp 00000000 ca:01 931802 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/mysql2-0.4.10/lib/mysql2/mysql2.so
7facfac32000-7facfae32000 ---p 00010000 ca:01 931802 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/mysql2-0.4.10/lib/mysql2/mysql2.so
7facfae32000-7facfae34000 rw-p 00010000 ca:01 931802 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/mysql2-0.4.10/lib/mysql2/mysql2.so
7facfae34000-7facfae4b000 r-xp 00000000 ca:01 3014 /usr/lib64/gconv/CP932.so
7facfae4b000-7facfb04a000 ---p 00017000 ca:01 3014 /usr/lib64/gconv/CP932.so
7facfb04a000-7facfb04b000 r--p 00016000 ca:01 3014 /usr/lib64/gconv/CP932.so
7facfb04b000-7facfb04c000 rw-p 00017000 ca:01 3014 /usr/lib64/gconv/CP932.so
7facfb04c000-7facfb050000 r-xp 00000000 ca:01 433559 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/racc/cparse.so
7facfb050000-7facfb24f000 ---p 00004000 ca:01 433559 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/racc/cparse.so
7facfb24f000-7facfb250000 rw-p 00003000 ca:01 433559 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/racc/cparse.so
7facfb250000-7facfb273000 r-xp 00000000 ca:01 3441 /usr/lib64/liblzma.so.5.0.99
7facfb273000-7facfb473000 ---p 00023000 ca:01 3441 /usr/lib64/liblzma.so.5.0.99
7facfb473000-7facfb474000 rw-p 00023000 ca:01 3441 /usr/lib64/liblzma.so.5.0.99
7facfb474000-7facfb695000 r-xp 00000000 ca:01 800452 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/nokogiri-1.8.5/lib/nokogiri/nokogiri.so
7facfb695000-7facfb895000 ---p 00221000 ca:01 800452 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/nokogiri-1.8.5/lib/nokogiri/nokogiri.so
7facfb895000-7facfb8a1000 rw-p 00221000 ca:01 800452 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/nokogiri-1.8.5/lib/nokogiri/nokogiri.so
7facfb8a1000-7facfb8a3000 rw-p 00000000 00:00 0
7facfb8a3000-7facfb8a4000 r-xp 00000000 ca:01 171133 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/digest/sha2.so
7facfb8a4000-7facfbaa4000 ---p 00001000 ca:01 171133 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/digest/sha2.so
7facfbaa4000-7facfbaa5000 rw-p 00001000 ca:01 171133 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/digest/sha2.so
7facfbaa5000-7facfbab9000 r-xp 00000000 ca:01 171196 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/bigdecimal.so
7facfbab9000-7facfbcb8000 ---p 00014000 ca:01 171196 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/bigdecimal.so
7facfbcb8000-7facfbcb9000 rw-p 00013000 ca:01 171196 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/bigdecimal.so
7facfbcb9000-7facfbcd8000 r-xp 00000000 ca:01 4202 /usr/lib64/libyaml-0.so.2.0.4
7facfbcd8000-7facfbed7000 ---p 0001f000 ca:01 4202 /usr/lib64/libyaml-0.so.2.0.4
7facfbed7000-7facfbed8000 rw-p 0001e000 ca:01 4202 /usr/lib64/libyaml-0.so.2.0.4
7facfbed8000-7facfbede000 r-xp 00000000 ca:01 171118 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/psych.so
7facfbede000-7facfc0de000 ---p 00006000 ca:01 171118 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/psych.so
7facfc0de000-7facfc0df000 rw-p 00006000 ca:01 171118 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/psych.so
7facfc0df000-7facfc0e0000 r-xp 00000000 ca:01 171122 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/fcntl.so
7facfc0e0000-7facfc2df000 ---p 00001000 ca:01 171122 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/fcntl.so
7facfc2df000-7facfc2e0000 rw-p 00000000 ca:01 171122 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/fcntl.so
7facfc2e0000-7facfc2e6000 r-xp 00000000 ca:01 171199 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/strscan.so
7facfc2e6000-7facfc4e6000 ---p 00006000 ca:01 171199 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/strscan.so
7facfc4e6000-7facfc4e7000 rw-p 00006000 ca:01 171199 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/strscan.so
7facfc4e7000-7facfc4e8000 r-xp 00000000 ca:01 171132 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/digest/md5.so
7facfc4e8000-7facfc6e7000 ---p 00001000 ca:01 171132 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/digest/md5.so
7facfc6e7000-7facfc6e8000 rw-p 00000000 ca:01 171132 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/digest/md5.so
7facfc6e8000-7facfc6f8000 r-xp 00000000 ca:01 171214 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/zlib.so
7facfc6f8000-7facfc8f7000 ---p 00010000 ca:01 171214 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/zlib.so
7facfc8f7000-7facfc8f8000 rw-p 0000f000 ca:01 171214 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/zlib.so
7facfc8f8000-7facfc92e000 r-xp 00000000 ca:01 171193 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/date_core.so
7facfc92e000-7facfcb2d000 ---p 00036000 ca:01 171193 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/date_core.so
7facfcb2d000-7facfcb2f000 rw-p 00035000 ca:01 171193 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/date_core.so
7facfcb2f000-7facfcb31000 rw-p 00000000 00:00 0
7facfcb31000-7facfcb3b000 r-xp 00000000 ca:01 930573 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/json-1.8.6/lib/json/ext/generator.so
7facfcb3b000-7facfcd3a000 ---p 0000a000 ca:01 930573 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/json-1.8.6/lib/json/ext/generator.so
7facfcd3a000-7facfcd3b000 rw-p 00009000 ca:01 930573 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/json-1.8.6/lib/json/ext/generator.so
7facfcd3b000-7facfcd3c000 r-xp 00000000 ca:01 171140 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/enc/utf_32le.so
7facfcd3c000-7facfcf3c000 ---p 00001000 ca:01 171140 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/enc/utf_32le.so
7facfcf3c000-7facfcf3d000 rw-p 00001000 ca:01 171140 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/enc/utf_32le.so
7facfcf3d000-7facfcf3e000 r-xp 00000000 ca:01 171188 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/enc/utf_32be.so
7facfcf3e000-7facfd13e000 ---p 00001000 ca:01 171188 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/enc/utf_32be.so
7facfd13e000-7facfd13f000 rw-p 00001000 ca:01 171188 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/enc/utf_32be.so
7facfd13f000-7facfd140000 r-xp 00000000 ca:01 171151 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/enc/utf_16le.so
7facfd140000-7facfd340000 ---p 00001000 ca:01 171151 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/enc/utf_16le.so
7facfd340000-7facfd341000 rw-p 00001000 ca:01 171151 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/enc/utf_16le.so
7facfd341000-7facfd342000 r-xp 00000000 ca:01 171192 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/enc/utf_16be.so
7facfd342000-7facfd542000 ---p 00001000 ca:01 171192 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/enc/utf_16be.so
7facfd542000-7facfd543000 rw-p 00001000 ca:01 171192 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/enc/utf_16be.so
7facfd543000-7facfd549000 r-xp 00000000 ca:01 930581 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/json-1.8.6/lib/json/ext/parser.so
7facfd549000-7facfd748000 ---p 00006000 ca:01 930581 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/json-1.8.6/lib/json/ext/parser.so
7facfd748000-7facfd749000 rw-p 00005000 ca:01 930581 /opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0/gems/json-1.8.6/lib/json/ext/parser.so
7facfd749000-7facfd74a000 r-xp 00000000 ca:01 171127 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/io/nonblock.so
7facfd74a000-7facfd94a000 ---p 00001000 ca:01 171127 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/io/nonblock.so
7facfd94a000-7facfd94b000 rw-p 00001000 ca:01 171127 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/io/nonblock.so
7facfd94b000-7facfd99d000 r-xp 00000000 ca:01 171134 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/openssl.so
7facfd99d000-7facfdb9d000 ---p 00052000 ca:01 171134 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/openssl.so
7facfdb9d000-7facfdba1000 rw-p 00052000 ca:01 171134 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/openssl.so
7facfdba1000-7facfdba2000 r-xp 00000000 ca:01 171125 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/io/wait.so
7facfdba2000-7facfdda2000 ---p 00001000 ca:01 171125 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/io/wait.so
7facfdda2000-7facfdda3000 rw-p 00001000 ca:01 171125 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/io/wait.so
7facfdda3000-7facfddcd000 r-xp 00000000 ca:01 171212 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/socket.so
7facfddcd000-7facfdfcd000 ---p 0002a000 ca:01 171212 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/socket.so
7facfdfcd000-7facfdfce000 rw-p 0002a000 ca:01 171212 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/socket.so
7facfdfce000-7facfdfeb000 r-xp 00000000 ca:01 262220 /lib64/libtinfo.so.5.7
7facfdfeb000-7facfe1ea000 ---p 0001d000 ca:01 262220 /lib64/libtinfo.so.5.7
7facfe1ea000-7facfe1ef000 rw-p 0001c000 ca:01 262220 /lib64/libtinfo.so.5.7
7facfe1ef000-7facfe214000 r-xp 00000000 ca:01 262216 /lib64/libncurses.so.5.7
7facfe214000-7facfe414000 ---p 00025000 ca:01 262216 /lib64/libncurses.so.5.7
7facfe414000-7facfe415000 rw-p 00025000 ca:01 262216 /lib64/libncurses.so.5.7
7facfe415000-7facfe451000 r-xp 00000000 ca:01 262236 /lib64/libreadline.so.6.2
7facfe451000-7facfe651000 ---p 0003c000 ca:01 262236 /lib64/libreadline.so.6.2
7facfe651000-7facfe659000 rw-p 0003c000 ca:01 262236 /lib64/libreadline.so.6.2
7facfe659000-7facfe65a000 rw-p 00000000 00:00 0
7facfe65a000-7facfe661000 r-xp 00000000 ca:01 171128 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/readline.so
7facfe661000-7facfe861000 ---p 00007000 ca:01 171128 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/readline.so
7facfe861000-7facfe862000 rw-p 00007000 ca:01 171128 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/readline.so
7facfe862000-7facfe863000 r-xp 00000000 ca:01 171204 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/cgi/escape.so
7facfe863000-7facfea63000 ---p 00001000 ca:01 171204 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/cgi/escape.so
7facfea63000-7facfea64000 rw-p 00001000 ca:01 171204 /opt/rubies/ruby-2.3.8/lib/ruby/2.3.0/x86_64-linux/cgi/escape.so
7facfea64000-7facfea82000 r-xp 00000000 ca:01 3344 /usr/lib64/libselinux.so.1
7facfea82000-7facfec81000 ---p 0001e000 ca:01 3344 /usr/lib64/libselinux.so.1
7facfec81000-7facfec82000 r--p 0001d000 ca:01 3344 /usr/lib64/libselinux.so.1
7facfec82000-7facfec83000 rw-p 0001e000 ca:01 3344 /usr/lib64/libselinux.so.1
7facfec83000-7facfec85000 rw-p 00000000 00:00 0
7facfec85000-7facfec9b000 r-xp 00000000 ca:01 262202 /lib64/libresolv-2.17.so
7facfec9b000-7facfee9a000 ---p 00016000 ca:01 262202 /lib64/libresolv-2.17.so
7facfee9a000-7facfee9b000 r--p 00015000 ca:01 262202 /lib64/libresolv-2.17.so
7facfee9b000-7facfee9c000 rw-p 00016000 ca:01 262202 /lib64/libresolv-2.17.so
7facfee9c000-7facfee9e000 rw-p 00000000 00:00 0
7facfee9e000-7facfeea1000 r-xp 00000000 ca:01 262262 /lib64/libkeyutils.so.1.5
7facfeea1000-7facff0a0000 ---p 00003000 ca:01 262262 /lib64/libkeyutils.so.1.5
7facff0a0000-7facff0a1000 rw-p 00002000 ca:01 262262 /lib64/libkeyutils.so.1.5
7facff0a1000-7facff0ae000 r-xp 00000000 ca:01 7456 /usr/lib64/libkrb5support.so.0.1
7facff0ae000-7facff2ad000 ---p 0000d000 ca:01 7456 /usr/lib64/libkrb5support.so.0.1
7facff2ad000-7facff2ae000 r--p 0000c000 ca:01 7456 /usr/lib64/libkrb5support.so.0.1
7facff2ae000-7facff2af000 rw-p 0000d000 ca:01 7456 /usr/lib64/libkrb5support.so.0.1
7facff2af000-7facff2df000 r-xp 00000000 ca:01 7448 /usr/lib64/libk5crypto.so.3.1
7facff2df000-7facff4df000 ---p 00030000 ca:01 7448 /usr/lib64/libk5crypto.so.3.1
7facff4df000-7facff4e1000 r--p 00030000 ca:01 7448 /usr/lib64/libk5crypto.so.3.1
7facff4e1000-7facff4e2000 rw-p 00032000 ca:01 7448 /usr/lib64/libk5crypto.so.3.1
7facff4e2000-7facff4e5000 r-xp 00000000 ca:01 3357 /usr/lib64/libcom_err.so.2.1
7facff4e5000-7facff6e4000 ---p 00003000 ca:01 3357 /usr/lib64/libcom_err.so.2.1
7facff6e4000-7facff6e5000 rw-p 00002000 ca:01 3357 /usr/lib64/libcom_err.so.2.1
7facff6e5000-7facff7bd000 r-xp 00000000 ca:01 7454 /usr/lib64/libkrb5.so.3.3
7facff7bd000-7facff9bc000 ---p 000d8000 ca:01 7454 /usr/lib64/libkrb5.so.3.3
7facff9bc000-7facff9ca000 r--p 000d7000 ca:01 7454 /usr/lib64/libkrb5.so.3.3
7facff9ca000-7facff9cd000 rw-p 000e5000 ca:01 7454 /usr/lib64/libkrb5.so.3.3
7facff9cd000-7facffa17000 r-xp 00000000 ca:01 7444
[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
E0910 10:33:49.859056505 26018 sync_posix.cc:47] assertion failed: pthread_mutex_lock(mu) == 0
E0910 10:33:55.198436313 26035 sync_posix.cc:47] assertion failed: pthread_mutex_lock(mu) == 0
E0910 10:34:00.233557356 26046 sync_posix.cc:47] assertion failed: pthread_mutex_lock(mu) == 0
E0910 10:34:05.286323933 26069 sync_posix.cc:47] assertion failed: pthread_mutex_lock(mu) == 0
E0910 10:34:05.310868135 26075 sync_posix.cc:47] assertion failed: pthread_mutex_lock(mu) == 0
Your workers might be running out of memory.
Run dmesg and look for any "out of memory" errors.
I have a problem in apache2 when I restart Apache, the CPU freezes and log become huge every time someone visit pages.
My Debian version is wheezy 7.1.
What it seems to be the problem?
This is my config :
Apache 2
Server version: Apache/2.2.22 (Debian) Server built: Dec 23 2014
22:48:29 Server's Module Magic Number: 20051115:30
Server loaded: APR 1.4.6, APR-Util 1.4.1
Compiled using: APR 1.4.6, APR-Util 1.4.1
Architecture: 64-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/etc/apache2"
-D SUEXEC_BIN="/usr/lib/apache2/suexec"
-D DEFAULT_PIDLOG="/var/run/apache2.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="mime.types"
-D SERVER_CONFIG_FILE="apache2.conf"
PHP5 Config
PHP 5.6.6-1~dotdeb.1 (cli) (built: Feb 20 2015 19:57:36)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies with Zend
OPcache v7.0.4-dev, Copyright (c) 1999-2015, by Zend Technologies
Here is the log
*** glibc detected *** /usr/sbin/apache2: free(): invalid pointer: 0x00007f14c85feaf8 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x75be6)[0x7f14e42c3be6]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7f14e42c898c]
/usr/lib/apache2/modules/libphp5.so(php_module_shutdown+0x2b)[0x7f14e0f1b81b]
/usr/lib/apache2/modules/libphp5.so(php_module_shutdown_wrapper+0x9)[0x7f14e0f1b8d9]
/usr/lib/apache2/modules/libphp5.so(+0x44d551)[0x7f14e1023551]
/usr/lib/libapr-1.so.0(apr_pool_destroy+0x7e)[0x7f14e480f99e]
/usr/sbin/apache2(+0x5bece)[0x7f14e5105ece]
/usr/sbin/apache2(+0x5c33e)[0x7f14e510633e]
/usr/sbin/apache2(+0x5c942)[0x7f14e5106942]
/usr/sbin/apache2(ap_mpm_run+0x9d6)[0x7f14e51074a6]
/usr/sbin/apache2(main+0xc26)[0x7f14e50db8e6]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7f14e426cead]
/usr/sbin/apache2(+0x31981)[0x7f14e50db981]
======= Memory map: ========
7f14c8491000-7f14d0491000 rw-s 00000000 00:04 2397454 /dev/zero (deleted)
7f14d0491000-7f14d0492000 ---p 00000000 00:00 0
7f14d0492000-7f14d0c92000 rw-p 00000000 00:00 0
7f14d8000000-7f14d8021000 rw-p 00000000 00:00 0
7f14d8021000-7f14dc000000 ---p 00000000 00:00 0
7f14dc62e000-7f14dc632000 r-xp 00000000 08:01 4070055 /usr/lib/apache2/modules/mod_status.so
7f14dc632000-7f14dc832000 ---p 00004000 08:01 4070055 /usr/lib/apache2/modules/mod_status.so
7f14dc832000-7f14dc833000 r--p 00004000 08:01 4070055 /usr/lib/apache2/modules/mod_status.so
7f14dc833000-7f14dc834000 rw-p 00005000 08:01 4070055 /usr/lib/apache2/modules/mod_status.so
7f14dc834000-7f14dc837000 r-xp 00000000 08:01 4070024 /usr/lib/apache2/modules/mod_setenvif.so
7f14dc837000-7f14dca36000 ---p 00003000 08:01 4070024 /usr/lib/apache2/modules/mod_setenvif.so
7f14dca36000-7f14dca37000 r--p 00002000 08:01 4070024 /usr/lib/apache2/modules/mod_setenvif.so
7f14dca37000-7f14dca38000 rw-p 00003000 08:01 4070024 /usr/lib/apache2/modules/mod_setenvif.so
7f14dca38000-7f14dca4b000 rw-p 00000000 00:00 0
7f14dca4b000-7f14dca56000 r-xp 00000000 08:01 1969681 /lib/x86_64-linux-gnu/libnss_files-2.13.so
7f14dca56000-7f14dcc55000 ---p 0000b000 08:01 1969681 /lib/x86_64-linux-gnu/libnss_files-2.13.so
7f14dcc55000-7f14dcc56000 r--p 0000a000 08:01 1969681 /lib/x86_64-linux-gnu/libnss_files-2.13.so
7f14dcc56000-7f14dcc57000 rw-p 0000b000 08:01 1969681 /lib/x86_64-linux-gnu/libnss_files-2.13.so
7f14dcc57000-7f14dcc61000 r-xp 00000000 08:01 1969691 /lib/x86_64-linux-gnu/libnss_nis-2.13.so
7f14dcc61000-7f14dce60000 ---p 0000a000 08:01 1969691 /lib/x86_64-linux-gnu/libnss_nis-2.13.so
7f14dce60000-7f14dce61000 r--p 00009000 08:01 1969691 /lib/x86_64-linux-gnu/libnss_nis-2.13.so
7f14dce61000-7f14dce62000 rw-p 0000a000 08:01 1969691 /lib/x86_64-linux-gnu/libnss_nis-2.13.so
7f14dce62000-7f14dce69000 r-xp 00000000 08:01 1969695 /lib/x86_64-linux-gnu/libnss_compat-2.13.so
7f14dce69000-7f14dd068000 ---p 00007000 08:01 1969695 /lib/x86_64-linux-gnu/libnss_compat-2.13.so
7f14dd068000-7f14dd069000 r--p 00006000 08:01 1969695 /lib/x86_64-linux-gnu/libnss_compat-2.13.so
7f14dd069000-7f14dd06a000 rw-p 00007000 08:01 1969695 /lib/x86_64-linux-gnu/libnss_compat-2.13.so
7f14dd24b000-7f14dd25a000 r-xp 00000000 08:01 4070047 /usr/lib/apache2/modules/mod_rewrite.so
7f14dd25a000-7f14dd459000 ---p 0000f000 08:01 4070047 /usr/lib/apache2/modules/mod_rewrite.so
7f14dd459000-7f14dd45a000 r--p 0000e000 08:01 4070047 /usr/lib/apache2/modules/mod_rewrite.so
7f14dd45a000-7f14dd45b000 rw-p 0000f000 08:01 4070047 /usr/lib/apache2/modules/mod_rewrite.so
7f14dd45b000-7f14dd45e000 r-xp 00000000 08:01 4070011 /usr/lib/apache2/modules/mod_reqtimeout.so
7f14dd45e000-7f14dd65d000 ---p 00003000 08:01 4070011 /usr/lib/apache2/modules/mod_reqtimeout.so
7f14dd65d000-7f14dd65e000 r--p 00002000 08:01 4070011 /usr/lib/apache2/modules/mod_reqtimeout.so
7f14dd65e000-7f14dd65f000 rw-p 00003000 08:01 4070011 /usr/lib/apache2/modules/mod_reqtimeout.so
7f14dd65f000-7f14dd666000 r-xp 00000000 08:01 4070053 /usr/lib/apache2/modules/mod_proxy_http.so
7f14dd666000-7f14dd866000 ---p 00007000 08:01 4070053 /usr/lib/apache2/modules/mod_proxy_http.so
7f14dd866000-7f14dd867000 r--p 00007000 08:01 4070053 /usr/lib/apache2/modules/mod_proxy_http.so
7f14dd867000-7f14dd868000 rw-p 00008000 08:01 4070053 /usr/lib/apache2/modules/mod_proxy_http.so
7f14dd868000-7f14dd87c000 r-xp 00000000 08:01 4070012 /usr/lib/apache2/modules/mod_proxy.so
7f14dd87c000-7f14dda7b000 ---p 00014000 08:01 4070012 /usr/lib/apache2/modules/mod_proxy.so
7f14dda7b000-7f14dda7c000 r--p 00013000 08:01 4070012 /usr/lib/apache2/modules/mod_proxy.so
7f14dda7c000-7f14dda7d000 rw-p 00014000 08:01 4070012 /usr/lib/apache2/modules/mod_proxy.so
7f14dda7d000-7f14dda90000 r-xp 00000000 08:01 1969699 /lib/x86_64-linux-gnu/libresolv-2.13.so
7f14dda90000-7f14ddc8f000 ---p 00013000 08:01 1969699 /lib/x86_64-linux-gnu/libresolv-2.13.so
7f14ddc8f000-7f14ddc90000 r--p 00012000 08:01 1969699 /lib/x86_64-linux-gnu/libresolv-2.13.so
7f14ddc90000-7f14ddc91000 rw-p 00013000 08:01 1969699 /lib/x86_64-linux-gnu/libresolv-2.13.so
7f14ddc91000-7f14ddc93000 rw-p 00000000 00:00 0
7f14ddc93000-7f14ddc96000 r-xp 00000000 08:01 1966561 /lib/x86_64-linux-gnu/libkeyutils.so.1.4
7f14ddc96000-7f14dde95000 ---p 00003000 08:01 1966561 /lib/x86_64-linux-gnu/libkeyutils.so.1.4
7f14dde95000-7f14dde96000 r--p 00002000 08:01 1966561 /lib/x86_64-linux-gnu/libkeyutils.so.1.4
7f14dde96000-7f14dde97000 rw-p 00003000 08:01 1966561 /lib/x86_64-linux-gnu/libkeyutils.so.1.4
7f14dde97000-7f14dde9f000 r-xp 00000000 08:01 3805273 /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7f14dde9f000-7f14de09e000 ---p 00008000 08:01 3805273 /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7f14de09e000-7f14de09f000 r--p 00007000 08:01 3805273 /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7f14de09f000-7f14de0a0000 rw-p 00008000 08:01 3805273 /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7f14de0a0000-7f14de0c2000 r-xp 00000000 08:01 1966120 /lib/x86_64-linux-gnu/liblzma.so.5.0.0
7f14de0c2000-7f14de2c1000 ---p 00022000 08:01 1966120 /lib/x86_64-linux-gnu/liblzma.so.5.0.0
7f14de2c1000-7f14de2c2000 r--p 00021000 08:01 1966120 /lib/x86_64-linux-gnu/liblzma.so.5.0.0
7f14de2c2000-7f14de2c3000 rw-p 00022000 08:01 1966120 /lib/x86_64-linux-gnu/liblzma.so.5.0.0
.......
7f14e50a8000-7f14e50a9000 rw-p 00020000 08:01 1969698 /lib/x86_64-linux-gnu/ld-2.13.so
7f14e50a9000-7f14e50aa000 rw-p 00000000 00:00 0
7f14e50aa000-7f14e511c000 r-xp 00000000 08:01 4069997 /usr/lib/apache2/mpm-prefork/apache2
7f14e531b000-7f14e531d000 r--p 00071000 08:01 4069997 /usr/lib/apache2/mpm-prefork/apache2
7f14e531d000-7f14e5321000 rw-p 00073000 08:01 4069997 /usr/lib/apache2/mpm-prefork/apache2
7f14e5321000-7f14e5325000 rw-p 00000000 00:00 0
7f14e5345000-7f14e5366000 rw-p 00000000 00:00 0 [heap]
7f14e5366000-7f14e580b000 rw-p 00000000 00:00 0 [heap]
7ffffaa31000-7ffffaa52000 rw-p 00000000 00:00 0 [stack]
7ffffab5e000-7ffffab5f000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
[Thu Jul 30 11:44:56 2015] [notice] child pid 8372 exit signal Aborted (6)
7f14e531d000-7f14e5321000 rw-p 00073000 08:01 4069997 /usr/lib/apache2/mpm-prefork/apache2
7f14e5321000-7f14e5325000 rw-p 00000000 00:00 0
7f14e5345000-7f14e5366000 rw-p 00000000 00:00 0 [heap]
7f14e5366000-7f14e580b000 rw-p 00000000 00:00 0 [heap]
7ffffaa31000-7ffffaa52000 rw-p 00000000 00:00 0 [stack]
7ffffab5e000-7ffffab5f000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
[Thu Jul 30 11:44:56 2015] [notice] child pid 8372 exit signal Aborted (6)
Issue fixed
I use to load two times Zend Opcache.
Thank you for fixing my grammar and syntax mistakes.
Installed this app that runs fine on my Mac called WAGN.
Tried compiling Ruby from scratch and installed 2.0.0, 2.1.5 then 1.9.3 using RBENV.
Tried using the packages from Raspbian which use an older 1.9.3-p194 and they all end up with the same crash. NOTE: the folder ruby1.9.1 below contains 1.9.3, it's just that the name of the package remained the same and it got an upgrade.
Any ideas on how to deal with this? (Quick recap, the Pi 2 is a quad core 900mhz ARM7 with 1GB ram)
wagn server
=> Booting WEBrick
=> Rails 3.2.16 application starting in production on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2015-03-24 21:14:45] INFO WEBrick 1.3.1
[2015-03-24 21:14:45] INFO ruby 1.9.3 (2012-04-20) [arm-linux-eabihf]
[2015-03-24 21:14:45] INFO WEBrick::HTTPServer#start: pid=22094 port=3000
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/function.rb:13: [BUG] Segmentation fault
ruby 1.9.3p194 (2012-04-20 revision 35410) [arm-linux-eabihf]
-- Control frame information -----------------------------------------------
c:0166 p:---- s:0775 b:0775 l:000774 d:000774 CFUNC :Call
c:0165 p:0036 s:0770 b:0770 l:000774 d:000769 BLOCK /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/function.rb:13
c:0164 p:0005 s:0768 b:0768 l:0024b4 d:000767 BLOCK /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/error.rb:84
c:0163 p:---- s:0764 b:0764 l:000763 d:000763 FINISH
c:0162 p:---- s:0762 b:0762 l:000761 d:000761 CFUNC :call
c:0161 p:---- s:0760 b:0760 l:000759 d:000759 CFUNC :TryCatch
c:0160 p:0019 s:0757 b:0757 l:0024b4 d:0024b4 METHOD /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/error.rb:83
c:0159 p:0045 s:0754 b:0753 l:000774 d:000ab4 BLOCK /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/function.rb:13
c:0158 p:0033 s:0751 b:0751 l:000750 d:000750 METHOD /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:206
c:0157 p:0013 s:0747 b:0747 l:000774 d:000774 METHOD /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/function.rb:11
c:0156 p:0027 s:0742 b:0742 l:000808 d:000741 BLOCK /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/function.rb:19
c:0155 p:0028 s:0740 b:0740 l:0023c0 d:000739 BLOCK /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:248
c:0154 p:---- s:0738 b:0738 l:000737 d:000737 FINISH
c:0153 p:---- s:0736 b:0736 l:000735 d:000735 CFUNC :call
c:0152 p:---- s:0734 b:0734 l:000733 d:000733 CFUNC :HandleScope
c:0151 p:0017 s:0731 b:0731 l:0023c0 d:001c8c BLOCK /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:245
c:0150 p:---- s:0729 b:0729 l:000728 d:000728 FINISH
c:0149 p:---- s:0727 b:0727 l:000726 d:000726 CFUNC :call
c:0148 p:---- s:0725 b:0725 l:000724 d:000724 CFUNC :Locker
c:0147 p:0053 s:0722 b:0722 l:0023c0 d:0023c0 METHOD /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:244
c:0146 p:0026 s:0718 b:0718 l:000717 d:000717 METHOD /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:204
c:0145 p:0013 s:0714 b:0714 l:000808 d:000808 METHOD /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/function.rb:18
c:0144 p:0026 s:0710 b:0709 l:002434 d:000708 BLOCK /var/lib/gems/1.9.1/gems/execjs-2.4.0/lib/execjs/ruby_racer_runtime.rb:45
c:0143 p:0007 s:0706 b:0706 l:001294 d:000705 BLOCK /var/lib/gems/1.9.1/gems/execjs-2.4.0/lib/execjs/ruby_racer_runtime.rb:75
c:0142 p:---- s:0703 b:0703 l:000702 d:000702 FINISH
c:0141 p:---- s:0701 b:0701 l:000700 d:000700 CFUNC :call
c:0140 p:---- s:0699 b:0699 l:000698 d:000698 CFUNC :Locker
c:0139 p:0027 s:0696 b:0696 l:001294 d:001294 METHOD /var/lib/gems/1.9.1/gems/execjs-2.4.0/lib/execjs/ruby_racer_runtime.rb:73
c:0138 p:0011 s:0691 b:0691 l:002434 d:002434 METHOD /var/lib/gems/1.9.1/gems/execjs-2.4.0/lib/execjs/ruby_racer_runtime.rb:43
c:0137 p:0125 s:0686 b:0686 l:000685 d:000685 METHOD /var/lib/gems/1.9.1/gems/coffee-script-2.3.0/lib/coffee_script.rb:76
c:0136 p:0022 s:0680 b:0680 l:000679 d:000679 METHOD /home/pi/test/tmp/set/type/1002-coffee_script.rb:14
c:0135 p:0031 s:0675 b:0674 l:001ef4 d:000673 LAMBDA /home/pi/test/tmp/set/type/1002-coffee_script.rb:20
c:0134 p:---- s:0672 b:0672 l:000671 d:000671 FINISH
c:0133 p:0056 s:0670 b:0669 l:000660 d:000668 BLOCK
TOO LONG TO INCLUDE, PLEASE ASK FOR INFORMATION IF NEEDED
2.4.0/lib/execjs/ruby_racer_runtime.rb:45:in `block in call'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/function.rb:18:in `call'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:204:in `enter'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:244:in `lock_scope_and_enter'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:244:in `Locker'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:244:in `call'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:245:in `block in lock_scope_and_enter'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:245:in `HandleScope'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:245:in `call'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:248:in `block (2 levels) in lock_scope_and_enter'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/function.rb:19:in `block in call'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/function.rb:11:in `methodcall'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:206:in `enter'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/function.rb:13:in `block in methodcall'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/error.rb:83:in `try'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/error.rb:83:in `TryCatch'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/error.rb:83:in `call'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/error.rb:84:in `block in try'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/function.rb:13:in `block (2 levels) in methodcall'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/function.rb:13:in `Call'
-- C level backtrace information -------------------------------------------
-- Other runtime information -----------------------------------------------
TOO LONG TO INCLUDE, PLEASE ASK FOR INFORMATION IF NEEDED
* Process memory map:
00008000-00009000 r-xp 00000000 b3:02 53332 /usr/bin/ruby1.9.1
00010000-00011000 r--p 00000000 b3:02 53332 /usr/bin/ruby1.9.1
00011000-00012000 rw-p 00001000 b3:02 53332 /usr/bin/ruby1.9.1
00400000-03425000 rw-p 00000000 00:00 0 [heap]
24200000-24219000 rw-p 00000000 00:00 0
27c00000-27d00000 rw-p 00000000 00:00 0
2a800000-2a809000 rw-p 00000000 00:00 0
2a809000-2a80a000 ---p 00000000 00:00 0
2a80a000-2a8ff000 rwxp 00000000 00:00 0
2a8ff000-2a900000 ---p 00000000 00:00 0
2b200000-2b300000 rw-p 00000000 00:00 0
2b700000-2b709000 rw-p 00000000 00:00 0
2b709000-2b70a000 ---p 00000000 00:00 0
2b70a000-2b70c000 rwxp 00000000 00:00 0
2b70c000-2b74c000 ---p 00000000 00:00 0
2c000000-2c100000 rw-p 00000000 00:00 0
2e600000-2e700000 rw-p 00000000 00:00 0
30500000-30600000 rw-p 00000000 00:00 0
30f00000-31000000 rw-p 00000000 00:00 0
32f00000-33000000 rw-p 00000000 00:00 0
33ac6000-33ec6000 rw-p 00000000 00:00 0
34a00000-34a19000 rw-p 00000000 00:00 0
36200000-36300000 rw-p 00000000 00:00 0
37000000-37100000 rw-p 00000000 00:00 0
39c51000-39d51000 rw-p 00000000 00:00 0
3b900000-3b909000 rw-p 00000000 00:00 0
3b909000-3b90a000 ---p 00000000 00:00 0
3b90a000-3b9ff000 rwxp 00000000 00:00 0
3b9ff000-3ba00000 ---p 00000000 00:00 0
3be00000-3bf00000 rw-p 00000000 00:00 0
3f100000-3f109000 rw-p 00000000 00:00 0
3f109000-3f10a000 ---p 00000000 00:00 0
3f10a000-3f16a000 rwxp 00000000 00:00 0
3f16a000-3f16b000 ---p 00000000 00:00 0
43974000-43980000 ---p 00000000 00:00 0
43980000-43990000 rw-p 00000000 00:00 0
43990000-439a4000 ---p 00000000 00:00 0
45200000-45300000 rw-p 00000000 00:00 0
46a00000-46a49000 rw-p 00000000 00:00 0
47600000-47700000 rw-p 00000000 00:00 0
4a200000-4a300000 rw-p 00000000 00:00 0
4f000000-4fc00000 rw-p 00000000 00:00 0
4fc00000-50000000 rw-p 00000000 00:00 0
58f00000-59000000 rw-p 00000000 00:00 0
5a300000-5a339000 rw-p 00000000 00:00 0
5b100000-5b109000 rw-p 00000000 00:00 0
5b109000-5b10a000 ---p 00000000 00:00 0
5b10a000-5b10f000 rwxp 00000000 00:00 0
5b10f000-5b14c000 ---p 00000000 00:00 0
5db00000-5dc00000 rw-p 00000000 00:00 0
5de00000-5df00000 rw-p 00000000 00:00 0
5f100000-5f109000 rw-p 00000000 00:00 0
5f109000-5f10a000 ---p 00000000 00:00 0
5f10a000-5f1ff000 rwxp 00000000 00:00 0
5f1ff000-5f200000 ---p 00000000 00:00 0
74900000-74909000 rw-p 00000000 00:00 0
74909000-7490a000 ---p 00000000 00:00 0
7490a000-749ff000 rwxp 00000000 00:00 0
749ff000-74a00000 ---p 00000000 00:00 0
74b00000-74c00000 rw-p 00000000 00:00 0
74d00000-74e00000 rw-p 00000000 00:00 0
74f00000-74f31000 rw-p 00000000 00:00 0
74f31000-75000000 ---p 00000000 00:00 0
75100000-75200000 rw-p 00000000 00:00 0
752a8000-752a9000 ---p 00000000 00:00 0
752a9000-753a9000 rw-p 00000000 00:00 0 [stack:22145]
753a9000-753ab000 r-xp 00000000 b3:02 68635 /lib/libnss_mdns4.so.2
753ab000-753b2000 ---p 00002000 b3:02 68635 /lib/libnss_mdns4.so.2
753b2000-753b3000 rw-p 00001000 b3:02 68635 /lib/libnss_mdns4.so.2
753b3000-753b7000 r-xp 00000000 b3:02 4255 /lib/arm-linux-gnueabihf/libnss_dns-2.13.so
753b7000-753be000 ---p 00004000 b3:02 4255 /lib/arm-linux-gnueabihf/libnss_dns-2.13.so
753be000-753bf000 r--p 00003000 b3:02 4255 /lib/arm-linux-gnueabihf/libnss_dns-2.13.so
753bf000-753c0000 rw-p 00004000 b3:02 4255 /lib/arm-linux-gnueabihf/libnss_dns-2.13.so
753c0000-753c2000 r-xp 00000000 b3:02 68636 /lib/libnss_mdns4_minimal.so.2
753c2000-753c9000 ---p 00002000 b3:02 68636 /lib/libnss_mdns4_minimal.so.2
753c9000-753ca000 rw-p 00001000 b3:02 68636 /lib/libnss_mdns4_minimal.so.2
753ca000-753cb000 ---p 00000000 00:00 0
753cb000-7544a000 rw-p 00000000 00:00 0
7544a000-75453000 r-xp 00000000 b3:02 4263 /lib/arm-linux-gnueabihf/libnss_nis-2.13.so
75453000-7545a000 ---p 00009000 b3:02 4263 /lib/arm-linux-gnueabihf/libnss_nis-2.13.so
7545a000-7545b000 r--p 00008000 b3:02 4263 /lib/arm-linux-gnueabihf/libnss_nis-2.13.so
7545b000-7545c000 rw-p 00009000 b3:02 4263 /lib/arm-linux-gnueabihf/libnss_nis-2.13.so
7545c000-7546d000 r-xp 00000000 b3:02 4257 /lib/arm-linux-gnueabihf/libnsl-2.13.so
7546d000-75474000 ---p 00011000 b3:02 4257 /lib/arm-linux-gnueabihf/libnsl-2.13.so
75474000-75475000 r--p 00010000 b3:02 4257 /lib/arm-linux-gnueabihf/libnsl-2.13.so
75475000-75476000 rw-p 00011000 b3:02 4257 /lib/arm-linux-gnueabihf/libnsl-2.13.so
75476000-75478000 rw-p 00000000 00:00 0
75478000-7547e000 r-xp 00000000 b3:02 4259 /lib/arm-linux-gnueabihf/libnss_compat-2.13.so
7547e000-75485000 ---p 00006000 b3:02 4259 /lib/arm-linux-gnueabihf/libnss_compat-2.13.so
75485000-75486000 r--p 00005000 b3:02 4259 /lib/arm-linux-gnueabihf/libnss_compat-2.13.so
75486000-75487000 rw-p 00006000 b3:02 4259 /lib/arm-linux-gnueabihf/libnss_compat-2.13.so
75488000-75489000 ---p 00000000 00:00 0
75489000-75498000 rw-p 00000000 00:00 0 [stack:22157]
75498000-754a2000 r-xp 00000000 b3:02 4245 /lib/arm-linux-gnueabihf/libnss_files-2.13.so
754a2000-754a9000 ---p 0000a000 b3:02 4245 /lib/arm-linux-gnueabihf/libnss_files-2.13.so
754a9000-754aa000 r--p 00009000 b3:02 4245 /lib/arm-linux-gnueabihf/libnss_files-2.13.so
754aa000-754ab000 rw-p 0000a000 b3:02 4245 /lib/arm-linux-gnueabihf/libnss_files-2.13.so
754ab000-7556a000 r-xp 00000000 b3:02 16117 /usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.19
7556a000-75571000 ---p 000bf000 b3:02 16117 /usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.19
75571000-75575000 r--p 000be000 b3:02 16117 /usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.19
75575000-75577000 rw-p 000c2000 b3:02 16117 /usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.19
75577000-7557d000 rw-p 00000000 00:00 0
7557d000-759bc000 r-xp 00000000 b3:02 529565 /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/init.so
759bc000-759c4000 ---p 0043f000 b3:02 529565 /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/init.so
759c4000-759e3000 rw-p 0043f000 b3:02 529565 /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/init.so
759e3000-759e4000 rw-p 00000000 00:00 0
TOO LONG TO INCLUDE PLEASE ASK FOR INFORMATION IF NEEDED
76620000-76621000 r-xp 00000000 b3:02 529172 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_32le.so
76621000-76628000 ---p 00001000 b3:02 529172 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_32le.so
76628000-76629000 r--p 00000000 b3:02 529172 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_32le.so
76629000-7662a000 rw-p 00001000 b3:02 529172 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_32le.so
7662a000-7662b000 r-xp 00000000 b3:02 529171 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_32be.so
7662b000-76632000 ---p 00001000 b3:02 529171 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_32be.so
76632000-76633000 r--p 00000000 b3:02 529171 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_32be.so
76633000-76634000 rw-p 00001000 b3:02 529171 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_32be.so
76634000-76635000 r-xp 00000000 b3:02 529170 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_16le.so
76635000-7663c000 ---p 00001000 b3:02 529170 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_16le.so
7663c000-7663d000 r--p 00000000 b3:02 529170 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_16le.so
7663d000-7663e000 rw-p 00001000 b3:02 529170 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_16le.so
7663e000-7663f000 r-xp 00000000 b3:02 529169 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_16be.so
7663f000-76646000 ---p 00001000 b3:02 529169 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_16be.so
76646000-76647000 r--p 00000000 b3:02 529169 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_16be.so
76647000-76648000 rw-p 00001000 b3:02 529169 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_16be.so
76648000-7664d000 r-xp 00000000 b3:02 395321 /var/lib/gems/1.9.1/gems/json-1.8.2/lib/json/ext/parser.so
7664d000-76654000 ---p 00005000 b3:02 395321 /var/lib/gems/1.9.1/gems/json-1.8.2/lib/json/ext/parser.so
76654000-76655000 rw-p 00004000 b3:02 395321 /var/lib/gems/1.9.1/gems/json-1.8.2/lib/json/ext/parser.so
76655000-76657000 r-xp 00000000 b3:02 529176 /usr/lib/ruby/1.9.1/arm-linux-eabihf/digest/md5.so
76657000-7665e000 ---p 00002000 b3:02 529176 /usr/lib/ruby/1.9.1/arm-linux-eabihf/digest/md5.so
7665e000-7665f000 r--p 00001000 b3:02 529176 /usr/lib/ruby/1.9.1/arm-linux-eabihf/digest/md5.so
7665f000-76660000 rw-p 00002000 b3:02 529176 /usr/lib/ruby/1.9.1/arm-linux-eabihf/digest/md5.so
76660000-7666a000 r-xp 00000000 b3:02 529224 /usr/lib/ruby/1.9.1/arm-linux-eabihf/zlib.so
7666a000-76671000 ---p 0000a000 b3:02 529224 /usr/lib/ruby/1.9.1/arm-linux-eabihf/zlib.so
76671000-76672000 r--p 00009000 b3:02 529224 /usr/lib/ruby/1.9.1/arm-linux-eabihf/zlib.so
76672000-76673000 rw-p 0000a000 b3:02 529224 /usr/lib/ruby/1.9.1/arm-linux-eabihf/zlib.so
76673000-76692000 r-xp 00000000 b3:02 529219 /usr/lib/ruby/1.9.1/arm-linux-eabihf/socket.so
76692000-76699000 ---p 0001f000 b3:02 529219 /usr/lib/ruby/1.9.1/arm-linux-eabihf/socket.so
76699000-7669a000 r--p 0001e000 b3:02 529219 /usr/lib/ruby/1.9.1/arm-linux-eabihf/socket.so
7669a000-7669b000 rw-p 0001f000 b3:02 529219 /usr/lib/ruby/1.9.1/arm-linux-eabihf/socket.so
7669b000-766a9000 r-xp 00000000 b3:02 529196 /usr/lib/ruby/1.9.1/arm-linux-eabihf/bigdecimal.so
766a9000-766b0000 ---p 0000e000 b3:02 529196 /usr/lib/ruby/1.9.1/arm-linux-eabihf/bigdecimal.so
766b0000-766b1000 r--p 0000d000 b3:02 529196 /usr/lib/ruby/1.9.1/arm-linux-eabihf/bigdecimal.so
766b1000-766b2000 rw-p 0000e000 b3:02 529196 /usr/lib/ruby/1.9.1/arm-linux-eabihf/bigdecimal.so
766b2000-766d9000 r-xp 00000000 b3:02 529200 /usr/lib/ruby/1.9.1/arm-linux-eabihf/date_core.so
766d9000-766e1000 ---p 00027000 b3:02 529200 /usr/lib/ruby/1.9.1/arm-linux-eabihf/date_core.so
766e1000-766e2000 r--p 00027000 b3:02 529200 /usr/lib/ruby/1.9.1/arm-linux-eabihf/date_core.so
766e2000-766e3000 rw-p 00028000 b3:02 529200 /usr/lib/ruby/1.9.1/arm-linux-eabihf/date_core.so
766e3000-766fc000 r-xp 00000000 b3:02 53223 /usr/lib/arm-linux-gnueabihf/libyaml-0.so.2.0.2
766fc000-76703000 ---p 00019000 b3:02 53223 /usr/lib/arm-linux-gnueabihf/libyaml-0.so.2.0.2
76703000-76704000 r--p 00018000 b3:02 53223 /usr/lib/arm-linux-gnueabihf/libyaml-0.so.2.0.2
76704000-76705000 rw-p 00019000 b3:02 53223 /usr/lib/arm-linux-gnueabihf/libyaml-0.so.2.0.2
7670c000-7670d000 r-xp 00000000 b3:02 529151 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/iso_8859_1.so
7670d000-76714000 ---p 00001000 b3:02 529151 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/iso_8859_1.so
76714000-76715000 r--p 00000000 b3:02 529151 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/iso_8859_1.so
76715000-76716000 rw-p 00001000 b3:02 529151 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/iso_8859_1.so
76716000-7671b000 r-xp 00000000 b3:02 529214 /usr/lib/ruby/1.9.1/arm-linux-eabihf/psych.so
7671b000-76722000 ---p 00005000 b3:02 529214 /usr/lib/ruby/1.9.1/arm-linux-eabihf/psych.so
76722000-76723000 r--p 00004000 b3:02 529214 /usr/lib/ruby/1.9.1/arm-linux-eabihf/psych.so
76723000-76724000 rw-p 00005000 b3:02 529214 /usr/lib/ruby/1.9.1/arm-linux-eabihf/psych.so
76724000-76725000 r-xp 00000000 b3:02 529205 /usr/lib/ruby/1.9.1/arm-linux-eabihf/fcntl.so
76725000-7672c000 ---p 00001000 b3:02 529205 /usr/lib/ruby/1.9.1/arm-linux-eabihf/fcntl.so
7672c000-7672d000 r--p 00000000 b3:02 529205 /usr/lib/ruby/1.9.1/arm-linux-eabihf/fcntl.so
7672d000-7672e000 rw-p 00001000 b3:02 529205 /usr/lib/ruby/1.9.1/arm-linux-eabihf/fcntl.so
7672e000-76742000 r-xp 00000000 b3:02 5186 /lib/arm-linux-gnueabihf/libz.so.1.2.7
76742000-7674a000 ---p 00014000 b3:02 5186 /lib/arm-linux-gnueabihf/libz.so.1.2.7
7674a000-7674b000 r--p 00014000 b3:02 5186 /lib/arm-linux-gnueabihf/libz.so.1.2.7
7674b000-7674c000 rw-p 00015000 b3:02 5186 /lib/arm-linux-gnueabihf/libz.so.1.2.7
7674c000-7688f000 r-xp 00000000 b3:02 10829 /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
7688f000-76897000 ---p 00143000 b3:02 10829 /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
76897000-768a4000 r--p 00143000 b3:02 10829 /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
768a4000-768ac000 rw-p 00150000 b3:02 10829 /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
768ac000-768b0000 rw-p 00000000 00:00 0
768b0000-768f4000 r-xp 00000000 b3:02 10828 /usr/lib/arm-linux-gnueabihf/libssl.so.1.0.0
768f4000-768fb000 ---p 00044000 b3:02 10828 /usr/lib/arm-linux-gnueabihf/libssl.so.1.0.0
768fb000-768fd000 r--p 00043000 b3:02 10828 /usr/lib/arm-linux-gnueabihf/libssl.so.1.0.0
768fd000-76901000 rw-p 00045000 b3:02 10828 /usr/lib/arm-linux-gnueabihf/libssl.so.1.0.0
76904000-76909000 r-xp 00000000 b3:02 529220 /usr/lib/ruby/1.9.1/arm-linux-eabihf/stringio.so
76909000-76910000 ---p 00005000 b3:02 529220 /usr/lib/ruby/1.9.1/arm-linux-eabihf/stringio.so
76910000-76911000 r--p 00004000 b3:02 529220 /usr/lib/ruby/1.9.1/arm-linux-eabihf/stringio.so
76911000-76912000 rw-p 00005000 b3:02 529220 /usr/lib/ruby/1.9.1/arm-linux-eabihf/stringio.so
76912000-76953000 r-xp 00000000 b3:02 529212 /usr/lib/ruby/1.9.1/arm-linux-eabihf/openssl.so
76953000-7695a000 ---p 00041000 b3:02 529212 /usr/lib/ruby/1.9.1/arm-linux-eabihf/openssl.so
7695a000-7695b000 r--p 00040000 b3:02 529212 /usr/lib/ruby/1.9.1/arm-linux-eabihf/openssl.so
7695b000-7695d000 rw-p 00041000 b3:02 529212 /usr/lib/ruby/1.9.1/arm-linux-eabihf/openssl.so
7695d000-76961000 r-xp 00000000 b3:02 529221 /usr/lib/ruby/1.9.1/arm-linux-eabihf/strscan.so
76961000-76968000 ---p 00004000 b3:02 529221 /usr/lib/ruby/1.9.1/arm-linux-eabihf/strscan.so
76968000-76969000 r--p 00003000 b3:02 529221 /usr/lib/ruby/1.9.1/arm-linux-eabihf/strscan.so
76969000-7696a000 rw-p 00004000 b3:02 529221 /usr/lib/ruby/1.9.1/arm-linux-eabihf/strscan.so
7696a000-7696c000 r-xp 00000000 b3:02 529202 /usr/lib/ruby/1.9.1/arm-linux-eabihf/digest.so
7696c000-76974000 ---p 00002000 b3:02 529202 /usr/lib/ruby/1.9.1/arm-linux-eabihf/digest.so
76974000-76975000 r--p 00002000 b3:02 529202 /usr/lib/ruby/1.9.1/arm-linux-eabihf/digest.so
76975000-76976000 rw-p 00003000 b3:02 529202 /usr/lib/ruby/1.9.1/arm-linux-eabihf/digest.so
76976000-76979000 r-xp 00000000 b3:02 529178 /usr/lib/ruby/1.9.1/arm-linux-eabihf/digest/sha1.so
76979000-76980000 ---p 00003000 b3:02 529178 /usr/lib/ruby/1.9.1/arm-linux-eabihf/digest/sha1.so
76980000-76981000 r--p 00002000 b3:02 529178 /usr/lib/ruby/1.9.1/arm-linux-eabihf/digest/sha1.so
76981000-76982000 rw-p 00003000 b3:02 529178 /usr/lib/ruby/1.9.1/arm-linux-eabihf/digest/sha1.so
76982000-76984000 r-xp 00000000 b3:02 529204 /usr/lib/ruby/1.9.1/arm-linux-eabihf/etc.so
76984000-7698b000 ---p 00002000 b3:02 529204 /usr/lib/ruby/1.9.1/arm-linux-eabihf/etc.so
7698b000-7698c000 r--p 00001000 b3:02 529204 /usr/lib/ruby/1.9.1/arm-linux-eabihf/etc.so
7698c000-7698d000 rw-p 00002000 b3:02 529204 /usr/lib/ruby/1.9.1/arm-linux-eabihf/etc.so
7698d000-76992000 r-xp 00000000 b3:02 529213 /usr/lib/ruby/1.9.1/arm-linux-eabihf/pathname.so
76992000-76999000 ---p 00005000 b3:02 529213 /usr/lib/ruby/1.9.1/arm-linux-eabihf/pathname.so
76999000-7699a000 r--p 00004000 b3:02 529213 /usr/lib/ruby/1.9.1/arm-linux-eabihf/pathname.so
7699a000-7699b000 rw-p 00005000 b3:02 529213 /usr/lib/ruby/1.9.1/arm-linux-eabihf/pathname.so
7699b000-7699d000 r-xp 00000000 b3:02 529122 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/trans/transdb.so
7699d000-769a4000 ---p 00002000 b3:02 529122 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/trans/transdb.so
769a4000-769a5000 r--p 00001000 b3:02 529122 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/trans/transdb.so
769a5000-769a6000 rw-p 00002000 b3:02 529122 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/trans/transdb.so
769a6000-76a27000 rw-p 00000000 00:00 0
76a27000-76b9e000 r--p 00000000 b3:02 16545 /usr/lib/locale/locale-archive
76b9e000-76bbe000 r-xp 00000000 b3:02 16120 /lib/arm-linux-gnueabihf/libgcc_s.so.1
76bbe000-76bc5000 ---p 00020000 b3:02 16120 /lib/arm-linux-gnueabihf/libgcc_s.so.1
76bc5000-76bc6000 rw-p 0001f000 b3:02 16120 /lib/arm-linux-gnueabihf/libgcc_s.so.1
76bc6000-76cea000 r-xp 00000000 b3:02 4254 /lib/arm-linux-gnueabihf/libc-2.13.so
76cea000-76cf1000 ---p 00124000 b3:02 4254 /lib/arm-linux-gnueabihf/libc-2.13.so
76cf1000-76cf3000 r--p 00123000 b3:02 4254 /lib/arm-linux-gnueabihf/libc-2.13.so
76cf3000-76cf4000 rw-p 00125000 b3:02 4254 /lib/arm-linux-gnueabihf/libc-2.13.so
76cf4000-76cf7000 rw-p 00000000 00:00 0
76cf7000-76d5f000 r-xp 00000000 b3:02 4262 /lib/arm-linux-gnueabihf/libm-2.13.so
76d5f000-76d66000 ---p 00068000 b3:02 4262 /lib/arm-linux-gnueabihf/libm-2.13.so
76d66000-76d67000 r--p 00067000 b3:02 4262 /lib/arm-linux-gnueabihf/libm-2.13.so
76d67000-76d68000 rw-p 00068000 b3:02 4262 /lib/arm-linux-gnueabihf/libm-2.13.so
76d68000-76d6f000 r-xp 00000000 b3:02 4253 /lib/arm-linux-gnueabihf/libcrypt-2.13.so
76d6f000-76d76000 ---p 00007000 b3:02 4253 /lib/arm-linux-gnueabihf/libcrypt-2.13.so
76d76000-76d77000 r--p 00006000 b3:02 4253 /lib/arm-linux-gnueabihf/libcrypt-2.13.so
76d77000-76d78000 rw-p 00007000 b3:02 4253 /lib/arm-linux-gnueabihf/libcrypt-2.13.so
76d78000-76d9f000 rw-p 00000000 00:00 0
76d9f000-76da1000 r-xp 00000000 b3:02 4260 /lib/arm-linux-gnueabihf/libdl-2.13.so
76da1000-76da8000 ---p 00002000 b3:02 4260 /lib/arm-linux-gnueabihf/libdl-2.13.so
76da8000-76da9000 r--p 00001000 b3:02 4260 /lib/arm-linux-gnueabihf/libdl-2.13.so
76da9000-76daa000 rw-p 00002000 b3:02 4260 /lib/arm-linux-gnueabihf/libdl-2.13.so
76daa000-76db0000 r-xp 00000000 b3:02 4241 /lib/arm-linux-gnueabihf/librt-2.13.so
76db0000-76db7000 ---p 00006000 b3:02 4241 /lib/arm-linux-gnueabihf/librt-2.13.so
76db7000-76db8000 r--p 00005000 b3:02 4241 /lib/arm-linux-gnueabihf/librt-2.13.so
76db8000-76db9000 rw-p 00006000 b3:02 4241 /lib/arm-linux-gnueabihf/librt-2.13.so
76db9000-76dcd000 r-xp 00000000 b3:02 4247 /lib/arm-linux-gnueabihf/libpthread-2.13.so
76dcd000-76dd4000 ---p 00014000 b3:02 4247 /lib/arm-linux-gnueabihf/libpthread-2.13.so
76dd4000-76dd5000 r--p 00013000 b3:02 4247 /lib/arm-linux-gnueabihf/libpthread-2.13.so
76dd5000-76dd6000 rw-p 00014000 b3:02 4247 /lib/arm-linux-gnueabihf/libpthread-2.13.so
76dd6000-76dd8000 rw-p 00000000 00:00 0
76dd8000-76f81000 r-xp 00000000 b3:02 19084 /usr/lib/libruby-1.9.1.so.1.9.1
76f81000-76f88000 ---p 001a9000 b3:02 19084 /usr/lib/libruby-1.9.1.so.1.9.1
76f88000-76f8d000 rw-p 001a8000 b3:02 19084 /usr/lib/libruby-1.9.1.so.1.9.1
76f8d000-76f9c000 rw-p 00000000 00:00 0
76f9e000-76fa0000 r-xp 00000000 b3:02 529141 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/encdb.so
76fa0000-76fa7000 ---p 00002000 b3:02 529141 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/encdb.so
76fa7000-76fa8000 r--p 00001000 b3:02 529141 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/encdb.so
76fa8000-76fa9000 rw-p 00002000 b3:02 529141 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/encdb.so
76fa9000-76faa000 ---p 00000000 00:00 0
76faa000-76fad000 rw-p 00000000 00:00 0 [stack:22096]
76fad000-76faf000 r-xp 00000000 b3:02 27297 /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so
76faf000-76fb6000 ---p 00002000 b3:02 27297 /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so
76fb6000-76fb7000 rw-p 00001000 b3:02 27297 /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so
76fb7000-76fd4000 r-xp 00000000 b3:02 4248 /lib/arm-linux-gnueabihf/ld-2.13.so
76fd6000-76fdc000 rw-p 00000000 00:00 0
76fdc000-76fdd000 r--p 0001d000 b3:02 4248 /lib/arm-linux-gnueabihf/ld-2.13.so
76fdd000-76fde000 rw-p 0001e000 b3:02 4248 /lib/arm-linux-gnueabihf/ld-2.13.so
7ed80000-7eda1000 rw-p 00000000 00:00 0 [stack]
7ee3d000-7ee3e000 r-xp 00000000 00:00 0 [sigpage]
ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors]
[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
This is a known issue. The solution is to remove therubyracer gem from your Gemfile. Then install nodejs on your Pi, which you can do with the following command:
apt-get install nodejs
I try to use eventmachine + em-websocket + redis to build a notification server. It looks good after I finishing almost all code. But, when I started to test connections, something happened. Connection can't be over than 1015 (I have no idea why 1015).
I try to simplify the code and find the problem, but I don't know what I can do.
Emvironment
RVM Ruby ruby-1.9.3-p194 (also tried ree)
Server: Ubuntu 12.04 (also tried Mountain Lion)
Client: Mountain Lion
Gem
em-websocket 0.3.8
eventmachine 0.12.10 (also tried 1.0.0.beta.4)
em-websocket-client 0.1.1
Client
require 'eventmachine'
require 'em-websocket-client'
EM.run do
# If I create 1200 connections one time, server will crash. But there is no error message.
# If I create 1000 connections (1000 connections are connecting) at first and create again, it'll show error message.
1200.times do |i|
Fiber.new do
conn = EventMachine::WebSocketClient.connect("ws://0.0.0.0:8080?channel=channel#{i}")
conn.callback do
puts "Connected"
end
conn.errback do |e|
puts "Got error: #{e}"
end
conn.stream do |msg|
puts "got data:"
puts msg
end
conn.disconnect do
puts "gone"
EM::stop_event_loop
end
end.resume
end
end
Server
require 'eventmachine'
require 'em-websocket'
EventMachine.run do
f1 = Fiber.new do
EventMachine::WebSocket.start(:host => "0.0.0.0", :port => 8080) do |ws|
ws.onopen do |data|
puts "WebSocket connection open"
end
ws.onclose do
puts "Connection closed"
end
ws.onmessage do |msg|
puts "Recieved message: #{msg}"
end
end
end
f1.resume
end
Error Message
*** buffer overflow detected ***: ruby terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7fd7de40d007]
/lib/x86_64-linux-gnu/libc.so.6(+0x107f00)[0x7fd7de40bf00]
/lib/x86_64-linux-gnu/libc.so.6(+0x108fbe)[0x7fd7de40cfbe]
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/eventmachine-0.12.10/lib/rubyeventmachine.so(_ZN14EventMachine_t14_RunSelectOnceEv+0xac)[0x7fd7dcec33dc]
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/eventmachine-0.12.10/lib/rubyeventmachine.so(_ZN14EventMachine_t3RunEv+0x5c)[0x7fd7dcec61ec]
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/eventmachine-0.12.10/lib/rubyeventmachine.so(+0x1e419)[0x7fd7dceca419]
/usr/local/rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(+0x175941)[0x7fd7de836941]
/usr/local/rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(+0x16b609)[0x7fd7de82c609]
/usr/local/rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(+0x171a9a)[0x7fd7de832a9a]
/usr/local/rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(rb_iseq_eval_main+0xae)[0x7fd7de838c4e]
/usr/local/rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(+0x62e62)[0x7fd7de723e62]
/usr/local/rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(ruby_exec_node+0x1d)[0x7fd7de724c0d]
/usr/local/rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9(ruby_run_node+0x1e)[0x7fd7de726cae]
ruby[0x4007fb]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7fd7de32576d]
ruby[0x400829]
======= Memory map: ========
00400000-00401000 r-xp 00000000 ca:00 155311 /usr/local/rvm/rubies/ruby-1.9.3-p194/bin/ruby
00600000-00601000 r--p 00000000 ca:00 155311 /usr/local/rvm/rubies/ruby-1.9.3-p194/bin/ruby
00601000-00602000 rw-p 00001000 ca:00 155311 /usr/local/rvm/rubies/ruby-1.9.3-p194/bin/ruby
00c1c000-019ac000 rw-p 00000000 00:00 0 [heap]
7fd7db948000-7fd7db952000 r-xp 00000000 ca:00 184566 /usr/local/rvm/gems/ruby-1.9.3-p194/gems/hiredis-0.4.5/lib/hiredis/ext/hiredis_ext.so
7fd7db952000-7fd7dbb51000 ---p 0000a000 ca:00 184566 /usr/local/rvm/gems/ruby-1.9.3-p194/gems/hiredis-0.4.5/lib/hiredis/ext/hiredis_ext.so
7fd7dbb51000-7fd7dbb52000 r--p 00009000 ca:00 184566 /usr/local/rvm/gems/ruby-1.9.3-p194/gems/hiredis-0.4.5/lib/hiredis/ext/hiredis_ext.so
7fd7dbb52000-7fd7dbb53000 rw-p 0000a000 ca:00 184566 /usr/local/rvm/gems/ruby-1.9.3-p194/gems/hiredis-0.4.5/lib/hiredis/ext/hiredis_ext.so
7fd7dbb53000-7fd7dbb54000 r-xp 00000000 ca:00 156027 /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/digest/sha1.so
7fd7dbb54000-7fd7dbd53000 ---p 00001000 ca:00 156027 /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/digest/sha1.so
7fd7dbd53000-7fd7dbd54000 r--p 00000000 ca:00 156027 /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/digest/sha1.so
7fd7dbd54000-7fd7dbd55000 rw-p 00001000 ca:00 156027 /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/digest/sha1.so
7fd7dbd55000-7fd7dbd58000 r-xp 00000000 ca:00 156022 /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/digest.so
7fd7dbd58000-7fd7dbf57000 ---p 00003000 ca:00 156022 /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/digest.so
7fd7dbf57000-7fd7dbf58000 r--p 00002000 ca:00 156022 /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/digest.so
7fd7dbf58000-7fd7dbf59000 rw-p 00003000 ca:00 156022 /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/digest.so
7fd7dbf59000-7fd7dbf5a000 r-xp 00000000 ca:00 156025 /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/digest/md5.so
7fd7dbf5a000-7fd7dc159000 ---p 00001000 ca:00 156025 /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/digest/md5.so
7fd7dc159000-7fd7dc15a000 r--p 00000000 ca:00 156025 /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/digest/md5.so
7fd7dc15a000-7fd7dc15b000 rw-p 00001000 ca:00 156025 /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/digest/md5.so
7fd7dc15b000-7fd7dc171000 r-xp 00000000 ca:00 14677 /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7fd7dc171000-7fd7dc370000 ---p 00016000 ca:00 14677 /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7fd7dc370000-7fd7dc371000 r--p 00015000 ca:00 14677 /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7fd7dc371000-7fd7dc372000 rw-p 00016000 ca:00 14677 /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7fd7dc372000-7fd7dc387000 r-xp 00000000 ca:00 14632 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fd7dc387000-7fd7dc586000 ---p 00015000 ca:00 14632 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fd7dc586000-7fd7dc587000 r--p 00014000 ca:00 14632 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fd7dc587000-7fd7dc588000 rw-p 00015000 ca:00 14632 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fd7dc588000-7fd7dc66a000 r-xp 00000000 ca:00 1654 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7fd7dc66a000-7fd7dc869000 ---p 000e2000 ca:00 1654 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7fd7dc869000-7fd7dc871000 r--p 000e1000 ca:00 1654 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7fd7dc871000-7fd7dc873000 rw-p 000e9000 ca:00 1654 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7fd7dc873000-7fd7dc888000 rw-p 00000000 00:00 0
7fd7dc888000-7fd7dc8da000 r-xp 00000000 ca:00 16804 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7fd7dc8da000-7fd7dcada000 ---p 00052000 ca:00 16804 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7fd7dcada000-7fd7dcadd000 r--p 00052000 ca:00 16804 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7fd7dcadd000-7fd7dcae3000 rw-p 00055000 ca:00 16804 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7fd7dcae3000-7fd7dcae4000 rw-p 00000000 00:00 0
7fd7dcae4000-7fd7dcc83000 r-xp 00000000 ca:00 16817 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7fd7dcc83000-7fd7dce82000 ---p 0019f000 ca:00 16817 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7fd7dce82000-7fd7dce9d000 r--p 0019e000 ca:00 16817 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7fd7dce9d000-7fd7dcea8000 rw-p 001b9000 ca:00 16817 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7fd7dcea8000-7fd7dceac000 rw-p 00000000 00:00 0
7fd7dceac000-7fd7dced4000 r-xp 00000000 ca:00 172584 /usr/local/rvm/gems/ruby-1.9.3-p194/gems/eventmachine-0.12.10/lib/rubyeventmachine.so
7fd7dced4000-7fd7dd0d3000 ---p 00028000 ca:00 172584 /usr/local/rvm/gems/ruby-1.9.3-p194/gems/eventmachine-0.12.10/lib/rubyeventmachine.so
7fd7dd0d3000-7fd7dd0d5000 r--p 00027000 ca:00 172584 /usr/local/rvm/gems/ruby-1.9.3-p194/gems/eventmachine-0.12.10/lib/rubyeventmachine.so
7fd7dd0d5000-7fd7dd0d7000 rw-p 00029000 ca:00 172584 /usr/local/rvm/gems/ruby-1.9.3-p194/gems/eventmachine-0.12.10/lib/rubyeventmachine.so
7fd7dd0d7000-7fd7dd0d9000 r-xp 00000000 ca:00 156000 /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7fd7dd0d9000-7fd7dd2d9000 ---p 00002000 ca:00 156000 /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7fd7dd2d9000-7fd7dd2da000 r--p 00002000 ca:00 156000 /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7fd7dd2da000-7fd7dd2db000 rw-p 00003000 ca:00 156000 /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7fd7dd2db000-7fd7dd2dd000 r-xp 00000000 ca:00 155966 /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7fd7dd2dd000-7fd7dd4dc000 ---p 00002000 ca:00 155966 /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7fd7dd4dc000-7fd7dd4dd000 r--p 00001000 ca:00 155966 /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7fd7dd4dd000-7fd7dd4de000 rw-p 00002000 ca:00 155966 /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7fd7dd4de000-7fd7dd7a7000 r--p 00000000 ca:00 43369 /usr/lib/locale/locale-archive
7fd7dd7a7000-7fd7dd8a0000 r-xp 00000000 ca:00 14638 /lib/x86_64-linux-gnu/libm-2.15.so
7fd7dd8a0000-7fd7dda9f000 ---p 000f9000 ca:00 14638 /lib/x86_64-linux-gnu/libm-2.15.so
7fd7dda9f000-7fd7ddaa0000 r--p 000f8000 ca:00 14638 /lib/x86_64-linux-gnu/libm-2.15.so
7fd7ddaa0000-7fd7ddaa1000 rw-p 000f9000 ca:00 14638 /lib/x86_64-linux-gnu/libm-2.15.so
7fd7ddaa1000-7fd7ddaaa000 r-xp 00000000 ca:00 14625 /lib/x86_64-linux-gnu/libcrypt-2.15.so
7fd7ddaaa000-7fd7ddcaa000 ---p 00009000 ca:00 14625 /lib/x86_64-linux-gnu/libcrypt-2.15.so
7fd7ddcaa000-7fd7ddcab000 r--p 00009000 ca:00 14625 /lib/x86_64-linux-gnu/libcrypt-2.15.so
7fd7ddcab000-7fd7ddcac000 rw-p 0000a000 ca:00 14625 /lib/x86_64-linux-gnu/libcrypt-2.15.so
7fd7ddcac000-7fd7ddcdb000 rw-p 00000000 00:00 0
7fd7ddcdb000-7fd7ddcdd000 r-xp 00000000 ca:00 14628 /lib/x86_64-linux-gnu/libdl-2.15.so
7fd7ddcdd000-7fd7ddedd000 ---p 00002000 ca:00 14628 /lib/x86_64-linux-gnu/libdl-2.15.so
7fd7ddedd000-7fd7ddede000 r--p 00002000 ca:00 14628 /lib/x86_64-linux-gnu/libdl-2.15.so
7fd7ddede000-7fd7ddedf000 rw-p 00003000 ca:00 14628 /lib/x86_64-linux-gnu/libdl-2.15.so
7fd7ddedf000-7fd7ddee6000 r-xp 00000000 ca:00 14665 /lib/x86_64-linux-gnu/librt-2.15.so
7fd7ddee6000-7fd7de0e5000 ---p 00007000 ca:00 14665 /lib/x86_64-linux-gnu/librt-2.15.so
7fd7de0e5000-7fd7de0e6000 r--p 00006000 ca:00 14665 /lib/x86_64-linux-gnu/librt-2.15.so
7fd7de0e6000-7fd7de0e7000 rw-p 00007000 ca:00 14665 /lib/x86_64-linux-gnu/librt-2.15.so
7fd7de0e7000-7fd7de0ff000 r-xp 00000000 ca:00 14662 /lib/x86_64-linux-gnu/libpthread-2.15.so
7fd7de0ff000-7fd7de2fe000 ---p 00018000 ca:00 14662 /lib/x86_64-linux-gnu/libpthread-2.15.so
7fd7de2fe000-7fd7de2ff000 r--p 00017000 ca:00 14662 /lib/x86_64-linux-gnu/libpthread-2.15.so
7fd7de2ff000-7fd7de300000 rw-p 00018000 ca:00 14662 /lib/x86_64-linux-gnu/libpthread-2.15.so
7fd7de300000-7fd7de304000 rw-p 00000000 00:00 0
7fd7de304000-7fd7de4b7000 r-xp 00000000 ca:00 14622 /lib/x86_64-linux-gnu/libc-2.15.so
7fd7de4b7000-7fd7de6b6000 ---p 001b3000 ca:00 14622 /lib/x86_64-linux-gnu/libc-2.15.so
7fd7de6b6000-7fd7de6ba000 r--p 001b2000 ca:00 14622 /lib/x86_64-linux-gnu/libc-2.15.so
7fd7de6ba000-7fd7de6bc000 rw-p 001b6000 ca:00 14622 /lib/x86_64-linux-gnu/libc-2.15.so
7fd7de6bc000-7fd7de6c1000 rw-p 00000000 00:00 0
7fd7de6c1000-7fd7de8d9000 r-xp 00000000 ca:00 155313 /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9.1
7fd7de8d9000-7fd7dead8000 ---p 00218000 ca:00 155313 /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9.1
7fd7dead8000-7fd7deadd000 r--p 00217000 ca:00 155313 /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9.1
7fd7deadd000-7fd7deae1000 rw-p 0021c000 ca:00 155313 /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/libruby.so.1.9.1
7fd7deae1000-7fd7deafd000 rw-p 00000000 00:00 0
7fd7deafd000-7fd7deb1f000 r-xp 00000000 ca:00 14613 /lib/x86_64-linux-gnu/ld-2.15.so
7fd7dec02000-7fd7dec03000 rw-p 00000000 00:00 0
7fd7dec03000-7fd7dec04000 ---p 00000000 00:00 0
7fd7dec04000-7fd7ded18000 rw-p 00000000 00:00 0
7fd7ded19000-7fd7ded1a000 ---p 00000000 00:00 0
7fd7ded1a000-7fd7ded1f000 rw-p 00000000 00:00 0 [stack:16253]
7fd7ded1f000-7fd7ded20000 r--p 00022000 ca:00 14613 /lib/x86_64-linux-gnu/ld-2.15.so
7fd7ded20000-7fd7ded22000 rw-p 00023000 ca:00 14613 /lib/x86_64-linux-gnu/ld-2.15.so
7fffe3620000-7fffe3641000 rw-p 00000000 00:00 0 [stack]
7fffe3776000-7fffe3777000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Aborted (core dumped)
There are some posibilities I think:
OS kernal problem. I can change some settings to fix it.
Ruby problem
EventMachine problem
em-websocket problem
Anyone can give me some tips, thank you :)
First of all, look at this answer to increase open file limit.
Secondly, you don't have to wrap neither server neither client in Fiber and run it when inside EM.run loop.
How do I determine if a segfault is due to inconsistent libraries, or a bug in some gem I'm using?
$ uname -a
Linux [redacted] 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
$ ruby1.9.1 --version
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
$ CPUPROFILE_OBJECTS=1 CPUPROFILE=/tmp/my_app_profile_objects RUBYOPT="-r`gem1.9.1 which perftools | tail -1`" ruby1.9.1 -e '[].map'
-e:1: [BUG] Segmentation fault
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0004 p:---- s:0009 b:0009 l:000008 d:000008 CFUNC :map
c:0003 p:0010 s:0006 b:0006 l:0011f8 d:0002f8 EVAL -e:1
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:0011f8 d:0011f8 TOP
-- Ruby level backtrace information ----------------------------------------
-e:1:in `<main>'
-e:1:in `map'
-- C level backtrace information -------------------------------------------
/usr/lib/libruby-1.9.1.so.1.9(+0x155b29) [0x7fd39f1dab29] ../sysdeps/x86_64/multiarch/strcpy-ssse3.S:1638
/usr/lib/libruby-1.9.1.so.1.9(+0x57709) [0x7fd39f0dc709] vfscanf.c:1777
/usr/lib/libruby-1.9.1.so.1.9(rb_bug+0xb7) [0x7fd39f0dd137] vfscanf.c:1796
/usr/lib/libruby-1.9.1.so.1.9(+0xf604f) [0x7fd39f17b04f] wcfuncs.c:49
/lib/x86_64-linux-gnu/libc.so.6(+0x364c0) [0x7fd39ecfe4c0] ../sysdeps/posix/killpg.c:38
/usr/lib/libruby-1.9.1.so.1.9(rb_check_type+0xd8) [0x7fd39f0de7e8] vfscanf.c:1963
/usr/lib/libruby-1.9.1.so.1.9(rb_data_typed_object_alloc+0xad) [0x7fd39f0f340d] iofdopen.c:51
/usr/lib/libruby-1.9.1.so.1.9(+0x54f9f) [0x7fd39f0d9f9f] vfscanf.c:2014
/usr/lib/libruby-1.9.1.so.1.9(rb_enumeratorize+0x33) [0x7fd39f0dae33] vfscanf.c:2373
/usr/lib/libruby-1.9.1.so.1.9(+0x14e9a1) [0x7fd39f1d39a1] ../sysdeps/x86_64/multiarch/../strcmp.S:293
/usr/lib/libruby-1.9.1.so.1.9(+0x145912) [0x7fd39f1ca912] ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:2001
/usr/lib/libruby-1.9.1.so.1.9(+0x14b31d) [0x7fd39f1d031d] ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:2032
/usr/lib/libruby-1.9.1.so.1.9(rb_iseq_eval_main+0xaf) [0x7fd39f1d769f] ../sysdeps/x86_64/multiarch/../strcmp.S:1811
/usr/lib/libruby-1.9.1.so.1.9(+0x5b172) [0x7fd39f0e0172] vfscanf.c:1471
/usr/lib/libruby-1.9.1.so.1.9(ruby_exec_node+0x1d) [0x7fd39f0e0c5d] vfscanf.c:2288
/usr/lib/libruby-1.9.1.so.1.9(ruby_run_node+0x1e) [0x7fd39f0e280e] psiginfo.c:209
ruby1.9.1() [0x4007db]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fd39ece976d] libc-start.c:226
ruby1.9.1() [0x400809]
-- Other runtime information -----------------------------------------------
* Loaded script: -e
* Loaded features:
0 enumerator.so
1 /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
2 /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
3 /usr/lib/ruby/1.9.1/rubygems/defaults.rb
4 /usr/lib/ruby/1.9.1/x86_64-linux/rbconfig.rb
5 /usr/lib/ruby/1.9.1/rubygems/deprecate.rb
6 /usr/lib/ruby/1.9.1/rubygems/exceptions.rb
7 /usr/lib/ruby/1.9.1/rubygems/custom_require.rb
8 /usr/lib/ruby/1.9.1/rubygems.rb
9 /var/lib/gems/1.9.1/gems/perftools.rb-2.0.0/lib/perftools.so
* Process memory map:
00400000-00401000 r-xp 00000000 08:07 704429 /usr/bin/ruby1.9.1
00600000-00601000 r--p 00000000 08:07 704429 /usr/bin/ruby1.9.1
00601000-00602000 rw-p 00001000 08:07 704429 /usr/bin/ruby1.9.1
01464000-016e4000 rw-p 00000000 00:00 0 [heap]
7fd39c3e1000-7fd39cf53000 rw-p 00000000 00:00 0
7fd39cf53000-7fd39cf68000 r-xp 00000000 08:06 5443 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fd39cf68000-7fd39d167000 ---p 00015000 08:06 5443 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fd39d167000-7fd39d168000 r--p 00014000 08:06 5443 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fd39d168000-7fd39d169000 rw-p 00015000 08:06 5443 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fd39d169000-7fd39d24b000 r-xp 00000000 08:07 137087 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7fd39d24b000-7fd39d44a000 ---p 000e2000 08:07 137087 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7fd39d44a000-7fd39d452000 r--p 000e1000 08:07 137087 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7fd39d452000-7fd39d454000 rw-p 000e9000 08:07 137087 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7fd39d454000-7fd39d469000 rw-p 00000000 00:00 0
7fd39d469000-7fd39d47d000 r-xp 00000000 08:06 144897 /var/lib/gems/1.9.1/gems/perftools.rb-2.0.0/lib/perftools.so
7fd39d47d000-7fd39d67c000 ---p 00014000 08:06 144897 /var/lib/gems/1.9.1/gems/perftools.rb-2.0.0/lib/perftools.so
7fd39d67c000-7fd39d67d000 r--p 00013000 08:06 144897 /var/lib/gems/1.9.1/gems/perftools.rb-2.0.0/lib/perftools.so
7fd39d67d000-7fd39d67e000 rw-p 00014000 08:06 144897 /var/lib/gems/1.9.1/gems/perftools.rb-2.0.0/lib/perftools.so
7fd39d67e000-7fd39d682000 rw-p 00000000 00:00 0
7fd39d682000-7fd39d684000 r-xp 00000000 08:07 157727 /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7fd39d684000-7fd39d884000 ---p 00002000 08:07 157727 /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7fd39d884000-7fd39d885000 r--p 00002000 08:07 157727 /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7fd39d885000-7fd39d886000 rw-p 00003000 08:07 157727 /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7fd39d886000-7fd39d888000 r-xp 00000000 08:07 157743 /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7fd39d888000-7fd39da87000 ---p 00002000 08:07 157743 /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7fd39da87000-7fd39da88000 r--p 00001000 08:07 157743 /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7fd39da88000-7fd39da89000 rw-p 00002000 08:07 157743 /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7fd39da89000-7fd39e16c000 r--p 00000000 08:07 134744 /usr/lib/locale/locale-archive
7fd39e16c000-7fd39e265000 r-xp 00000000 08:06 5454 /lib/x86_64-linux-gnu/libm-2.15.so
7fd39e265000-7fd39e464000 ---p 000f9000 08:06 5454 /lib/x86_64-linux-gnu/libm-2.15.so
7fd39e464000-7fd39e465000 r--p 000f8000 08:06 5454 /lib/x86_64-linux-gnu/libm-2.15.so
7fd39e465000-7fd39e466000 rw-p 000f9000 08:06 5454 /lib/x86_64-linux-gnu/libm-2.15.so
7fd39e466000-7fd39e46f000 r-xp 00000000 08:06 5430 /lib/x86_64-linux-gnu/libcrypt-2.15.so
7fd39e46f000-7fd39e66f000 ---p 00009000 08:06 5430 /lib/x86_64-linux-gnu/libcrypt-2.15.so
7fd39e66f000-7fd39e670000 r--p 00009000 08:06 5430 /lib/x86_64-linux-gnu/libcrypt-2.15.so
7fd39e670000-7fd39e671000 rw-p 0000a000 08:06 5430 /lib/x86_64-linux-gnu/libcrypt-2.15.so
7fd39e671000-7fd39e69f000 rw-p 00000000 00:00 0
7fd39e69f000-7fd39e6a1000 r-xp 00000000 08:06 5435 /lib/x86_64-linux-gnu/libdl-2.15.so
7fd39e6a1000-7fd39e8a1000 ---p 00002000 08:06 5435 /lib/x86_64-linux-gnu/libdl-2.15.so
7fd39e8a1000-7fd39e8a2000 r--p 00002000 08:06 5435 /lib/x86_64-linux-gnu/libdl-2.15.so
7fd39e8a2000-7fd39e8a3000 rw-p 00003000 08:06 5435 /lib/x86_64-linux-gnu/libdl-2.15.so
7fd39e8a3000-7fd39e8aa000 r-xp 00000000 08:06 5508 /lib/x86_64-linux-gnu/librt-2.15.so
7fd39e8aa000-7fd39eaa9000 ---p 00007000 08:06 5508 /lib/x86_64-linux-gnu/librt-2.15.so
7fd39eaa9000-7fd39eaaa000 r--p 00006000 08:06 5508 /lib/x86_64-linux-gnu/librt-2.15.so
7fd39eaaa000-7fd39eaab000 rw-p 00007000 08:06 5508 /lib/x86_64-linux-gnu/librt-2.15.so
7fd39eaab000-7fd39eac3000 r-xp 00000000 08:06 5502 /lib/x86_64-linux-gnu/libpthread-2.15.so
7fd39eac3000-7fd39ecc2000 ---p 00018000 08:06 5502 /lib/x86_64-linux-gnu/libpthread-2.15.so
7fd39ecc2000-7fd39ecc3000 r--p 00017000 08:06 5502 /lib/x86_64-linux-gnu/libpthread-2.15.so
7fd39ecc3000-7fd39ecc4000 rw-p 00018000 08:06 5502 /lib/x86_64-linux-gnu/libpthread-2.15.so
7fd39ecc4000-7fd39ecc8000 rw-p 00000000 00:00 0
7fd39ecc8000-7fd39ee7b000 r-xp 00000000 08:06 5422 /lib/x86_64-linux-gnu/libc-2.15.so
7fd39ee7b000-7fd39f07a000 ---p 001b3000 08:06 5422 /lib/x86_64-linux-gnu/libc-2.15.so
7fd39f07a000-7fd39f07e000 r--p 001b2000 08:06 5422 /lib/x86_64-linux-gnu/libc-2.15.so
7fd39f07e000-7fd39f080000 rw-p 001b6000 08:06 5422 /lib/x86_64-linux-gnu/libc-2.15.so
7fd39f080000-7fd39f085000 rw-p 00000000 00:00 0
7fd39f085000-7fd39f0f0000 r-xp 00000000 08:07 158047 /usr/lib/libruby-1.9.1.so.1.9.1
7fd39f0f0000-7fd39f0f3000 rwxp 0006b000 08:07 158047 /usr/lib/libruby-1.9.1.so.1.9.1
7fd39f0f3000-7fd39f275000 r-xp 0006e000 08:07 158047 /usr/lib/libruby-1.9.1.so.1.9.1
7fd39f275000-7fd39f474000 ---p 001f0000 08:07 158047 /usr/lib/libruby-1.9.1.so.1.9.1
7fd39f474000-7fd39f479000 r--p 001ef000 08:07 158047 /usr/lib/libruby-1.9.1.so.1.9.1
7fd39f479000-7fd39f47d000 rw-p 001f4000 08:07 158047 /usr/lib/libruby-1.9.1.so.1.9.1
7fd39f47d000-7fd39f499000 rw-p 00000000 00:00 0
7fd39f499000-7fd39f4bb000 r-xp 00000000 08:06 5402 /lib/x86_64-linux-gnu/ld-2.15.so
7fd39f59b000-7fd39f6a1000 rw-p 00000000 00:00 0
7fd39f6b4000-7fd39f6b5000 rw-p 00000000 00:00 0
7fd39f6b5000-7fd39f6b6000 ---p 00000000 00:00 0
7fd39f6b6000-7fd39f6bb000 rw-p 00000000 00:00 0
7fd39f6bb000-7fd39f6bc000 r--p 00022000 08:06 5402 /lib/x86_64-linux-gnu/ld-2.15.so
7fd39f6bc000-7fd39f6be000 rw-p 00023000 08:06 5402 /lib/x86_64-linux-gnu/ld-2.15.so
7fff507f8000-7fff50819000 rw-p 00000000 00:00 0 [stack]
7fff50941000-7fff50942000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-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)
You can find out which part of the software caused a segmentation fault by - and this is probably not a surprise to you - debugging!. As you can see...
Aborted (core dumped)
...there is a core dump.
Just fire up gdb on your executable and the core dump and find out what the parameters to that strcpy (see the first line of your backtrace) were. Then walk backwards trough the stack traces and the code. It seems like debugging symbols have been compiled in, so you are lucky and you can see which function is actually called and what parameters are supplied - at least if the bug did not corrupt the stack.
However, If you are not too familiar with debugging C or assembly code, you probably want to wait for the developers of perftools to debug this issue.
That looks like Ruby itself is crashing, so chances are, it's a bug. Ruby 1.9.3 is the latest, so you might try that to see if the bug is fixed.