Skip to content

Instantly share code, notes, and snippets.

@kybr
Created February 27, 2018 12:46
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 kybr/d216fcb53c9e2a3e44980b3624f19cda to your computer and use it in GitHub Desktop.
Save kybr/d216fcb53c9e2a3e44980b3624f19cda to your computer and use it in GitHub Desktop.
Vbap example crashes
ix $ ./run.sh allocore/examples/sound/vbap.cpp
RUN SCRIPT: Building file allocore/examples/sound/vbap.cpp.
Allosystem: GLV Library NOT found. Not building alloGLV.
Cuttlebone required to build AlloSphere. Not found!
Using AlloSystem Run facilties.
----Building /Users/ky/Teaching/MAT/201B/AlloSystem/allocore/examples/sound/vbap.cpp
Not building GLV and no usable GLV binary found. Not linking application to GLV
Not building alloGLV and no usable alloGLV binary found. Not linking application to alloGLV
Not building allocv and no usable allocv binary found. Not linking application to allocv
Not building allosphere and no usable allosphere binary found. Not linking application to allosphere
[ 3%] Built target cuttlebone
[ 15%] Built target Gamma
[ 79%] Built target allocore
[ 88%] Built target alloaudio
[ 98%] Built target alloutil
[100%] Built target allocore_examples_sound_vbap
[100%] Running: allocore_examples_sound_vbap
/bin/sh: line 1: 28511 Segmentation fault: 11 /Users/ky/Teaching/MAT/201B/AlloSystem/build/bin/allocore_examples_sound_vbap
make[3]: *** [CMakeFiles/allocore_examples_sound_vbap_run] Error 139
make[2]: *** [CMakeFiles/allocore_examples_sound_vbap_run.dir/all] Error 2
make[1]: *** [CMakeFiles/allocore_examples_sound_vbap_run.dir/rule] Error 2
make: *** [allocore_examples_sound_vbap_run] Error 2
...
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x68)
frame #0: 0x0000000100044614 allocore_examples_sound_vbap`al::Vbap::makePhantomChannel(int, std::__1::vector<int, std::__1::allocator<int> >) + 20
allocore_examples_sound_vbap`al::Vbap::makePhantomChannel:
-> 0x100044614 <+20>: movq 0x68(%r15), %rbx
0x100044618 <+24>: testq %rbx, %rbx
0x10004461b <+27>: je 0x100044661 ; <+97>
0x10004461d <+29>: leaq 0x68(%r15), %r14
Target 0: (allocore_examples_sound_vbap) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x68)
* frame #0: 0x0000000100044614 allocore_examples_sound_vbap`al::Vbap::makePhantomChannel(int, std::__1::vector<int, std::__1::allocator<int> >) + 20
frame #1: 0x0000000100008517 allocore_examples_sound_vbap`main + 1559
frame #2: 0x00007fff55d47015 libdyld.dylib`start + 1
frame #3: 0x00007fff55d47015 libdyld.dylib`start + 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment