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

--- Comment #2 from himajin100...@gmail.com ---
Similar problem is reported on Japanese ask.libreoffice.org

https://ask.libreoffice.org/ja/question/171031/libreoffice-writer-6062-detabesunojiao-huan-huairunozhong-lei/

Though I did not know enough about the cause, only as a tentative patch , I
applied the following modification on my environment as given in the
forementioned forum, and now I see no errors.

1. comment-out the following three lines in void
SbaTableQueryBrowser::unloadAndCleanup( bool _bDisposeConnection )

Reference< XLoadable > xLoadable = getLoadable();
if (xLoadable->isLoaded())
     xLoadable->unload();

2. explicitly specify false as the parameter of unloadAndCleanup, and avoid
relying on default parameter true
https://opengrok.libreoffice.org/xref/core/dbaccess/source/ui/browser/unodatbr.cxx?r=6311f7ff#3708

so that disposeConnection is not executed.
https://opengrok.libreoffice.org/xref/core/dbaccess/source/ui/browser/unodatbr.cxx?r=6311f7ff#2982

3. comment out the following three lines

https://opengrok.libreoffice.org/xref/core/dbaccess/source/ui/browser/unodatbr.cxx?r=6311f7ff#3731

DBTreeListUserData* pData = static_cast< DBTreeListUserData* >(
pDataSourceEntry->GetUserData() );
pDataSourceEntry->SetUserData( nullptr );
delete pData;

by doing all these three, LibreOffice stopped running
FPreaparedStatement::close

I'm not going to submit the patch myself for the inadequate understanding. I
would be happy if someone helps me.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to