<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed><type>rich</type><version>1.0</version><provider_name>phorkie</provider_name><provider_url>https://p.cweiske.de/</provider_url><title>backtrace for https://github.com/airtame/airtame-cli/issues/7</title><author_name>Christian Weiske</author_name><cache_age>86400</cache_age><width>900</width><height>900</height><html>&lt;!-- embedding all files of https://p.cweiske.de/195 --&gt;
&lt;link rel="stylesheet" href="https://p.cweiske.de/css/embed.css"/&gt;
&lt;div class="phork" id="195"&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  &lt;div class="code"&gt;&lt;pre class="txt"&gt;[New Thread 0x7ffff70e2700 (LWP 10698)]&#13;
Searching for device: airtame-cweiske&#13;
&#13;
Program received signal SIGSEGV, Segmentation fault.&#13;
[Switching to Thread 0x7ffff70e2700 (LWP 10698)]&#13;
0x000000000040606c in channel_multicast_monitor_ifs (channel=0x7ffff70e1d90, changed=0x7ffff70df794)&#13;
    at /home/cweiske/compilethings/airtame-cli/src/channel.c:370&#13;
370	        if (cursor-&amp;gt;ifa_addr-&amp;gt;sa_family != AF_INET&#13;
(gdb) bt full&#13;
#0  0x000000000040606c in channel_multicast_monitor_ifs (channel=0x7ffff70e1d90, changed=0x7ffff70df794)&#13;
    at /home/cweiske/compilethings/airtame-cli/src/channel.c:370&#13;
        match = 1&#13;
        prev_addrs = 0x7ffff0002250&#13;
        cursor = 0x7ffff0002ef0&#13;
        prev_cursor = 0x7ffff0002250&#13;
#1  0x00000000004057fa in ssdp_handle (ssdp=0x7ffff70e13b0) at /home/cweiske/compilethings/airtame-cli/src/ssdp.c:225&#13;
        rc = 0&#13;
        curr_sock = -1&#13;
        ifs_changed = 0&#13;
        buff = '\000' &amp;lt;repeats 1500 times&amp;gt;&#13;
        o = {req = 0 '\000', ip = 0x0, port = 0, &#13;
          cache = '\000' &amp;lt;repeats 38 times&amp;gt;, &amp;quot;\064\000\000\000\000\000\000\000\301\001\362\b\000\200\377\377\004\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\061\000\000\000\000\000\000\000@\376\r\367\377\177&amp;quot;, '\000' &amp;lt;repeats 14 times&amp;gt;, &amp;quot;[&amp;quot;, '\000' &amp;lt;repeats 19 times&amp;gt;, &amp;quot;n\000\000\000w&amp;quot;, '\000' &amp;lt;repeats 11 times&amp;gt;, &amp;quot;?\376\r\367\377\177&amp;quot;, '\000' &amp;lt;repeats 18 times&amp;gt;, &amp;quot;|&amp;quot;, '\000' &amp;lt;repeats 55 times&amp;gt;..., &#13;
          location = &amp;quot;\002\000\254\021*\001\f\000\003\000docker0\000\b\000\b\000\200\000\000\000\024\000\006\000\377\377\377\377\377\377\377\377\200\a\000\000\200\a\000\000X\000\000\000\024\000\002\000&amp;lt;\&amp;quot;lU\306)\000\000\002\024\200\000\b\000\000\000\b\000\001\000\nXq|\b\000\002\000\nXq|\b\000\004\000\nX\177\377\t\000\003\000vpn0\000\000\000\000\b\000\b\000\200\000\000\000\024\000\006\000\377\377\377\377\377\377\377\377t\&amp;quot;\217\000t\&amp;quot;\217&amp;quot;, '\000' &amp;lt;repeats 149 times&amp;gt;..., server = &amp;quot;\000\000\200:\t\000\200Q\001\000\003\000\000\000X\002\000\000\020\000\000\000\000\000\000\000\001\000\000\000\001\000\000\000\001\000\000\000`\352&amp;quot;, '\000' &amp;lt;repeats 26 times&amp;gt;, &amp;quot;\001&amp;quot;, '\000' &amp;lt;repeats 11 times&amp;gt;, &amp;quot;\020'\000\000\350\003\000\000\001\000\000\000\000\000\000\000$\001\003\000$&amp;quot;, '\000' &amp;lt;repeats 287 times&amp;gt;..., &#13;
          usn = &amp;quot;\003\000vpn0\000\000\000\000\b\000\r\000\364\001\000\000\005\000\020\000\006\000\000\000\005\000\021\000\000\000\000\000\b\000\004\000~\005\000\000\b\000\033\000\000\000\000\000\b\000\036\000\000\000\000\000\b\000\037\000\001\000\000\000\b\000 \000\001\000\000\000\005\000!\000\001\000\000\000\017\000\006\000pfifo_fast\000\000\b\000#\000\002\000\000\000$\000\016&amp;quot;, '\000' &amp;lt;repeats 33 times&amp;gt;, &amp;quot;`\000\a\000\001\000\000\000I\000\000\000\200\000\000\000\255\062&amp;quot;, '\000' &amp;lt;repeats 78 times&amp;gt;..., &#13;
          nts = &amp;quot;\016\367\377\177&amp;quot;, '\000' &amp;lt;repeats 18 times&amp;gt;, &amp;quot;@\006\016\367\377\177&amp;quot;, '\000' &amp;lt;repeats 30 times&amp;gt;, &amp;quot;\377\377\377\377&amp;quot;, '\000' &amp;lt;repeats 16 times&amp;gt;, &amp;quot;\377\377\000\000t\&amp;quot;\217&amp;quot;, '\000' &amp;lt;repeats 21 times&amp;gt;, &amp;quot;\377\177\000\000\f&amp;quot;, '\000' &amp;lt;repeats 11 times&amp;gt;, &amp;quot;\001&amp;quot;, '\000' &amp;lt;repeats 27 times&amp;gt;, &amp;quot;\003\000\000\000X\002\000\000\377\377\377\377\377\377\377\377\f\000\000\000\000\000\000\000\003\000\000\000`\352 &amp;quot;, '\000' &amp;lt;repeats 17 times&amp;gt;, &amp;quot;\063~&amp;quot;..., &#13;
          nt = '\000' &amp;lt;repeats 26 times&amp;gt;, &amp;quot;\064\000\006\000\006&amp;quot;, '\000' &amp;lt;repeats 47 times&amp;gt;, &amp;quot;\024\000\a&amp;quot;, '\000' &amp;lt;repeats 17 times&amp;gt;, &amp;quot;\005\000\b\000\000\000\000\000;\&amp;quot;lU\306)\000\000\000\000\001\000\003\000\000\000\002\020\000\000\000\000\000\000\n\000\003\000wlan0\000\000\000\b\000\r\000\350\003\000\000\005\000\020\000\002\000\000\000\005\000\021\000\000\000\000\000\b\000\004\000\334\005\000\000\b\000\033\000\000\000\000\000\b\000\036\000\000\000\000\000\b\000\037\000\004\000\000\000\b\000&amp;quot;..., &#13;
          st = '\000' &amp;lt;repeats 78 times&amp;gt;, &amp;quot;\234\002\032\000x\000\002\000t\000\001\000\001&amp;quot;, '\000' &amp;lt;repeats 11 times&amp;gt;, &amp;quot;\001\000\000\000\001\000\000\000\001\000\000\000\001\000\000\000\001\000\000\000\001&amp;quot;, '\000' &amp;lt;repeats 71 times&amp;gt;, &amp;quot;\020'\000\000\350\003&amp;quot;..., &#13;
          man = &amp;quot;\000\000\001\000\000\000\377\177\000\000\310\341\377\367\377\177\000\000\377\377\377\377\377\377\377\377@\r\016\367\377\177\000\000\377\377\377\377\377\377\377\377&amp;quot;, '\000' &amp;lt;repeats 16 times&amp;gt;, &amp;quot; \345\377\367\377\177\000\000\260\v\016\367\377\177\000\000\240\v\016\367\377\177\000\000r\372\201\033\000\000\000\000~\030@\000\000\000\000\000\377\377\377\377&amp;quot;, '\000' &amp;lt;repeats 12 times&amp;gt;, &amp;quot;\200Y\233\367\377\177\000\000\030z\377\367\377\177\000\000\377\377\377\377\377\377\377\377&amp;quot;, '\000' &amp;lt;repeats 24 times&amp;gt;, &amp;quot;\377\377\377\377\064\000\006\000\006&amp;quot;, '\000' &amp;lt;repeats 15 times&amp;gt;, &amp;quot;`gz\367\377\177&amp;quot;, '\000' &amp;lt;repeats 18 times---Type &amp;lt;return&amp;gt; to continue, or q &amp;lt;return&amp;gt; to quit---&#13;
&amp;gt;..., &#13;
          name = &amp;quot;?\367\377\177\000\000[\230\327\003\005\000\000\000M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: \&amp;quot;ssdp:discover\&amp;quot;\r\nMX: 5\r\nST: airtame:recv\r\nUSER-AGENT: Dummy/1.0 UPnP/1.1 AirTame-SSDP/1.0\r\n\r\n\000\000\000\000\000\210\025\375\367\377\177\000\000\005\000\000\000\000\000\000\000\234&amp;gt;\336\367\377\177\000\000\001\000\000\000\377\177\000\000\221\t&amp;quot;..., &#13;
          security = &amp;quot;\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\310\341\377\367\377\177\000\000p\017\016\367\377\177\000\000`\017\016\367\377\177\000\000\221\t\a\020\000\000\000\000:\032@&amp;quot;, '\000' &amp;lt;repeats 13 times&amp;gt;, &amp;quot; \345\377\367\377\177\000\000\240\017\016\367\377\177\000\000\220\017\016\367\377\177\000\000/\275\256\261\000\000\000\000\233\031@\000\000\000\000\000\377\377\377\377\000\000\000\000\264\t\000\000\000\000\000\000\300\061?\367\377\177\000\000\350$\375\367\377\177\000\000\272)\000\360\377\177\000\000\306)\000\000\377\177\000\000\340\035\016\367\377\177\000\000P!\000\360\377\177\000\000H\000\000\000\000\000\000\000\220\241`&amp;quot;, '\000' &amp;lt;repeats 21 times&amp;gt;...}&#13;
#2  0x00000000004033b4 in ssdp_main_thread (user=0x0) at /home/cweiske/compilethings/airtame-cli/src/main.c:176&#13;
        ssdp = {notify_callback = 0x403109 &amp;lt;ssdp_notify_callback&amp;gt;, resp_callback = 0x40318c &amp;lt;ssdp_resp_callback&amp;gt;, network_notify_callback = 0x0, &#13;
          service = '\000' &amp;lt;repeats 499 times&amp;gt;, location = '\000' &amp;lt;repeats 499 times&amp;gt;, usn = '\000' &amp;lt;repeats 499 times&amp;gt;, name = '\000' &amp;lt;repeats 499 times&amp;gt;, &#13;
          security = '\000' &amp;lt;repeats 144 times&amp;gt;, &amp;quot;\234&amp;gt;\336\367\377\177\000\000\000\000\000\000\000\000\000\000\227\201B\250\000\000\000\000\004\000\000\000\000\000\000\000\a\000\000\000\000\000\000\000@\020\375\367\377\177\000\000\026H\336\367\377\177\000\000\000\000\000\000\000\000\000\000&amp;quot;..., sockets = {{&#13;
              id = 0, fd = 4, fds = {4, 5, 0 &amp;lt;repeats 14 times&amp;gt;}, used_fds = 2, addrs = 0x7ffff0002c10, addr = {sin_family = 2, sin_port = 27655, &#13;
                sin_addr = {s_addr = 0}, sin_zero = &amp;quot;\000\000\000\000\000\000\000&amp;quot;}, client = {sin_family = 2, sin_port = 27655, sin_addr = {&#13;
                  s_addr = 4211081199}, sin_zero = &amp;quot;\000\000\000\000\000\000\000&amp;quot;}, port = 0, msg_id = 0, maxfd = 4}, {id = 0, fd = 6, fds = {&#13;
                0 &amp;lt;repeats 16 times&amp;gt;}, used_fds = 0, addrs = 0x0, addr = {sin_family = 2, sin_port = 27911, sin_addr = {s_addr = 0}, &#13;
                sin_zero = &amp;quot;\000\000\000\000\000\000\000&amp;quot;}, client = {sin_family = 0, sin_port = 0, sin_addr = {s_addr = 0}, &#13;
                sin_zero = &amp;quot;\000\000\000\000\000\000\000&amp;quot;}, port = 1901, msg_id = 0, maxfd = 6}}, last_multicast_msg = 1433150011, last_monitor_handle = 24, &#13;
          broadcast_enabled = 0 '\000', user = 0x0}&#13;
        ssdp_last_announce = 0&#13;
        usn = &amp;quot;uuid:&amp;quot;, '\000' &amp;lt;repeats 194 times&amp;gt;&#13;
        uuid = '\000' &amp;lt;repeats 99 times&amp;gt;&#13;
        len = 0&#13;
        r = 0&#13;
#3  0x00007ffff79bb182 in start_thread (arg=0x7ffff70e2700) at pthread_create.c:312&#13;
        __res = &amp;lt;optimized out&amp;gt;&#13;
        pd = 0x7ffff70e2700&#13;
        now = &amp;lt;optimized out&amp;gt;&#13;
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737338287872, -7922955034130786723, 1, 0, 140737338288576, 140737338287872, 7922935946259846749, &#13;
                7922937203119347293}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}&#13;
        not_first_call = &amp;lt;optimized out&amp;gt;&#13;
        pagesize_m1 = &amp;lt;optimized out&amp;gt;&#13;
        sp = &amp;lt;optimized out&amp;gt;&#13;
        freesize = &amp;lt;optimized out&amp;gt;&#13;
        __PRETTY_FUNCTION__ = &amp;quot;start_thread&amp;quot;&#13;
#4  0x00007ffff74e347d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111&#13;
---Type &amp;lt;return&amp;gt; to continue, or q &amp;lt;return&amp;gt; to quit---&#13;
No locals.&#13;
&lt;/pre&gt;&lt;/div&gt;

 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/195/rev-raw/fcd2d684b1ac3b8df9aa6904a779a3ec1a84b1fd/backtrace.txt" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/195#backtrace.txt"&gt;backtrace.txt&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</html></oembed>
