Skip to content

Instantly share code, notes, and snippets.

@bakkdoor
Created September 16, 2011 23:04
Show Gist options
  • Save bakkdoor/1223375 to your computer and use it in GitHub Desktop.
Save bakkdoor/1223375 to your computer and use it in GitHub Desktop.
gdb rbx binfancy
Rubinius Crash Report #rbxcrashreport
Error: signal �SIGSEGV
[[Backtrace]]
[[System Info]]
sysname: Darwin
nodename: udp090078uds.ucsf.edu
release: 11.0.0
version: Darwin Kernel Version 11.0.0: Sat Jun 18 12:56:35 PDT 2011; root:xnu-1699.22.73~1/RELEASE_X86_64
machine: x86_64
backtype ~/projects/fancy[master*] $ gdb rbx
GNU gdb 6.3.50-20050815 (Apple version gdb-1705) (Fri Jul 1 10:50:06 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ... done
(gdb) run bin/fancy
Starting program: /Users/backtype/projects/rubinius/bin/rbx bin/fancy
Reading symbols for shared libraries ++......................... done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries ... done
Welcome to the (still very simple) Fancy REPL
Fancy 0.4.0 alpha
>> a = 0 upto: 10
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
>> a in_groups_of: 3
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x0000000100171dd9 in rubinius::Regexp::match_region (this=0x102409780, state=0x1013e5038, string=0x1013e5038, start=0x0, end=0x1013e5038, forward=0x1013e5038) at regexp.cpp:405
405 ONIG_REGION_NOTPOS, ONIG_REGION_NOTPOS };
@bakkdoor
Copy link
Author

(gdb) backtype ~/projects/fancy[master*] $ gdb --args rbx -Xint bin/fancy
GNU gdb 6.3.50-20050815 (Apple version gdb-1705) (Fri Jul 1 10:50:06 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ... done

(gdb) run
Reading symbols for shared libraries . done
Reading symbols for shared libraries ... done
Welcome to the (still very simple) Fancy REPL
Fancy 0.4.0 alpha

a = 0 upto: 10
a in_groups_of: 3
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x0000000100171dd9 in rubinius::Regexp::match_region (this=0x1024267a8, state=0x10143e338, string=0x10143e338, start=0x0, end=0x10143e338, forward=0x10143e338) at regexp.cpp:405
405 ONIG_REGION_NOTPOS, ONIG_REGION_NOTPOS };

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment