Skip to content

Instantly share code, notes, and snippets.

Jarrett jarrettchisholm

View GitHub Profile
View gist:9881552
(gdb) thread apply all bt
Thread 3 (Thread 0x7f0e78736740 (LWP 21196)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x000000000072a0f6 in rubinius::utilities::thread::Condition::wait (this=0x354a2b8, mutex=...) at /home/jarrett/prylynx/rubinius/vm/util/thread.hpp:431
#2 0x000000000088f642 in rubinius::FinalizerHandler::supervisor_wait (this=0x354a110) at vm/gc/finalize.cpp:492
#3 0x000000000088f0ce in rubinius::FinalizerHandler::finish (this=0x354a110, state=0x34edea0, gct=...) at vm/gc/finalize.cpp:377
#4 0x000000000062b828 in rubinius::Environment::halt (this=0x7fffa7c6ad80, state=0x34edea0) at vm/environment.cpp:390
#5 0x0000000000886bc5 in main (argc=3, argv=0x7fffa7c6b718) at vm/drivers/cli.cpp:134
View gist:9881536
Rubinius Crash Report #rbxcrashreport
Error: signal ^@SIGSEGV
[[Backtrace]]
ruby[0x74635f]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xf210)[0x7f0e77cf1210]
/home/jarrett/.rvm/gems/ruby-2.1.1/gems/mysql2-0.3.15/lib/mysql2/mysql2.so(+0x7ac0)[0x7f0e66082ac0]
/home/jarrett/.rvm/gems/ruby-2.1.1/gems/mysql2-0.3.15/lib/mysql2/mysql2.so(decr_mysql2_client+0x15)[0x7f0e66082e35]
ruby(_ZN8rubinius4Data8finalizeEPNS_5StateEPS0_+0x117)[0x7b4459]
View gist:9881512
jarrett@debian:~/application$ gdb ruby --core=core
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
View gist:9881497
An exception occurred in a forked block
undefined method `to_str' on false:FalseClass. (NoMethodError)
Backtrace:
Kernel(FalseClass)#to_str (method_missing) at kernel/delta/kernel.rb:78
Mysql2::Client#escape at client.c
ConversionMySQLUtils#find_query at lib/utils/mysql.rb:130
Hash#each_pair (each) at kernel/common/hash.rb:336
View gist:9572904
Thread 4 (Thread 0x7ff6f8b8b740 (LWP 13250)):
#0 0x00007ff6f813fff8 in pthread_join (threadid=140698665727744, thread_return=0x7fff13e31db8) at pthread_join.c:92
#1 0x0000000000899158 in rubinius::ImmixMarker::stop_thread (this=0x25cd5c0, state=0x20fbd20) at vm/gc/immix_marker.cpp:72
#2 0x00000000008991dd in rubinius::ImmixMarker::shutdown (this=0x25cd5c0, state=0x20fbd20) at vm/gc/immix_marker.cpp:77
#3 0x000000000061b50c in rubinius::AuxiliaryThreads::shutdown (this=0x20fb6e0, state=0x20fbd20) at vm/auxiliary_threads.cpp:22
#4 0x000000000062b7b4 in rubinius::Environment::halt (this=0x7fff13e31ed0, state=0x20fbd20) at vm/environment.cpp:386
#5 0x0000000000886ad1 in main (argc=2, argv=0x7fff13e32868) at vm/drivers/cli.cpp:134
Thread 3 (Thread 0x7ff6f4f95700 (LWP 13252)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
View gist:9572601
jarrett@debian:~/conversion$ gdb ruby --core=core
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
View gist:9572574
An exception occurred in a forked block
undefined method `to_str' on false:FalseClass. (NoMethodError)
Backtrace:
Kernel(FalseClass)#to_str (method_missing) at kernel/delta/kernel.rb:78
Mysql2::Client#escape at client.c
{ } in ConversionMySQLUtils#insert_row at lib/utils/mysql.rb:57
Array#map at kernel/bootstrap/array.rb:87
View gist:9572551
Rubinius Crash Report #rbxcrashreport
[[Exception]]
A toplevel exception occurred
Thread has been interrupted (Interrupt)
Backtrace:
{ } in Rubinius::Loader#signals at kernel/loader.rb:100
View rbx crash report
Rubinius Crash Report #rbxcrashreport
[[Exception]]
A toplevel exception occurred
Thread has been interrupted (Interrupt)
Backtrace:
{ } in Rubinius::Loader#signals at kernel/loader.rb:100
View setup script
curl -sSL https://get.rvm.io | bash -s stable
source /etc/profile
rvm install rbx-2.2.5
rvm use rbx
# For Rubinius, you need to use the --no-doc flag (installation of documentation seems to hang)
gem install nokogiri --no-doc
You can’t perform that action at this time.