[Libreoffice-bugs] [Bug 121951] Fatal error with mailmerge
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Dec 7 10:48:12 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=121951
--- Comment #2 from himajin100000 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181207/055aea3e/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list