[#26972] How to — HackerGene <hackergene@...>
Hi , I'm new to ruby programming language located in China.
[#26981] [Bug #2418] method_missing (assignment) returns args instead of return value — Dave B <redmine@...>
Bug #2418: method_missing (assignment) returns args instead of return value
[#27003] [Bug #2422] splat operator fails on array of 1 element — Raul Parolari <redmine@...>
Bug #2422: splat operator fails on array of 1 element
[#27014] possible bug in Method#source_location — Roger Pack <rogerdpack@...>
It appears that Method#source_location returns different values for
[#27025] [Backport #2431] StringIO#{gets,readlines} with "" (paragraph mode) trims last "\n" — Hiroshi NAKAMURA <redmine@...>
Backport #2431: StringIO#{gets,readlines} with "" (paragraph mode) trims last "\n"
Issue #2431 has been updated by Vladimir Sizikov.
2009/12/7 Vladimir Sizikov <redmine@ruby-lang.org>:
Hi,
Hi Vladimir,
[#27031] [Bug #2433] Ruby gem update --system /gem install [any_gem_name] ERROR — Sergueï Cambour <redmine@...>
Bug #2433: Ruby gem update --system /gem install [any_gem_name] ERROR
[#27036] Ruby causes nearly as much cpu wakeups as firefox — Christoph Kappel <unexist@...>
> =A020.5% (133.5) =A0 =A0 =A0 =A0 =A0 firefox : hrtimer_start_range_ns (hr=
>> =A020.5% (133.5) =A0 =A0 =A0 =A0 =A0 firefox : hrtimer_start_range_ns (h=
Hi,
[#27060] [Bug #2443] {Object,BasicObject}.clone — Shugo Maeda <redmine@...>
Bug #2443: {Object,BasicObject}.clone
[#27074] [Bug #2449] StringIO#ungetc behavior is contrary to its spec — Vladimir Sizikov <redmine@...>
Bug #2449: StringIO#ungetc behavior is contrary to its spec
Issue #2449 has been updated by Yusuke Endoh.
Hi,
[#27086] [Feature #2454] OpenSSL has no maintainer — Yui NARUSE <redmine@...>
Feature #2454: OpenSSL has no maintainer
Issue #2454 has been updated by Yui NARUSE.
[#27103] [Bug #2464] cross-compile Ruby patchlevel 376 fails — Luis Lavena <redmine@...>
Bug #2464: cross-compile Ruby patchlevel 376 fails
[#27120] #to_enum ignores block? — Roger Pack <rogerdpack@...>
Is #to_enum ignoring its block expected?
On Thu, Dec 10, 2009 at 7:55 AM, Roger Pack <rogerdpack@gmail.com> wrote:
> The whole purpose of to_enum is to return an Enumerator instance.
On Thu, Dec 10, 2009 at 9:58 AM, Roger Pack <rogerdpack@gmail.com> wrote:
[#27135] better GC? — Roger Pack <rogerdpack@...>
Could I put in a small plea for a better GC?
Hi,
On Fri, Dec 11, 2009 at 09:07:16AM +0900, Yukihiro Matsumoto wrote:
Excerpts from Paul Brannan's message of Thu Jan 07 21:53:34 +0200 2010:
Eero Saynatkari wrote:
> Rubinius is also compatible with existing extensions*
Excerpts from rogerdpack2's message of Fri Jan 08 18:41:18 +0200 2010:
>> I wonder if its GC could be merged into MRI :)
On Tue, Jan 12, 2010 at 12:45 PM, Evan Phoenix <evan@fallingsnow.net> wrote=
Paul Brannan wrote:
On Fri, Jan 08, 2010 at 07:37:40AM +0900, Kurt Stephens wrote:
On Tue, Jan 12, 2010 at 3:23 AM, Brent Roman <brent@mbari.org> wrote:
> Toshio Endo and Kenjiro Taura adapted the Boehm conservative GC
On Thu, Jan 14, 2010 at 15:06, Roger Pack <rogerdpack2@gmail.com> wrote:
[#27142] Ruby's GC — Gon軋lo Silva <goncalossilva@...>
Hi there,
Hi,
On Fri, Dec 11, 2009 at 9:40 AM, Yukihiro Matsumoto <matz@ruby-lang.org> wr=
[#27151] [Bug #2475] InstructionSequence#to_a fails for duparray — Paul Brannan <redmine@...>
Bug #2475: InstructionSequence#to_a fails for duparray
[#27169] [Feature #2480] request to add GC::Profiler.time method — Roger Pack <redmine@...>
Feature #2480: request to add GC::Profiler.time method
[#27189] [ANN] openssl-nonblock 0.2.1: moving towards compatibility with Ruby 1.9.2 — Tony Arcieri <tony@...>
openssl-nonblock is a gem which enables non-blocking support in Ruby's
[#27198] [PATCH] fix CGI::escape to work with blocks, avoid dollar variables — Gaston Ramos <ramos.gaston@...>
Hi Ruby-Core, I attach a path that solve this problem:
On Thu, Dec 17, 2009 at 12:28 AM, Gaston Ramos <ramos.gaston@gmail.com>wrote:
El Thu, 17 de Dec de 2009, a las 11:20:32AM +0900, NARUSE, Yui dijo:
(2009/12/17 21:16), Gaston Ramos wrote:
[#27199] [Backport #2488] thread usage can result in bad HANDLE — Roger Pack <redmine@...>
Backport #2488: thread usage can result in bad HANDLE
Issue #2488 has been updated by _ wanabe.
[#27205] unable to send signal "EXIT" — Roger Pack <rogerdpack@...>
Is this expected? (all versions of ruby...)
Hello,
[#27223] [Bug #2495] Matrix: Vector#each2 should check its argument — Marc-Andre Lafortune <redmine@...>
Bug #2495: Matrix: Vector#each2 should check its argument
[#27224] [Bug #2496] Delegate: #methods and #public_methods should return delegated methods too — Marc-Andre Lafortune <redmine@...>
Bug #2496: Delegate: #methods and #public_methods should return delegated methods too
Issue #2496 has been updated by Yusuke Endoh.
[#27230] [Bug #2502] strange behavior of anonymous class inside a proc — caleb clausen <redmine@...>
Bug #2502: strange behavior of anonymous class inside a proc
[#27238] Why doesn't Array include Comparable? — Martin DeMello <martindemello@...>
Array already defines <=>, why not include Comparable as well?
On Sat, Dec 19, 2009 at 4:54 PM, Martin DeMello <martindemello@gmail.com>wrote:
[#27242] select! — Roger Pack <rogerdpack@...>
Forwarded from ruby-talk:
Hi,
[#27244] [Bug #2505] Threads behave inconsistently across platforms. — Christian Höltje <redmine@...>
Bug #2505: Threads behave inconsistently across platforms.
[#27256] [Feature #2509] Recursive freezing? — Marc-Andre Lafortune <redmine@...>
Feature #2509: Recursive freezing?
[#27270] rb_eql, rb_equal — Roger Pack <rogerdpack@...>
would it be more efficient to add an extra == in there for these
[#27275] [Bug #2511] irb exits unexpectedly windows — Vlad Why <redmine@...>
Bug #2511: irb exits unexpectedly windows
[#27286] [Bug #2515] Array#select! — Roger Pack <redmine@...>
Bug #2515: Array#select!
Issue #2515 has been updated by Marc-Andre Lafortune.
[#27304] Ruby 1.8: Improved Rational performance by 10% — Kurt Stephens <ks@...>
http://kurtstephens.com/node/105
On Thu, Dec 24, 2009 at 1:56 PM, Kurt Stephens <ks@kurtstephens.com> wrote:
[#27324] [Bug #2530] Future timestamps in 1.8.7-p248 generate recursive compilation process — Luis Lavena <redmine@...>
Bug #2530: Future timestamps in 1.8.7-p248 generate recursive compilation process
[#27360] [Feature #2542] URI lib should be updated to RFC 39886 — Marc-Andre Lafortune <redmine@...>
Feature #2542: URI lib should be updated to RFC 39886
Issue #2542 has been updated by Yui NARUSE.
[ruby-core:27112] [Bug #2465] Couldn't compile ruby 1.8.7-p72 on HP-UX 11.23 ia64 with pthread
Bug #2465: Couldn't compile ruby 1.8.7-p72 on HP-UX 11.23 ia64 with pthread
http://redmine.ruby-lang.org/issues/show/2465
Author: Nikolay Aralovets
Status: Open, Priority: Normal
Category: build
ruby -v: 1.8.7-p72
Hello,
I try to compile ruby 1.8.7-p72 on HP-UX 11.23 ia64 with pthread support. My actions is:
1. export LDFLAGS=-L/usr/local/lib -L/usr/lib -L/opt/openssl/lib/hpux32
export CPPFLAGS=-I/usr/local/include -I/usr/include -I/opt/openssl/include/openssl
export CC=/usr/local/bin/gcc - use gcc v3.4.4
2. ./configure --enable-pthread --enable-shared --with-search-path=/opt/openssl
3. gmake
Gmake ends with error:
ld -b -E array.o bignum.o class.o compar.o dir.o dln.o enum.o enumerator.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o flock.o isinf.o ia64.o dmyext.o -lpthread -ldld -ldl -lm -o libruby.sl.1.8.7
/bin/sh: 9313 Memory fault(coredump)
gmake: *** [all] Error 139
I usage native hp-ux ld
4. Run GDB
gdb -core=core
bash-4.0# gdb -core=core
HP gdb 5.7 for HP Itanium (32 or 64 bit) and target HP-UX 11.2x.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.7 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.
Reading symbols from miniruby...done.
Core was generated by `miniruby'.
Program terminated with signal 11, Segmentation fault.
SEGV_MAPERR - Address not mapped to object
#0 0x405f760:0 in rb_eval (self=1076674104, n=0x402d85a0) at eval.c:2943
2943 NODE * volatile contnode = 0;
(gdb) ba
#0 0x405f760:0 in rb_eval (self=1076674104, n=0x402d85a0) at eval.c:2943
#1 0x4061630:0 in rb_eval (self=1076674104, n=0x402d8540) at eval.c:3441
#2 0x4067d60:0 in rb_eval (self=1076674104, n=0x402d8528) at eval.c:3487
#3 0x4080f70:0 in block_pass (self=1076674104, node=0x402d8558) at eval.c:9138
#4 0x4061a90:0 in rb_eval (self=1076674104, n=0x402d8510) at eval.c:3208
#5 0x40751d0:0 in rb_yield_0 (val=1076673960, self=1076674104,
klass=1076685456, flags=0, avalue=0) at eval.c:5077
#6 0x417b0d0:0 in rb_ary_reverse_each (ary=1076674008) at array.c:1318
#7 0x4050460:0 in call_cfunc (func=0x4043610 <.opd+0x4130>, recv=1076674008,
len=0, argc=0, argv=0x402cbde8) at eval.c:5752
#8 0x406e4a0:0 in rb_call0 (klass=1074183456, recv=1076674008, id=3945,
oid=3945, argc=0, argv=0x0, body=0x4006b7c8, flags=0) at eval.c:5904
#9 0x406e930:0 in rb_call (klass=1074183456, recv=1076674008, mid=3945,
argc=0, argv=0x0, scope=0, self=1076674104) at eval.c:6151
#10 0x4060050:0 in rb_eval (self=1076674104, n=0x402d8630) at eval.c:3492
#11 0x406afa0:0 in rb_eval (self=1076674104, n=0x402d86d8) at eval.c:3222
#12 0x406df50:0 in rb_call0 (klass=1076685456, recv=1076674104, id=15649,
oid=15649, argc=2, argv=0x7f9dbb84, body=0x402d86d8, flags=0)
at eval.c:6055
#13 0x406e930:0 in rb_call (klass=1076685456, recv=1076674104, mid=15649,
argc=3, argv=0x7f9dbb80, scope=1, self=1076674104) at eval.c:6151
#14 0x4060380:0 in rb_eval (self=1076674104, n=0x402d8168) at eval.c:3492
#15 0x406afa0:0 in rb_eval (self=1076674104, n=0x402d7fd0) at eval.c:3222
---Type <return> to continue, or q <return> to quit---
#16 0x406df50:0 in rb_call0 (klass=1076685456, recv=1076674104, id=15425,
oid=15425, argc=0, argv=0x7fa76788, body=0x402d7fd0, flags=0)
at eval.c:6055
#17 0x406e930:0 in rb_call (klass=1076685456, recv=1076674104, mid=15425,
argc=2, argv=0x7fa76780, scope=1, self=1076674104) at eval.c:6151
#18 0x4060380:0 in rb_eval (self=1076674104, n=0x402e5428) at eval.c:3492
#19 0x406afa0:0 in rb_eval (self=1076674104, n=0x402e4eb8) at eval.c:3222
#20 0x4063830:0 in rb_eval (self=1076674104, n=0x402e4a08) at eval.c:3047
#21 0x40751d0:0 in rb_yield_0 (val=1076673216, self=1076674104,
klass=1076685456, flags=0, avalue=0) at eval.c:5077
#22 0x417ae60:0 in rb_ary_each (ary=1076673096) at array.c:1261
#23 0x4050460:0 in call_cfunc (func=0x7efce7c8, recv=1076673096, len=0,
argc=0, argv=0x402cba58) at eval.c:5752
#24 0x406e4a0:0 in rb_call0 (klass=1074183456, recv=1076673096, id=4001,
oid=4001, argc=0, argv=0x0, body=0x4006b828, flags=0) at eval.c:5904
#25 0x406e930:0 in rb_call (klass=1074183456, recv=1076673096, mid=4001,
argc=0, argv=0x0, scope=0, self=1076674104) at eval.c:6151
#26 0x4060050:0 in rb_eval (self=1076674104, n=0x402e5518) at eval.c:3492
#27 0x406afa0:0 in rb_eval (self=1076674104, n=0x402e58a8) at eval.c:3222
#28 0x406df50:0 in rb_call0 (klass=1076685456, recv=1076674104, id=15745,
oid=15745, argc=0, argv=0x7fbff538, body=0x402e58a8, flags=0)
at eval.c:6055
#29 0x406e930:0 in rb_call (klass=1076685456, recv=1076674104, mid=15745,
---Type <return> to continue, or q <return> to quit---
argc=2, argv=0x7fbff530, scope=1, self=1076674104) at eval.c:6151
#30 0x4060380:0 in rb_eval (self=1076674104, n=0x402dfc68) at eval.c:3492
#31 0x4062190:0 in rb_eval (self=1076674104, n=0x402dfc50) at eval.c:3677
#32 0x4061810:0 in rb_eval (self=1076674104, n=0x402dfc38) at eval.c:3276
#33 0x4067d60:0 in rb_eval (self=1076674104, n=0x402dfd28) at eval.c:3487
#34 0x406df50:0 in rb_call0 (klass=1076685456, recv=1076674104, id=15841,
oid=15841, argc=1, argv=0x7fd28df0, body=0x402dfd28, flags=0)
at eval.c:6055
#35 0x406e930:0 in rb_call (klass=1076685456, recv=1076674104, mid=15841,
argc=1, argv=0x7fd28df0, scope=1, self=1076674104) at eval.c:6151
#36 0x4060380:0 in rb_eval (self=1076674104, n=0x402df920) at eval.c:3492
#37 0x4080f70:0 in block_pass (self=1076674104, node=0x402df950) at eval.c:9138
#38 0x4061a90:0 in rb_eval (self=1076674104, n=0x402df9b0) at eval.c:3208
#39 0x406df50:0 in rb_call0 (klass=1076685456, recv=1076674104, id=11537,
oid=11537, argc=1, argv=0x7fdcf8f0, body=0x402df9b0, flags=0)
at eval.c:6055
#40 0x406e930:0 in rb_call (klass=1076685456, recv=1076674104, mid=11537,
argc=1, argv=0x7fdcf8f0, scope=0, self=1074214872) at eval.c:6151
#41 0x4060050:0 in rb_eval (self=1074214872, n=0x400551f0) at eval.c:3492
#42 0x406afa0:0 in rb_eval (self=1074214872, n=0x40054ef0) at eval.c:3222
#43 0x40751d0:0 in rb_yield_0 (val=1076674104, self=1074214872,
klass=1074220968, flags=0, avalue=0) at eval.c:5077
#44 0x4069410:0 in rb_eval (self=1076674104, n=0x402eb4a0) at eval.c:3297
---Type <return> to continue, or q <return> to quit---
#45 0x406df50:0 in rb_call0 (klass=1076685456, recv=1076674104, id=2961,
oid=2961, argc=0, argv=0x0, body=0x402eb4a0, flags=0) at eval.c:6055
#46 0x406e930:0 in rb_call (klass=1076685456, recv=1076674104, mid=2961,
argc=0, argv=0x0, scope=1, self=6) at eval.c:6151
#47 0x406f820:0 in rb_obj_call_init (obj=1076674104, argc=0, argv=0x0)
at eval.c:7770
#48 0x40de390:0 in rb_class_new_instance (argc=0, argv=0x0, klass=1076685456)
at object.c:1644
#49 0x4050420:0 in call_cfunc (func=0x7efce0d8, recv=1076685456, len=-1,
argc=0, argv=0x402cbe38) at eval.c:5758
#50 0x406e4a0:0 in rb_call0 (klass=1074220920, recv=1076685456, id=3361,
oid=3361, argc=0, argv=0x0, body=0x40073940, flags=0) at eval.c:5904
#51 0x406e930:0 in rb_call (klass=1074220920, recv=1076685456, mid=3361,
argc=0, argv=0x0, scope=0, self=1074214872) at eval.c:6151
#52 0x4060050:0 in rb_eval (self=1074214872, n=0x400552b0) at eval.c:3492
#53 0x406afa0:0 in rb_eval (self=1074214872, n=0x40053c00) at eval.c:3222
#54 0x40623d0:0 in rb_eval (self=1074214872, n=0x40055328) at eval.c:3692
#55 0x406df50:0 in rb_call0 (klass=1074220968, recv=1074214872, id=11505,
oid=11505, argc=0, argv=0x0, body=0x40055328, flags=0) at eval.c:6055
#56 0x406e930:0 in rb_call (klass=1074220968, recv=1074214872, mid=11505,
argc=0, argv=0x0, scope=1, self=1074214872) at eval.c:6151
#57 0x4060380:0 in rb_eval (self=1074214872, n=0x4005f468) at eval.c:3492
#58 0x4087710:0 in ruby_exec_internal () at eval.c:1641
---Type <return> to continue, or q <return> to quit---
#59 0x40878e0:0 in ruby_exec () at eval.c:1661
#60 0x408b790:0 in ruby_run () at eval.c:1671
#61 0x40442b0:0 in main (argc=14, argv=0x7ffff55c, envp=0xc002cc90:0)
at main.c:48
----------------------------------------
http://redmine.ruby-lang.org