To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=81810
                 Issue #|81810
                 Summary|smoketestdoc.sxw fails with Aqua ( Carbon and Cocoa )
               Component|porting
                 Version|680m229
                Platform|Macintosh
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|MacOSX
             Assigned to|macport
             Reported by|ericb





------- Additional comments from [EMAIL PROTECTED] Fri Sep 21 08:33:17 +0000 
2007 -------
Note: this issue is similar to 73691, but not sure this is the same exactly.

The issue now : smoketestdoc.sxw fails, because AquaSalBitmap::Create() 
receives sometimes negative 
values for either (nX, nY ) or (nDX, nDY). This has to be confirmed.

To reproduce the issue:

open smoketestdoc.sxw, enable macros and run the test. Repeat it until it does 
crash.


Same for developers:

cd <install_di>/OpenOffice.org 2.3.app/Contents/MacOS
gdb --args soffice.bin 
~/Desktop/SRC680_m229/smoketestoo_native/data/smoketestdoc.sxw

(supposing you have debug enabled with libvcl680mxi.dylib )

enable the macro, and run the test. The crash appears randomly, and mostly with 
Cocoa version, but 
both are concerned.

Log of the crash :

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x2d905000
0x0126c6e7 in AquaSalBitmap::Create (this=0x2cf060c0, nWidth=1152, nHeight=671, 
nBits=32, 
nBytesPerRow=4608, pBuffer=0x2d605008 
"?\231\231\231?\231\231\231?\231\231\231?\231\231
\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?
\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231
\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231
\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?
\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231
\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231
\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?
\231\231\231?\231\231\231"..., nX=0, nY=0, nDX=1152, nDY=693, 
bMirrorVert=false) at /Users/
ericb/Desktop/SRC680_m229/vcl/aqua/source/gdi/salbmp.cxx:128
128                     memcpy( pDest, pSource, mnBytesPerRow );

the stack :

(gdb) bt
#0  0x0126c6e7 in AquaSalBitmap::Create (this=0x2cf060c0, nWidth=1152, 
nHeight=671, nBits=32, 
nBytesPerRow=4608, pBuffer=0x2d605008 
"?\231\231\231?\231\231\231?\231\231\231?\231\231
\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?
\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231
\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231
\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?
\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231
\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231
\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?\231\231\231?
\231\231\231?\231\231\231"..., nX=0, nY=0, nDX=1152, nDY=693, 
bMirrorVert=false) at /Users/
ericb/Desktop/SRC680_m229/vcl/aqua/source/gdi/salbmp.cxx:128
#1  0x0126c7df in AquaSalBitmap::Create (this=0x2cf060c0, xContext=0x298478a0, 
nX=0, nY=0, 
nWidth=1152, nHeight=693, bMirrorVert=false) at 
/Users/ericb/Desktop/SRC680_m229/vcl/aqua/
source/gdi/salbmp.cxx:84
#2  0x01264c87 in AquaSalGraphics::getBitmap (this=0x298a3c40, nX=0, nY=0, 
nDX=1152, 
nDY=693) at /Users/ericb/Desktop/SRC680_m229/vcl/aqua/source/gdi/salgdi.cxx:1065
#3  0x0126451f in AquaSalGraphics::copyArea (this=0x298a3c40, nDstX=0, nDstY=0, 
nSrcX=0, 
nSrcY=0, nSrcWidth=1152, nSrcHeight=693, nFlags=1) at 
/Users/ericb/Desktop/SRC680_m229/vcl/
aqua/source/gdi/salgdi.cxx:942
#4  0x01125a72 in SalGraphics::CopyArea (this=0x298a3c40, nDestX=0, nDestY=0, 
nSrcX=0, 
nSrcY=0, nSrcWidth=1152, nSrcHeight=693, nFlags=1, pOutDev=0x2cf49bc0) at 
/Users/ericb/
Desktop/SRC680_m229/vcl/source/gdi/salgdilayout.cxx:415
#5  0x011b931c in Window::ImplPosSizeWindow (this=0x2cf49bc0, nX=0, nY=0, 
nWidth=1152, 
nHeight=693, nFlags=15) at 
/Users/ericb/Desktop/SRC680_m229/vcl/source/window/window.cxx:
3449
#6  0x0113e362 in ImplBorderWindow::Resize (this=0x29824d40) at 
/Users/ericb/Desktop/
SRC680_m229/vcl/source/window/brdwin.cxx:2106
#7  0x0113e7ac in ImplBorderWindow::UpdateMenuHeight (this=0x29824d40) at 
/Users/ericb/
Desktop/SRC680_m229/vcl/source/window/brdwin.cxx:2351
#8  0x0113e7cb in ImplBorderWindow::SetMenuBarWindow (this=0x29824d40, 
pWindow=0x7bd1e00) 
at /Users/ericb/Desktop/SRC680_m229/vcl/source/window/brdwin.cxx:2359
#9  0x01190b4d in SystemWindow::SetMenuBar (this=0x2cf49bc0, 
pMenuBar=0x2980b8d0) at /Users/
ericb/Desktop/SRC680_m229/vcl/source/window/syswin.cxx:933
#10 0x1a8903bc in component_writeInfo ()
#11 0x1a27433c in SfxDispatcher::QueryState ()
#12 0x1a274881 in SfxDispatcher::QueryState ()
#13 0x1a25f3e9 in SfxTopFrame::InsertDocument ()
#14 0x1a1b7992 in SfxObjectShell::UpdateDocInfoForSave ()
#15 0x1a25f899 in SfxTopFrame::InsertDocument ()
#16 0x1a23a469 in SfxViewShell::SfxViewShell ()
#17 0x1a90bfe3 in component_writeInfo ()
#18 0x1a90c6ba in component_writeInfo ()
#19 0x1a90c8cf in component_writeInfo ()
#20 0x1a7d91f5 in 
dyld_stub__ZN4cppu25component_writeInfoHelperEPvS0_PKNS_19ImplementationEntryE 
()
#21 0x07418929 in icudt36_dat ()
#22 0x07418bf7 in icudt36_dat ()
#23 0x074193fd in icudt36_dat ()
#24 0x1ab531d5 in component_writeInfo ()
#25 0x1a5b0c8b in SbUnoObject::Notify ()

I firstly believed it was due to negative values, but it not so sure now ...

@hdu: Herbert, can you please attach the diff of the change we found ?
then I'll test the fix, and confirm if works.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to