Summary: | Crash: Add Protected PDF file on Photo Album | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | sawakaze <souichirho> |
Component: | Impress | Assignee: | Julien Nabet <serval2412> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | buzea.bogdan, himajin100000, serval2412, xiscofauli |
Priority: | medium | Keywords: | bibisectNotNeeded, haveBacktrace, regression |
Version: | 7.1.0.0.alpha0+ | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://crashreport.libreoffice.org/stats/signature/Bitmap::Bitmap | ||
Whiteboard: | target:7.1.0 target:7.0.2 | ||
Crash report or crash signature: | ["Bitmap::Bitmap"] | Regression By: | |
Attachments: |
Protected Pdf sample file
bt with debug symbols |
Description
sawakaze
2020-08-25 22:55:31 UTC
Created attachment 164687 [details]
Protected Pdf sample file
password as Attachment file is "libreoffice" I created Libreoffice 7.0 writer. I can not confirm this version Version: 6.4.6.1 Build ID: 985dd72ca280d5c6da2e9f90f7ff9286cafe7ff8 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ja-JP (ja_JP.UTF-8); UI-Language: en-US Calc: threaded this bug seem on version 7.x. I reproduced it with the following version. Version: 7.1.0.0.alpha0+ Build ID: a06a83b29a9da770787bffe416b138102aa12531 CPU threads: 8; OS: Linux 5.7; UI render: default; VCL: gtk3 Locale: ja-JP (ja_JP.UTF-8); UI: ja-JP TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2020-08-24_01:03:26 Calc: threaded >2. menu -> Insert -> Photo Album 2. menu -> Insert -> Media -> Photo Album https://opengrok.libreoffice.org/xref/core/vcl/source/filter/ipdf/pdfread.cxx?r=32090b01#157 https://opengrok.libreoffice.org/xref/core/vcl/source/gdi/vectorgraphicdata.cxx?r=750a6bdd#154 need to check aBitmaps.size() > 0 before referencing aBitmaps[0] ? Created attachment 164704 [details]
bt with debug symbols
On pc Debian x86-64 with master sources updated today, I could reproduce this. It confirms himajin100000's comment.
I gave a try with https://gerrit.libreoffice.org/c/core/+/101393 Confirm also on Windows Version: 7.0.0.3 (x64) Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win Locale: ro-RO (ro_RO); UI: en-US Calc: threaded Julien Nabet committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/f115a7e047e5f1b6067667adc50d60499cc3e27e tdf#136127: crash when adding protected PDF file on Photo Album It will be available in 7.1.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Backport for 7.0 waiting for review here: https://gerrit.libreoffice.org/c/core/+/101675 marking it as a regression Julien Nabet committed a patch related to this issue. It has been pushed to "libreoffice-7-0": https://git.libreoffice.org/core/commit/d2fb499310414cb2b8f635b9b7798177b60ab347 tdf#136127: crash when adding protected PDF file on Photo Album It will be available in 7.0.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. No crash in Version: 7.1.0.0.alpha0+ Build ID: 63d4d3421fec5a4e9e88dcee2992cda38cc7452a CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3 Locale: en-US (ro_RO.UTF-8); UI: en-US Calc: threaded |