| Summary: | FILEOPEN: pdf file result in a crash | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Paul Kerry <p.kerry> |
| Component: | Draw | Assignee: | Norbert Thiebaud <nthiebaud> |
| Status: | VERIFIED FIXED | ||
| Severity: | critical | CC: | arnaud.versini, caolan.mcnamara, christophe.bertin2, jbfaure, LibreOffice, pete.molina, quikee |
| Priority: | high | Keywords: | regression |
| Version: | 4.0.0.3 release | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | BSA bibisected40 target:4.1.0 target:4.0.1 | ||
| Crash report or crash signature: | Regression By: | ||
| Attachments: |
pdf file that causes the crash
bibisect40 log Stack trace gdbtrace log |
||
Thanks for reporting! I can reproduce this behavior using Linux Mint 14 x64 LibreOffice 4.0.0.3 release and LibreOffice Version 4.1.0.0.alpha0+ (Build ID: cbc722733bb272b0f26efec09b478bed9a3cdb9) Therefore I mark it as NEW. Following [1] I mark this as 'critical medium' because this is only reproducible using this pdf. I'll bibisect this one. Kind regards, Joren Created attachment 74711 [details] bibisect40 log bibisect output range: http://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=3cf91a21fc5089fb7f051bf8a04d2049da88179f..7dd6c0a8372810f48e6bee35a11ac4ad0432640b @Arnaud: maybe due http://cgit.freedesktop.org/libreoffice/core/commit/?id=1f08711bd154d0502e5653088dc87575d4c372a7 ? Kind regards, Joren Can reproduce a crash using Mac OSX 10.8.2; therefore it's not Linux only -> set to 'all'. altered the summary a bit. I don't see any reason to have a regression with this patch, but perhaps, I would check. But doesn’t crash with master 4.1.0 on Linux 64, but there is no text on the Draw document. Created attachment 74777 [details]
Stack trace
Created attachment 74778 [details]
gdbtrace log
@Caolan, jbf: any thoughts? seems like a crash in vcl? Seems due to this patch : http://cgit.freedesktop.org/libreoffice/core/commit/?id=4b161067d46ddd48b4602ccdcc4d1b2545e2ac83 but not sure, bad X coordinates during the rotate and scale. Crash with this autogen.lastrun : --enable-debug Doesn't with that : --with-lang=en-US fr --enable-debug --with-alloc=system --with-system-nss --with-system-cairo --with-system-clucene --with-system-poppler --with-system-openssl --enable-gtk3 --with-system-neon --with-system-zlib --with-system-jpeg --with-system-icu --with-system-openldap --with-system-expat --with-system-boost --with-system-bluez --enable-dbus actually the problem is sue to a div by zero while scaling n >=1 to 1 with https://gerrit.libreoffice.org/#/c/2195/ at least it does not crash anymore. the rendering is better than in 3.6.5 but still somewhat ugly. fixed on master with c4a084e6b87e7c6cdf4a2574070b0523206bbefe Norbert Thiebaud committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=c4a084e6b87e7c6cdf4a2574070b0523206bbefe fdo#60719 : fix crash on scaling bmp with target/source width/height = 1 The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Verified fixed using Version 4.1.0.0.alpha0+ (Build ID: 07ee72672e6966dafccf21ca3349e428c2a9dd0) Norbert Thiebaud committed a patch related to this issue. It has been pushed to "libreoffice-4-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=0ff04e11c0e79a2969774c21df8e0d5822b54e08&h=libreoffice-4-0 fdo#60719 : fix crash on scaling bmp with target/source width/height = 1 It will be available in LibreOffice 4.0.1. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. *** Bug 61087 has been marked as a duplicate of this bug. *** *** Bug 61108 has been marked as a duplicate of this bug. *** Modified Assignee due to facts to ease finding of experts via Bugzilla |
Created attachment 74670 [details] pdf file that causes the crash Problem description: pdf file will not open (others do) Steps to reproduce: 1. load libreoffice 2. file - open 3. select pdf file and click open Current behavior: libreoffice starts to open the file (a page box flashes up on the left within draw) and then crashes Expected behavior: libreoffice opening the file This is on a debian 6 amd64 system using the 64bit version... Version 4.0.0.3 (Build ID: 7545bee9c2a0782548772a21bc84a9dcc583b89) Operating System: Debian Version: 4.0.0.3 release Last worked in: 3.6.5.2 release