Bug 139282 - Crash if I open the macro editor
Summary: Crash if I open the macro editor
Status: VERIFIED DUPLICATE of bug 139074
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.1.0.1 rc
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks:
 
Reported: 2020-12-28 14:39 UTC by Nicola Ricciarelli
Modified: 2021-01-17 19:32 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicola Ricciarelli 2020-12-28 14:39:46 UTC
Description:
I tried Libreoffice 7.1 RC1 and using calc I've found that if I open a spreadsheet document, also create a new one, if I select to Edit macro in short time Libreoffice crashes. It happened with a document I used and for which I had to change a macro so I tried with a new empty spreadsheet document and .. nothing the problem always repeated. The same happens also with all other Libreoffice programs.

Steps to Reproduce:
1. Open Libreoffice
2. Choose one of the programs (Writer, Calc, ..)
3. Select:    Tools --> Macros --> Edit Macros


Actual Results:
within three seconds it'll crash

Expected Results:
Open the Macro editor


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.1.0.1 (x64)
Build ID: b585d7d90ab863bf29b2d110c174c0c2a98f3ee4
CPU threads: 2; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: it-IT (it_IT); UI: en-US
Calc: threaded
Comment 1 Julien Nabet 2020-12-28 16:46:14 UTC
Could you give a try at https://wiki.documentfoundation.org/QA/FirstSteps ?
Comment 2 Nicola Ricciarelli 2020-12-28 18:49:02 UTC
Hi, as you requested, I've checked. Here are the tests results:

- Libreoffice 7.0.4.2  it works perfectly, not such crash problem

- I completely deleted the previous profile and used a clean one.  Same problem  (so impossible corrupted older user profile)

- Help ▸ About LibreOffice returns:
	Version: 7.1.0.1 (x64)
	Build ID: b585d7d90ab863bf29b2d110c174c0c2a98f3ee4
	CPU threads: 2; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
	Locale: it-IT (it_IT); UI: en-US
	Calc: threaded

	yes, I'm using the last stable graphic driver for my graphic card(nvidia)
	I tried to disable the Skia and restarted Libreoffice but still have same crash

- tried with checked and unchecked   Tools ▸ Options... ▸ LibreOffice ▸ OpenCL ▸ Allow use of OpenCL     in both cases I restarted Libreoffice but the same crash event occurs

- tried to uncheck hardware acceleration in   Tools ▸ Options... ▸ LibreOffice ▸ View     again restarted Libreoffice but again same crash
Comment 3 Nicola Ricciarelli 2020-12-28 19:07:26 UTC
I missed: for Libreoffice 7.0.4.2  that worked perfectly this is the output of Help ▸ About LibreOffice:


Version: 7.0.4.2 (x64)
Build ID: dcf040e67528d9187c66b2379df5ea4407429775
CPU threads: 2; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: it-IT (it_IT); UI: en-US
Calc: threaded


(OpenCL is not used,  "Use anti-aliasing" and "Use Skia for all rendering" are enabled while "Force Skia software rendering" is unchecked)
Comment 4 Julien Nabet 2020-12-28 19:32:52 UTC
Thank you for the detailed feedback.
I gave it a try with Italian language and Italian locale, I didn't reproduce this.
Now it's perhaps a Windows only bug or perhaps it's been fixed in 7.2 branch.

The only remaining thing, if possible, is to retrieve a backtrace (see https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#Windows:_How_to_get_a_backtrace).

I'll let as UNCONFIRMED instead of NEEDINFO so people may give it a try.
Comment 5 V Stuart Foote 2020-12-28 20:45:52 UTC
Confirmed with
Version: 7.1.0.1 (x86)
Build ID: b585d7d90ab863bf29b2d110c174c0c2a98f3ee4
CPU threads: 8; OS: Windows 10.0 Build 18363; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL

Opening the Tools -> Macros -> Edit Macros.. dialog after a few moments it crashes.

With WinDbg attached get this stack trace, issue as for bug 139074

0:000:x86> ~* kp

.  0  Id: 3700.3c78 Suspend: 1 Teb: 010ce000 Unfrozen
 # ChildEBP RetAddr  
00 01b8efa0 78c084d0 ucrtbase!abort+0x4b
01 01b8efb4 5620c55c mergedlo!comphelper::SolarMutex::doRelease(bool bUnlockAll = <Value unavailable error>)+0x60 [C:\cygwin64\home\buildslave\source\libo-core\comphelper\source\misc\solarmutex.cxx @ 66] 
02 01b8efc8 7aa6693b vclplug_winlo!SalYieldMutex::doRelease(bool bUnlockAll = true)+0x3c [C:\cygwin64\home\buildslave\source\libo-core\vcl\win\app\salinst.cxx @ 180] 
03 01b8efd0 5622f4be mergedlo!SalInstance::ReleaseYieldMutexAll(void)+0xb [C:\cygwin64\home\buildslave\source\libo-core\vcl\source\app\salvtables.cxx @ 117] 
04 (Inline) -------- vclplug_winlo!SolarMutexReleaser::{ctor}+0x6 [C:\cygwin64\home\buildslave\source\libo-core\include\vcl\svapp.hxx @ 1408] 
05 01b8f010 78a2ba71 vclplug_winlo!CWinClipboard::getContents(void)+0x2e [C:\cygwin64\home\buildslave\source\libo-core\vcl\win\dtrans\WinClipboard.cxx @ 95] 
06 (Inline) -------- mergedlo!basctl::ModulWindow::IsPasteAllowed+0x5e [C:\cygwin64\home\buildslave\source\libo-core\basctl\source\basicide\baside2.cxx @ 1382] 
07 01b8f224 78a43572 mergedlo!basctl::ModulWindow::GetState(class SfxItemSet * rSet = 0x01b8f3b0 {size=0})+0x1b1 [C:\cygwin64\home\buildslave\source\libo-core\basctl\source\basicide\baside2.cxx @ 1082] 
08 01b8f384 78a4b97e mergedlo!basctl::Shell::GetState(class SfxItemSet * rSet = 0x01b8f3b0 {size=0})+0xf22 [C:\cygwin64\home\buildslave\source\libo-core\basctl\source\basicide\basides1.cxx @ 1120] 
09 01b8f390 7980d2ff mergedlo!SfxStubbasctl_ShellGetState(class SfxShell * pShell = 0x2eff8318, class SfxItemSet * rSet = 0x01b8f3b0 {size=0})+0xe [C:\cygwin64\home\buildslave\r\workdir\SdiTarget\basctl\sdi\basslots.hxx @ 152] 
0a (Inline) -------- mergedlo!SfxShell::CallState+0x7 [C:\cygwin64\home\buildslave\source\libo-core\include\sfx2\shell.hxx @ 199] 
0b 01b8f3dc 797fac3b mergedlo!SfxShell::GetSlotState(unsigned short nSlotId = 0x1650, class SfxInterface * pIF = <Value unavailable error>, class SfxItemSet * pStateSet = 0x00000000)+0xdf [C:\cygwin64\home\buildslave\source\libo-core\sfx2\source\control\shell.cxx @ 475] 
0c 01b8f420 7982ff01 mergedlo!SfxDispatcher::QueryState(unsigned short nSID = 0x1650, class com::sun::star::uno::Any * rAny = 0x01b8f494)+0xbb [C:\cygwin64\home\buildslave\source\libo-core\sfx2\source\control\dispatch.cxx @ 1862] 
0d 01b8f4b4 798300bc mergedlo!SfxDispatchController_Impl::addStatusListener(class com::sun::star::uno::Reference<com::sun::star::frame::XStatusListener> * aListener = 0x01b8f598 {{...}}, struct com::sun::star::util::URL * aURL = 0x371b5860)+0x91 [C:\cygwin64\home\buildslave\source\libo-core\sfx2\source\control\unoctitm.cxx @ 834] 
0e 01b8f4c4 79ce244e mergedlo!SfxOfficeDispatch::addStatusListener(class com::sun::star::uno::Reference<com::sun::star::frame::XStatusListener> * aListener = 0x01b8f598 {{...}}, struct com::sun::star::util::URL * aURL = 0x371b5860)+0x2c [C:\cygwin64\home\buildslave\source\libo-core\sfx2\source\control\unoctitm.cxx @ 255] 
0f 01b8f5b0 79ce49bc mergedlo!svt::ToolboxController::bindListener(void)+0x54e [C:\cygwin64\home\buildslave\source\libo-core\svtools\source\uno\toolboxcontroller.cxx @ 537] 
10 01b8f5dc 7942cf8d mergedlo!svt::ToolboxController::update(void)+0x6c [C:\cygwin64\home\buildslave\source\libo-core\svtools\source\uno\toolboxcontroller.cxx @ 236] 
11 01b8f654 7942adeb mergedlo!framework::ToolBarManager::UpdateControllers(void)+0x2fd [C:\cygwin64\home\buildslave\source\libo-core\framework\source\uielement\toolbarmanager.cxx @ 355] 
12 (Inline) -------- mergedlo!framework::ToolBarManager::AsyncUpdateControllersHdl+0xa3 [C:\cygwin64\home\buildslave\source\libo-core\framework\source\uielement\toolbarmanager.cxx @ 1935] 
13 01b8f688 7aaa585d mergedlo!framework::ToolBarManager::LinkStubAsyncUpdateControllersHdl(void * instance = 0x2f36eb68, class Timer * data = 0x2f36ec20)+0xcb [C:\cygwin64\home\buildslave\source\libo-core\framework\source\uielement\toolbarmanager.cxx @ 1922] 
14 (Inline) -------- mergedlo!Link<Timer *,void>::Call+0xd [C:\cygwin64\home\buildslave\source\libo-core\include\tools\link.hxx @ 111] 
15 01b8f694 7aa83529 mergedlo!Timer::Invoke(void)+0xd [C:\cygwin64\home\buildslave\source\libo-core\vcl\source\app\timer.cxx @ 75] 
16 01b8f710 5620d84e mergedlo!Scheduler::ProcessTaskScheduling(void)+0x2b9 [C:\cygwin64\home\buildslave\source\libo-core\vcl\source\app\scheduler.cxx @ 503] 
17 01b8f718 5620a85c vclplug_winlo!WinSalTimer::ImplHandleElapsedTimer(void)+0x1e [C:\cygwin64\home\buildslave\source\libo-core\vcl\win\app\saltimer.cxx @ 164] 
18 01b8f754 5620a430 vclplug_winlo!ImplSalYield(bool bWait = true, bool bHandleAllCurrentEvents = false)+0x12c [C:\cygwin64\home\buildslave\source\libo-core\vcl\win\app\salinst.cxx @ 482] 
19 01b8f784 7aa9627f vclplug_winlo!WinSalInstance::DoYield(bool bWait = true, bool bHandleAllCurrentEvents = false)+0x90 [C:\cygwin64\home\buildslave\source\libo-core\vcl\win\app\salinst.cxx @ 528] 
1a (Inline) -------- mergedlo!ImplYield+0x28 [C:\cygwin64\home\buildslave\source\libo-core\vcl\source\app\svapp.cxx @ 447] 
1b (Inline) -------- mergedlo!Application::Yield+0x28 [C:\cygwin64\home\buildslave\source\libo-core\vcl\source\app\svapp.cxx @ 511] 
1c 01b8f7bc 79a3caf7 mergedlo!Application::Execute(void)+0x15f [C:\cygwin64\home\buildslave\source\libo-core\vcl\source\app\svapp.cxx @ 426] 
1d 01b8f8cc 7aaa447f mergedlo!desktop::Desktop::Main(void)+0x1107 [C:\cygwin64\home\buildslave\source\libo-core\desktop\source\app\app.cxx @ 1590] 
1e 01b8f8f8 79a59e41 mergedlo!ImplSVMain(void)+0x6f [C:\cygwin64\home\buildslave\source\libo-core\vcl\source\app\svmain.cxx @ 196] 
1f 01b8f970 00aa1049 mergedlo!soffice_main(void)+0x141 [C:\cygwin64\home\buildslave\source\libo-core\desktop\source\app\sofficemain.cxx @ 98] 
20 (Inline) -------- soffice!sal_main+0x6 [C:\cygwin64\home\buildslave\source\libo-core\desktop\source\app\main.c @ 49] 
21 01b8f97c 00aa1241 soffice!main(int argc = 0n2, char ** argv = 0x05217e10)+0x19 [C:\cygwin64\home\buildslave\source\libo-core\desktop\source\app\main.c @ 47] 
22 (Inline) -------- soffice!invoke_main+0x1c [d:\agent\_work\4\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 78] 
23 01b8f9c4 759f6359 soffice!__scrt_common_main_seh(void)+0xfa [d:\agent\_work\4\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 288] 
24 01b8f9d4 776d8944 KERNEL32!BaseThreadInitThunk+0x19
25 01b8fa30 776d8914 ntdll_77670000!__RtlUserThreadStart+0x2f
26 01b8fa40 00000000 ntdll_77670000!_RtlUserThreadStart+0x1b

*** This bug has been marked as a duplicate of bug 139074 ***
Comment 6 Nicola Ricciarelli 2021-01-17 19:24:00 UTC
This morning I've downloaded Libreoffice 7.1.0.2 and tested it. It seems this bug has been SOLVED.

Nicola
Comment 7 Julien Nabet 2021-01-17 19:32:31 UTC
Thank you for your feedback, let's put this one to VERIFIED then.