Skip to content

Instantly share code, notes, and snippets.

View cgay's full-sized avatar
👖
Pants

Carl Gay cgay

👖
Pants
View GitHub Profile
(lldb) run --load liblibraries-test-suite.so --load libdfmc-reader-test-suite.so --load libstrings-test-suite.so --load libduim-test-suite.so --load libdeuce-test-suite.so --load libjam-test-suite.so --load libchannels-tests.so --load libvariable-search-tests.so --load libcommand-line-parser-test-suite.so --load liblogging-test-suite.so --load libregular-expressions-test-suite.so --load libhash-algorithms-test.so
...runs a bunch of tests...
Running test test-regex-replace:Process 27993 stopped
* thread #1, name = 'Main thread', stop reason = signal SIGSEGV: address access protected (fault address: 0x7ffff7e9eb70)
frame #0: 0x00007ffff7e9eb70 libdylan.so`KPfalseVKi
libdylan.so`KPfalseVKi:
-> 0x7ffff7e9eb70 <+0>: adcb %bh, %al
@cgay
cgay / gist:414810279f3176f227c9fb9c1ecd6969
Created September 27, 2019 03:04
testworks-report --help
$ ../_build/bin/testworks-report --help
Backtrace:
invoke-debugger:internal:dylan##1 + 0x29
default-handler:dylan:dylan##1 + 0x12
signal:dylan:dylan##0 + 0x120
error:dylan:dylan##0 + 0xb1
type-check-error:internal:dylan + 0x6f
subst-engine-node-1:dispatch-engine-internal:dylan + 0x158
walk-existing-dispatch-engine:dispatch-engine-internal:dylan + 0x642
walk-existing-dispatch-engine:dispatch-engine-internal:dylan + 0x607
$ dylan-compiler -build -clean -debugger binary-trees.lid
Opened project binary-trees (/home/cgay/dylan/ws.all/shootout/binary-trees.hdp)
Loading namespace for library binary-trees
No applicable method, applying {<sealed-generic-function>: top-level-convert-using-definition} to {<simple-object-vector>: #f, #f, {<function-macro-fragment>}}.
Backtrace:
invoke-debugger:internal:dylan##1 + 0x29
default-handler:dylan:dylan##1 + 0x12
default-last-handler:common-dylan-internals:common-dylan##0 + 0x2e6
signal:dylan:dylan##0 + 0x120
error:dylan:dylan##0 + 0xb1
@cgay
cgay / gist:7caa00e06f72479a308432b3d31fcfd2
Created May 9, 2019 12:43
backtrace without error message
$ _build/bin/uncommon-dylan-tests
Backtrace:
invoke-debugger:internal:dylan##1 + 0x29
default-handler:dylan:dylan##1 + 0x12
signal:dylan:dylan##0 + 0x120
error:dylan:dylan##0 + 0xb1
type-check-error:internal:dylan + 0x6f
subst-engine-node-1:dispatch-engine-internal:dylan + 0x158
walk-existing-dispatch-engine:dispatch-engine-internal:dylan + 0x642
walk-existing-dispatch-engine:dispatch-engine-internal:dylan + 0x607
@cgay
cgay / gist:b29730046b87e907efa9690fc94ad149
Created April 29, 2019 03:09
regular-expressions-test-suite crash
$ _build/bin/regular-expressions-test-suite --help
Backtrace:
invoke-debugger:internal:dylan##1 + 0x29
default-handler:dylan:dylan##1 + 0x12
signal:dylan:dylan##0 + 0x120
error:dylan:dylan##0 + 0xb1
type-check-error:internal:dylan + 0x6f
subst-engine-node-1:dispatch-engine-internal:dylan + 0x158
walk-existing-dispatch-engine:dispatch-engine-internal:dylan + 0x642
walk-existing-dispatch-engine:dispatch-engine-internal:dylan + 0x607
@cgay
cgay / callgrind.out.5286
Last active April 29, 2019 00:26
Perf data for writing to string streams
$ callgrind_annotate callgrind.out.5286 | less
--------------------------------------------------------------------------------
Profile data file 'callgrind.out.5286' (creator: callgrind-3.12.0.SVN)
--------------------------------------------------------------------------------
I1 cache:
D1 cache:
LL cache:
Timerange: Basic block 0 - 8617188266
Trigger: Program termination
Profiled target: _build/bin/iobench (PID 5286, part 1)
@cgay
cgay / gist:b98f71558e80922aed2538dd2bd95852
Created April 27, 2019 16:50
fpe while optimizing common-dylan-test-suite
Optimizing common-dylan-test-suite
Optimizing library.dylan
Optimizing variables.dylan
Optimizing classes.dylan
Optimizing functions.dylan
Process 2688 stopped
* thread #1: tid = 2688, 0x00007ffff77e2066 libdylan.so`KSVKdMM4I + 6 at float.dylan:358, name = 'Main thread', stop reason = signal SIGFPE: invalid floating point operation
frame #0: 0x00007ffff77e2066 libdylan.so`KSVKdMM4I + 6 at float.dylan:358
355 define sealed inline method \/
356 (x :: <double-float>, y :: <double-float>) => (z :: <double-float>)
@cgay
cgay / dylan-tool-build-output.txt
Created March 30, 2019 21:38
2019.1pre dylan-tool build failure
-*- mode: compilation; default-directory: "~/dylan/ws.dylan-tool/" -*-
Compilation started at Sat Mar 30 17:21:20
cd ~/dylan/ws.dylan-tool/ && dylan-compiler -build -clean -back-end llvm dylan-tool
Opened project dylan-tool (/home/cgay/dylan/ws.dylan-tool/dylan-tool/dylan-tool.lid)
Processing library dylan-tool
Loading namespace for library dylan-tool
Updating definitions for library dylan
Computing data models for library dylan
@cgay
cgay / backtrace.txt
Created March 26, 2019 13:27
win32-environment crash
batch-debug win32-environment
;;; Application hit a hard-coded breakpoint.
;;; ++++++++++++++ DYLAN APPLICATION FAILURE REPORT ++++++++++++++
;;; ++++++++++ (Generated by the Dylan Console Debugger) +++++++++++
;;;
;;; APPLICATION NAME: win32-environment
Windows 10, PellesC 9.00.0 RC1
building targets: exe
File C:\Users\Carl\AppData\Roaming\Open-Dylan\lib\dylan.mkf : C:\Users\Carl\AppData\Roaming\Open-Dylan\build\dylan\dylanmakefile.mkf
File C:\Users\Carl\AppData\Roaming\Open-Dylan\lib\common-dylan.mkf : C:\Users\Carl\AppData\Roaming\Open-Dylan\build\common-dylan\dylanmakefile.mkf
Cc C:\Users\Carl\AppData\Roaming\Open-Dylan\build\system\win32-shim.obj : C:\Users\Carl\AppData\Roaming\Open-Dylan\build\system\win32-shim.c
RC C:\Users\Carl\AppData\Roaming\Open-Dylan\build\system\version.res : C:\Users\Carl\AppData\Roaming\Open-Dylan\build\system\version.rc
File C:\Users\Carl\AppData\Roaming\Open-Dylan\lib\io.mkf : C:\Users\Carl\AppData\Roaming\Open-Dylan\build\io\dylanmakefile.mkf