General

Profile

375gnu (Hleb Valoshka)

  • Login: 375gnu
  • Registered on: 09/28/2011
  • Last sign in: 08/25/2013

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 3 3

Activity

08/24/2013

10:23 PM Ruby Bug #8816 (Third Party's Issue): Tempfile.new may return the same name for parallel calls
Two simultaneous call to Tempfile.new may return the same name. This may lead
to race conditions.
There some examples of such races (unix socket can't be unlinked because it was
unlinked by another test case):
https://buildd.debi...
375gnu (Hleb Valoshka)

08/03/2013

07:30 PM Ruby Bug #8348: ruby hangs randomly in daemonized processes on Debian GNU/kFreeBSD
I've run test myself for 67 times and none of them finished unsuccessfully. 375gnu (Hleb Valoshka)

08/02/2013

05:35 PM Ruby Bug #8348: ruby hangs randomly in daemonized processes on Debian GNU/kFreeBSD
JoeKun, can you retest it with the latest Sid (eglibc >= 2.17-91)? It has new implementation of libpthreads, which has fixed bug with ruby's fork(). 375gnu (Hleb Valoshka)

05/23/2013

06:11 PM Ruby Bug #8348: ruby hangs randomly in daemonized processes on Debian GNU/kFreeBSD
Did you run this test on some kind of SMP box? Ruby on Debian GNU/kFreeBSD has problems with fork in SMP environment. It was discussed a bit in debian-bsd maillist but there is still no solution. 375gnu (Hleb Valoshka)

07/12/2012

04:59 PM Ruby Bug #6725 (Rejected): variables changed in signal handlers are left unchanged in main code
Test case:
mkfifo myfifo
ruby -e "a=0;trap(:USR2) {a+=1}; IO.readlines('myfifo') rescue nil; puts a"
killall -USR2 ruby
Output may be 0 or 1.
It's tested with USR1, USR2 and ALRM signals with ruby 1.9.3p194 and today's 2.0.0de...
375gnu (Hleb Valoshka)
07:38 AM Ruby Bug #5374: Weird SecurityError with ruby1.9, File.stat/Dir.glob and $SAFE=1
nobu (Nobuyoshi Nakada) wrote:
> Does this happen with recent versions?
Yes, at least with 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux].
And today I've made some investigations.
File.stat is rb_file_s_stat, which calls ...
375gnu (Hleb Valoshka)

09/28/2011

03:59 AM Ruby Bug #5374 (Closed): Weird SecurityError with ruby1.9, File.stat/Dir.glob and $SAFE=1
Preface.
I've tried to find workaroud for one GetText-Ruby bug with untainted data from Dir.glob (http://rubyforge.org//tracker/?func=detail&atid=3377&aid=28336&group_id=855).
Here it is (full text is in gettext-test.rb):
modul...
375gnu (Hleb Valoshka)

Also available in: Atom