Skip to content

Instantly share code, notes, and snippets.

Chuck Remes chuckremes

Block or report user

Report or block chuckremes

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View err.txt
cremes$ ./configure --verbose
------------------------------ Deprecation notice ------------------------------
'configure' is deprecated and will be removed in the future.
Use 'build.sh' to configure, build, package, and install Rubinius.
--------------------------------------------------------------------------------
Checking clang: found
View readable_time.rb
MinuteSeconds = 60
HourSeconds = 60 * MinuteSeconds
DaySeconds = 24 * HourSeconds
MonthSeconds = 30 * DaySeconds
YearSeconds = 12 * MonthSeconds
DecadeSeconds = 10 * YearSeconds
CenturySeconds = 10 * DecadeSeconds
def time_unit(seconds, unit_seconds, unit_name, string)
if seconds >= unit_seconds
View bt.txt
(lldb) thr list
Process 54624 stopped
* thread #1: tid = 103121, 0x000000080569fd5a libc.so.7`___lldb_unnamed_symbol617$$libc.so.7 + 346, stop reason = signal SIGSEGV: invalid address (fault address: 0x9a2045cc0)
(lldb) thr backtrace -c 20 all
* thread #1, stop reason = signal SIGSEGV: invalid address (fault address: 0x9a2045cc0)
* frame #0: 0x000000080569fd5a libc.so.7`___lldb_unnamed_symbol617$$libc.so.7 + 346
frame #1: 0x0000000805686165 libc.so.7`___lldb_unnamed_symbol247$$libc.so.7 + 325
frame #2: 0x00000008056aa9de libc.so.7`___lldb_unnamed_symbol680$$libc.so.7 + 830
frame #3: 0x00000008056aad51 libc.so.7`free + 113
frame #4: 0x00000008053d1151 libthr.so.3`pthread_mutex_destroy + 161
View genesis_public_key
04b8f4769c0b7ec84d51f474c0af42d15e3fb88bd3697faf91bccee66d4bd5425139d9b22b3de62468441d3a05ce055e3078401f3cbab70ed229170659dc8f650b;ioquatix
View bt2
call # Proc at core/proc.rb:20 (+248)
{ } in initialize # IO::Async::Private::IOLoop at /Users/cremes/dev/mygit/ruby-io/lib/io/async/private/io_loop.rb:30 (+1)
io_loop # IO::Async::Private::IOLoop at /Users/cremes/dev/mygit/ruby-io/lib/io/async/private/io_loop.rb:55 (+70)
process_command_mailboxes # IO::Async::Private::IOLoop at /Users/cremes/dev/mygit/ruby-io/lib/io/async/private/io_loop.rb:93 (+12)
each_mailbox # IO::Async::Private::IOLoop at /Users/cremes/dev/mygit/ruby-io/lib/io/async/private/io_loop.rb:190 (+9)
each # Array at core/array.rb:72 (+71)
{ } in each_mailbox # IO::Async::Private::IOLoop at /Users/cremes/dev/mygit/ruby-io/lib/io/async/private/io_loop.rb:190 (+3)
{ } in process_command_mailboxes # IO::Async::Private::IOLoop at /Users/cremes/dev/mygit/ruby-io/lib/io/async/private/io_loop.rb:94 (+5)
process_command_messages # IO:
View bt.txt
call # Proc at core/proc.rb:20 (+248)
{ } in initialize # IO::Async::Private::IOLoop at /Users/cremes/dev/mygit/ruby-io/lib/io/async/private/io_loop.rb:30 (+1)
io_loop # IO::Async::Private::IOLoop at /Users/cremes/dev/mygit/ruby-io/lib/io/async/private/io_loop.rb:56 (+75)
flush_immediate # IO::Async::Private::IOLoop at /Users/cremes/dev/mygit/ruby-io/lib/io/async/private/io_loop.rb:141 (+5)
poll # IO::Platforms::SelectPoller(IO::Platforms::ActivePoller) at
/Users/cremes/dev/mygit/ruby-io/lib/io/platforms/common/select_poller.rb:48 (+130)
copy_to # IO::Platforms::FDSetStruct at /Users/cremes/dev/mygit/ruby-io/lib/io/platforms/common/select.rb:40 (+100)
times # Integer(Fixnum) at core/integer.rb:194 (+40)
{ } in copy_to # IO::Platforms::FDSetStruct at /Users/cremes/dev/mygit/ruby-io/lib/io/platforms/common/select.rb:41 (+8)
[] # FFI::Struct(IO::Platforms::FDSetStruct) at Struct.c (+-1)
View bt
RBC date/delta/parser.rb
RBC cgi/session/pstore.rb
make: Nothing to be done for `all'.
install -c -m 0755 generator.bundle /Users/cremes/dev/ruby/rubinius/build/rubinius/site/x86_64-darwin16.7.0/json/ext
install: /Users/cremes/dev/ruby/rubinius/build/rubinius/site/x86_64-darwin16.7.0/json/ext: No such file or directory
make: *** [install-so] Error 71
rake aborted!
Command failed with status (2): [make install...]
/Users/cremes/dev/ruby/rubinius/rakelib/core.rake:138:in `block in build_extension'
/Users/cremes/dev/ruby/rubinius/rakelib/core.rake:120:in `chdir'
View bt.txt
2: CXX machine/park.cpp
4: CXX machine/ontology.cpp
2: CXX machine/profiler.cpp
4: CXX machine/shared_state.cpp
2: CXX machine/signal.cpp
machine/shared_state.cpp:257:43: error: lambda capture 'state' is not used [-Werror,-Wunused-lambda-capture]
thread_nexus()->each_thread(state, [state](STATE, VM* vm) {
^
1 error generated.
Error: clang++ -I/Users/cremes/dev/mygit/rubinius/machine -I/Users/cremes/dev/mygit/rubinius/machine/include -I. -Imachine/test/cxxtest -I/Users/cremes/dev/mygit/rubinius/build/libraries/libsodium/src/libsodium/include -I/Users/cremes/dev/mygit/rubinius/build/libraries/libffi/include -Ibuild/libraries/double-conversion/src -DHAVE_CONFIG_H -I/Users/cremes/dev/mygit/rubinius/machine/include/capi -I/Users/cremes/dev/mygit/rubinius/build/libraries/oniguruma -I/Users/cremes/dev/mygit/rubinius/build/libraries/libtommath -pipe -fPIC -fno-omit-frame-pointer -g -mno-omit-leaf-frame-pointer -I/usr/local/opt/openssl/include -fPIC -D_DARWIN_USE_64_BIT_
View bt.txt
main # Rubinius::Loader at core/loader.rb:852 (+90)
script # Rubinius::Loader at core/loader.rb:667 (+343)
load_script # Rubinius::CodeLoader at core/code_loader.rb:280 (+60)
load # Rubinius::CodeLoader::Source(Rubinius::CodeLoader::Script) at core/code_loader.rb:119 (+81)
run_script # Rubinius::CodeLoader::Source(Rubinius::CodeLoader::Script) at core/code_loader.rb:132 (+21)
__script__ # Object at echo_tcp.rb:2 (+31)
require # Kernel(Object) at /Users/cremes/dev/mygit/rubinius/codedb/source/rubygems/core_ext/kernel_require.rb:59 (+176)
gem_original_require (require) # Kernel(Object) at core/kernel.rb:865 (+39)
require # Rubinius::CodeLoader at core/code_loader.rb:294 (+73)
load # Rubinius::CodeLoader::Feature at core/code_loader.rb:159 (+21)
View bench.txt
ruby 2.5.0
Comparison:
sync each, buffered: 104.9 i/s
async each, buffered: 96.6 i/s - same-ish: difference falls within error
async each, unbuffered: 95.7 i/s - same-ish: difference falls within error
sync each, unbuffered: 22.1 i/s - 4.74x slower
rubinius 3.90
You can’t perform that action at this time.