[#23132] [Bug #1357] Fixing variables into specific CPU registers deemed overrated & may disturb compilers' optimizers — Ollivier Robert <redmine@...>
Bug #1357: Fixing variables into specific CPU registers deemed overrated & may disturb compilers' optimizers
[#23154] [Bug #1363] Wrong value for Hash of NaN — Heesob Park <redmine@...>
Bug #1363: Wrong value for Hash of NaN
Hi,
Hi,
Yukihiro Matsumoto wrote:
[#23168] [Bug #1367] flatten(0) is not consistent with flatten(), flatten(1), etc. — Paul Lewis <redmine@...>
Bug #1367: flatten(0) is not consistent with flatten(), flatten(1), etc.
Issue #1367 has been updated by Paul Lewis.
[#23174] [Feature #1371] FTPS Implicit — Daniel Parker <redmine@...>
Feature #1371: FTPS Implicit
[#23193] Regexp Encoding — James Gray <james@...>
I'm trying to document the Encoding Regexp objects receive for the
[#23194] [Feature #1377] Please provide constant File::NOATIME — Johan Walles <redmine@...>
Feature #1377: Please provide constant File::NOATIME
[#23231] What do you think about changing the return value of Kernel#require and Kernel#load to the source encoding of the required file? — =?ISO-8859-15?Q?Wolfgang_N=E1dasi-Donner?= <ed.odanow@...>
Dear Ruby developers and users!
Wolfgang N叩dasi-Donner wrote:
Wolfgang N叩dasi-Donner wrote:
Michael Neumann schrieb:
[#23252] [Bug #1392] Object#extend leaks memory on Ruby 1.9.1 — Muhammad Ali <redmine@...>
Bug #1392: Object#extend leaks memory on Ruby 1.9.1
[#23267] StringIO: RubySpec violation — Hongli Lai <hongli@...99.net>
I ran RubySpec against the 1.8.6-p368 release. It seems that
[#23289] [Bug #1399] Segmentation fault is raised when you use a postgres gem — Marcel Keil <redmine@...>
Bug #1399: Segmentation fault is raised when you use a postgres gem
[#23297] Ruby Oniguruma question — Ralf Junker <ralfjunker@...>
I see that the Ruby source code contains modified and more recent version of the Oniguruma regular expression library.
[#23305] [Bug #1403] Process.daemon should do a double fork to avoid problems with controlling terminals — Gary Wright <redmine@...>
Bug #1403: Process.daemon should do a double fork to avoid problems with controlling terminals
Hi,
[#23311] [Bug #1404] Net::HTTP::Post failing when a post field contains ":" — Ignacio Martín <redmine@...>
Bug #1404: Net::HTTP::Post failing when a post field contains ":"
[#23318] [Feature #1408] 0.1.to_r not equal to (1/10) — Heesob Park <redmine@...>
Feature #1408: 0.1.to_r not equal to (1/10)
Issue #1408 has been updated by tadayoshi funaba.
Hi,
Hi.
Issue #1408 has been updated by Marc-Andre Lafortune.
Issue #1408 has been updated by Roger Pack.
[#23321] [Bug #1412] 1.8.7-p160 extmk.rb fails when cross compiling — Luis Lavena <redmine@...>
Bug #1412: 1.8.7-p160 extmk.rb fails when cross compiling
[ruby-core:23095] [Bug #1345] Ruby 1.9.1-p0 is incomatible with linux distributions that do not have NPTL thearding enabled.
Bug #1345: Ruby 1.9.1-p0 is incomatible with linux distributions that do not have NPTL thearding enabled.
http://redmine.ruby-lang.org/issues/show/1345
Author: Ville Mattila
Status: Open, Priority: Normal
ruby -v: ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux]
For example older redhat's upto RH enterprise linux 2.1 do not have NPTL.
The symptom is that the ruby just hangs.
If I've understood correctly the old linux posix thread implementation do not support
forking, exec* functions in threads.
Here is what is happening
cat rubythreadtest.rb:
File = File.new("threadtest_result.txt", "w")
file.puts "Calling Process.daemon"
file.flush
Process.daemon(true, false)
file.puts "Running external program with `"
file.flush
file.puts `./ruby -v`
file.flush
exit
[root@pike ruby-1.9.1-p0]# ./ruby threadtest.rb
[root@pike ruby-1.9.1-p0]# ps -aef | grep ruby
root 23828 1 0 11:02 ? 00:00:00 ./ruby threadtest.rb
root 23832 17257 0 11:03 pts/2 00:00:00 grep ruby
[root@pike ruby-1.9.1-p0]# cat threadtest_result.txt
Calling Process.daemon
Running external program with `
[root@pike ruby-1.9.1-p0]# kill 23828
[root@pike ruby-1.9.1-p0]# ps -aef | grep ruby
root 23828 1 0 11:02 ? 00:00:00 ./ruby threadtest.rb
root 23835 17257 0 11:03 pts/2 00:00:00 grep ruby
[root@pike ruby-1.9.1-p0]# kill -9 23828
[root@pike ruby-1.9.1-p0]# ps -aef | grep ruby
root 23837 17257 0 11:03 pts/2 00:00:00 grep ruby
[root@pike ruby-1.9.1-p0]# cat /etc/issue
Red Hat Linux release 7.2 (Enigma)
Kernel \r on an \m
root@atf:/data/ruby/bin# ./ruby threadtest.rb
root@atf:/data/ruby/bin# ps -aef | grep ruby
root 5700 5509 0 12:14 pts/0 00:00:00 grep ruby
root@atf:/data/ruby/bin# cat threadtest_result.txt
Calling Process.daemon
Running external program with `
ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-linux]
root@atf:/data/ruby/bin# cat /etc/issue
Ubuntu 8.10 \n \l
Fro RH 7.2 I needed to disable ext/openssl and patch the
vm_dump.c as follows:
--- vm_dump_orig.c Wed Apr 1 11:32:06 2009
+++ vm_dump.c Wed Apr 1 08:41:52 2009
@@ -10,7 +10,7 @@
#include "ruby/ruby.h"
-#include "vm_core.h"
+#include "vm_core.h"
#define MAX_POSBUF 128
@@ -564,7 +564,9 @@
}
VALUE rb_make_backtrace(void);
-
+#if HAVE_BACKTRACE
+#include <execinfo.h>
+#endif
void
rb_vm_bugreport(void)
{
@@ -589,7 +591,6 @@
}
#if HAVE_BACKTRACE
-/* #in */clude <execinfo.h>
#define MAX_NATIVE_TRACE 1024
{
static void *trace[MAX_NATIVE_TRACE];
----------------------------------------
http://redmine.ruby-lang.org