Apache OpenOffice (AOO) Bugzilla – Issue 58368
intermittent but reproducable OutputDevice::DrawRect crash
Last modified: 2006-01-12 12:10:44 UTC
loading the attached document and running its on-open macro causes a crash with the attached backtrace
Created attachment 31749 [details] demo document to reproduce
Created attachment 31750 [details] stacktrace
cmc->ssa: does this sample macro reproducable crash ? If not then just reassign it to back to me.
*** Issue 57794 has been marked as a duplicate of this issue. ***
*** Issue 58174 has been marked as a duplicate of this issue. ***
*** Issue 58127 has been marked as a duplicate of this issue. ***
*** Issue 57766 has been marked as a duplicate of this issue. ***
valgrind output ==27845== ==27845== Invalid read of size 4 ==27845== at 0x3450077D: X11SalGraphics::SetXORMode(unsigned char) (salgdi.cxx:695) ==27845== by 0x6062F3F: (within /usr/lib/openoffice.org2.0/program/libvcl680li.so) ==27845== by 0x606464C: OutputDevice::DrawRect(Rectangle const&) (in /usr/lib/openoffice.org2.0/program/libvcl680li.so) ==27845== by 0x6082CB7: (within /usr/lib/openoffice.org2.0/program/libvcl680li.so) ==27845== by 0x6085393: (within /usr/lib/openoffice.org2.0/program/libvcl680li.so) ==27845== by 0x60853F8: OutputDevice::Erase() (in /usr/lib/openoffice.org2.0/program/libvcl680li.so) ==27845== by 0x6085E67: (within /usr/lib/openoffice.org2.0/program/libvcl680li.so) ==27845== by 0x60862D3: VirtualDevice::VirtualDevice(unsigned short) (in /usr/lib/openoffice.org2.0/program/libvcl680li.so) ==27845== by 0x783022D: (within /usr/lib/openoffice.org2.0/program/libsvx680li.so) ==27845== by 0x78DCF06: SdrPageViewWindow::CreateViewSpecificObjectContact() (in /usr/lib/openoffice.org2.0/program/libsvx680li.so) ==27845== by 0x78DCF41: SdrPageViewWindow::GetObjectContact() const (in /usr/lib/openoffice.org2.0/program/libsvx680li.so) ==27845== by 0x78DFF53: SdrPageViewWindow::Redraw(Region const&, unsigned short, unsigned char const*, sdr::contact::ViewObjectContactRedirector*) const (in /usr/lib/openoffice.org2.0/program/libsvx680li.so) ==27845== Address 0x432CDFFD is not stack'd, malloc'd or (recently) free'd
pl->cmc: sorry, doesn't crash my m141. Then again this might be pure luck with an invalid read ...
rats!
reference: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=171873 Wierldly this might be ARCH_FLAGS of -mcpu=pentium4, using -mcpu=pentiumpro instead seems to make this not reproducable any more in my current basic tests. Will push a new fc4 testing rpm built thus.
very much looks like a gcc4 problem, so invalid for OOo, fc4/fc5 OOo specific, I'll fix it there
close.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25199
*** Issue 58581 has been marked as a duplicate of this issue. ***