[#25897] Mail archive searching? — "Martin J. Dürst" <duerst@...>
Why does ruby-dev's official archive
[#25928] Ruby 1.8.6-p383 hangs in dln_load on Snow Leopard — Timothy Hunter <cyclists@...>
An RMagick user reports that Ruby 1.8.6 hangs when requiring RMagick.
On Oct 3, 2009, at 4:26 PM, Timothy Hunter wrote:
On Oct 3, 10:26m, Timothy Hunter <cycli...@nc.rr.com> wrote:
[#25936] [Bug:1.9] [rubygems] $LOAD_PATH includes bin directory — Nobuyoshi Nakada <nobu@...>
Hi,
On Sun, Oct 4, 2009 at 11:47 PM, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
[#25943] Disabling tainting — Tony Arcieri <tony@...>
Would it make sense to have a flag passed to the interpreter on startup that
2009/10/6 Tony Arcieri <tony@medioh.com>:
On Tue, Oct 6, 2009 at 3:52 AM, Yugui <yugui@yugui.jp> wrote:
[#25964] mis filed bug reports — Roger Pack <rogerdpack2@...>
If i accidentally file a bug under 1.9 that belongs in 1.8, I assume I
[#25965] [Bug #2180] request: add *Method#source_location to 1.8.x — Roger Pack <redmine@...>
Bug #2180: request: add *Method#source_location to 1.8.x
[#25969] [Bug #2181] Segmentation fault for test/drb/* -- possible bug in Marshal/GC — Nikolai Lugovoi <redmine@...>
Bug #2181: Segmentation fault for test/drb/* -- possible bug in Marshal/GC
[#26012] Segfaults after multiple call of ruby_node_run — Christoph Kappel <unexist@...>
[#26028] [Bug #2189] Math.atanh(1) & Math.atanh(-1) should not raise an error — Marc-Andre Lafortune <redmine@...>
Bug #2189: Math.atanh(1) & Math.atanh(-1) should not raise an error
[#26070] [Bug #2201] Process.spawn fails in 1.9.1 — Roger Pack <redmine@...>
Bug #2201: Process.spawn fails in 1.9.1
[#26087] [Bug #2212] Using a Lambda with Inappropriate Arity for Hash#default_proc= — Run Paint Run Run <redmine@...>
Bug #2212: Using a Lambda with Inappropriate Arity for Hash#default_proc=
[#26126] The fate of my keyword documentation — "David A. Black" <dblack@...>
Hi --
[#26200] [Bug #2243] Random instance variables order — Maxim Chechel <redmine@...>
Bug #2243: Random instance variables order
[#26222] [Bug #2250] IO::for_fd() objects' finalization dangerously closes underlying fds — Mike Pomraning <redmine@...>
Bug #2250: IO::for_fd() objects' finalization dangerously closes underlying fds
[#26232] [Feature #2255] unicode parameters cannot be passed to ruby — Vit Ondruch <redmine@...>
Feature #2255: unicode parameters cannot be passed to ruby
[#26237] [Bug #2256] net\ftp.rb failing on implicit cast of Pathname to string — Sai Fujinaro <redmine@...>
Bug #2256: net\ftp.rb failing on implicit cast of Pathname to string
[#26262] [Feature #2260] better access with GC_DEBUG — Roger Pack <redmine@...>
Feature #2260: better access with GC_DEBUG
[#26299] Which commit fixed Set#hash (Hash#hash, I assume) between 1.9.1 and 1.9.2? — "Shot (Piotr Szotkowski)" <shot@...>
Hello, good people of ruby-core.
[#26303] IO.foreach (and friends) effect on $< and $. — Charles Oliver Nutter <headius@...>
I have a few questions about how the line-by-line IO operations are
[#26336] [Bug #2283] Ruby 1.9.1p243 spinning with 100% CPU; perhaps rb_str_slice_bang-related — Mark Aiken <redmine@...>
Bug #2283: Ruby 1.9.1p243 spinning with 100% CPU; perhaps rb_str_slice_bang-related
[#26361] [Feature #2294] [PATCH] ruby_bind_stack() to embed Ruby in coroutine — Suraj Kurapati <redmine@...>
Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
Issue #2294 has been updated by Anonymous Anonymous.
Hi,
Hi,
Hi,
[#26388] suggestion: gems.ruby-lang.org — Yusuke ENDOH <mame@...>
Hi --
On Wed, Oct 28, 2009 at 3:20 AM, Yusuke ENDOH <mame@tsg.ne.jp> wrote:
Hi,
On Wed, Oct 28, 2009 at 9:00 PM, Yusuke ENDOH <mame@tsg.ne.jp> wrote:
Hi,
[#26390] [Bug #2303] dl.so segfaults on mingw32 — Nikolai Weibull <redmine@...>
Bug #2303: dl.so segfaults on mingw32
[#26429] [Bug #2313] Incomplete encoding conversion? — Adam Salter <redmine@...>
Bug #2313: Incomplete encoding conversion?
[#26447] [Bug #2316] [BUG] cfp consistency error — Cezary Baginski <redmine@...>
Bug #2316: [BUG] cfp consistency error
[#26458] [Bug #2319] gethostbyname fails in windows — Roger Pack <redmine@...>
Bug #2319: gethostbyname fails in windows
[#26459] [Bug #2320] patch to trunk .document to include more readme's etc. — Roger Pack <redmine@...>
Bug #2320: patch to trunk .document to include more readme's etc.
[ruby-core:26244] [Bug #2258] Kernel#require inside rb_require() inside rb_protect() inside SysV context fails
Bug #2258: Kernel#require inside rb_require() inside rb_protect() inside SysV context fails http://redmine.ruby-lang.org/issues/show/2258 Author: Suraj Kurapati Status: Open, Priority: Normal Category: ext ruby -v: ruby 1.9.1p243 (2009-07-16 revision 24175) [i686-linux] Hi, I get the following error when I call Kernel#require() inside a Ruby script that is being run by rb_require(), which itself is running inside rb_protect(), which in turn is running inside a UNIX System V context. "[BUG] object allocation during garbage collection phase" An example test case to reproduce this bug is attached, and the result of running this test case is shown below. Note that this test case runs correctly without any errors if you remove the call to Kernel#require in "hello.rb" line 7. Thanks for your consideration. ############################################################### # ruby -v extconf.rb && sed -i 's,-shared,,g' Makefile ############################################################### ruby 1.9.1p243 (2009-07-16 revision 24175) [i686-linux] checking for ruby_init() in -lruby-static... yes checking for sys/ucontext.h... yes creating Makefile ############################################################### # make && ./main.so ############################################################### gcc -I. -I/usr/include/ruby-1.9.1/i686-linux -I/usr/include/ruby-1.9.1/ruby/backward -I/usr/include/ruby-1.9.1 -I. -DHAVE_SYS_UCONTEXT_H -D_FILE_OFFSET_BITS=64 -fPIC -march=i686 -mtune=generic -O2 -pipe -O2 -g -Wall -Wno-parentheses -fPIC -o main.o -c main.c main.c: In function ‘relay_from_main_to_ruby’: main.c:15: warning: implicit declaration of function ‘swapcontext’ main.c: In function ‘main’: main.c:99: warning: implicit declaration of function ‘getcontext’ main.c:100: warning: implicit declaration of function ‘makecontext’ gcc -o main.so main.o -L. -L/usr/lib -Wl,-R/usr/lib -L. -Wl,--hash-style=gnu -Wl,--as-needed -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/usr/lib -L/usr/lib -lruby -lruby-static -lpthread -lrt -ldl -lcrypt -lm -lc Main: relay_from_main_to_ruby() begin Ruby: context begin Ruby: relay 0 Ruby: relay_from_ruby_to_main() begin Main: relay_from_main_to_ruby() end Main: relay_from_main_to_ruby() begin Ruby: relay_from_ruby_to_main() end Ruby: relay 1 Ruby: relay_from_ruby_to_main() begin Main: relay_from_main_to_ruby() end Main: relay_from_main_to_ruby() begin Ruby: relay_from_ruby_to_main() end Ruby: relay 2 Ruby: relay_from_ruby_to_main() begin Main: relay_from_main_to_ruby() end Main: relay_from_main_to_ruby() begin Ruby: relay_from_ruby_to_main() end Ruby: require 'hello' begin ~~~~> Hello World! The time is 2009-10-22 16:36:06 -0700. ~~~~> Doing relay from /home/sun/lab/ruby-ucontext/hello.rb:3 Ruby: relay_from_ruby_to_main() begin Main: relay_from_main_to_ruby() end Main: relay_from_main_to_ruby() begin Ruby: relay_from_ruby_to_main() end ~~~~> OMG, back from main!! :-) /home/sun/lab/ruby-ucontext/hello.rb:7: [BUG] Segmentation fault ruby 1.9.1p243 (2009-07-16 revision 24175) [i686-linux] -- control frame ---------- c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :require c:0003 p:0080 s:0006 b:0006 l:000005 d:000005 TOP /home/sun/lab/ruby-ucontext/hello.rb:7 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:001cac d:001cac TOP --------------------------- /home/sun/lab/ruby-ucontext/hello.rb:7: [BUG] object allocation during garbage collection phase ruby 1.9.1p243 (2009-07-16 revision 24175) [i686-linux] -- control frame ---------- c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :require c:0003 p:0080 s:0006 b:0006 l:000005 d:000005 TOP /home/sun/lab/ruby-ucontext/hello.rb:7 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:001cac d:001cac TOP --------------------------- Segmentation fault ---------------------------------------- http://redmine.ruby-lang.org