Bug 150935 - can't FileOpen one particular pps file
Summary: can't FileOpen one particular pps file
Status: RESOLVED DUPLICATE of bug 33538
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-13 18:58 UTC by Ray
Modified: 2022-09-14 15:17 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
pps file that won't open because of version eror (12.57 MB, application/x-ole-storage)
2022-09-13 19:00 UTC, Ray
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ray 2022-09-13 18:58:37 UTC
Description:
can't open a particular pps file in libreoffice.... says incompatible version
(had to convert it using an online conversion site to a pdf and then look at
it as a pdf)

Error says
"Version incompatibility"
"Incorrect File version"


Steps to Reproduce:
1.try to  open the given particular (old version???)  pps file
2.since you have no place to "attach" the particular pps don't know how you can 
attempt to "reproduce" the error


Actual Results:
error message as above
Error says
"Version incompatibility"
"Incorrect File version"

Expected Results:
that it would have opened the file


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
 tried updating LibreOffice .... same results with this
particular file
all i can do is convert it to a pdf to see the contents
also when added extension .zip to file i could open
it in 7-zip and see files (not photo contents or version info)
Comment 1 Ray 2022-09-13 19:00:55 UTC
Created attachment 182423 [details]
pps file that won't open because of version eror
Comment 2 Rafael Lima 2022-09-13 19:23:01 UTC
I tried to open the file and had the same result as you did.

I also tried to open it in OnlyOffice and it did not open as well... but I got a message saying that the file is password protected.
Comment 3 Julien Nabet 2022-09-13 19:50:22 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce this.
Here's part of the code which fails:

1448         ReadDffRecordHeader( rStCtrl, aDocAtomHd );
1449         if ( aDocHd.nRecType == PPT_PST_Document && aDocAtomHd.nRecType == PPT_PST_DocumentAtom )
1450         {
1451             aDocAtomHd.SeekToBegOfRecord( rStCtrl );
1452             ReadPptDocumentAtom( rStCtrl, aDocAtom );
1453         }
1454         else
1455             m_bOk = false;

(see https://opengrok.libreoffice.org/xref/core/filter/source/msfilter/svdfppt.cxx?r=8611f6e2#1448)

(gdb) p  aDocHd.nRecType
$9 = 45597

(gdb) p aDocAtomHd.nRecType
$10 = 22945
Comment 4 Timur 2022-09-14 15:17:24 UTC

*** This bug has been marked as a duplicate of bug 33538 ***