<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - libreoffice-5.2.2.2 AVG function produces SQL syntax error in query design view"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=103736#c25">Comment # 25</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - libreoffice-5.2.2.2 AVG function produces SQL syntax error in query design view"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=103736">bug 103736</a>
              from <span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span></b>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=141180" name="attach_141180" title="bt + gdb traces">attachment 141180</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=141180&action=edit" title="bt + gdb traces">[details]</a></span>
bt + gdb traces

On gdb, I did a ctrl-C when error message box appeared.
Then I used:
thread apply all bt
and finally got this bt

Pb is in OQueryController::translateStatement (see
<a href="https://opengrok.libreoffice.org/xref/core/dbaccess/source/ui/querydesign/querycontroller.cxx#1683">https://opengrok.libreoffice.org/xref/core/dbaccess/source/ui/querydesign/querycontroller.cxx#1683</a>)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>