[#407882] Ruby extremely slow compared to PHP — Mick Jagger <lists@...>

Hello there, how are you? Hope you are fine. I am a PHP programmer

17 messages 2013/06/02

[#407908] TCPServer/Socket and Marshal problem — Panagiotis Atmatzidis <atma@...>

Hello,

18 messages 2013/06/03

[#407946] Is rubyquiz.com dead? — Alphonse 23 <lists@...>

Thread title says everything.

18 messages 2013/06/04

[#408012] Need help understanding recursion. — pedro oliva <lists@...>

Ive been reading Chris Pine's book 'Learn to Program' and its been going

11 messages 2013/06/06

[#408129] Getting Started With Development — Chamila Wijayarathna <cdwijayarathna@...>

I'm new to Ruby Development. I downloaded source from Github, but couldn't

24 messages 2013/06/11
[#408131] Re: Getting Started With Development — Per-erik Martin <lists@...> 2013/06/11

Ruby is often installed on linux, or can be easily installed with the

[#408146] Re: Getting Started With Development — "Chamila W." <lists@...> 2013/06/11

Per-erik Martin wrote in post #1112021:

[#408149] Re: Getting Started With Development — "Carlo E. Prelz" <fluido@...> 2013/06/11

Subject: Re: Getting Started With Development

[#408198] NokoGiri XML Parser — "Devender P." <lists@...>

Hi,

11 messages 2013/06/13

[#408201] trying to load a .rb file in irb — "Eric D." <lists@...>

I am trying to load a ruby program into irb and it will not load.

12 messages 2013/06/13

[#408205] Can I use Sinatra to render dynamic pages? — Ruby Student <ruby.student@...>

Hell Team,

18 messages 2013/06/13
[#408219] Re: Can I use Sinatra to render dynamic pages? — Nicholas Van Weerdenburg <vanweerd@...> 2013/06/14

You should be able to do this without JavaScript by using streaming.

[#408228] Re: Can I use Sinatra to render dynamic pages? — Ruby Student <ruby.student@...> 2013/06/14

Well, I got some good suggestions from everyone here. I thank you all for

[#408275] Compare and sort one array according to another. — masta Blasta <lists@...>

I have two arrays of objects that look something like this:

14 messages 2013/06/17

[#408276] Comparing objects — "Thom T." <lists@...>

How do I compare two objects in Ruby, considering only attributes

15 messages 2013/06/17

[#408307] getting the most out of Ruby — robin wood <lists@...>

I write a lot of scripts in Ruby, most are small simple things but some

13 messages 2013/06/18

[#408309] Creating ruby script exe — Rochit Sen <lists@...>

Hi All,

17 messages 2013/06/18

[#408357] Beginners problem with database and datamapper — cristian cristian <lists@...>

Hi all!

28 messages 2013/06/20

[#408437] How do I input a variable floating point number into Ruby Programs — "Michael P F." <lists@...>

I want to evaluate the following interactively:

10 messages 2013/06/23

[#408518] #!/usr/bin/env: No such file or directory — Todd Sterben <lists@...>

I am new to both linux and ruby. I am using Ubuntu and Ruby 1.9

17 messages 2013/06/27

[#408528] Designing a Cabinet class — Mike Vezzani <lists@...>

Hello all,

12 messages 2013/06/27

[#408561] Find elment in array of hashes — Rodrigo Lueneberg <lists@...>

array = {:id=>1, :price =>0.25} # index[0]

23 messages 2013/06/28

buffer overflow detected while doing gem install savon in Ruby 1.8.6 on Fedora11

From: Khudadad Kazi <lists@...>
Date: 2013-06-10 11:22:29 UTC
List: ruby-talk #408101
Hi,

I have a Linux Fedora 11 system. I have installed ruby 1.8.6 (ruby -v),
but i am not able to install savon gem for SOAP based web services
calls.

I get the below error:


[root@MUM-12399 savon-master]# gem install savon
*** buffer overflow detected ***: /usr/bin/ruby terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x48)[0x3d2578]
/lib/libc.so.6[0x3d0710]
/usr/lib/ruby/1.8/i386-linux/syck.so(rb_syck_mktime+0x57f)[0x7a7dcf]
/usr/lib/ruby/1.8/i386-linux/syck.so(yaml_org_handler+0x925)[0x7a87b5]
/usr/lib/ruby/1.8/i386-linux/syck.so(syck_defaultresolver_node_import+0x3f)[0x7a8a5f]
/usr/lib/libruby.so.1.8[0x6b0cc3]
/usr/lib/libruby.so.1.8[0x6bb9d6]
/usr/lib/libruby.so.1.8[0x6bbb7a]
/usr/lib/libruby.so.1.8[0x6bc83c]
/usr/lib/libruby.so.1.8(rb_funcall+0x24)[0x6bc9c4]
/usr/lib/ruby/1.8/i386-linux/syck.so(rb_syck_load_handler+0x6c)[0x7a625c]
/usr/lib/ruby/1.8/i386-linux/syck.so(syck_hdlr_add_node+0x42)[0x7a17d2]
/usr/lib/ruby/1.8/i386-linux/syck.so(syckparse+0xb3f)[0x7a0cdf]
/usr/lib/ruby/1.8/i386-linux/syck.so(syck_parse+0x32)[0x7a99d2]
/usr/lib/ruby/1.8/i386-linux/syck.so(syck_parser_load+0x10a)[0x7a8e3a]
/usr/lib/libruby.so.1.8[0x6b0ce8]
/usr/lib/libruby.so.1.8[0x6bb9d6]
/usr/lib/libruby.so.1.8[0x6bbb7a]
/usr/lib/libruby.so.1.8[0x6b8ef8]
/usr/lib/libruby.so.1.8[0x6b8222]
/usr/lib/libruby.so.1.8[0x6bb871]
/usr/lib/libruby.so.1.8[0x6bbb7a]
/usr/lib/libruby.so.1.8[0x6b8ef8]
/usr/lib/libruby.so.1.8[0x6b8222]
/usr/lib/libruby.so.1.8[0x6bb871]
/usr/lib/libruby.so.1.8[0x6bbb7a]
/usr/lib/libruby.so.1.8[0x6b8ef8]
/usr/lib/libruby.so.1.8[0x6b938a]
/usr/lib/libruby.so.1.8[0x6bb871]
/usr/lib/libruby.so.1.8[0x6bbb7a]
/usr/lib/libruby.so.1.8[0x6b8e09]
/usr/lib/libruby.so.1.8[0x6b8566]
/usr/lib/libruby.so.1.8[0x6b9463]
/usr/lib/libruby.so.1.8[0x6ba03b]
/usr/lib/libruby.so.1.8[0x6b68bd]
/usr/lib/libruby.so.1.8[0x6ba03b]
/usr/lib/libruby.so.1.8[0x6c5a83]
/usr/lib/libruby.so.1.8[0x6b0ccd]
/usr/lib/libruby.so.1.8[0x6bb9d6]
/usr/lib/libruby.so.1.8[0x6bbb7a]
/usr/lib/libruby.so.1.8[0x6b8e09]
/usr/lib/libruby.so.1.8[0x6b9877]
/usr/lib/libruby.so.1.8[0x6bb871]
/usr/lib/libruby.so.1.8[0x6bbb7a]
/usr/lib/libruby.so.1.8[0x6b8ef8]
/usr/lib/libruby.so.1.8[0x6b9877]
/usr/lib/libruby.so.1.8[0x6bb871]
/usr/lib/libruby.so.1.8[0x6bbb7a]
/usr/lib/libruby.so.1.8(rb_funcall2+0x69)[0x6bc469]
/usr/lib/libruby.so.1.8(rb_obj_call_init+0x57)[0x6bc507]
/usr/lib/libruby.so.1.8(rb_class_new_instance+0x3a)[0x6eb01a]
/usr/lib/libruby.so.1.8[0x6b0ce8]
/usr/lib/libruby.so.1.8[0x6bb9d6]
/usr/lib/libruby.so.1.8[0x6bbb7a]
/usr/lib/libruby.so.1.8(rb_call_super+0x8c)[0x6c4c9c]
/usr/lib/libruby.so.1.8[0x6baf8d]
/usr/lib/libruby.so.1.8[0x6bbb7a]
/usr/lib/libruby.so.1.8[0x6b8e09]
/usr/lib/libruby.so.1.8[0x6b8222]
/usr/lib/libruby.so.1.8[0x6b9463]
/usr/lib/libruby.so.1.8[0x6bb871]
/usr/lib/libruby.so.1.8[0x6bbb7a]
/usr/lib/libruby.so.1.8[0x6b8ef8]
======= Memory map: ========
00110000-00153000 r-xp 00000000 fd:00 11900      /lib/libfreebl3.so
00153000-00154000 rw-p 00042000 fd:00 11900      /lib/libfreebl3.so
00154000-00158000 rw-p 00154000 00:00 0
00158000-0015a000 r-xp 00000000 fd:00 12408      /lib/libcom_err.so.2.1
0015a000-0015b000 rw-p 00001000 fd:00 12408      /lib/libcom_err.so.2.1
0015b000-0017e000 r-xp 00000000 fd:00 68761
/usr/lib/libk5crypto.so.3.1
0017e000-0017f000 rw-p 00023000 fd:00 68761
/usr/lib/libk5crypto.so.3.1
0017f000-00181000 r-xp 00000000 fd:00 222857
/usr/lib/ruby/1.8/i386-linux/digest/md5.so
00181000-00182000 rw-p 00001000 fd:00 222857
/usr/lib/ruby/1.8/i386-linux/digest/md5.so
001bc000-001bf000 r-xp 00000000 fd:00 11931      /lib/libdl-2.10.2.so
001bf000-001c0000 r--p 00002000 fd:00 11931      /lib/libdl-2.10.2.so
001c0000-001c1000 rw-p 00003000 fd:00 11931      /lib/libdl-2.10.2.so
001c3000-001c6000 r-xp 00000000 fd:00 222855
/usr/lib/ruby/1.8/i386-linux/digest.so
001c6000-001c7000 rw-p 00002000 fd:00 222855
/usr/lib/ruby/1.8/i386-linux/digest.so
0021d000-00233000 r-xp 00000000 fd:00 11949
/lib/libpthread-2.10.2.so
00233000-00234000 ---p 00016000 fd:00 11949
/lib/libpthread-2.10.2.so
00234000-00235000 r--p 00016000 fd:00 11949
/lib/libpthread-2.10.2.so
00235000-00236000 rw-p 00017000 fd:00 11949
/lib/libpthread-2.10.2.so
00236000-00238000 rw-p 00236000 00:00 0
002aa000-002b2000 r-xp 00000000 fd:00 11929      /lib/libcrypt-2.10.2.so
002b2000-002b3000 r--p 00007000 fd:00 11929      /lib/libcrypt-2.10.2.so
002b3000-002b4000 rw-p 00008000 fd:00 11929      /lib/libcrypt-2.10.2.so
002b4000-002db000 rw-p 002b4000 00:00 0
002db000-00445000 r-xp 00000000 fd:00 11925      /lib/libc-2.10.2.so
00445000-00447000 r--p 0016a000 fd:00 11925      /lib/libc-2.10.2.so
00447000-00448000 rw-p 0016c000 fd:00 11925      /lib/libc-2.10.2.so
00448000-0044b000 rw-p 00448000 00:00 0
00480000-00487000 r-xp 00000000 fd:00 11953      /lib/librt-2.10.2.so
00487000-00488000 r--p 00006000 fd:00 11953      /lib/librt-2.10.2.so
00488000-00489000 rw-p 00007000 fd:00 11953      /lib/librt-2.10.2.so
00489000-00521000 r-xp 00000000 fd:00 68771      /usr/lib/libkrb5.so.3.3
00521000-00523000 rw-p 00098000 fd:00 68771      /usr/lib/libkrb5.so.3.3
00542000-00547000 r-xp 00000000 fd:00 11939
/lib/libnss_dns-2.10.2.so
00547000-00548000 r--p 00004000 fd:00 11939
/lib/libnss_dns-2.10.2.so
00548000-00549000 rw-p 00005000 fd:00 11939
/lib/libnss_dns-2.10.2.so
00576000-00581000 r-xp 00000000 fd:00 222877
/usr/lib/ruby/1.8/i386-linux/socket.so
00581000-00582000 rw-p 0000a000 fd:00 222877
/usr/lib/ruby/1.8/i386-linux/socket.so
0058b000-0059f000 r-xp 00000000 fd:00 11951
/lib/libresolv-2.10.2.so
0059f000-005a0000 r--p 00013000 fd:00 11951
/lib/libresolv-2.10.2.so
005a0000-005a1000 rw-p 00014000 fd:00 11951
/lib/libresolv-2.10.2.so
005a1000-005a3000 rw-p 005a1000 00:00 0
0063f000-00643000 r-xp 00000000 fd:00 222879
/usr/lib/ruby/1.8/i386-linux/stringio.so
00643000-00644000 rw-p 00004000 fd:00 222879
/usr/lib/ruby/1.8/i386-linux/stringio.so
0068b000-00763000 r-xp 00000000 fd:00 171903
/usr/lib/libruby.so.1.8.6
00763000-00766000 rw-p 000d7000 fd:00 171903
/usr/lib/libruby.so.1.8.6
00766000-00776000 rw-p 00766000 00:00 0
00798000-007b3000 r-xp 00000000 fd:00 222884
/usr/lib/ruby/1.8/i386-linux/syck.so
007b3000-007b4000 rw-p 0001b000 fd:00 222884
/usr/lib/ruby/1.8/i386-linux/syck.so
00845000-0084e000 r-xp 00000000 fd:00 222887
/usr/lib/ruby/1.8/i386-linux/zlib.so
0084e000-0084f000 rw-p 00008000 fd:00 222887
/usr/lib/ruby/1.8/i386-linux/zlib.so
008a6000-008e1000 r-xp 00000000 fd:00 222870
/usr/lib/ruby/1.8/i386-linux/openssl.so
008e1000-008e3000 rw-p 0003a000 fd:00 222870
/usr/lib/ruby/1.8/i386-linux/openssl.so
00a4f000-00a51000 r-xp 00000000 fd:00 477        /lib/libkeyutils-1.2.so
00a51000-00a52000 rw-p 00001000 fd:00 477        /lib/libkeyutils-1.2.so
00ac3000-00ae2000 r-xp 00000000 fd:00 11918      /lib/ld-2.10.2.so
00ae2000-00ae3000 r--p 0001e000 fd:00 11918      /lib/ld-2.10.2.so
00ae3000-00ae4000 rw-p 0001f000 fd:00 11918      /lib/ld-2.10.2.so
00b27000-00b4d000 r-xp 00000000 fd:00 11933      /lib/libm-2.10.2.so
00b4d000-00b4e000 r--p 00025000 fd:00 11933      /lib/libm-2.10.2.so
00b4e000-00b4f000 rw-p 00026000 fd:00 11933      /lib/libm-2.10.2.so
00c52000-00c53000 r-xp 00c52000 00:00 0          [vdso]
00c55000-00c67000 r-xp 00000000 fd:00 445        /lib/libz.so.1.2.3
00c67000-00c68000 rw-p 00011000 fd:00 445        /lib/libz.so.1.2.3
00c6a000-00c86000 r-xp 00000000 fd:00 430        /lib/libselinux.so.1
00c86000-00c87000 r--p 0001b000 fd:00 430        /lib/libselinux.so.1
00c87000-00c88000 rw-p 0001c000 fd:00 430        /lib/libselinux.so.1
00d3d000-00d67000 r-xp 00000000 fd:00 227000
/lib/libgcc_s-4.4.1-20090729.so.1
00d67000-00d68000 rw-p 00029000 fd:00 227000
/lib/libgcc_s-4.4.1-20090729.so.1
00e0b000-00e14000 r-xp 00000000 fd:00 68773
/usr/lib/libkrb5support.so.0.1
00e14000-00e15000 rw-p 00008000 fd:00 68773
/usr/lib/libkrb5support.so.0.1
00e3a000-00e64000 r-xp 00000000 fd:00 68757
/usr/lib/libgssapi_krb5.so.2.2
00e64000-00e65000 rw-p 0002a000 fd:00 68757
/usr/lib/libgssapi_krb5.so.2.2
00e8f000-00e90000 r-xp 00000000 fd:00 222864
/usr/lib/ruby/1.8/i386-linux/fcntl.so
00e90000-00e91000 rw-p 00000000 fd:00 222864
/usr/lib/ruby/1.8/i386-linux/fcntl.so
00ea9000-00eb4000 r-xp 00000000 fd:00 11941
/lib/libnss_files-2.10.2.so
00eb4000-00eb5000 r--p 0000a000 fd:00 11941
/lib/libnss_files-2.10.2.so
00eb5000-00eb6000 rw-p 0000b000 fd:00 11941
/lib/libnss_files-2.10.2.so
00ee6000-00ee8000 r-xp 00000000 fd:00 222863
/usr/lib/ruby/1.8/i386-linux/etc.so
00ee8000-00ee9000 rw-p 00001000 fd:00 222863
/usr/lib/ruby/1.8/i386-linux/etc.so
00f2e000-00f32000 r-xp 00000000 fd:00 222886
/usr/lib/ruby/1.8/i386-linux/thread.so
00f32000-00f33000 rw-p 00003000 fd:00 222886
/usr/lib/ruby/1.8/i386-linux/thread.so
06b54000-06b9f000 r-xp 00000000 fd:00 68791
/usr/lib/libssl.so.0.9.8n
06b9f000-06ba30Aborted


From what I have read on the internet, i need to update to Ruby 1.8.7.
But on Fedora 11 i am not able to install 1.8.7. I have tried
 yum install ruby 1.8
which installs 1.8.6 and
yum install ruby 1.9.3-p429
which again installs the same 1.8.6 version.

Can someone tell how to overcome this problem.
I basically need ruby with savon gem to be able to make SOAP based
webservices calls.

I have already achieved this in Windows 7 with ruby 2.0

-- 
Posted via http://www.ruby-forum.com/.

In This Thread

Prev Next