Description: Crash to desktop when activating presentation mode (unsatisfied query for interface of type com.sun.star.lang.XUnoTunnel!) Steps to Reproduce: 1. Open Impress 2. Press F5 Actual Results: Crash Expected Results: No crash Reproducible: Always User Profile Reset: No Additional Info: Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 1bb0e177124d5d6661b72df6c7d848fb23639652 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL
On pc Debian x86-64 with master sources updated today, I don't have a crash but an hang. I noticed several times this on console: warn:sd:11475:11475:sd/source/ui/framework/tools/FrameworkHelper.cxx:209: DBG_UNHANDLED_EXCEPTION in lcl_getViewShell exception: com.sun.star.uno.RuntimeException message: unsatisfied query for interface of type com.sun.star.lang.XUnoTunnel! /home/julien/lo/libreoffice/include/com/sun/star/uno/Reference.hxx:83
Created attachment 177222 [details] BT without symbols
(In reply to Julien Nabet from comment #1) > On pc Debian x86-64 with master sources updated today, I don't have a crash > but an hang. > I noticed several times this on console: > warn:sd:11475:11475:sd/source/ui/framework/tools/FrameworkHelper.cxx:209: > DBG_UNHANDLED_EXCEPTION in lcl_getViewShell exception: > com.sun.star.uno.RuntimeException message: unsatisfied query for interface > of type com.sun.star.lang.XUnoTunnel! > /home/julien/lo/libreoffice/include/com/sun/star/uno/Reference.hxx:83 It crashes - in my case - nearly instantaneous after those warning appear.
On Win10 with master sources updated today, I could reproduce this. For a reason I ignore, I fail to retrieve a bt on Windbg. (never know if I must attach to simpress.exe, soffice.exe or soffice.bin). When attaching to soffice.bin, it hangs, when attaching to soffice.exe, it crashes/aborts and proposes to Ignore, retry or abandon, I think I tested the 3 and never got a stacktrace with !analyze -v
*** Bug 146503 has been marked as a duplicate of this bug. ***
see bt provided by Regina here: https://bugs.documentfoundation.org/attachment.cgi?id=177227 Telesto: the weird thing is it seems at a different location than yours.
*** Bug 146582 has been marked as a duplicate of this bug. ***
Bisect result in bug 146582 https://git.libreoffice.org/core/commit/62efb188668a3296591dcfa3658185e2f982e356 use comphelper::WeakComponentImplHelper in SlideShowView
fix at https://gerrit.libreoffice.org/c/core/+/127998
(In reply to Noel Grandin from comment #9) > fix at https://gerrit.libreoffice.org/c/core/+/127998 The fix works for me!
Noel Grandin committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/a6e7b7c9044c689b7824cf97f4ff79655a950802 tdf#146499 Crash to desktop when activating presentation mode It will be available in 7.4.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.
Noting that the XUnoTunnel warning had nothing to do with this bug
After having updated local repo, I confirm I don't reproduce the hang anymore. But I still have: warn:sd:24374:24374:sd/source/ui/framework/tools/FrameworkHelper.cxx:209: DBG_UNHANDLED_EXCEPTION in lcl_getViewShell exception: com.sun.star.uno.RuntimeException message: unsatisfied query for interface of type com.sun.star.lang.XUnoTunnel! /home/julien/lo/libreoffice/include/com/sun/star/uno/Reference.hxx:83 warn:legacy.tools:24374:24374:svx/source/form/fmshimp.cxx:1800: only to be used in alive mode so indeed, unrelated.