Issue 17772 - Crash when floating Data Sources window when "X Windows Look & Feel" is set
Summary: Crash when floating Data Sources window when "X Windows Look & Feel" is set
Status: CLOSED FIXED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC2
Hardware: All All
: P2 Trivial (vote)
Target Milestone: OOo 1.1.1
Assignee: stefan.baltzer
QA Contact: issues@gsl
URL:
Keywords: crash, oooqa
: 17634 21038 (view as issue list)
Depends on:
Blocks:
 
Reported: 2003-08-01 17:56 UTC by Joe Smith
Modified: 2004-01-16 16:14 UTC (History)
3 users (show)

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


Attachments
crash stack trace (5.51 KB, text/plain)
2003-08-01 17:59 UTC, Joe Smith
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Joe Smith 2003-08-01 17:56:29 UTC
1. New document (either text or ssheet)
2. Data Sources tool (opens DS window)
3. Click on "Floating" icon (pushpin)
4. Crash
Comment 1 Joe Smith 2003-08-01 17:59:22 UTC
Created attachment 8214 [details]
crash stack trace
Comment 2 Joe Smith 2003-08-01 20:12:40 UTC
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.

Comment 3 dankegel 2003-08-04 01:04:05 UTC
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
Comment 4 dankegel 2003-08-04 01:06:01 UTC
*** Issue 17634 has been marked as a duplicate of this issue. ***
Comment 5 Frank Schönheit 2003-08-04 09:41:13 UTC
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
Comment 6 stephan_schaefer 2003-08-04 09:51:38 UTC
I'll have a look.
Comment 7 Frank Schönheit 2003-08-08 12:56:29 UTC
fs->ssa: same for the ImplMacBorderWindowView: stack trace id 9896
Comment 8 stephan_schaefer 2003-09-05 13:54:04 UTC
Fixed in vcl7pp1r2.
Comment 9 stephan_schaefer 2003-09-08 16:22:19 UTC
Please check in vcl7pp1r2.
Comment 10 Frank Schönheit 2003-10-14 09:32:27 UTC
*** Issue 21038 has been marked as a duplicate of this issue. ***
Comment 11 stefan.baltzer 2003-10-16 16:44:30 UTC
SBA: Verified in CWS vcl7pp1r2 (Win2k and Linux).
Comment 12 stefan.baltzer 2003-10-16 16:44:55 UTC
Set to verified.
Comment 13 stefan.baltzer 2004-01-16 16:14:07 UTC
SBA: OK in Build 645m25 on Windows, Solaris and Linux. Closed.