https://bz.apache.org/ooo/show_bug.cgi?id=126990

--- Comment #19 from Peter <[email protected]> ---
ok, my smoke test was to save on windows a new small document.
tested on ntfs, usb drive.
I used following to simulate an interfearance:
opened the cdb debugger
setup the debugger:
bu KERNELBASE!MoveFileExW ".echo >>> MoveFileExW; du @rcx; du @rdx; r r8; gc"
bu KERNELBASE!FlushFileBuffers ".echo >>> FlushFileBuffers; gc"
bc 0
bu KERNELBASE!MoveFileExW ".echo >>> MoveFileExW; du @rcx; du @rdx; gu; .echo  
 ret:; r rax; gc"
g

then create the testthis.odt document in writer:


# separate PowerShell window, with testthis.odt already open in AOO
PS C:\workspace\openoffice> $p = "C:\path\to\Document\testthis.odt"
PS C:\workspace\openoffice> $f = [System.IO.File]::Open($p, 'Open', 'Read',
'ReadWrite')
PS C:\workspace\openoffice> # now save in AOO, then:
PS C:\workspace\openoffice> $f.Close()

now you see somethin like (annonymized pathes ;)):
(7c50.34a0): C++ EH exception - code e06d7363 (first chance)
>>> FlushFileBuffers
>>> FlushFileBuffers
>>> MoveFileExW
00000000`104e7910  "C:\path\to\Document\testthi"
00000000`104e7950  "s1.odt"
00000000`104e7d90  "C:\path\to\Document\testthi"
00000000`104e7dd0  "s.odt"
rax=0000000000000000
>>> FlushFileBuffers
(7c50.34a0): C++ EH exception - code e06d7363 (first chance)
(7c50.34a0): C++ EH exception - code e06d7363 (first chance)
(7c50.34a0): C++ EH exception - code e06d7363 (first chance)
>>> MoveFileExW
00000000`115b77f0  "C:\temp\ooo_doc\user\7154.tmp"
00000000`0cd89d30  "C:\temp\ooo_doc\user\registrymod"
00000000`0cd89d70  "ifications.xcu"
rax=0000000000000001
(7c50.34a0): C++ EH exception - code e06d7363 (first chance)

fix looks good to me. preparing commit.

-- 
You are receiving this mail because:
You are the assignee for the issue.

Reply via email to