Issue 58368 - intermittent but reproducable OutputDevice::DrawRect crash
Summary: intermittent but reproducable OutputDevice::DrawRect crash
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: 680m141
Hardware: All Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: caolanm
QA Contact: issues@gsl
URL:
Keywords:
: 57766 57794 58127 58174 58581 (view as issue list)
Depends on:
Blocks:
 
Reported: 2005-11-23 19:55 UTC by caolanm
Modified: 2006-01-12 12:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
demo document to reproduce (7.33 KB, application/vnd.oasis.opendocument.text)
2005-11-23 19:57 UTC, caolanm
no flags Details
stacktrace (10.21 KB, text/plain)
2005-11-23 19:58 UTC, caolanm
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description caolanm 2005-11-23 19:55:42 UTC
loading the attached document and running its on-open macro causes a crash with
the attached backtrace
Comment 1 caolanm 2005-11-23 19:57:34 UTC
Created attachment 31749 [details]
demo document to reproduce
Comment 2 caolanm 2005-11-23 19:58:46 UTC
Created attachment 31750 [details]
stacktrace
Comment 3 caolanm 2005-11-23 19:59:46 UTC
cmc->ssa: does this sample macro reproducable crash ? If not then just reassign
it to back to me.
Comment 4 caolanm 2005-11-24 09:00:01 UTC
*** Issue 57794 has been marked as a duplicate of this issue. ***
Comment 5 caolanm 2005-11-24 09:02:13 UTC
*** Issue 58174 has been marked as a duplicate of this issue. ***
Comment 6 caolanm 2005-11-24 09:03:09 UTC
*** Issue 58127 has been marked as a duplicate of this issue. ***
Comment 7 caolanm 2005-11-24 09:06:13 UTC
*** Issue 57766 has been marked as a duplicate of this issue. ***
Comment 8 caolanm 2005-11-24 09:33:06 UTC
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
Comment 9 philipp.lohmann 2005-11-24 10:39:08 UTC
pl->cmc: sorry, doesn't crash my m141. Then again this might be pure luck with
an invalid read ...
Comment 10 caolanm 2005-11-24 11:47:48 UTC
rats!
Comment 11 caolanm 2005-11-24 15:18:10 UTC
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.
Comment 12 caolanm 2005-11-24 15:55:03 UTC
very much looks like a gcc4 problem, so invalid for OOo, fc4/fc5 OOo specific,
I'll fix it there
Comment 13 caolanm 2005-11-24 15:56:18 UTC
close.
Comment 15 caolanm 2006-01-12 12:10:44 UTC
*** Issue 58581 has been marked as a duplicate of this issue. ***