Apache OpenOffice (AOO) Bugzilla – Issue 121188
[non-pro] Crash with Undo immediately after insert new slide
Last modified: 2013-06-20 09:53:31 UTC
Created attachment 79753 [details] Screenshot of error message. I use a non-pro build of r1395635 on WinXP. The error occurs the same way in Draw. Take an Impress or a Draw document. Insert new slide/page. Undo. The application crashes in MS c++ Runtime Library. Assertion failed! In file main/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx Expression nSelectionCount==mnSelectedPageCount I'll attach a screenshot of the error message.
I could not reproduce this bug with the following latest build AOO350m1(Build:9611) - Rev. 1400866 (German) Configuration: Windows 7 Ultimate, 32Bit (Adding this piece of information because above under platform it states: All) Tried the following workflows: a) 1. Open Impress 2. Empty Presentation -> Create 3. Added a new slide 4. Undo (both with the arrow icon and through the menu) b) 1. Open an existing Impress document 2. Added a new slide 3. Undo (both with the arrow icon and through the menu)
Do you use a non-pro build?
<http://wiki.openoffice.org/wiki/Non_Product_Build> @Regina: Still a problem?
Yes, the problem still exists with AOO400m1(Build:9700) - Rev. 1481886. It is a "Non Product Build" problem.
ALG: Could not reproduce neither on Mac nor on Windows. How do you insert the slide? I used context menu over empty space in SlideSorter view (left of edit view).
You have to use a non-pro build to see the crash. I use menu Insert > Slide and then undo-button in the standard toolbar. It still crashes with r1486846.
ALG: Indeed, that way it crashes. Interesting...
ALG: If it only happens with non-pro build it's not a too high priority. Looking at the stack shows that PageSelector::CheckConsistency calls SlideSorterModel::GetPageDescriptor somehow with an invalid nPageIndex. This seems to happen inside the 'assert' after the (nSelectionCount!=mnSelectedPageCount) comparison. assert(nSelectionCount==mnSelectedPageCount); I could not really find out where the 'assert' is implemented/comes from, but it is probably implemented empty in the pro builds, so it does not crash there. @awf.aoo (adding to cc): Any hints?
A quick search with OpenGrok finds the the assertion in PageSelector::CheckConsistency(). But that is, of course, not the root cause of the problem. It just tells you that the slidesorter and the Impress model have different ideas of the number of selected slides.
as this is clearly a problem of the non-pro environment it is not a release blocker.