<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - xkb crash when iterating xcb_xkb_get_map() data."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=57022#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - xkb crash when iterating xcb_xkb_get_map() data."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=57022">bug 57022</a>
              from <span class="vcard"><a class="email" href="mailto:psychon@znc.in" title="Uli Schlachter <psychon@znc.in>"> <span class="fn">Uli Schlachter</span></a>
</span></b>
        <pre>Who is the local XKB expert?

The call to xcb_xkb_get_map_map() seems to be guilty. This function just
returns a pointer past the given map_reply. Your sample code then casts this to
(xcb_xkb_get_map_map_t *) which is a struct that contains pointers. Obviously,
this cannot work.
However, I don't know how this is supposed to work (and the API docs suggest
that this is indeed used correctly, the doxygen comment for
xcb_xkb_get_map_map() says it returns a xcb_xkb_get_map_map_t *)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>