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
User Profile Reset: No
Version: 188.8.131.52.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
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:
> DBG_UNHANDLED_EXCEPTION in lcl_getViewShell exception:
> com.sun.star.uno.RuntimeException message: unsatisfied query for interface
> of type com.sun.star.lang.XUnoTunnel!
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:
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
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":
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:
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.