Summary: | OSX - CRASH sigabrt when opening presentation in Impress containing video clips | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Alex Thurgood <iplaw67> |
Component: | Presentation | Assignee: | Julien Nabet <serval2412> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | blocker | ||
Priority: | highest | CC: | markus.mohrhard, serval2412 |
Version: | 4.4.0.0.alpha1 | Keywords: | have-backtrace, regression |
Hardware: | x86-64 (AMD64) | ||
OS: | Mac OS X (All) | ||
Whiteboard: | target:4.4.0 | ||
i915 platform: | i915 features: | ||
Attachments: |
crash trace
full backtrace apple trace from daily build another full bt minimal test file |
Same file opens in LO 4322, regression Terminal output /Applications/LibreOfficeDev.app/Contents/MacOS/soffice libc++abi.dylib: terminating with unexpected exception of type std::bad_alloc: std::bad_alloc Abort trap: 6 Created attachment 108525 [details]
full backtrace
Created attachment 108559 [details]
apple trace from daily build
possibly more useful trace indicating that there is a problem with the jvm
Created attachment 108563 [details]
another full bt
Confirmed on separate machine running osx 10.10 and same master build Created attachment 108566 [details]
minimal test file
Added minimal test file to reproduce Build switches fwiw --with-ant-home=/Volumes/HD1/Shared/Repos/LO/packages/apache-ant-1.9.2 --without-junit --enable-64-bit --with-extra-buildid --enable-debug --enable-ext-nlpsolver --enable-ext-google-docs --enable-ext-languagetool --enable-ext-diagram --enable-ext-typo --enable-ext-validator --enable-ext-watch-window --enable-extra-template --enable-extra-gallery --enable-ext-wiki-publisher --enable-extension-integration --with-lang=fr --with-help --enable-epm --with-package-format=dmg --enable-ext-mariadb-connector --with-system-mariadb --enable-bundle-mariadb Hmmm, is this the problem ? frame #0: 0x00000001053782a9 libvcllo.dylib`AquaSalObject::AquaSalObject(this=0x000000013e6ac950, pFrame=0x000000011c808420, pWindowData=0x0000000000000000) + 217 at salobj.cxx:41 38 { 39 maSysData.nSize = sizeof( maSysData ); 40 maSysData.mpNSView = NULL; -> 41 maSysData.mbOpenGL = pWindowData->bOpenGL; 42 43 NSRect aInitFrame = { NSZeroPoint, { 20, 20 } }; 44 mpClipView = [[NSClipView alloc] initWithFrame: aInitFrame ]; Alex: quite agree with your last comment since we can see this on your bt: pWindowData=0x0000000000000000 Possibly this commit http://cgit.freedesktop.org/libreoffice/core/commit/?id=42837a066b2347effa75926104f3f3ffc96206b7 Alex: I think it's due to http://cgit.freedesktop.org/libreoffice/core/commit/?id=e65acd2ebbb85d557068692674f317ff3a038e9b Markus: what about this change? -maSysData.mbOpenGL = pWindowData->bOpenGL; +maSysData.mbOpenGL = false; Then putting maSysData.mbOpenGL = pWindowData->bOpenGL; in "if (pWindowData && pWindowData->bOpenGL)" block. See http://opengrok.libreoffice.org/xref/core/vcl/osx/salobj.cxx#27 (Sorry, I'm not at home for the moment to create a real patch on gerrit) Would it be ok for you? Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=354a5f1ab65a2d36cceb948331edd4578ac349c6 Resolves fdo#85524: OSX Crash Impress with videoclip It will be available in 4.4.0. 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. Finally I commited the patch (after having simplified just a bit), see http://cgit.freedesktop.org/libreoffice/core/commit/?id=354a5f1ab65a2d36cceb948331edd4578ac349c6. After all, it's master branch and the fix is very straightforward. Alex: could you update your sources and confirm it's ok? Fix works in master Version: 4.4.0.0.alpha1+ Build ID: 4dbed9ef9a2299587d75bd9fae96b05dac0675c3 Thanks Julien ! Alex |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 108524 [details] crash trace Daily build Version: 4.4.0.0.alpha1+ Build ID: 6ba8b7f5eacac969e4781d63718083a05491b1bc TinderBox: MacOSX-10.10@61, Branch:master, Time: 2014-10-24_01:13:49 Attempt to open ODP file containing video clips, some of which are unsupported by LO. Crash before loading completes. Trace attached.