Thread 1 "soffice.bin" hit Breakpoint 1, OStatement::executeQuery (this=0x555558c56560, _rSQL="SELECT * FROM \"Test2\" WHERE 0 = 1") at /home/julien/lo/libreoffice/dbaccess/source/core/api/statement.cxx:453 453 Reference< XResultSet > xInnerResultSet = m_xAggregateStatement->executeQuery( sSQL ); (gdb) bt #0 0x00007fffdddb148f in OStatement::executeQuery(rtl::OUString const&) (this=0x555558c56560, _rSQL="SELECT * FROM \"Test2\" WHERE 0 = 1") at /home/julien/lo/libreoffice/dbaccess/source/core/api/statement.cxx:453 #1 0x00007fffebed0eda in dbtools::collectColumnInformation(com::sun::star::uno::Reference const&, rtl::OUString const&, rtl::OUString const&, std::__debug::multimap, int>, comphelper::UStringMixLess, std::allocator, int> > > >&) (_xConnection= uno::Reference to (dbaccess::OConnection *) 0x5555586d1160, _sComposedName="\"Test2\"", _rName="*", _rInfo=std::__debug::multimap with 0 elements) at /home/julien/lo/libreoffice/connectivity/source/commontools/dbtools2.cxx:813 #2 0x00007fffebe5d314 in connectivity::OColumnsHelper::createObject(rtl::OUString const&) (this=0x555558b06e90, _rName="ID") at /home/julien/lo/libreoffice/connectivity/source/commontools/TColumnsHelper.cxx:92 #3 0x00007fffdddba47a in dbaccess::OColumns::createBaseObject(rtl::OUString const&) (this=0x555558b06e90, _rName="ID") at /home/julien/lo/libreoffice/dbaccess/source/core/inc/column.hxx:168 #4 0x00007fffdddb7d92 in dbaccess::ODBTable::createColumn(rtl::OUString const&) const (this=0x555558828ce0, _rName="ID") at /home/julien/lo/libreoffice/dbaccess/source/core/api/table.cxx:104 #5 0x00007fffddcb04bd in dbaccess::OColumns::createObject(rtl::OUString const&) (this=0x555558b06e90, _rName="ID") at /home/julien/lo/libreoffice/dbaccess/source/core/api/column.cxx:236 #6 0x00007fffebf396a2 in connectivity::sdbcx::OCollection::getObject(int) (this=0x555558b06e90, _nIndex=0) at /home/julien/lo/libreoffice/connectivity/source/sdbcx/VCollection.cxx:533 #7 0x00007fffebf37be3 in connectivity::sdbcx::OCollection::getByName(rtl::OUString const&) (this=0x555558b06e90, aName="ID") at /home/julien/lo/libreoffice/connectivity/source/sdbcx/VCollection.cxx:318 #8 0x00007fffebf05f2c in connectivity::OSQLParseTreeIterator::appendColumns(rtl::Reference > > const&, rtl::OUString const&, com::sun::star::uno::Reference const&) (this=0x5555581e7610, _rColumns=rtl::Reference to 0x555558270c00, _rTableAlias="Test2", _rTable=uno::Reference to (dbaccess::ODBTable *) 0x555558828e18) at /home/julien/lo/libreoffice/connectivity/source/parse/sqliterator.cxx:1546 #9 0x00007fffebf06a20 in connectivity::OSQLParseTreeIterator::setSelectColumnName(rtl::Reference > > const&, rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, bool, int, bool) (this=0x5555581e7610, _rColumns=rtl::Reference to 0x555558270c00, rColumnName="*", rColumnAlias="", rTableRange="", bFkt=false, _nType=12, bAggFkt=false) at /home/julien/lo/libreoffice/connectivity/source/parse/sqliterator.cxx:1579 #10 0x00007fffebf0223d in connectivity::OSQLParseTreeIterator::traverseSelectColumnNames(connectivity::OSQLParseNode const*) (this=0x5555581e7610, pSelectNode=0x5555587f1540) at /home/julien/lo/libreoffice/connectivity/source/parse/sqliterator.cxx:857 #11 0x00007fffebf05b46 in connectivity::OSQLParseTreeIterator::impl_traverse(connectivity::TraversalParts) (this=0x5555581e7610, _nIncludeMask=connectivity::TraversalParts::All) at /home/julien/lo/libreoffice/connectivity/source/parse/sqliterator.cxx:1482 #12 0x00007fffebf05a53 in connectivity::OSQLParseTreeIterator::traverseAll() (this=0x5555581e7610) at /home/julien/lo/libreoffice/connectivity/source/parse/sqliterator.cxx:1462 #13 0x00007fffddd8adae in (anonymous namespace)::checkForSingleSelect_throwError(connectivity::OSQLParseNode const*, connectivity::OSQLParseTreeIterator&, com::sun::star::uno::Reference const&, rtl::OUString const&) (pStatementNode=0x5555587f1540, _rIterator=..., _rxContext= uno::Reference to (dbaccess::OSingleSelectQueryComposer *) 0x5555581e7400, _rOriginatingCommand="SELECT * FROM \"Test2\"") at /home/julien/lo/libreoffice/dbaccess/source/core/api/SingleSelectQueryComposer.cxx:127 #14 0x00007fffddd8b081 in (anonymous namespace)::parseAndCheck_throwError(connectivity::OSQLParser&, rtl::OUString const&, connectivity::OSQLParseTreeIterator&, com::sun::star::uno::Reference const&) (_rParser=..., _rStatement="SELECT * FROM \"Test2\"", _rIterator=..., _rxContext=uno::Reference to (dbaccess::OSingleSelectQueryComposer *) 0x5555581e7400) at /home/julien/lo/libreoffice/dbaccess/source/core/api/SingleSelectQueryComposer.cxx:150 #15 0x00007fffddd8d5ad in dbaccess::OSingleSelectQueryComposer::setQuery_Impl(rtl::OUString const&) (this=0x5555581e7400, command="SELECT * FROM \"Test2\"") at /home/julien/lo/libreoffice/dbaccess/source/core/api/SingleSelectQueryComposer.cxx:395 ---Type to continue, or q to quit--- #16 0x00007fffddd8f98c in dbaccess::OSingleSelectQueryComposer::setElementaryQuery(rtl::OUString const&) (this=0x5555581e7400, _rElementary="SELECT * FROM \"Test2\"") at /home/julien/lo/libreoffice/dbaccess/source/core/api/SingleSelectQueryComposer.cxx:594 #17 0x00007fffddd8d295 in dbaccess::OSingleSelectQueryComposer::setCommand(rtl::OUString const&, int) (this=0x5555581e7400, Command="Test2", _nCommandType=0) at /home/julien/lo/libreoffice/dbaccess/source/core/api/SingleSelectQueryComposer.cxx:388 #18 0x00007fffdb8ab7e0 in dbaui::SbaXDataBrowserController::createParser_nothrow() (this=0x555558588850) at /home/julien/lo/libreoffice/dbaccess/source/ui/browser/brwctrlr.cxx:1717 #19 0x00007fffdb93358c in dbaui::SbaTableQueryBrowser::impl_sanitizeRowSetClauses_nothrow() (this=0x555558588850) at /home/julien/lo/libreoffice/dbaccess/source/ui/browser/unodatbr.cxx:407 #20 0x00007fffdb934382 in dbaui::SbaTableQueryBrowser::InitializeForm(com::sun::star::uno::Reference const&) (this=0x555558588850, i_formProperties=uno::Reference to (frm::ODatabaseForm *) 0x5555582e8328) at /home/julien/lo/libreoffice/dbaccess/source/ui/browser/unodatbr.cxx:545 #21 0x00007fffdb9404b9 in dbaui::SbaTableQueryBrowser::implLoadAnything(rtl::OUString const&, rtl::OUString const&, int, bool, utl::SharedUNOComponent const&) (this=0x555558588850, _rDataSourceName="file:///home/julien/lo/bugs/119431_hsql/wrapperdb.odb", _rCommand="Test2", _nCommandType=0, _bEscapeProcessing=true, _rxConnection=...) at /home/julien/lo/libreoffice/dbaccess/source/ui/browser/unodatbr.cxx:2342 #22 0x00007fffdb941fa6 in dbaui::SbaTableQueryBrowser::implSelect(SvTreeListEntry*) (this=0x555558588850, _pEntry=0x555558825140) at /home/julien/lo/libreoffice/dbaccess/source/ui/browser/unodatbr.cxx:2640 #23 0x00007fffdb940c3e in dbaui::SbaTableQueryBrowser::implSelect(rtl::OUString const&, rtl::OUString const&, int, bool, utl::SharedUNOComponent const&, bool) (this=0x555558588850, _rDataSourceName="file:///home/julien/lo/bugs/119431_hsql/wrapperdb.odb", _rCommand="Test2", _nCommandType=0, _bEscapeProcessing=true, _rxConnection=..., _bSelectDirect=true) at /home/julien/lo/libreoffice/dbaccess/source/ui/browser/unodatbr.cxx:2413 #24 0x00007fffdb945139 in dbaui::SbaTableQueryBrowser::impl_initialize() (this=0x555558588850) at /home/julien/lo/libreoffice/dbaccess/source/ui/browser/unodatbr.cxx:3183 #25 0x00007fffdb8ee0d5 in dbaui::OGenericUnoController::initialize(com::sun::star::uno::Sequence const&) (this=0x555558588850, aArguments= uno::Sequence of length 17 = {...}) at /home/julien/lo/libreoffice/dbaccess/source/ui/browser/genericcontroller.cxx:269 #26 0x00007fffdb8c64f3 in DBContentLoader::load(com::sun::star::uno::Reference const&, rtl::OUString const&, com::sun::star::uno::Sequence const&, com::sun::star::uno::Reference const&) (this=0x5555582f82e0, rFrame= uno::Reference to ((anonymous namespace)::Frame *) 0x55555870e1c0, rURL=".component:DB/DataSourceBrowser", rArgs=uno::Sequence of length 16 = {...}, rListener=uno::Reference to (framework::LoadEnvListener *) 0x5555582f3fa8) at /home/julien/lo/libreoffice/dbaccess/source/ui/browser/dbloader.cxx:270 #27 0x00007fffded8cc43 in framework::LoadEnv::impl_loadContent() (this=0x7fffffff1090) at /home/julien/lo/libreoffice/framework/source/loadenv/loadenv.cxx:1143 #28 0x00007fffded88adb in framework::LoadEnv::startLoading() (this=0x7fffffff1090) at /home/julien/lo/libreoffice/framework/source/loadenv/loadenv.cxx:383 #29 0x00007fffded87567 in framework::LoadEnv::loadComponentFromURL(com::sun::star::uno::Reference const&, com::sun::star::uno::Reference const&, rtl::OUString const&, rtl::OUString const&, int, com::sun::star::uno::Sequence const&) (xLoader=uno::Reference to ((anonymous namespace)::Frame *) 0x55555870e1f8, xContext= uno::Reference to (cppu::ComponentContext *) 0x555555667540, sURL=".component:DB/DataSourceBrowser", sTarget="_self", nSearchFlags=0, lArgs=uno::Sequence of length 9 = {...}) at /home/julien/lo/libreoffice/framework/source/loadenv/loadenv.cxx:169 #30 0x00007fffdedd6b7f in (anonymous namespace)::Frame::loadComponentFromURL(rtl::OUString const&, rtl::OUString const&, sal_Int32, com::sun::star::uno::Sequence const&) (this=0x55555870e150, sURL=".component:DB/DataSourceBrowser", sTargetFrameName="_self", nSearchFlags=0, lArguments=uno::Sequence of length 9 = {...}) at /home/julien/lo/libreoffice/framework/source/services/frame.cxx:587 #31 0x00007fffdba7f073 in dbaui::DatabaseObjectView::doDispatch(comphelper::NamedValueCollection const&) (this=0x555558adef20, i_rDispatchArgs=...) at /home/julien/lo/libreoffice/dbaccess/source/ui/misc/databaseobjectview.cxx:138 #32 0x00007fffdba7eb39 in dbaui::DatabaseObjectView::doCreateView(com::sun::star::uno::Any const&, rtl::OUString const&, comphelper::NamedValueCollection const&) (this=0x555558adef20, _rDataSource=uno::Any("string": "file:///home/julien/lo/bugs/119431_hsql/wrapperdb.odb"), _rObjectName="Test2", i_rCreationArgs=...) at /home/julien/lo/libreoffice/dbaccess/source/ui/misc/databaseobjectview.cxx:95 #33 0x00007fffdba7ea7f in dbaui::DatabaseObjectView::openExisting(com::sun::star::uno::Any const&, rtl::OUString const&, comphelper::NamedValueCollection const&) (this=0x555558---Type to continue, or q to quit--- adef20, _rDataSource=uno::Any("string": "file:///home/julien/lo/bugs/119431_hsql/wrapperdb.odb"), _rName="Test2", i_rDispatchArgs=...) at /home/julien/lo/libreoffice/dbaccess/source/ui/misc/databaseobjectview.cxx:83 #34 0x00007fffdb82c96a in dbaui::OApplicationController::openElementWithArguments(rtl::OUString const&, dbaui::ElementType, dbaui::ElementOpenMode, unsigned short, comphelper::NamedValueCollection const&) (this=0x555557ab5950, _sName="Test2", _eType=dbaui::E_TABLE, _eOpenMode=dbaui::E_OPEN_NORMAL, _nInstigatorCommand=0, _rAdditionalArguments=...) at /home/julien/lo/libreoffice/dbaccess/source/ui/app/AppController.cxx:1856 #35 0x00007fffdb82bdcd in dbaui::OApplicationController::onEntryDoubleClick(SvTreeListBox const&) (this=0x555557ab5950, _rTree=...) at /home/julien/lo/libreoffice/dbaccess/source/ui/app/AppController.cxx:1720 #36 0x00007fffdb872589 in dbaui::OAppDetailPageHelper::OnEntryDoubleClick(SvTreeListBox*) (this=0x555557b59970, _pTree=0x55555800a1b0) at /home/julien/lo/libreoffice/dbaccess/source/ui/app/AppDetailPageHelper.cxx:890 #37 0x00007fffdb87250b in dbaui::OAppDetailPageHelper::LinkStubOnEntryDoubleClick(void*, SvTreeListBox*) (instance=0x555557b59970, data=0x55555800a1b0) at /home/julien/lo/libreoffice/dbaccess/source/ui/app/AppDetailPageHelper.cxx:887 #38 0x00007fffdb9667dd in Link::Call(SvTreeListBox*) const (this=0x55555800a5a0, data=0x55555800a1b0) at /home/julien/lo/libreoffice/include/tools/link.hxx:84 #39 0x00007fffdb964618 in dbaui::DBTreeListBox::DoubleClickHdl() (this=0x55555800a1b0) at /home/julien/lo/libreoffice/dbaccess/source/ui/control/dbtreelistbox.cxx:386 #40 0x00007ffff2845b1e in SvImpLBox::MouseButtonDown(MouseEvent const&) (this=0x555558779f00, rMEvt=...) at /home/julien/lo/libreoffice/svtools/source/contnr/svimpbox.cxx:2024 #41 0x00007ffff2881ff2 in SvTreeListBox::MouseButtonDown(MouseEvent const&) (this=0x55555800a1b0, rMEvt=...) at /home/julien/lo/libreoffice/svtools/source/contnr/treelistbox.cxx:2358 #42 0x00007fffdb963934 in dbaui::DBTreeListBox::MouseButtonDown(MouseEvent const&) (this=0x55555800a1b0, rMEvt=...) at /home/julien/lo/libreoffice/dbaccess/source/ui/control/dbtreelistbox.cxx:177 #43 0x00007ffff0a39662 in ImplHandleMouseEvent(VclPtr const&, MouseNotifyEvent, bool, long, long, unsigned long, unsigned short, MouseEventModifiers) (xWindow=..., nSVEvent=MouseNotifyEvent::MOUSEBUTTONDOWN, bMouseLeave=false, nX=205, nY=365, nMsgTime=54147028, nCode=1, nMode=(MouseEventModifiers::SIMPLECLICK | MouseEventModifiers::SELECT)) at /home/julien/lo/libreoffice/vcl/source/window/winproc.cxx:699 #44 0x00007ffff0a3e17f in ImplHandleSalMouseButtonDown(vcl::Window*, SalMouseEvent const*) (pWindow=0x5555579d8890, pEvent=0x7fffffff1fc0) at /home/julien/lo/libreoffice/vcl/source/window/winproc.cxx:1982 #45 0x00007ffff0a3f2b3 in ImplWindowFrameProc(vcl::Window*, SalEvent, void const*) (_pWindow=0x5555579d8890, nEvent=SalEvent::MouseButtonDown, pEvent=0x7fffffff1fc0) at /home/julien/lo/libreoffice/vcl/source/window/winproc.cxx:2316 #46 0x00007fffe56af766 in SalFrame::CallCallback(SalEvent, void const*) const (this=0x5555579d91f0, nEvent=SalEvent::MouseButtonDown, pEvent=0x7fffffff1fc0) at /home/julien/lo/libreoffice/vcl/inc/salframe.hxx:280 #47 0x00007fffe56aeb1c in GtkSalFrame::CallCallbackExc(SalEvent, void const*) const (this=0x5555579d91f0, nEvent=SalEvent::MouseButtonDown, pEvent=0x7fffffff1fc0) at /home/julien/lo/libreoffice/vcl/unx/gtk3/gtk3gtkframe.cxx:4477 #48 0x00007fffe56a933f in GtkSalFrame::signalButton(_GtkWidget*, _GdkEventButton*, void*) (pEvent=0x555557f03c90, frame=0x5555579d91f0) at /home/julien/lo/libreoffice/vcl/unx/gtk3/gtk3gtkframe.cxx:2690 #49 0x00007fffe51ab19b in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 #50 0x00007fffeb04db6d in g_closure_invoke () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #51 0x00007fffeb0608f3 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #52 0x00007fffeb068f43 in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #53 0x00007fffeb069ecf in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #54 0x00007fffe51593e4 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 #55 0x00007fffe501a0f6 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 #56 0x00007fffe501c213 in gtk_main_do_event () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 #57 0x00007fffe4d1d2a5 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 ---Type to continue, or q to quit--- #58 0x00007fffe4d78042 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #59 0x00007fffeaf6dc3e in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #60 0x00007fffeaf6ded8 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #61 0x00007fffeaf6df6c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #62 0x00007fffe55ea7ce in GtkSalData::Yield(bool, bool) (this=0x555555644760, bWait=true, bHandleAllCurrentEvents=false) at /home/julien/lo/libreoffice/vcl/unx/gtk3/gtk3gtkdata.cxx:463 #63 0x00007fffe55edf00 in GtkInstance::DoYield(bool, bool) (this=0x5555556553e0, bWait=true, bHandleAllCurrentEvents=false) at /home/julien/lo/libreoffice/vcl/unx/gtk3/../gtk/gtkinst.cxx:406 #64 0x00007ffff0ef24c9 in ImplYield(bool, bool) (i_bWait=true, i_bAllEvents=false) at /home/julien/lo/libreoffice/vcl/source/app/svapp.cxx:468 #65 0x00007ffff0ef29eb in Application::Yield() () at /home/julien/lo/libreoffice/vcl/source/app/svapp.cxx:532 #66 0x00007ffff0ef22c1 in Application::Execute() () at /home/julien/lo/libreoffice/vcl/source/app/svapp.cxx:449 #67 0x00007ffff7d61af4 in desktop::Desktop::Main() (this=0x7fffffff2e70) at /home/julien/lo/libreoffice/desktop/source/app/app.cxx:1635 #68 0x00007ffff0f08fc1 in ImplSVMain() () at /home/julien/lo/libreoffice/vcl/source/app/svmain.cxx:199 #69 0x00007ffff0f090e6 in SVMain() () at /home/julien/lo/libreoffice/vcl/source/app/svmain.cxx:233 #70 0x00007ffff7db78a7 in soffice_main() () at /home/julien/lo/libreoffice/desktop/source/app/sofficemain.cxx:169 #71 0x000055555555484b in sal_main () at /home/julien/lo/libreoffice/desktop/source/app/main.c:48 #72 0x000055555555484b in main (argc=, argv=) at /home/julien/lo/libreoffice/desktop/source/app/main.c:47 (gdb) list 448 disposeResultSet(); 449 Reference< XResultSet > xResultSet; 450 451 OUString sSQL( impl_doEscapeProcessing_nothrow( _rSQL ) ); 452 453 Reference< XResultSet > xInnerResultSet = m_xAggregateStatement->executeQuery( sSQL ); 454 Reference< XConnection > xConnection( m_xParent, UNO_QUERY_THROW ); 455 456 if ( xInnerResultSet.is() ) 457 { (gdb) p m_xAggregateStatement $1 = uno::Reference to (com::sun::star::uno::XInterface *) 0x55555880f3b8 (gdb) p *m_xAggregateStatement Cannot resolve function operator* to any overloaded instance (gdb) p sSQL $2 = "SELECT * FROM \"Test2\" WHERE 0 = 1" (gdb) p m_xAggregateStatement.is() $3 = true (gdb) s com::sun::star::uno::Reference::operator-> (this=0x555558c56698) at /home/julien/lo/libreoffice/include/com/sun/star/uno/Reference.h:420 420 assert(_pInterface != NULL); (gdb) p _pInterface $4 = (com::sun::star::uno::XInterface *) 0x55555880f3b8 (gdb) n 421 return castFromXInterface(_pInterface); (gdb) n 422 } (gdb) s OStatement::executeQuery (this=0x555558c56560, _rSQL="SELECT * FROM \"Test2\" WHERE 0 = 1") at /home/julien/lo/libreoffice/dbaccess/source/core/api/statement.cxx:453 453 Reference< XResultSet > xInnerResultSet = m_xAggregateStatement->executeQuery( sSQL ); (gdb) s Thread 1 "soffice.bin" received signal SIGSEGV, Segmentation fault. 0x00007ffff1e3338c in std::type_info::name (this=0x0) at /usr/include/c++/8/typeinfo:100 100 { return __name[0] == '*' ? __name + 1 : __name; } (gdb)