| Summary: | Cancel of Mail Merge Wizard causes access to already deleted SfxItemPool | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Stephan Bergmann <sberg.fun> |
| Component: | Writer | Assignee: | Michael Stahl (allotropia) <michael.stahl> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | michael.stahl |
| Priority: | medium | ||
| Version: | 4.0.0.0.alpha0+ Master | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | target:3.7.0 | ||
| Crash report or crash signature: | Regression By: | ||
|
Description
Stephan Bergmann
2012-10-01 13:00:07 UTC
ah LazyDeletor... that must be the relic of the 90s attitude of "real men don't use reference counting", and to fix up the inevitable crash-fest resulting from that this class was invented to delay the deletion until some later point when hopefully nobody references it... ... so there's a SwMailMergeWizard, and there's AbstractMailMergeWizard, and in between them there's AbstractMailMergeWizard_Impl of course... so i'd need to add 3 forwarding methods to clean up that item set :( further investigation reveals that the SwMailMergeOutputPage's cloning of the SwDoc's printer appears to be unnecessary, removing that appears to be simpler... Michael Stahl committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=f3020438938d019784d32fffeaf5f18dc6175ed8 fdo#55496: fix lifecycle of SwMailMergeOutputPage: The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. |