Created attachment 130163 [details]
impress file containing 9 slides, each containing 4 10x10 tables, each cell containing character X
This bug was filed from the crash reporting server and is br-a0b72a68-cea8-4f2f-b2a5-308daa5e63ed.
Impress on Windows XP: each table cell containing text seems to use 2 or 3 GDI objects. Given the per-process limitation of 10000 GDI objects, it's easy to construct a file which hits the limit - see attached. Windows Impress crashes on trying to open such a file. Linux Impress opens it fine.
Is the large number of GDI objects used considered a leak, or just profligate usage? Tables in Writer do not seem to suffer from the same problem.
Nirsoft's GDIView says:
All GDI: 10000
It is similarly possible to construct a powerpoint file which powerpoint can open, using just a few hundred GDI objects, but impress again maxes out at 10000 and crashes. (I apologise for even mentioning ppt, but it's perhaps justified as a comparison here.)
I can't reproduce this using the build that contains fix for Bug 103927. The fix for that bug most likely fixed this one too.
Someone please test and confirm this. If not, I'll assume it is fixed.
I tried installing daily/master/Win-x86@42/current/libo-master~2017-01-26_01.50.40_LibreOfficeDev_184.108.40.206.alpha0_Win_x86.msi, but it says it needs Vista or later, which I don't have. Can someone please advise whether there's a build containing this fix suitable for 32-bit XP? Thank you.
I confirm daily/master/Win-x86@42/current/ and daily/master/Win-x86@39/current/ cannot be installed on XP. I don't know why, but I asked.
Meanwhile, this works: http://dev-builds.libreoffice.org/daily/master/Win-x86@62-merge-TDF/current/ but is not current with that fix at the moment. Hopefully that will be built soon.
Confirmed on Windows 7 64-bit with LO 32-bit and no repro with fix for Bug 103927. I'll close as Fixed.
mdk917, feel free to test yourself and reopen if proved otherwise.
I confirm that the original problem is now fixed in daily/master/Win-x86@62-merge-TDF/current/master~2017-01-31_12.28.03_LibreOfficeDev_220.127.116.11.alpha0_Win_x86_en-US_de_ar_ja_ru_vec_qtz.msi. Many thanks to you, Kohei and Timur.