https://bugs.documentfoundation.org/show_bug.cgi?id=96914
Bug ID: 96914
Summary: MAILMERGE crash on first run after DB registration
Product: LibreOffice
Version: 4.2 all versions
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
I'm using the documents attached to bug 93565 for my test.
Actually I found the crash when debugging and fixing it.
Steps to reproduce:
1. Open the odt
2. Register the ods as the database using the MM wizard step 3 using the
"Select different address list" button. Then cancel the wizard.
This way the DB is registered as an EmbeddedDatabase.
3. Run a mail merge via File => Print ...
4. Observe the crash
The crash doesn't happen the 2nd time with an already registered DB.
The crashing state can be easily restored by opening the "data sources" (F4) ->
Right click -> "registered databases..." -> delete the database
"1247_TabAttestati", or removing the user profile.
For me the crash happens in line
~/Development/libreoffice/symbols/sw/source/uibase/dbui/dbmgr.cxx:1040
nStartRow = pImpl->pMergeData ? pImpl->pMergeData->xResultSet->getRow() : 0;
bibisecting resulted in:
git log
9f01951b858453684f2622541af0eb85d4544fc6~1..8ae25bbc092254f680e2976873f15bdbc26615ef
git log --pretty=oneline
9f01951b858453684f2622541af0eb85d4544fc6~1..8ae25bbc092254f680e2976873f15bdbc26615ef
sw
d611b2e0b2b713ffaf8b2ec75e6a74180316f50b sw: add
SwDBManager::RevokeDataSource()
b79017f49a487a3981b1cd9f488ed5062eeb880b sw: move name of the embedded data
source def from SwDBData to SwDBManager
9eb16c85d6af4b73de9a75716c3ff34f929f26b2 don't crash on layout of
ooo55381-1.sxw
77df4faa4783df38383020a6236136a88eb51069 fix crash on export of ooo39845-7.sxw
to .docx
cf7439c5510578572b30a92a52549b5babfa93d9 SwDBManager: store of embedded data
source definition is implemented
c61065b262051e510ab5229a8f10efc10962137f SwAddressListDialog::LoadHdl_Impl:
simplify
9d0c6308be5fb086e51cb8b4b0652f3d6184fd3c fix crash on export of ooo34469-1.sxw
to docx
8d2fe8d7e5f374f3a106a4fc58ef597a52815ad0 SwView::SearchAndWrap: fix WrapAround
search in fly frames
21a6b99748db8a970ef7dc90d40e07901135b89a tdf#91781 Fix some entry headings
9f01951b858453684f2622541af0eb85d4544fc6 tdf#91228 Fix Writer crash
so it's probably "embedded database" related
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs