# Ruby 1.9.1-p129

**URL:** <https://www.ruby-forum.com/t/ruby-1-9-1-p129/191597>\
**Category:** Ruby\
**Created:** [July 15, 2010, 2:10am UTC](https://www.ruby-forum.com/t/ruby-1-9-1-p129/191597 "2010-07-15T02:10:34Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wesley\_W](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/dc4da7/32.png) [@Wesley\_W](https://www.ruby-forum.com/u/Wesley_W)\
**Post date:** [July 15, 2010, 2:10am UTC](https://www.ruby-forum.com/t/ruby-1-9-1-p129/191597/1 "2010-07-15T02:10:34Z")

</div>

I was trying to install ruby 1.9.1-p129 through RVM and got this error  
message. Any ideas?

Thanks,  
Wesley

[2010-07-14 16:49:51] make  
eval.c: In function ‘ruby\_cleanup’:  
eval.c:139: warning: passing argument 1 of ‘ruby\_init\_stack’ discards  
qualifiers from pointer target type  
./include/ruby/ruby.h:995: note: expected ‘VALUE \*’ but argument is of  
type ‘volatile VALUE \*’  
io.c: In function ‘argf\_next\_argv’:  
io.c:6231: warning: ignoring return value of ‘fchown’, declared with  
attribute warn\_unused\_result  
process.c: In function ‘rb\_fork’:  
process.c:2322: warning: ignoring return value of ‘write’, declared  
with attribute warn\_unused\_result  
process.c: In function ‘proc\_daemon’:  
process.c:4239: warning: ignoring return value of ‘chdir’, declared  
with attribute warn\_unused\_result  
random.c: In function ‘fill\_random\_seed’:  
random.c:300: warning: ignoring return value of ‘read’, declared with  
attribute warn\_unused\_result  
vm\_dump.c:240: warning: ‘vm\_stack\_dump\_each’ defined but not used  
/home/wesley/.rvm/src/ruby-1.9.1-p129/lib/optparse.rb:1310: [BUG]  
Segmentation fault  
ruby 1.9.1p129 (2009-05-12 revision 23412) [i686-linux]

## – control frame ---------- c:0013 p:---- s:0060 b:0060 l:000059 d:000059 CFUNC :catch c:0012 p:0049 s:0056 b:0056 l:000568 d:001064 BLOCK /home/wesley/.rvm/ src/ruby-1.9.1-p129/lib/optparse.rb:1310 c:0011 p:---- s:0050 b:0050 l:000049 d:000049 FINISH c:0010 p:---- s:0048 b:0048 l:000047 d:000047 CFUNC :catch c:0009 p:0062 s:0044 b:0044 l:000568 d:000568 METHOD /home/wesley/.rvm/ src/ruby-1.9.1-p129/lib/optparse.rb:1258 c:0008 p:0024 s:0034 b:0034 l:000033 d:000033 METHOD /home/wesley/.rvm/ src/ruby-1.9.1-p129/lib/optparse.rb:1252 c:0007 p:0066 s:0029 b:0029 l:000dc4 d:001420 BLOCK ./tool/ generic\_erb.rb:12 c:0006 p:0114 s:0026 b:0026 l:000025 d:000025 METHOD /home/wesley/.rvm/ src/ruby-1.9.1-p129/lib/optparse.rb:793 c:0005 p:---- s:0020 b:0020 l:000019 d:000019 FINISH c:0004 p:---- s:0018 b:0018 l:000017 d:000017 CFUNC :new c:0003 p:0069 s:0015 b:0015 l:000dc4 d:001680 EVAL ./tool/ generic\_erb.rb:8 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:000dc4 d:000dc4 TOP :17

– Ruby level backtrace  
information-----------------------------------------  
/home/wesley/.rvm/src/ruby-1.9.1-p129/lib/optparse.rb:1310:in `catch' /home/wesley/.rvm/src/ruby-1.9.1-p129/lib/optparse.rb:1310:in `block  
in parse\_in\_order’  
/home/wesley/.rvm/src/ruby-1.9.1-p129/lib/optparse.rb:1258:in `catch' /home/wesley/.rvm/src/ruby-1.9.1-p129/lib/optparse.rb:1258:in `parse\_in\_order’  
/home/wesley/.rvm/src/ruby-1.9.1-p129/lib/optparse.rb:1252:in `order!' ./tool/generic_erb.rb:12:in `block in ’  
/home/wesley/.rvm/src/ruby-1.9.1-p129/lib/optparse.rb:793:in  
`initialize' ./tool/generic_erb.rb:8:in `new’  
./tool/generic\_erb.rb:8:in `’

## – C level backtrace information

0x816b7f9 ./miniruby(rb\_vm\_bugreport+0x69) [0x816b7f9]  
0x808682f ./miniruby() [0x808682f]  
0x80868ca ./miniruby(rb\_bug+0x3a) [0x80868ca]  
0x8112ab4 ./miniruby() [0x8112ab4]  
0x4001d410 [0x4001d410]  
0x8159668 ./miniruby() [0x8159668]  
0x8165f5e ./miniruby() [0x8165f5e]  
0x815f2eb ./miniruby() [0x815f2eb]  
0x816260c ./miniruby() [0x816260c]  
0x816404b ./miniruby() [0x816404b]  
0x8159668 ./miniruby() [0x8159668]  
0x8165f5e ./miniruby() [0x8165f5e]  
0x815f2eb ./miniruby() [0x815f2eb]  
0x816260c ./miniruby() [0x816260c]  
0x81664e1 ./miniruby() [0x81664e1]  
0x815bfae ./miniruby(rb\_funcall2+0xfe) [0x815bfae]  
0x8087ec0 ./miniruby(rb\_obj\_call\_init+0x50) [0x8087ec0]  
0x80bd2fa ./miniruby(rb\_class\_new\_instance+0x3a) [0x80bd2fa]  
0x8159668 ./miniruby() [0x8159668]  
0x8165f5e ./miniruby() [0x8165f5e]  
0x815f2eb ./miniruby() [0x815f2eb]  
0x816260c ./miniruby() [0x816260c]  
0x816282b ./miniruby(rb\_iseq\_eval\_main+0xab) [0x816282b]  
0x8088be7 ./miniruby(ruby\_exec\_node+0xb7) [0x8088be7]  
0x808a1c6 ./miniruby(ruby\_run\_node+0x56) [0x808a1c6]  
0x805cd88 ./miniruby(main+0x68) [0x805cd88]  
0x400cbbd6 /lib/tls/i686/cmov/libc.so.6(\_\_libc\_start\_main+0xe6)  
[0x400cbbd6]  
0x805cc81 ./miniruby() [0x805cc81]

[NOTE]  
You may encounter a bug of Ruby interpreter. Bug reports are welcome.  
For details: [http://www.ruby-lang.org/bugreport.html](http://www.ruby-lang.org/bugreport.html)

make: \*\*\* [encdb.h] Aborted  
[2010-07-14 16:52:40] make  
/home/wesley/.rvm/src/ruby-1.9.1-p129/lib/optparse.rb:1310: [BUG]  
Segmentation fault  
ruby 1.9.1p129 (2009-05-12 revision 23412) [i686-linux]

## – control frame ---------- c:0013 p:---- s:0060 b:0060 l:000059 d:000059 CFUNC :catch c:0012 p:0049 s:0056 b:0056 l:001ef8 d:0003d4 BLOCK /home/wesley/.rvm/ src/ruby-1.9.1-p129/lib/optparse.rb:1310 c:0011 p:---- s:0050 b:0050 l:000049 d:000049 FINISH c:0010 p:---- s:0048 b:0048 l:000047 d:000047 CFUNC :catch c:0009 p:0062 s:0044 b:0044 l:001ef8 d:001ef8 METHOD /home/wesley/.rvm/ src/ruby-1.9.1-p129/lib/optparse.rb:1258 c:0008 p:0024 s:0034 b:0034 l:000033 d:000033 METHOD /home/wesley/.rvm/ src/ruby-1.9.1-p129/lib/optparse.rb:1252 c:0007 p:0066 s:0029 b:0029 l:000134 d:0006a0 BLOCK ./tool/ generic\_erb.rb:12 c:0006 p:0114 s:0026 b:0026 l:000025 d:000025 METHOD /home/wesley/.rvm/ src/ruby-1.9.1-p129/lib/optparse.rb:793 c:0005 p:---- s:0020 b:0020 l:000019 d:000019 FINISH c:0004 p:---- s:0018 b:0018 l:000017 d:000017 CFUNC :new c:0003 p:0069 s:0015 b:0015 l:000134 d:0009f0 EVAL ./tool/ generic\_erb.rb:8 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:000134 d:000134 TOP :17

– Ruby level backtrace  
information-----------------------------------------  
/home/wesley/.rvm/src/ruby-1.9.1-p129/lib/optparse.rb:1310:in `catch' /home/wesley/.rvm/src/ruby-1.9.1-p129/lib/optparse.rb:1310:in `block  
in parse\_in\_order’  
/home/wesley/.rvm/src/ruby-1.9.1-p129/lib/optparse.rb:1258:in `catch' /home/wesley/.rvm/src/ruby-1.9.1-p129/lib/optparse.rb:1258:in `parse\_in\_order’  
/home/wesley/.rvm/src/ruby-1.9.1-p129/lib/optparse.rb:1252:in `order!' ./tool/generic_erb.rb:12:in `block in ’  
/home/wesley/.rvm/src/ruby-1.9.1-p129/lib/optparse.rb:793:in  
`initialize' ./tool/generic_erb.rb:8:in `new’  
./tool/generic\_erb.rb:8:in `’

## – C level backtrace information

0x816b7f9 ./miniruby(rb\_vm\_bugreport+0x69) [0x816b7f9]  
0x808682f ./miniruby() [0x808682f]  
0x80868ca ./miniruby(rb\_bug+0x3a) [0x80868ca]  
0x8112ab4 ./miniruby() [0x8112ab4]  
0x4001d410 [0x4001d410]  
0x8159668 ./miniruby() [0x8159668]  
0x8165f5e ./miniruby() [0x8165f5e]  
0x815f2eb ./miniruby() [0x815f2eb]  
0x816260c ./miniruby() [0x816260c]  
0x816404b ./miniruby() [0x816404b]  
0x8159668 ./miniruby() [0x8159668]  
0x8165f5e ./miniruby() [0x8165f5e]  
0x815f2eb ./miniruby() [0x815f2eb]  
0x816260c ./miniruby() [0x816260c]  
0x81664e1 ./miniruby() [0x81664e1]  
0x815bfae ./miniruby(rb\_funcall2+0xfe) [0x815bfae]  
0x8087ec0 ./miniruby(rb\_obj\_call\_init+0x50) [0x8087ec0]  
0x80bd2fa ./miniruby(rb\_class\_new\_instance+0x3a) [0x80bd2fa]  
0x8159668 ./miniruby() [0x8159668]  
0x8165f5e ./miniruby() [0x8165f5e]  
0x815f2eb ./miniruby() [0x815f2eb]  
0x816260c ./miniruby() [0x816260c]  
0x816282b ./miniruby(rb\_iseq\_eval\_main+0xab) [0x816282b]  
0x8088be7 ./miniruby(ruby\_exec\_node+0xb7) [0x8088be7]  
0x808a1c6 ./miniruby(ruby\_run\_node+0x56) [0x808a1c6]  
0x805cd88 ./miniruby(main+0x68) [0x805cd88]  
0x400cbbd6 /lib/tls/i686/cmov/libc.so.6(\_\_libc\_start\_main+0xe6)  
[0x400cbbd6]  
0x805cc81 ./miniruby() [0x805cc81]

[NOTE]  
You may encounter a bug of Ruby interpreter. Bug reports are welcome.  
For details: [http://www.ruby-lang.org/bugreport.html](http://www.ruby-lang.org/bugreport.html)

make: \*\*\* [encdb.h] Aborted  
[2010-07-14 16:55:07] make  
/home/wesley/.rvm/src/ruby-1.9.1-p129/lib/optparse.rb:1310: [BUG]  
Segmentation fault  
ruby 1.9.1p129 (2009-05-12 revision 23412) [i686-linux]

## – control frame ---------- c:0013 p:---- s:0060 b:0060 l:000059 d:000059 CFUNC :catch c:0012 p:0049 s:0056 b:0056 l:000b58 d:001654 BLOCK /home/wesley/.rvm/ src/ruby-1.9.1-p129/lib/optparse.rb:1310 c:0011 p:---- s:0050 b:0050 l:000049 d:000049 FINISH c:0010 p:---- s:0048 b:0048 l:000047 d:000047 CFUNC :catch c:0009 p:0062 s:0044 b:0044 l:000b58 d:000b58 METHOD /home/wesley/.rvm/ src/ruby-1.9.1-p129/lib/optparse.rb:1258 c:0008 p:0024 s:0034 b:0034 l:000033 d:000033 METHOD /home/wesley/.rvm/ src/ruby-1.9.1-p129/lib/optparse.rb:1252 c:0007 p:0066 s:0029 b:0029 l:0013b4 d:001a10 BLOCK ./tool/ generic\_erb.rb:12 c:0006 p:0114 s:0026 b:0026 l:000025 d:000025 METHOD /home/wesley/.rvm/ src/ruby-1.9.1-p129/lib/optparse.rb:793 c:0005 p:---- s:0020 b:0020 l:000019 d:000019 FINISH c:0004 p:---- s:0018 b:0018 l:000017 d:000017 CFUNC :new c:0003 p:0069 s:0015 b:0015 l:0013b4 d:001c70 EVAL ./tool/ generic\_erb.rb:8 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:0013b4 d:0013b4 TOP :17

– Ruby level backtrace  
information-----------------------------------------  
/home/wesley/.rvm/src/ruby-1.9.1-p129/lib/optparse.rb:1310:in `catch' /home/wesley/.rvm/src/ruby-1.9.1-p129/lib/optparse.rb:1310:in `block  
in parse\_in\_order’  
/home/wesley/.rvm/src/ruby-1.9.1-p129/lib/optparse.rb:1258:in `catch' /home/wesley/.rvm/src/ruby-1.9.1-p129/lib/optparse.rb:1258:in `parse\_in\_order’  
/home/wesley/.rvm/src/ruby-1.9.1-p129/lib/optparse.rb:1252:in `order!' ./tool/generic_erb.rb:12:in `block in ’  
/home/wesley/.rvm/src/ruby-1.9.1-p129/lib/optparse.rb:793:in  
`initialize' ./tool/generic_erb.rb:8:in `new’  
./tool/generic\_erb.rb:8:in `’

## – C level backtrace information

0x816b7f9 ./miniruby(rb\_vm\_bugreport+0x69) [0x816b7f9]  
0x808682f ./miniruby() [0x808682f]  
0x80868ca ./miniruby(rb\_bug+0x3a) [0x80868ca]  
0x8112ab4 ./miniruby() [0x8112ab4]  
0x4001d410 [0x4001d410]  
0x8159668 ./miniruby() [0x8159668]  
0x8165f5e ./miniruby() [0x8165f5e]  
0x815f2eb ./miniruby() [0x815f2eb]  
0x816260c ./miniruby() [0x816260c]  
0x816404b ./miniruby() [0x816404b]  
0x8159668 ./miniruby() [0x8159668]  
0x8165f5e ./miniruby() [0x8165f5e]  
0x815f2eb ./miniruby() [0x815f2eb]  
0x816260c ./miniruby() [0x816260c]  
0x81664e1 ./miniruby() [0x81664e1]  
0x815bfae ./miniruby(rb\_funcall2+0xfe) [0x815bfae]  
0x8087ec0 ./miniruby(rb\_obj\_call\_init+0x50) [0x8087ec0]  
0x80bd2fa ./miniruby(rb\_class\_new\_instance+0x3a) [0x80bd2fa]  
0x8159668 ./miniruby() [0x8159668]  
0x8165f5e ./miniruby() [0x8165f5e]  
0x815f2eb ./miniruby() [0x815f2eb]  
0x816260c ./miniruby() [0x816260c]  
0x816282b ./miniruby(rb\_iseq\_eval\_main+0xab) [0x816282b]  
0x8088be7 ./miniruby(ruby\_exec\_node+0xb7) [0x8088be7]  
0x808a1c6 ./miniruby(ruby\_run\_node+0x56) [0x808a1c6]  
0x805cd88 ./miniruby(main+0x68) [0x805cd88]  
0x400cbbd6 /lib/tls/i686/cmov/libc.so.6(\_\_libc\_start\_main+0xe6)  
[0x400cbbd6]  
0x805cc81 ./miniruby() [0x805cc81]

[NOTE]  
You may encounter a bug of Ruby interpreter. Bug reports are welcome.  
For details: [http://www.ruby-lang.org/bugreport.html](http://www.ruby-lang.org/bugreport.html)

make: \*\*\* [encdb.h] Aborted

---

<div class="post-metadata">

**Author:** ![Wesley\_W](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/dc4da7/32.png) [@Wesley\_W](https://www.ruby-forum.com/u/Wesley_W)\
**Post date:** [July 15, 2010, 8:16am UTC](https://www.ruby-forum.com/t/ruby-1-9-1-p129/191597/2 "2010-07-15T08:16:17Z")

</div>

On 2010-07-15, Wesley W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I was trying to install ruby 1.9.1-p129 through RVM and got this  
> error message. Any ideas?

Here we go again! [http://redmine.ruby-lang.org/issues/show/3528](http://redmine.ruby-lang.org/issues/show/3528)

Regards,

Jeremy H.

---

<div class="post-metadata">

**Author:** ![Wesley\_W](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/dc4da7/32.png) [@Wesley\_W](https://www.ruby-forum.com/u/Wesley_W)\
**Post date:** [July 15, 2010, 7:50pm UTC](https://www.ruby-forum.com/t/ruby-1-9-1-p129/191597/3 "2010-07-15T19:50:41Z")

</div>

Thanks for the reply Jeremy.

I tried installing twice, once with each of the optflags. Both have  
the same error as before. Is there a difference since the bug is for  
p429 and I’m having problems with p129?

I was able to install p129 on 2 other computers, but for some reason,  
this 3rd one is giving me problems.

Any other ideas?

---

<div class="post-metadata">

**Author:** ![Wesley\_W](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/dc4da7/32.png) [@Wesley\_W](https://www.ruby-forum.com/u/Wesley_W)\
**Post date:** [July 15, 2010, 10:13pm UTC](https://www.ruby-forum.com/t/ruby-1-9-1-p129/191597/4 "2010-07-15T22:13:34Z")

</div>

On Thu, Jul 15, 2010 at 7:40 PM, Wesley W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:  
Hmm maybe you can avoid this by installing 1.9.2 rc-2? That is the  
recommended version anyway IIRC.  
HTH  
Robert

---

<div class="post-metadata">

**Author:** ![Wesley\_W](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/dc4da7/32.png) [@Wesley\_W](https://www.ruby-forum.com/u/Wesley_W)\
**Post date:** [July 16, 2010, 1:30am UTC](https://www.ruby-forum.com/t/ruby-1-9-1-p129/191597/5 "2010-07-16T01:30:51Z")

</div>

Thanks for the reply Robert.

Unfortunately, I’m attempting to match the environment in Heroku. They  
use 1.9.1-p129. There was a problem with the specific patch, so I  
thought I should develop in it to avoid future problems.

I was able to install 1.9.1-p378 without problems though.

A little more background. I’m attempting to use RVM on Ubuntu 10.04  
which is failing. However, I did install p129 through RVM on Ubuntu  
10.04 on another computer.

Any other ideas?

---

<div class="post-metadata">

**Author:** ![Wesley\_W](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/dc4da7/32.png) [@Wesley\_W](https://www.ruby-forum.com/u/Wesley_W)\
**Post date:** [July 16, 2010, 6:00am UTC](https://www.ruby-forum.com/t/ruby-1-9-1-p129/191597/6 "2010-07-16T06:00:43Z")

</div>

On 2010-07-15, Wesley W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I tried installing twice, once with each of the optflags. Both have  
> the same error as before. Is there a difference since the bug is for  
> p429 and I’m having problems with p129?

Actually, when reading your post I assumed that p129 was a typo for  
p429 and that you were installing the same version as me. I’m afraid  
I can’t help you with any other versions. I’m currently running  
1.9.2-rc2 so I’m rather hoping I won’t have to touch 1.9.1 again! 🙂  
I hope someone else can help you out more than I can.

Regards,

Jeremy H.

---

<div class="post-metadata">

**Author:** ![Wesley\_W](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/dc4da7/32.png) [@Wesley\_W](https://www.ruby-forum.com/u/Wesley_W)\
**Post date:** [July 17, 2010, 12:55am UTC](https://www.ruby-forum.com/t/ruby-1-9-1-p129/191597/7 "2010-07-17T00:55:19Z")

</div>

Thanks Jeremy.

I was able to install it on another computer through RVM on Ubuntu  
10.04.

This really makes me think I’ve done something on my computer. Perhaps  
the wrong or old versions of packages.

Any one have any ideas which packages I should be checking? I’m pretty  
lost when it comes to what is used when compiling ruby.

Thanks,  
Wesley

---

<div class="post-metadata">

**Author:** ![Wesley\_W](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/dc4da7/32.png) [@Wesley\_W](https://www.ruby-forum.com/u/Wesley_W)\
**Post date:** [July 17, 2010, 10:16am UTC](https://www.ruby-forum.com/t/ruby-1-9-1-p129/191597/8 "2010-07-17T10:16:00Z")

</div>

On 2010-07-16, Wesley W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Any one have any ideas which packages I should be checking? I’m  
> pretty lost when it comes to what is used when compiling ruby.

I’m afraid I don’t have any ideas. Were you using rvm when you had  
the problem on your original machine?

Regards,

Jeremy H.

---

<div class="post-metadata">

**Author:** ![Wesley\_W](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/dc4da7/32.png) [@Wesley\_W](https://www.ruby-forum.com/u/Wesley_W)\
**Post date:** [August 31, 2010, 12:25am UTC](https://www.ruby-forum.com/t/ruby-1-9-1-p129/191597/9 "2010-08-31T00:25:39Z")

</div>

I have a few updates from this problem. I’ve managed to take RVM out  
of the picture by downloading ruby 1.9.1-p129 from  
ftp://ftp.ruby-lang.org//pub/ruby/1.9/ruby-1.9.1-p129.tar.gz and  
attempting to compile manually.

RVM configures using:

./configure --prefix= --enable-shared  
make

I ran this myself as a user (not root). This also results in the  
segmentation fault.

I tried with no flags or just 1 flag and in the cases when I used –  
enable-shared, I got the segmentation fault. Without that flag, it  
compiled fine.

Any one know what this means?

Thanks,  
Wesley
