[Libreoffice-bugs] [Bug 114702] Loop executing direct SQL

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Dec 26 21:03:16 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=114702

--- Comment #1 from Terrence Enger <lo_bugs at iseries-guru.com> ---
Created attachment 138665
  --> https://bugs.documentfoundation.org/attachment.cgi?id=138665&action=edit
excerpt from gdb: info threads; backtrace

Looking further, I see a long running loop between
dbaccess/source/ui/dlg/directsql.cxx statements 207 and 209:

                   +-- uno::Reference to (OStatement *) 0x5555573072e8
                   |  +-- com::sun::star::uno::Reference<com::sun::star
                   |  |  ::sdbc::XMultipleResults>::operator->
                   |  |  return value = (OStatement *) 0x555557307210
                   |  | +-- OStatementBase::getMoreResults
                   |  | |   return value = 0 '\000'
                   |  | |
207: while ((hasRS=xMR->getMoreResults()) || (xMR->getUpdateCount() != -1))
                                                 | |
       com::sun::star::uno::Reference<com::sun --+ |
       ::star::sdbc::XMultipleResults>             |
       ::operator->                                |
       return value =                              |
       (OStatement *) 0x555557307210               |
                  OStatementBase::getUpdateCount --+
                  return value = 0

208: {
209:     if(hasRS)
            | 
            +-- false
210:     {
...   
214:     }
215: }


This information is from a local build of 68f7d89c, 2017-12-11,
configured
    CC=ccache /usr/bin/gcc
    CXX=ccache /usr/bin/g++
    --enable-option-checking=fatal
    --enable-dbgutil
    --enable-debug
    --without-system-postgresql
    --without-myspell-dicts
    --with-extra-buildid
    --without-doxygen
    --with-external-tar=/home/terry/lo_hacking/git/src
    --without-package-format
built and running of debian-buster.

I am setting keyword haveBacktrace.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171226/21307b7d/attachment.html>


More information about the Libreoffice-bugs mailing list