Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mirror] .ppt file crash on dokan_mirror #1163

Open
4 of 5 tasks
rainbowmagic opened this issue Aug 1, 2023 · 2 comments
Open
4 of 5 tasks

[Mirror] .ppt file crash on dokan_mirror #1163

rainbowmagic opened this issue Aug 1, 2023 · 2 comments

Comments

@rainbowmagic
Copy link

rainbowmagic commented Aug 1, 2023

Feature request can skip this form. Bug report must complete it. Check List must be 100% match or it will be automatically closed without further discussion. Please remove this line.

Environment

  • Windows version: Win11 (and Win10)
  • Processor architecture: x64
  • Dokany version: 2.0.6.1000 (and lower version)
  • Library type (Dokany/FUSE): Dokany

Check List

  • I checked my issue doesn't exist yet
  • My issue is valid with mirror default sample and not specific to my user-mode driver implementation
  • I can always reproduce the issue with the provided description below.
  • I have updated Dokany to the latest version and have reboot my computer after.
  • I tested one of the last snapshot from appveyor CI

Description

When opening and saving a .ppt file in PowerPoint 2016, there is an issue where the file gets corrupted.

excute sample on command by "mirror.exe /r C:\Users /l m"

After opening the file and performing 'Save' or 'Save As' operation on target folder, the file is closed.
And when reopening the file, it displays an error message and attempts to recover, but the recovery is unsuccessful.

This phenomenon is found only in .ppt files and not in .pptx files.

Logs

no log

@Liryna
Copy link
Member

Liryna commented Sep 8, 2023

Hi @rainbowmagic ,

I wasn't able to reproduce the issue. Would you be able to attach a debugger and locate from where it crashes ?

@rainbowmagic
Copy link
Author

Hi @Liryna, thanks for your question.

I encountered this issue when I opened a document with a lower version PPT extension in a higher version of PowerPoint.
example, I opened a PowerPoint 2003 document (PPT file) in PowerPoint 2016 and saved it again.

The PowerPoint document includes images or videos, and the issue is anticipated to arise at this point.
Furthermore, when it comes to this issue, it appears that handling ReadFile in Dokan is insufficient.

I attempted to resolve the issue using FileFlush, but I was not able to resolve it completely.

If more information is needed to reproduce the problem, please ask further questions.

Hi @rainbowmagic ,

I wasn't able to reproduce the issue. Would you be able to attach a debugger and locate from where it crashes ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants