Summary: | Crash when starting a slideshow | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | sophie <sophi> |
Component: | Impress | Assignee: | Thorsten Behrens (allotropia) <thb> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | arnaud.versini, caolan.mcnamara, jabalv, serval2412, sophi, thb |
Priority: | medium | ||
Version: | 4.2.0.0.alpha0+ Master | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
See Also: |
https://bugs.freedesktop.org/show_bug.cgi?id=71529 https://bugs.freedesktop.org/show_bug.cgi?id=73618 |
||
Whiteboard: | target:4.2.0 target:4.3.0 | ||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 65675 | ||
Attachments: |
sample to reproduce the bug
bt of the crash Backtrace |
Description
sophie
2013-11-12 09:57:18 UTC
Comment on attachment 89075 [details]
sample to reproduce the bug
Mimetype fixed
On pc Debian x86-64 with master sources updated today, I don't reproduce the crash. Certainly you already tried but I prefer to ask: did you try to rename your LO directory profile (see https://wiki.documentfoundation.org/UserProfile)? Would it be possible to retrieve a backtrace (even if there are no symbols) by following this link: https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU.2FLinux:_How_to_get_a_backtrace ? WORKSFORME on Ubuntu 13.10 and LO Version: 4.2.0.0.alpha1+ Build ID: 9ab89a7599f79092027ae86b5b4cd0e3d67b8b4d TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2013-11-16_01:53:07 No crash and presentations runs fine. Sophie if you can still reproduce this with the latest nightly build please re-open. (In reply to comment #2) > On pc Debian x86-64 with master sources updated today, I don't reproduce the > crash. > Certainly you already tried but I prefer to ask: > did you try to rename your LO directory profile (see > https://wiki.documentfoundation.org/UserProfile)? yes, it's a clean install I reproduced today > > Would it be possible to retrieve a backtrace (even if there are no symbols) > by following this link: > https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU. > 2FLinux:_How_to_get_a_backtrace > ? I attach the bt I get using Version: 4.2.0.0.alpha1+ Build ID: f99736820a23cb7e37139607713658dea1c69dd4 TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2013-11-17_23:56:22 Created attachment 89410 [details]
bt of the crash
Created attachment 89411 [details]
Backtrace
Happen only with two screen on my machine. OpenSuse 13.1 64 bits on Gnome. Tested on master 9c45345a680f7444df251f9403c7d56572380f21. Thank you Sophie and Arnaud for your feedback. I put it at NEW since we got 2 bts. Sophie: just for information, do you also have 2 screens on your machine? Caolán/Thorsten: I put you in cc since we can see vcl+sd/sdext inside bts. I noticed this in one of the bt: #1 0x00007fffd586440d in non-virtual thunk to sd::presenter::SlideRenderer::createPreviewForCanvas(com::sun::star::uno::Reference<com::sun::star::drawing::XDrawPage> const&, com::sun::star::awt::Size const&, short, com::sun::star::uno::Reference<com::sun::star::rendering::XCanvas> const&) (this=<optimized out>, rxSlide=uno::Reference to (cppcanvas::internal::ImplBitmapCanvas *) 0x29a42a0, rMaximalSize=..., nSuperSampleFactor=-22480, rxCanvas=<error reading variable: Cannot access memory at address 0x13>) at /home/arnaud/libreoffice/src/sd/source/ui/presenter/SlideRenderer.cxx:142 Also I don't think it's related but just in case, cppcheck reported this: [PresenterController.cxx:397] -> [PresenterController.cxx:401]: (performance) Variable 'nIndex' is reassigned a value before the old one has been used Indeed we have: 396 // Get the placeholder 397 ++nIndex; 398 ++nStartIndex; 399 const sal_Int32 nEndIndex (sTemplate.indexOf('%', nStartIndex+1)); 400 const OUString sPlaceholder (sTemplate.copy(nStartIndex, nEndIndex-nStartIndex)); 401 nIndex = nEndIndex+1; See http://opengrok.libreoffice.org/xref/core/sdext/source/presenter/PresenterController.cxx#396 Caolan McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=bae01385c895a100b5371879889e606927cff877 Resolves: fdo#71527 don't crash in presenter console 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. That gets rid of the crash, but the presenter console is still visually busted. let me have a closer look tonight. Caolan McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=639aa8e72639fd01e9004977f1cfaafc13b1e45f Resolves: fdo#71527 make presenter console not crash/useless 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. Thorsten Behrens committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=72aa51185fb7b1ff2ad9006f2067a680b70ab66d Revert "Resolves: fdo#71527 make presenter console not crash/useless" 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. Thorsten Behrens committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=b807b2d9291a2328a55de55d67c4874803d8b7fd Revert "Resolves: fdo#71527 don't crash in presenter console" 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. Thorsten Behrens committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=1b10205c2cb952ab43e30706c05f78d6e8f642c3 Fix fdo#71527 no unguarded ptr dereference here. 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. Thx Caolan for fixing it - applied a slightly different one to master, to retain the XCanvas / XBitmapCanvas disentangling. Keeping the 4.2 fix, which is just as good there. Thorsten Behrens committed a patch related to this issue. It has been pushed to "libreoffice-4-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=0f080297e9c176f221e20c422ba77080eee8e21c&h=libreoffice-4-2 Resolves: fdo#71527 make presenter console not crash/useless It will be available in LibreOffice 4.2. 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 72236 has been marked as a duplicate of this bug. *** |