jnh@phobos:~/Dev/namesurfer4r/scripts/rw_sync$ gdb --args ruby ./sync.rb GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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: ... Reading symbols from /home/jnh/.rvm/rubies/ruby-1.8.7-p249/bin/ruby...done. (gdb) run Starting program: /home/jnh/.rvm/rubies/ruby-1.8.7-p249/bin/ruby ./sync.rb [Thread debugging using libthread_db enabled] Mastering NameSurfer from Rincewind host entry for ee4132cp.ece.auckland.ac.nz (130.216.24.132) Legacy_Createdt now "Tue Mar 15 16:14:44 +1300 2005" Mastering NameSurfer from Rincewind host entry for dave-ibm.net.auckland.ac.nz (130.216.74.230) Legacy_Modt now "Tue Mar 15 16:14:44 +1300 2005" Legacy_Createdt now "Fri Nov 09 17:16:28 +1300 2007" Mastering NameSurfer from Rincewind host entry for ee4008cp.ece.auckland.ac.nz (130.216.24.8) Legacy_Modt now "Thu May 22 11:32:07 +1200 2008" Legacy_Createdt now "Tue Mar 15 16:01:26 +1300 2005" Legacy_Modt now "Thu Jun 19 14:49:12 +1200 2008" Mastering NameSurfer from Rincewind host entry for buzzer.mech.auckland.ac.nz (130.216.200.65) Legacy_Createdt now "Mon Jul 06 10:50:24 +1200 2009" Legacy_Modt now "Tue Jul 14 17:21:11 +1200 2009" Mastering NameSurfer from Rincewind host entry for jabbahold.psoft.auckland.ac.nz (130.216.11.67) Mastering NameSurfer from Rincewind host entry for escl038.esc.auckland.ac.nz (130.216.209.38) Legacy_Createdt now "Thu Sep 18 08:25:51 +1200 2003" Program received signal SIGSEGV, Segmentation fault. 0x00007ffff71d843a in vfprintf () from /lib/libc.so.6 (gdb) bt #0 0x00007ffff71d843a in vfprintf () from /lib/libc.so.6 #1 0x00007ffff7290730 in __vsnprintf_chk () from /lib/libc.so.6 #2 0x00007ffff729066a in __snprintf_chk () from /lib/libc.so.6 #3 0x00000000004124c6 in snprintf (lev=-1) at /usr/include/bits/stdio2.h:65 #4 backtrace (lev=-1) at eval.c:6366 #5 0x0000000000420f56 in make_backtrace (tag=, mesg=) at eval.c:6463 #6 rb_longjmp (tag=, mesg=) at eval.c:4605 #7 0x0000000000421a8a in rb_exc_raise (mesg=140737353850760) at eval.c:4667 #8 0x0000000000421ce8 in stack_check () at eval.c:5616 #9 0x00000000004239af in eval_check_tick () at eval.c:5626 #10 0x0000000000417e63 in rb_eval (self=4859010, n=0x25) at eval.c:2967 #11 0x00000000004199e2 in rb_eval (self=1, n=) at eval.c:3711 #12 0x000000000041d983 in rb_call0 (klass=, recv=0, id=0, oid=, argc=0, argv=0x0, body=0x7ffff640c600, flags=0) at eval.c:6079 #13 0x000000000041dcb3 in rb_call (klass=140737324804360, recv=140737247681480, mid=34209, argc=0, argv=0x0, scope=2, self=140737247681480) at eval.c:6176 #14 0x000000000041839c in rb_eval (self=4, n=) at eval.c:3527 #15 0x000000000041b3b2 in rb_eval (self=0, n=) at eval.c:3377 #16 0x000000000041d983 in rb_call0 (klass=, recv=0, id=0, oid=, argc=0, argv=0x0, body=0x7ffff640bc00, flags=0) at eval.c:6079 #17 0x000000000041dcb3 in rb_call (klass=140737324811920, recv=140737247681480, mid=12113, argc=0, argv=0x0, scope=0, self=140737247681600) at eval.c:6176 #18 0x000000000041ab3f in rb_eval (self=0, n=) at eval.c:3506 #19 0x000000000041b669 in rb_eval (self=0, n=) at eval.c:3236 #20 0x000000000041d983 in rb_call0 (klass=, recv=0, id=140737477883608, oid=, argc=0, argv=0x7fffff6036d8, body=0x7ffff641c000, flags=0) at eval.c:6079 #21 0x000000000041dcb3 in rb_call (klass=140737324805480, recv=140737247681600, mid=7649, argc=1, argv=0x7fffff6036d0, scope=0, self=140737247683600) at eval.c:6176 #22 0x000000000041ab3f in rb_eval (self=1, n=) at eval.c:3506 #23 0x000000000041d983 in rb_call0 (klass=, recv=0, id=140737477885272, oid=, argc=0, argv=0x7fffff603d58, body=0x7ffff64239b8, flags=0) at eval.c:6079 #24 0x000000000041dcb3 in rb_call (klass=140737324855880, recv=140737247683600, mid=5561, argc=3, argv=0x7fffff603d40, scope=1, self=140737247683600) at eval.c:6176 #25 0x000000000041aa6f in rb_eval (self=140737477885272, n=) at eval.c:3521 #26 0x0000000000427d2c in block_pass (self=, node=) at eval.c:9189 #27 0x000000000041a345 in rb_eval (self=1, n=) at eval.c:3222 #28 0x000000000041d983 in rb_call0 (klass=, recv=0, id=140737477888312, oid=, argc=0, argv=0x7fffff604938, body=0x7ffff6421d20, flags=0) at eval.c:6079 jnh@phobos:~/Dev/namesurfer4r/scripts/rw_sync$ rvm debug rvm 0.1.23 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/] system: uname: "Linux phobos 2.6.32-17-generic #26-Ubuntu SMP Sat Mar 20 02:23:45 UTC 2010 x86_64 GNU/Linux" shell: "bash" version: "4.1.0(1)-release" ruby: interpreter: "ruby" version: "1.8.7" date: "2010-01-10" platform: "x86_64-linux" patchlevel: "2010-01-10 patchlevel 249" full_version: "ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]" homes: gem: "/home/jnh/.rvm/gems/ruby-1.8.7-p249" ruby: "/home/jnh/.rvm/rubies/ruby-1.8.7-p249" binaries: ruby: "/home/jnh/.rvm/rubies/ruby-1.8.7-p249/bin/ruby" irb: "/home/jnh/.rvm/rubies/ruby-1.8.7-p249/bin/irb" gem: "/home/jnh/.rvm/rubies/ruby-1.8.7-p249/bin/gem" rake: "/home/jnh/.rvm/gems/ruby-1.8.7-p249%global/bin/rake" environment: GEM_HOME: "/home/jnh/.rvm/gems/ruby-1.8.7-p249" GEM_PATH: "/home/jnh/.rvm/gems/ruby-1.8.7-p249:/home/jnh/.rvm/gems/ruby-1.8.7-p249%global" BUNDLE_PATH: "/home/jnh/.rvm/gems/ruby-1.8.7-p249" MY_RUBY_HOME: "/home/jnh/.rvm/rubies/ruby-1.8.7-p249" IRBRC: "/home/jnh/.rvm/rubies/ruby-1.8.7-p249/.irbrc" PATH: /home/jnh/.rvm/bin:/home/jnh/.rvm/rubies/ruby-1.8.7-p249/bin:/home/jnh/.rvm/gems/ruby-1.8.7-p249/bin:/home/jnh/.rvm/gems/ruby-1.8.7-p249%global/bin:/home/jnh/.rvm/bin uname -a: Linux phobos 2.6.32-17-generic #26-Ubuntu SMP Sat Mar 20 02:23:45 UTC 2010 x86_64 GNU/Linux permissions: /home/jnh/.rvm: total 92 drwxr-xr-x 14 jnh jnh 4096 2010-03-16 14:15 . drwx------ 42 jnh jnh 12288 2010-03-24 10:15 .. drwxr-xr-x 2 jnh jnh 4096 2010-03-23 11:45 archives drwxr-xr-x 2 jnh jnh 4096 2010-03-23 13:01 bin drwxr-xr-x 2 jnh jnh 4096 2010-03-16 14:17 config drwxr-xr-x 2 jnh jnh 4096 2010-03-16 14:15 examples drwxr-xr-x 19 jnh jnh 4096 2010-03-24 11:23 gems drwxr-xr-x 2 jnh jnh 4096 2010-03-16 14:15 hooks drwxr-xr-x 3 jnh jnh 4096 2010-03-16 14:15 lib -rw-r--r-- 1 jnh jnh 1038 2010-03-17 10:19 LICENCE drwxr-xr-x 13 jnh jnh 4096 2010-03-23 11:43 log -rw-r--r-- 1 jnh jnh 4518 2010-03-17 10:19 README drwxr-xr-x 7 jnh jnh 4096 2010-03-23 12:59 rubies drwxr-xr-x 2 jnh jnh 4096 2010-03-16 14:15 scripts drwxr-xr-x 9 jnh jnh 4096 2010-03-23 12:56 src drwxr-xr-x 2 jnh jnh 4096 2010-03-16 14:15 tmp /home/jnh/.rvm/rubies: total 28 drwxr-xr-x 7 jnh jnh 4096 2010-03-23 12:59 . drwxr-xr-x 14 jnh jnh 4096 2010-03-16 14:15 .. drwxr-xr-x 19 jnh jnh 4096 2010-03-23 11:55 maglev-22949 drwxr-xr-x 5 jnh jnh 4096 2010-03-23 11:09 ree-1.8.7-2010.01 drwxr-xr-x 5 jnh jnh 4096 2010-03-18 09:09 ruby-1.8.7-p249 drwxr-xr-x 6 jnh jnh 4096 2010-03-23 13:01 ruby-1.9.1-p378 drwxr-xr-x 6 jnh jnh 4096 2010-03-16 17:05 ruby-1.9.2-preview1 /home/jnh/.rvm/config/system (filtered): unset RUBY_VERSION unset GEM_HOME unset GEM_PATH unset BUNDLE_PATH unset MY_RUBY_HOME /home/jnh/.rvm/config/db (filtered): niceness=0 ruby_repo_url=http://svn.ruby-lang.org/repos/ruby ruby_configure=--enable-shared interpreter=ruby ruby_version=1.8.6 ruby_patchlevel=383 rubygems_version=1.3.6 rubygems_1.3.5_url=http://rubyforge.org/frs/download.php/60718 rubygems_1.3.6_url=http://rubyforge.org/frs/download.php/69365 rbx_version=1.0.0 rbx_patch_level=rc2 rbx_url=http://asset.rubini.us/rubinius-1.0.0-rc2-20100104.tar.gz ree_version=1.8.7 ree_1.8.6_patch_level=20090610 ree_1.8.6_url=http://rubyforge.org/frs/download.php/58677 ree_1.8.6_repo_url=git://github.com/FooBarWidget/rubyenterpriseedition.git ree_1.8.7_url=http://rubyforge.org/frs/download.php/68719 ree_1.8.7_repo_url=git://github.com/FooBarWidget/rubyenterpriseedition187.git ree_1.8.7_patch_level=2010.01 ruby_1.9.1_patch_level=378 ruby_1.9.2_patch_level=preview1 ruby_1.8.5_patch_level=231 ruby_1.8.6_patch_level=399 ruby_1.8.7_patch_level=249 jruby_version=1.4.0 jruby_repo_url=git://github.com/jruby/jruby.git jruby_url=http://jruby.kenai.com/downloads macruby_version=0.5 macruby_url=http://www.macruby.org/files macruby_repo_url=git://git.macruby.org/macruby/MacRuby.git macruby_nightly_url=http://macruby.icoretech.org/latest/macruby_nightly-latest.pkg maglev_version=22949 maglev_url=http://glass-downloads.gemstone.com/maglev maglev_repo_url=git://github.com/MagLev/maglev.git rubinius_repo_url=git://github.com/evanphx/rubinius.git shyouhei_repo_url=git://github.com/shyouhei/ruby.git ironruby_version=1.0-rc2 ironruby_repo_url=git://github.com/ironruby/ironruby.git ironruby_url=http://github.com/ironruby/ironruby/tarball/ gem sources: http://rubygems.org/ jnh@phobos:~/Dev/namesurfer4r/scripts/rw_sync$