Skip to content

Instantly share code, notes, and snippets.

@AlexDenisov
Created March 6, 2017 20:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexDenisov/2a8d9b0d391de73a97bce9e33a650f0f to your computer and use it in GitHub Desktop.
Save AlexDenisov/2a8d9b0d391de73a97bce9e33a650f0f to your computer and use it in GitHub Desktop.
alex@alex-VirtualBox ~/P/m/BuildNinja> lldb-3.9 ./tools/driver/mull-driver ~/Projects/CryptoSwift/config.yaml
(lldb) target create "./tools/driver/mull-driver"
Current executable set to './tools/driver/mull-driver' (x86_64).
(lldb) settings set -- target.run-args "/home/alex/Projects/CryptoSwift/config.yaml"
(lldb) r
Process 21754 launched: './tools/driver/mull-driver' (x86_64)
Config>
project_name:
test_framework: XCTest
distance: 128
dry_run: 0
fork: 0
Driver> No mutation operators specified in a config file. Defaulting to default operators:
add_mutation_operator
negate_mutation_operator
remove_void_function_mutation_operator
start XCTest
Driver::Run> found 1 tests
Driver::Run> current test [1/1]: hello
fatal error: unexpectedly found nil while unwrapping an Optional value
Current stack trace:
0 libswiftCore.so 0x00007ffff2faffc0 swift_reportError + 117
1 libswiftCore.so 0x00007ffff2fc2df0 _swift_stdlib_reportFatalError + 63
2 libswiftCore.so 0x00007ffff2dd06a3 <unavailable> + 0
3 libswiftCore.so 0x00007ffff2f2ddfd <unavailable> + 0
4 libswiftCore.so 0x00007ffff2dd06a3 <unavailable> + 0
5 libswiftCore.so 0x00007ffff2eef6b0 specialized _fatalErrorMessage(StaticString, StaticString, StaticString, UInt, flags : UInt32) -> Never + 96
6 libswiftCore.so 0x00007ffff2ee1aa7 <unavailable> + 0
7 libswiftCore.so 0x00007ffff2efb159 <unavailable> + 0
8 libswiftCore.so 0x00007ffff2ee17b0 globalinit_33_FD9A49A256BEB6AF7C48013347ADC3BA_func4 + 81
9 libpthread.so.0 0x00007ffff37bfa99 <unavailable> + 0
10 libswiftCore.so 0x00007ffff2fc0b20 swift_once + 90
11 libXCTest.so 0x00007ffff7e46ea0 XCTMain([(testCaseClass : XCTestCase.Type, allTests : [(String, (XCTestCase) throws -> ())])]) -> Never + 59
13 libmull.so 0x00007ffff7b6a9e4 mull::XCTestRunner::runTest(mull::Test*, std::vector<llvm::object::ObjectFile*, std::allocator<llvm::object::ObjectFile*> >&) + 303
14 libmull.so 0x00007ffff7b439f9 <unavailable> + 0
15 libmull.so 0x00007ffff7b4643f <unavailable> + 0
16 libmull.so 0x00007ffff7b520c0 std::function<void (mull::ExecutionResult*)>::operator()(mull::ExecutionResult*) const + 73
17 libmull.so 0x00007ffff7b518d4 mull::NullProcessSandbox::run(std::function<void (mull::ExecutionResult*)>, long long) + 140
18 libmull.so 0x00007ffff7b43b24 mull::Driver::Run() + 1573
19 mull-driver 0x0000000000410f0d <unavailable> + 0
20 libc.so.6 0x00007ffff4530740 __libc_start_main + 240
21 mull-driver 0x0000000000410909 <unavailable> + 0
Process 21754 stopped
* thread #1: tid = 21754, 0x00007ffff2eef710 libswiftCore.so`_TTSfq4n_n_d_d_n___TFs18_fatalErrorMessageFTVs12StaticStringS_S_Su5flagsVs6UInt32_Os5Never + 96, name = 'mull-driver', stop reason = signal SIGILL: illegal instruction operand
frame #0: 0x00007ffff2eef710 libswiftCore.so`_TTSfq4n_n_d_d_n___TFs18_fatalErrorMessageFTVs12StaticStringS_S_Su5flagsVs6UInt32_Os5Never + 96
libswiftCore.so`_TTSfq4n_n_d_d_n___TFs18_fatalErrorMessageFTVs12StaticStringS_S_Su5flagsVs6UInt32_Os5Never:
-> 0x7ffff2eef710 <+96>: ud2
0x7ffff2eef712: nopw %cs:(%rax,%rax)
libswiftCore.so`_TWaurGVs11AnySequencex_s8Sequences:
0x7ffff2eef720 <+0>: pushq %rbp
0x7ffff2eef721 <+1>: movq %rsp, %rbp
(lldb) bt
* thread #1: tid = 21754, 0x00007ffff2eef710 libswiftCore.so`_TTSfq4n_n_d_d_n___TFs18_fatalErrorMessageFTVs12StaticStringS_S_Su5flagsVs6UInt32_Os5Never + 96, name = 'mull-driver', stop reason = signal SIGILL: illegal instruction operand
* frame #0: 0x00007ffff2eef710 libswiftCore.so`_TTSfq4n_n_d_d_n___TFs18_fatalErrorMessageFTVs12StaticStringS_S_Su5flagsVs6UInt32_Os5Never + 96
frame #1: 0x00007ffff2ee1aa7 libswiftCore.so`_TFIZvOs11CommandLine9argumentsGSaSS_iU_FSiSS + 615
frame #2: 0x00007ffff2efb159 libswiftCore.so`_TTSfq4n_g___TTSfq1cl45_TTRXFo_dSi_oSSzoPs5Error__XFo_iSi_iSSzoPS___XFo_dSi_oSSzoPs5Error___n___TTSgq5GVs14CountableRangeSi_GS_Si_s10Collections_SS___TFEsPs10Collection3mapurfzFzWx8Iterator7Element_qd__GSaqd___ + 297
frame #3: 0x00007ffff2ee1801 libswiftCore.so`globalinit_33_FD9A49A256BEB6AF7C48013347ADC3BA_func4 + 81
frame #4: 0x00007ffff37bfa99 libpthread.so.0`__pthread_once_slow + 169
frame #5: 0x00007ffff2fc0b7a libswiftCore.so`swift_once + 90
frame #6: 0x00007ffff7e46edb libXCTest.so`_TF6XCTest7XCTMainFGSaT13testCaseClassMCS_10XCTestCase8allTestsGSaTSSFzS0_T_____Os5Never + 59
frame #7: 0x00007fffea9deb8f
frame #8: 0x00007ffff7b6ab13 libmull.so`mull::XCTestRunner::runTest(mull::Test*, std::vector<llvm::object::ObjectFile*, std::allocator<llvm::object::ObjectFile*> >&) + 303
frame #9: 0x00007ffff7b439f9 libmull.so`mull::Driver::Run()::{lambda(mull::ExecutionResult*)#1}::operator()(mull::ExecutionResult*) const + 101
frame #10: 0x00007ffff7b4643f libmull.so`std::_Function_handler<void (mull::ExecutionResult*), mull::Driver::Run()::{lambda(mull::ExecutionResult*)#1}>::_M_invoke(std::_Any_data const&, mull::ExecutionResult*&&) + 55
frame #11: 0x00007ffff7b52109 libmull.so`std::function<void (mull::ExecutionResult*)>::operator()(mull::ExecutionResult*) const + 73
frame #12: 0x00007ffff7b51960 libmull.so`mull::NullProcessSandbox::run(std::function<void (mull::ExecutionResult*)>, long long) + 140
frame #13: 0x00007ffff7b44149 libmull.so`mull::Driver::Run() + 1573
frame #14: 0x0000000000410f0d mull-driver`main + 1335
frame #15: 0x00007ffff4530830 libc.so.6`__libc_start_main(main=(mull-driver`main), argc=2, argv=0x00007fffffffea48, init=<unavailable>, fini=<unavailable>, rtld_fini=<unavailable>, stack_end=0x00007fffffffea38) + 240 at libc-start.c:291
frame #16: 0x0000000000410909 mull-driver`_start + 41
(lldb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment