Newly installed LibreOffice 5 crashes opening any spreadsheet

Win 7 Pro 64 bit;
LibreOffice 5.1.3.2 (x64);
(MS Office 2013)

Have been using OpenOffice 4.x with a mixture of .ods and .xls spreadsheets for years. Decided to try the switch to LibreOffice a few days ago after discovering OO has been sidelined. Uninstalled OO, installed LO (first the ordinary version, then later x64).

Calc will open a blank spreadsheet, but crashes on every attempt to open an existing .ods or .xls file and attempts to go to documnet recovery but without lising any file (Can’t upload image as I “need 3 points”???). Program then returns to opening screen. Repeated attempts to open any existing spreadsheet all cause same crash. Have tried uninstall and reinstall without avail.

Can’t find anyone else having this problem, but needless to say, am very close to giving up and just reverting to MS.

Reedmace

Have uninstalled x64 and reinstalled x86 as suggested. Problem persists. Backtrace has been performed and has now finished. Unable to upload text file with results as still don’t have enough points??? Backtrace pasted below:

    *******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************

*** WARNING: Unable to verify checksum for C:\Windows\SysWOW64\OpenCL.dll
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Windows\SysWOW64\OpenCL.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Program Files (x86)\LibreOffice 5\program\soffice.bin - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Users\nnn\AppData\Roaming\Dropbox\bin\DropboxExt.34.dll - 

FAULTING_IP: 
+0
18a54408 15000000e0      adc     eax,0E0000000h

EXCEPTION_RECORD:  ffffffffffffffff -- (.exr 0xffffffffffffffff)
ExceptionAddress: 0000000018a54408
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 0000000000000008
   Parameter[1]: 0000000018a54408
Attempt to execute non-executable address 0000000018a54408

CONTEXT:  0000000000000000 -- (.cxr 0x0;r)
eax=18a54408 ebx=18bd6b78 ecx=18aa7de8 edx=0000007f esi=18aa7de8 edi=18bd6b78
eip=18a54408 esp=00eba9e8 ebp=00ebaa64 iopl=0         nv up ei pl nz na po nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010202
18a54408 15000000e0      adc     eax,0E0000000h

FAULTING_THREAD:  0000000000002a64

PROCESS_NAME:  soffice.bin

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.

EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.

EXCEPTION_PARAMETER1:  0000000000000008

EXCEPTION_PARAMETER2:  0000000018a54408

WRITE_ADDRESS:  0000000018a54408 

FOLLOWUP_IP: 
+0
18a54408 15000000e0      adc     eax,0E0000000h

FAILED_INSTRUCTION_ADDRESS: 
+0
18a54408 15000000e0      adc     eax,0E0000000h

NTGLOBALFLAG:  0

APPLICATION_VERIFIER_FLAGS:  0

APP:  soffice.bin

ANALYSIS_VERSION: 6.3.9600.17336 (debuggers(dbg).150226-1500) amd64fre

IP_ON_HEAP:  0000000018a54408
The fault address in not in any loaded module, please check your build's rebase
log at <releasedir>\bin\build_logs\timebuild\ntrebase.log for module which may
contain the address if it were loaded.

BUGCHECK_STR:  APPLICATION_FAULT_SOFTWARE_NX_FAULT_INVALID_ZEROED_STACK

PRIMARY_PROBLEM_CLASS:  SOFTWARE_NX_FAULT_INVALID

DEFAULT_BUCKET_ID:  SOFTWARE_NX_FAULT_INVALID

ADDITIONAL_DEBUG_TEXT:  Followup set based on attribute [Is_ChosenCrashFollowupThread] from Frame:[0] on thread:[PSEUDO_THREAD]

LAST_CONTROL_TRANSFER:  from 0000000000000000 to 0000000000000000

STACK_TEXT:  
WARNING: Frame IP not in any known module. Following frames may be wrong.
00eba9e4 284f6923 00ebaa5c 18abfbe0 18aa7de8 0x18a54408
00ebaa64 2849bcaf 00000003 18bd6b78 18abe4c8 amdocl!oclGetAsic+0x63f03
00ebaac8 286643b5 18abe4c8 28630000 7ff00000 amdocl!oclGetAsic+0x928f
00ebac9c 28663cc5 18bd6b78 18abe4c8 18abe178 amdocl!clRetainSampler+0x27605
00ebacb8 28664a9c 00ebace4 00000000 08b02078 amdocl!clRetainSampler+0x26f15
00ebacd8 2865f481 00000000 00000014 18abe178 amdocl!clRetainSampler+0x27cec
00ebad48 28661fc5 00000000 770acec9 00000000 amdocl!clRetainSampler+0x226d1
00ebadb8 2865e9d6 286322c0 28649c30 286322c0 amdocl!clRetainSampler+0x25215
00ebade0 286322d1 00ebae14 650a1081 00000000 amdocl!clRetainSampler+0x21c26
00ebade8 650a1081 00000000 00000000 00ebae10 amdocl!clIcdGetPlatformIDsKHR+0x11
00ebae14 650a3f37 00ebae2c 00ebb3d4 04e1219c OpenCL+0x1081
00ebb240 650a1219 04e1219c 00ebb294 545805a9 OpenCL!clGetExtensionFunctionAddress+0x8b7
00ebb24c 545805a9 00000000 00000000 00ebb284 OpenCL!clGetPlatformIDs+0x9
00ebb294 54581489 d877e9ec 00ebb3d4 04e1219c opencllo!opencl::fillOpenCLInfo+0xa9
00ebb314 0de01b87 04e1219c 00000001 00000000 opencllo!opencl::switchOpenCLDevice+0x39
00ebb344 0de00ae7 04e1219c 00000001 00000000 sclo!sc::FormulaGroupInterpreter::switchOpenCLDevice+0x67
00ebb36c 0df28b03 00000000 0ea59a90 0ea59abc sclo!sc::FormulaGroupInterpreter::getStatic+0x57
00ebb394 54e6abe2 00000032 d877e954 00ebb440 sclo!ScTokenArray::CheckToken+0x1c3
00ebb3b8 0ddd6cc8 09c66000 d877e6a3 09c92680 forlo!formula::FormulaTokenArray::Add+0x52
00ebbc50 0ddd6732 00ebbcf8 d877e647 09c92680 sclo!ScCompiler::CompileString+0x578
00ebbcb4 0dcf5a2f 00ebbcf8 00ebbce8 d87785f3 sclo!ScCompiler::CompileString+0x192
00ebdf00 0db6892d 00ebdfe8 00ebdffc 00000036 sclo!ScFormulaCell::CompileXML+0x36f
00ebdf24 0db6abea 00000029 00ebdf9c 00000400 sclo!sc::EachElem<mdds::mtv::noncopyable_managed_element_block<54,ScFormulaCell>,std::_Vector_iterator<std::_Vector_val<std::_Simple_types<ScFormulaCell *> > >,mdds::__mtv::iterator_value_node<unsigned int,mdds::mtv::base_element_block>,`anonymous namespace'::CompileXMLHandler>+0xad
00ebdf84 0db813d9 18987c1c 00ebdf9c 00ebdfb3 sclo!sc::ProcessElements1<mdds::multi_type_vector<mdds::mtv::custom_block_func3<mdds::mtv::default_element_block<52,svl::SharedString>,mdds::mtv::noncopyable_managed_element_block<53,EditTextObject>,mdds::mtv::noncopyable_managed_element_block<54,ScFormulaCell> > >,mdds::mtv::noncopyable_managed_element_block<54,ScFormulaCell>,`anonymous namespace'::CompileXMLHandler,sc::FuncElseNoOp<unsigned int,bool> >+0xba
00ebdfa8 0dd4683f 00ebdfe8 00ebdffc 18431bf8 sclo!ScColumn::CompileXML+0x29
00ebdfc8 0dc2c2f3 00ebdfe8 00ebdffc d877baeb sclo!ScTable::CompileXML+0x2f
00ebe018 0dfeff73 d877ba9f 00ebe088 04eb6358 sclo!ScDocument::CompileXML+0xe3
00ebe06c 5018e911 00000000 d87ceb64 059eb958 sclo!ScXMLImport::endDocument+0x333
00ebe11c 0e00ab53 0eb829d4 00ebe214 d877bb47 expwraplo!`anonymous namespace'::SaxExpatParser::parseStream+0x321
00ebe1b4 0e00a107 00ebe254 00ebe25c 00ebe238 sclo!ScXMLImportWrapper::ImportFromComponent+0x433
00ebe3a4 0e10b6c0 0000000f 00ebe448 d877be97 sclo!ScXMLImportWrapper::Import+0x1887
00ebe464 0e10b290 08ca0358 00ebe48c d877be6f sclo!ScDocShell::LoadXML+0x90
00ebe49c 108e3e9f 01ca0358 d9a4ff51 065896e8 sclo!ScDocShell::Load+0x110
00ebe4dc 108dfa6a 08ca0358 d9a4fee1 0eba980c mergedlo!SfxObjectShell::LoadOwnFormat+0x10f
00ebe56c 109177fe 08ca0358 d9a4fe55 0c753c0c mergedlo!SfxObjectShell::DoLoad+0x5ea
00ebe5d8 1099df9f 0eba980c 00ebe634 d9a4fde1 mergedlo!SfxBaseModel::load+0x24e
00ebe66c 1038e47a 0c753c0c 00ebe6dc 00ebe6e4 mergedlo!`anonymous namespace'::SfxFrameLoader_Impl::load+0x41f
00ebe6fc 1039195b d9a4fccd 0b2cb650 0fc4ebdc mergedlo!framework::LoadEnv::impl_loadContent+0x7ea
00ebe740 1033f99f d9a4fc31 0b2cb664 0b2cb668 mergedlo!framework::LoadEnv::startLoading+0x16b
00ebe7bc 1033f502 00ebe840 00ebe814 00ebe998 mergedlo!framework::LoadDispatcher::impl_dispatch+0x27f
00ebe7ec 5ea1e73c 0b2cb668 00ebe840 00ebe814 mergedlo!framework::LoadDispatcher::dispatchWithReturnValue+0x52
00ebe878 10727244 00ebe9bc 0b2cb668 0b2cb664 comphelper!comphelper::SynchronousDispatch::dispatch+0x16c
00ebe9e0 10721e1e 00ebeac4 00ebea3c 107a007c mergedlo!SfxApplication::OpenDocExec_Impl+0x1ee4
00ebe9ec 107a007c 04df9140 00ebeac4 d9a4f1b1 mergedlo!SfxStubSfxApplicationOpenDocExec_Impl+0xe
00ebea3c 107a36c9 04df9140 0007c800 00ebeac4 mergedlo!SfxDispatcher::Call_Impl+0x24c
00ebea70 107a0e13 04df9140 1384ef40 00ebeac4 mergedlo!SfxDispatcher::_Execute+0x69
00ebeb00 107a0c93 0000157d 00000001 00000000 mergedlo!SfxDispatcher::Execute+0x173
00ebeb18 10725c43 0000157d 00000001 1834e550 mergedlo!SfxDispatcher::Execute+0x13
00ebec74 10721e1e 00000000 00ebecd0 107a007c mergedlo!SfxApplication::OpenDocExec_Impl+0x8e3
00ebec80 107a007c 04df9140 00ebed58 d9a4f75d mergedlo!SfxStubSfxApplicationOpenDocExec_Impl+0xe
00ebecd0 107a36c9 04df9140 0007c800 00ebed58 mergedlo!SfxDispatcher::Call_Impl+0x24c
00ebed04 107a0c19 04df9140 1384ef40 00ebed58 mergedlo!SfxDispatcher::_Execute+0x69
00ebed88 0e11afe4 08705320 0000157d 00000009 mergedlo!SfxDispatcher::Execute+0x149
00ebefe8 0e10e2ee 00ebf1a4 00ebf044 107a007c sclo!ScDocShell::Execute+0x1ce4
00ebeff4 107a007c 086be670 00ebf1a4 d9a4ebc9 sclo!SfxStubScDocShellExecute+0xe
00ebf044 107a36c9 086be670 00054800 00ebf1a4 mergedlo!SfxDispatcher::Call_Impl+0x24c
00ebf078 10794d51 086be670 0ea47a98 00ebf1a4 mergedlo!SfxDispatcher::_Execute+0x69
00ebf0d4 107d3dcd 00ebf1a4 0ea47a98 086be670 mergedlo!SfxBindings::Execute_Impl+0x2b1
00ebf200 107d422d 08af0808 00ebf268 00ebf2bc mergedlo!SfxDispatchController_Impl::dispatch+0x72d
00ebf244 1043a51a 00000000 00ebf268 00ebf2bc mergedlo!SfxOfficeDispatch::dispatch+0x12d
00ebf2cc 1043911e 00000001 00ebf308 11617d0f mergedlo!framework::MenuBarManager::Select+0x33a
00ebf2d8 11617d0f 0b28ae68 0044a280 d9a4e885 mergedlo!framework::MenuBarManager::LinkStubSelect+0xe
00ebf308 1167f975 0044a280 00000000 04e57130 mergedlo!Menu::Select+0x8f
00ebf31c 1167fe92 089436c0 d9a4e8f1 00000000 mergedlo!ImplHandleUserEvent+0x35
00ebf37c 119935e9 00e56fb0 04e57368 00000016 mergedlo!ImplWindowFrameProc+0x3e2
00ebf394 11995e68 000e00dc 089436c0 00000482 mergedlo!ImplHandleUserEvent+0x29
00ebf3d4 11996450 000e00dc 00000482 00000000 mergedlo!SalFrameWndProc+0x738
00ebf420 75d862fa 000e00dc 00000482 00000000 mergedlo!SalFrameWndProcW+0x60
00ebf44c 75d86d3a 119963f0 000e00dc 00000482 USER32!InternalCallWinProc+0x23
00ebf4c4 75d877d3 00000000 119963f0 000e00dc USER32!UserCallWinProcCheckWow+0x109
00ebf528 75d8789a 119963f0 00000000 00ebf56c USER32!DispatchMessageWorker+0x3cb
00ebf538 1195a004 00ebf550 0040d748 00000001 USER32!DispatchMessageW+0xf
00ebf56c 11959e61 00000000 00000000 13911350 mergedlo!ImplSalYield+0x64
00ebf590 118da967 00000000 00000000 00000000 mergedlo!WinSalInstance::DoYield+0xc1
00ebf5d0 109d2ccc d9a4ecc1 13911350 003c40d1 mergedlo!Application::Execute+0x187
00ebf74c 118e2149 d9a4ecf9 00000000 003c40d1 mergedlo!desktop::Desktop::Main+0xd3c
00ebf774 118e24f9 004f6120 00ebf7f0 109ecd79 mergedlo!ImplSVMain+0x49
00ebf780 109ecd79 d9a4ec7d 003c40d1 12b61018 mergedlo!SVMain+0x29
00ebf7f0 002b101e 003c40d1 002b12b2 002b0000 mergedlo!soffice_main+0x79
00ebf844 776b338a 7efde000 00ebf890 77be9902 soffice+0x101e
00ebf850 77be9902 7efde000 723d54b8 00000000 KERNEL32!BaseThreadInitThunk+0xe
00ebf890 77be98d5 002b1183 7efde000 00000000 ntdll_77bb0000!__RtlUserThreadStart+0x70
00ebf8a8 00000000 002b1183 7efde000 00000000 ntdll_77bb0000!_RtlUserThreadStart+0x1b


STACK_COMMAND:  .cxr 0x0 ; kb

SYMBOL_STACK_INDEX:  0

SYMBOL_NAME:  soffice.bin!unknown_error_in_process

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: soffice

IMAGE_NAME:  soffice.bin

DEBUG_FLR_IMAGE_TIMESTAMP:  572a1efc

FAILURE_BUCKET_ID:  SOFTWARE_NX_FAULT_INVALID_c0000005_soffice.bin!unknown_error_in_process

BUCKET_ID:  X64_APPLICATION_FAULT_SOFTWARE_NX_FAULT_INVALID_ZEROED_STACK_BAD_IP_soffice.bin!unknown_error_in_process

ANALYSIS_SOURCE:  UM

FAILURE_ID_HASH_STRING:  um:software_nx_fault_invalid_c0000005_soffice.bin!unknown_error_in_process

FAILURE_ID_HASH:  {544b7c24-523a-cba5-b6a0-3bb1fcaa9c1a}

Followup: MachineOwner
---------

That is with both, the x64 64-bit version of LibreOffice and the x86 32-bit version? That would be very odd. Try to deinstall completely and install the 32-bit version. If problem persists we’d be interested in a backtrace, see https://wiki.documentfoundation.org/How_to_get_a_backtrace_with_WinDbg

Just wondering if anyone is following this up?

Likely you’re a victim of your OpenCL driver. Try to disable OpenCL under Tools - Options - LibreOffice - OpenCL

Failing that, try to disable DropBox or exclude paths LibreOffice writes to, e.g. temporary and backup files, configuration files, …

Disabling OpenCL as instructed has solved the problem. Thank you. However, does this mean that LO will now only run on a single core on my i7 machine?

Most runs on one core anyway. However, with OpenCL some larger amounts of spreadsheet data are calculated on the GPU.

Could you please give detailed information on the OpenCL driver, such as manufacturer and exact version number, so it can be added to the blacklist? Thanks.

Where can I find details of the driver? The OpenCL.dll info (in Windows\SysWOW64) is as follows: Company=Khronos Group, v1.2.11.0, created 15/01/2013

http://dev-www.libreoffice.org/opencl/Windows/

This should generate a file with all the necessary info to blacklist that device driver combination.

Check if there is a file called ‘opencl_devices.log’ in the ‘cache’ folder in your LibreOffice profile.

Moggi - Opencl Info.exe crashes after a few moments creating an empty file called opencl.log

Tor - there is an opengl_devices.log, but no opencl_devices.log