Skip to content

Instantly share code, notes, and snippets.

View kduske's full-sized avatar

Kristian Duske kduske

View GitHub Profile
17:24 $ cat common-test-err
ASAN:DEADLYSIGNAL
=================================================================
==63889==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000001 (pc 0x7f7f88a5fc63 bp 0x7fffeba475c0 sp 0x7fffeba46d28 T0)
==63889==The signal is caused by a WRITE memory access.
==63889==Hint: address points to the zero page.
#0 0x7f7f88a5fc62 in memcpy (/lib/x86_64-linux-gnu/libc.so.6+0xbec62)
#1 0x7f7f8a3854de (/lib/x86_64-linux-gnu/libasan.so.4+0x7a4de)
#2 0x7f7f8867879c (/lib/x86_64-linux-gnu/libpng16.so.16+0x1d79c)
#3 0x7f7f8866b80b in png_read_row (/lib/x86_64-linux-gnu/libpng16.so.16+0x1080b)
14:45 $ ./common-test --help
Catch v2.13.0
usage:
common-test [<test name|pattern|tags> ... ] options
where options are:
-?, -h, --help display usage information
-l, --list-tests list all/matching test cases
-t, --list-tags list all/matching tags
This file has been truncated, but you can view the full file.
[2021-04-04 12:25:31.516] [INFO] load called
[2021-04-04 12:25:31.516] [DEBUG] canceled
[2021-04-04 12:25:31.516] [INFO] 10
[2021-04-04 12:25:31.517] [INFO] `test.advancedExecutables` is not defined. trying to use `test.executables`
[2021-04-04 12:25:31.517] [INFO] load started
[2021-04-04 12:25:31.518] [DEBUG] ExecutableConfig.resolveVariable: {
value: '{build,Build,BUILD,out,Out,OUT}/**/*{test,Test,TEST}*',
resolved: '{build,Build,BUILD,out,Out,OUT}/**/*{test,Test,TEST}*',
strictAllowed: false
}
[2021-04-04 12:27:02.103] [DEBUG] ExecutableConfig.resolveVariable: {
value: '${absDirpath}',
resolved: '/home/kristian/Documents/Code/TrenchBroom/build/common/test',
strictAllowed: false
}
[2021-04-04 12:27:02.103] [DEBUG] ExecutableConfig.resolveVariable: { value: {}, resolved: {}, strictAllowed: true }
[2021-04-04 12:27:02.355] [DEBUG] _recursiveHandleFile: other error... /home/kristian/Documents/Code/TrenchBroom/build/common/test/common-test reason: [Error: FsWrapper.spawnAsync signal: SIGSEGV
at ChildProcess.<anonymous> (/home/kristian/.vscode/extensions/matepek.vscode-catch2-test-adapter-3.6.24/out/dist/main.js:2:306603)
at ChildProcess.emit (events.js:315:20)
at ChildProcess.EventEmitter.emit (domain.js:483:12)
I[19:53:45.495] clangd version 11.0.0 (https://github.com/llvm/llvm-project 176249bd6732a8044d457092ed932768724a6f06)
I[19:53:45.495] PID: 53116
I[19:53:45.495] Working directory: /Users/kristian/Documents/Code/TrenchBroom
I[19:53:45.495] argv[0]: /Users/kristian/.bin/clangd_11.0.0/bin/clangd
I[19:53:45.495] argv[1]: --log=verbose
V[19:53:45.495] User config file is /Users/kristian/Library/Preferences/clangd/config.yaml
I[19:53:45.495] Starting LSP over stdin/stdout
V[19:53:45.496] <<< {"id":0,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"textDocument":{"callHierarchy":{"dynamicRegistration":true},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"dynamicRegistration":true,"isPreferredSupport":true},"codeLens":{"dynamicRegistration":true},"colorProvider":{"dynamicRegistration":true},"completion":{"completionItem":{"commitCharactersSupport":true,"depreca
I[22:36:48.507] clangd version 11.0.0 (https://github.com/llvm/llvm-project 176249bd6732a8044d457092ed932768724a6f06)
I[22:36:48.507] PID: 25836
I[22:36:48.507] Working directory: /Users/kristian/Documents/Code/TrenchBroom
I[22:36:48.507] argv[0]: /Users/kristian/.bin/clangd_11.0.0/bin/clangd
I[22:36:48.507] argv[1]: --log=verbose
V[22:36:48.507] User config file is /Users/kristian/Library/Preferences/clangd/config.yaml
I[22:36:48.507] Starting LSP over stdin/stdout
V[22:36:48.507] <<< {"id":0,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"textDocument":{"callHierarchy":{"dynamicRegistration":true},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"dynamicRegistration":true,"isPreferredSupport":true},"codeLens":{"dynamicRegistration":true},"colorProvider":{"dynamicRegistration":true},"completion":{"completionItem":{"commitCharactersSupport":true,"depreca
I[22:34:16.761] clangd version 11.0.0 (https://github.com/llvm/llvm-project 176249bd6732a8044d457092ed932768724a6f06)
I[22:34:16.762] PID: 25508
I[22:34:16.762] Working directory: /Users/kristian/Documents/Code/TrenchBroom
I[22:34:16.762] argv[0]: /Users/kristian/.bin/clangd_11.0.0/bin/clangd
I[22:34:16.762] argv[1]: --log=verbose
V[22:34:16.762] User config file is /Users/kristian/Library/Preferences/clangd/config.yaml
I[22:34:16.762] Starting LSP over stdin/stdout
V[22:34:16.762] <<< {"id":0,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"textDocument":{"callHierarchy":{"dynamicRegistration":true},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"dynamicRegistration":true,"isPreferredSupport":true},"codeLens":{"dynamicRegistration":true},"colorProvider":{"dynamicRegistration":true},"completion":{"completionItem":{"commitCharactersSupport":true,"depreca
@kduske
kduske / gist:d6c91ca87c81e0a08539
Created September 8, 2015 12:46
Output of BSPinfo
==== General Information ====
Total BSP size : 1938294 bytes
BSP version : 29
Number of entities : 685
Number of planes : 3958
Number of mip textures: 57
Number of surfaces : 242
Number of vertices : 11230
Number of nodes : 6904
Number of models : 6904
{
"classname" "worldspawn"
{
( -576 544 608 ) ( -576 640 608 ) ( -576 608 480 ) e1u1/grate2_5 0 0 0 1 1 0 0 0
( -608 544 608 ) ( -608 608 480 ) ( -608 640 608 ) e1u1/grate2_5 0 0 0 1 1 0 0 0
( -576 678.39999961853027 467.19999980926514 ) ( -576 614.39999961853027 595.19999980926514 ) ( -672 678.39999961853027 467.19999980926514 ) e1u1/grate2_5 0 -12.8 0 1 1 0 0 0
( -672 544 608 ) ( -576 544 608 ) ( -672 608 480 ) e1u1/grate2_5 0 0 0 1 1 0 0 0
( -672 544 608 ) ( -672 640 608 ) ( -576 544 608 ) e1u1/grate2_5 0 0 0 1 1 0 0 0
( -672 608 480 ) ( -576 608 480 ) ( -672 704 480 ) e1u1/grate2_5 0 0 0 1 1 0 0 0
}
cmake .. -DCMAKE_BUILD_TYPE=Release
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info