This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| lstat("/opt/local/lib/ruby/gems/1.8/gems/erubis-2.6.0/lib/eventmachine\0", 0xBFFFB2F0, 0x1000) = -1 Err#2 | |
| lstat("/opt/local/lib/ruby/gems/1.8/gems/erubis-2.6.0/lib/eventmachine.rb\0", 0xBFFFB2F0, 0x1000) = -1 Err#2 | |
| lstat("/opt/local/lib/ruby/gems/1.8/gems/erubis-2.6.0/lib/eventmachine.rbw\0", 0xBFFFB2F0, 0x1000) = -1 Err#2 | |
| lstat("/opt/local/lib/ruby/gems/1.8/gems/erubis-2.6.0/lib/eventmachine.so\0", 0xBFFFB2F0, 0x1000) = -1 Err#2 | |
| lstat("/opt/local/lib/ruby/gems/1.8/gems/erubis-2.6.0/lib/eventmachine.bundle\0", 0xBFFFB2F0, 0x1000) = -1 Err#2 | |
| lstat("/opt/local/lib/ruby/gems/1.8/gems/erubis-2.6.0/lib/eventmachine.dll\0", 0xBFFFB2F0, 0x1000) = -1 Err#2 | |
| lstat("/opt/local/lib/ruby/gems/1.8/gems/erubis-2.6.0/lib/eventmachine.sl\0", 0xBFFFB2F0, 0x1000) = -1 Err#2 | |
| lstat("/opt/local/lib/ruby/gems/1.8/gems/erubis-2.6.0/lib/eventmachine.jar\0", 0xBFFFB2F0, 0x1000) = -1 Err#2 | |
| lstat("/opt/local/lib/ruby/gems/1.8/gems/erubis-2.5.0/lib/eventmachine\0", 0xBFFFB2F0, 0x1000) = -1 Err#2 | |
| lstat("/opt/local/lib/ru |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (gdb) imr_st_insert | |
| Breakpoint 1 at 0x863e8: file st.c, line 289. | |
| Reading symbols for shared libraries +++... done | |
| Breakpoint 1, st_insert (table=0x100780, key=2913, value=744718) at st.c:289 | |
| 289 hash_val = do_hash(key, table); | |
| $1 = { | |
| type = 0xb1a3c, | |
| num_bins = 11, | |
| num_entries = 0, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (gdb) imr_st_insert | |
| Breakpoint 1 at 0x863e8: file st.c, line 289. | |
| Reading symbols for shared libraries +++... done | |
| Breakpoint 1, st_insert (table=0x100780, key=2913, value=744718) at st.c:289 | |
| 289 hash_val = do_hash(key, table); | |
| $1 = { | |
| type = 0xb1a3c, | |
| num_bins = 11, | |
| num_entries = 0, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # sudo dtruss -c 'ruby requires.rb' | |
| # ..... | |
| # | |
| # stat("/opt/local/lib/ruby/vendor_ruby/1.8/i686-darwin9.5.1/rubyeventmachine.rb\0", 0xBFFFF2D0, 0x1000) = -1 Err#2 | |
| # stat("/opt/local/lib/ruby/vendor_ruby/1.8/i686-darwin9.5.1/rubyeventmachine.bundle\0", 0xBFFFF2D0, 0x1000) = -1 Err#2 | |
| # stat("/opt/local/lib/ruby/vendor_ruby/rubyeventmachine.rb\0", 0xBFFFF2D0, 0x1000) = -1 Err#2 | |
| # stat("/opt/local/lib/ruby/vendor_ruby/rubyeventmachine.bundle\0", 0xBFFFF2D0, 0x1000) = -1 Err#2 | |
| # | |
| # ..... | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # sudo dtruss -c 'ruby requires.rb' | |
| # ..... | |
| # | |
| # lstat("/opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.7/lib/rubyeventmachine\0", 0xBFFFB2E0, 0x1000) = -1 Err#2 | |
| # lstat("/opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.7/lib/rubyeventmachine.rb\0", 0xBFFFB2E0, 0x1000) = -1 Err#2 | |
| # lstat("/opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.7/lib/rubyeventmachine.rbw\0", 0xBFFFB2E0, 0x1000) = -1 Err#2 | |
| # lstat("/opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.7/lib/rubyeventmachine.so\0", 0xBFFFB2E0, 0x1000) = -1 Err#2 | |
| # lstat("/opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.7/lib/rubyeventmachine.bundle\0", 0xBFFFB2E0, 0x1000) = 0 0 | |
| # lstat("/opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.7/lib/rubyeventmachine.dll\0", 0xBFFFB2E0, 0x1000) = -1 Err#2 | |
| # lstat("/opt/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.7/lib/rubyeventmachine.sl\0", 0xBFFFB2E0, 0x1000) = -1 Err#2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| static void | |
| rb_kill_thread(th, flags) | |
| rb_thread_t th; | |
| int flags; | |
| { | |
| if (th != curr_thread && th->safe < 4) { | |
| rb_secure(4); | |
| } | |
| if (th->status == THREAD_TO_KILL || th->status == THREAD_KILLED) | |
| return; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| VALUE | |
| rb_str_buf_new(capa) | |
| long capa; | |
| { | |
| VALUE str = str_alloc(rb_cString); | |
| if (capa < STR_BUF_MIN_SIZE) { | |
| capa = STR_BUF_MIN_SIZE; | |
| } | |
| RSTRING(str)->ptr = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| static void | |
| gc_mark(ptr, lev) | |
| VALUE ptr; | |
| int lev; | |
| { | |
| register RVALUE *obj; | |
| obj = RANY(ptr); | |
| if (rb_special_const_p(ptr)) return; /* special const not marked */ | |
| if (obj->as.basic.flags == 0) return; /* free cell */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* This is a public domain general purpose hash table package written by Peter Moore @ UCB. */ | |
| /* @(#) st.h 5.1 89/12/14 */ | |
| #ifndef ST_INCLUDED | |
| #define ST_INCLUDED | |
| #if SIZEOF_LONG == SIZEOF_VOIDP | |
| typedef unsigned long st_data_t; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* This is a public domain general purpose hash table package written by Peter Moore @ UCB. */ | |
| /* @(#) st.h 5.1 89/12/14 */ | |
| #ifndef RUBY_ST_H | |
| #define RUBY_ST_H 1 | |
| #if defined(__cplusplus) | |
| extern "C" { | |
| #if 0 |