Apache OpenOffice (AOO) Bugzilla – Issue 17772
Crash when floating Data Sources window when "X Windows Look & Feel" is set
Last modified: 2004-01-16 16:14:07 UTC
1. New document (either text or ssheet) 2. Data Sources tool (opens DS window) 3. Click on "Floating" icon (pushpin) 4. Crash
Created attachment 8214 [details] crash stack trace
This seems to be a bad interaction with the 'X Window' look & feel. I.e., Tools/Options/OOo/View/Look & Feel If I change this to 'Standard', no crash is seen.
Got it! So the recipe is: Tools/Options/OOo/View/Look & Feel/X Windows File/New Text Document Click on Data Sources icon on left side of window Click on pushpin on data sources window Boom! Stack highlights, demangled (note: this is slightly different than the one uploaded, maybe I had different look-and-feel settings, or maybe valgrind catches it sooner): Invalid memory access of size 4 at 0x403B7276: ImplUnxBorderWindowView::DrawWindow(unsigned short, OutputDevice*, Point const*) (in /opt/OpenOffice.org1.1rc2/program/libvcl645li.so) by 0x403BBB7A: ImplBorderWindow::Paint(Rectangle const&) (in /opt/OpenOffice.org1.1rc2/program/libvcl645li.so) by 0x40401F2F: Window::ImplCallPaint(Region const*, unsigned short) (in /opt/OpenOffice.org1.1rc2/program/libvcl645li.so) by 0x4040DA7B: Window::Update() (in /opt/OpenOffice.org1.1rc2/program/libvcl645li.so) by 0x4040DA53: Window::Update() (in /opt/OpenOffice.org1.1rc2/program/libvcl645li.so) by 0x4933C65C: (within /opt/OpenOffice.org1.1rc2/program/libsw645li.so) by 0x4933E8CB: (within /opt/OpenOffice.org1.1rc2/program/libsw645li.so) by 0x4933F5F8: (within /opt/OpenOffice.org1.1rc2/program/libsw645li.so) by 0x4673067D: SfxViewFrame::DoAdjustPosSizePixel(SfxViewShell*, Point const&, Size const&) (in /opt/OpenOffice.org1.1rc2/program/libsfx645li.so) by 0x467336F2: SfxViewFrame::Resize(unsigned char) (in /opt/OpenOffice.org1.1rc2/program/libsfx645li.so) ... Address 0xDC is not stack'd, malloc'd or free'd
*** Issue 17634 has been marked as a duplicate of this issue. ***
fs->ssa: - also happens on windows, if the X-Win look is enabled. - happens with all kind of floating windows (stylist/navigator/gallery), once they're docked, but overlapping - ImplUnxBorderWindowView::DrawWindow is called from ImplBorderWindow::Paint with an OutputDevice of NULL, which is dereferenced without check. changing owner, component, sub component, platform, OS
I'll have a look.
fs->ssa: same for the ImplMacBorderWindowView: stack trace id 9896
Fixed in vcl7pp1r2.
Please check in vcl7pp1r2.
*** Issue 21038 has been marked as a duplicate of this issue. ***
SBA: Verified in CWS vcl7pp1r2 (Win2k and Linux).
Set to verified.
SBA: OK in Build 645m25 on Windows, Solaris and Linux. Closed.