<div dir="ltr"><div><div><div><div><div>I&#39;m running stk under 64-bit Ubuntu 14.04 on an AMD CPU.  Audio interface is Focusrite Scarlett 2i2.<br><br></div>I&#39;ve started making some mods to the duplex.cpp to try to work my way up to clean audio.  My previous post/thread notes several variations of behavior when I use duplex and audioprobe.<br><br></div>This seg fault happens on the first call to inout in duplex.cpp:<br><br>Running ... press &lt;enter&gt; to quit (buffer frames = 512).<br>[Switching to Thread 0x7fffeffc5700 (LWP 31167)]<br><br>Breakpoint 1, inout (outputBuffer=0x63cee0, inputBuffer=0x63eef0, nBufferFrames=512, streamTime=0, status=0, <br>    data=0x7fffffffdda0) at duplex.cpp:53<br>53    {<br>(gdb) n<br>56      if ( status ) std::cout &lt;&lt; &quot;Stream over/underflow detected.&quot; &lt;&lt; std::endl;<br>(gdb) n<br>59      memcpy( outputBuffer, inputBuffer, *bytes );<br>(gdb) n<br><br>Program received signal SIGSEGV, Segmentation fault.<br>__memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:36<br>36    ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: No such file or directory.<br>====================<br><br></div>I&#39;m looking into things like explicit alignment for the buffer.  Any clues as to what is going on here welcomed!<br><br></div>Thx,<br><br></div>GSW<br></div>