title: Problem when move the implementation from built-in to dll
body: <p>I've a function as follwing:</p>
  <p>void function()</p>
  <p>{</p>
  <pre><code>// open tcp port
  </code></pre>
  <p>}</p>
  <p>Sorry but I can't post my source code here.</p>
  <p>It work fine when I call this function from main, and when I try to move this function into a dll, it work okay on window and linux, but got crash on arm (signal 11 (Segmentation fault) - core dumped),
  I tried to use gdb but the backtrace are insufficient information for me to trace.</p>
  <pre><code>Thread 5 &quot;xxx&quot; received signal SIGSEGV, Segmentation fault.
  [Switching to LWP 23448]
  0x00000000600c3cf9 in ?? ()
  (gdb) bt
  #0  0x00000000600c3cf9 in ?? ()
  #1  0x0000000000000000 in ?? ()
  </code></pre>
  <p>Is there anyone have experience in this case ?</p>
  <p>Thank you all in advance!</p>