General

Profile

scorpion007 (Alex Budovski)

  • Login: scorpion007
  • Email: abudovski@gmail.com
  • Registered on: 07/23/2015
  • Last sign in: 03/25/2016

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 8 8

Activity

08/22/2015

11:17 PM Ruby Bug #11478 (Closed): symlinks support broken on win32
The symlink support is completely broken on win32 because it thinks ALL reparse points are symlinks.
~~~
/* License: Ruby's */
static unsigned
fileattr_to_unixmode(DWORD attr, const WCHAR *path)

if (attr & FILE_ATTRIBUTE_RE...
scorpion007 (Alex Budovski)

08/21/2015

05:56 AM Ruby Feature #9018: Make statically linked extensions easier to use
So actually, it looks like there's a switch `--with-static-linked-ext` that can be used to link all the exts statically! The win32\Makefile.sub has a bug where it's not specifying all the libs needed by win32ole ext though.
I had to a...
scorpion007 (Alex Budovski)
05:13 AM Ruby Feature #9018: Make statically linked extensions easier to use
It looks like for the latter point (dummy file) we can actually use rb_provide! Ruby uses it to "fake" a module for back compat; for modules that were once external, but are now builtin. Like Complex, Rational, Enumerator.
~~~
void
...
scorpion007 (Alex Budovski)
05:03 AM Ruby Feature #9018: Make statically linked extensions easier to use
I agree with Lukas.
Nobu, only the builtin modules are linked into the binary and called at bootstrap:
inits.c:
~~~
void
rb_call_inits(void)
{
CALL(Method);
CALL(RandomSeed);
CALL(sym);
CALL(var_tables);...
scorpion007 (Alex Budovski)

08/19/2015

04:34 PM Ruby Bug #11468 (Closed): Two mutexes leaked in Init_Thread
48 bytes each.
~~~
native_mutex_initialize(&th->vm->thread_destruct_lock);
native_mutex_initialize(&th->interrupt_lock);
~~~
~~~
+ 48 ( 48 - 0) 1 allocs BackTrace9CB2F14B
+ 1 ( 1 - 0)...
scorpion007 (Alex Budovski)
04:29 PM Ruby Bug #11467 (Closed): Memory leak in win32 signal init
244 bytes leaked.
~~~
+ 244 ( 244 - 0) 1 allocs BackTrace9C86044B
+ 1 ( 1 - 0) BackTrace9C86044B allocations
ntdll!RtlpCallInterceptRoutine+40 (d:\blue\minkernel\ntos\rtl\heappriv.h, 3625)
ntdl...
scorpion007 (Alex Budovski)
04:25 PM Ruby Bug #11466 (Closed): Memory leak in win32 fill_random_bytes_syscall
Leak of 608 bytes in this stack:
~~~
+ 608 ( 608 - 0) 1 allocs BackTrace9BD0704B
+ 1 ( 1 - 0) BackTrace9BD0704B allocations
ntdll!RtlpCallInterceptRoutine+40 (d:\blue\minkernel\ntos\rtl\heappriv....
scorpion007 (Alex Budovski)
04:19 PM Ruby Bug #11459: Ruby leaks several MB of memory every setup/eval/cleanup cycle.
Here's another big leak: This stack leaks nearly 1MB (~780K). When is Init_heap supposed to be undone?
~~~
+ 787080 ( 787080 - 0) 24 allocs BackTrace9BD000CB
+ 24 ( 24 - 0) BackTrace9BD000CB allocations
n...
scorpion007 (Alex Budovski)
06:19 AM Ruby Bug #11462: win32 readlink doesn't support dedup
Command line
~~~
'.\miniruby.exe -I./lib -I. ./tool/mkconfig.rb -timestamp=./.rbconfig.time -arch=x64-mswin64_120 -version="2.3.0" -install_name=ruby -so_name=x64-msvcr120-ruby230_d rbconfig.rb'
~~~
scorpion007 (Alex Budovski)
06:18 AM Ruby Bug #11462 (Closed): win32 readlink doesn't support dedup
During build:
./tool/mkconfig.rb:13:in `require': Invalid argument @ rb_readlink - E:/dev/ruby/lib/fileutils.rb (Errno::EINVAL)
from ./tool/mkconfig.rb:13:in `<main>'
NMAKE : fatal error U1077: '.\miniruby.exe' : return code...
scorpion007 (Alex Budovski)

Also available in: Atom