SEH Exception

I am having a LOCalc issue. Recently many of my previously existing Calc files started failing when they open. They were saved correctly in September and upon re-opening, I either get an SEH exception violation or no message at all - the program just closes.

Any suggestions?

Are you running v5.x? It sounds like this is another OpenGL-related bug e.g., tdf#97277. Fixes are likely forthcoming as the developers are aware of this issue.

EDIT: In the meantime try turning off OpenGL as indicated in the answer here.

EDIT 2: It appears this is a more widespread Windows platform bug. While there are several bug reports for v5.x (list for “SEH” here) most are unconfirmed or need further information i.e., the problem is not easy to reproduce.

EDIT 3: According to this mailing list comment by Regina this error appears to be OpenCL / graphics card driver related. The workaround is to turn off OpenCL.

I had some luck and could update my graphic card driver to the newest version and it fixed my problems with OpenCL. (but in this case totally unrelated to SEH)

I still have this error with a Calc sheet with OpenGL off and a new user profile using on Windows 7 64 bit. 5.0.5 works fine.

Edit to add trace:

  •                                                                         *
  •                    Exception Analysis                                   *
  •                                                                         *

00000000 ?? ???

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

CONTEXT: 0000000000000000 – (.cxr 0x0;r)
eax=0152b860 ebx=0b86d3c8 ecx=00000000 edx=00000000 esi=0c2dde20 edi=00000000
eip=00000000 esp=0152b820 ebp=0152b8b4 iopl=0 nv up ei pl zr na pe nc
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010246
00000000 ?? ???

FAULTING_THREAD: 00000000000004a0

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: 0000000000000000

WRITE_ADDRESS: 0000000000000000

00000000 ?? ???

00000000 ?? ???



APP: soffice.bin

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




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

LAST_CONTROL_TRANSFER: from 0000000000000000 to 0000000000000000

WARNING: Frame IP not in any known module. Following frames may be wrong.
0152b81c 16d4709b 0152b860 0b86b830 0c2dcfc0 0x0
0152b8b4 16d847b1 0b86e600 0b86b7e0 0152b91c amdocl+0x709b
0152b8e4 16d48c58 00000002 00000000 00000002 amdocl+0x447b1
0152b8fc 17139706 00000000 00000002 0152b91c amdocl+0x8c58
0152b92c 1713ae20 0152b944 00000000 0c2cefe8 amdocl!clGetSamplerInfo+0x329f6
0152b948 171422aa 00000000 00000000 170fc080 amdocl!clGetSamplerInfo+0x34110
0152b970 1714237a 171323f6 00000000 16d40000 amdocl!clGetSamplerInfo+0x3b59a
0152b9d0 171325f6 16d40000 1710b216 16d40000 amdocl!clGetSamplerInfo+0x3b66a
0152b9fc 170fc091 00000004 70881085 00000000 amdocl!clGetSamplerInfo+0x2b8e6
0152ba04 70881085 00000000 00000000 0152ba20 amdocl!clIcdGetPlatformIDsKHR+0x11
0152ba2c 708836d7 0152ba5c 0152bfe8 0ac5b55c OpenCL+0x1085
0152ba30 0152ba5c 0152bfe8 0ac5b55c 0152bea8 OpenCL!clGetExtensionFunctionAddress+0x877
0152ba34 0152bfe8 0ac5b55c 0152bea8 00000034 0x152ba5c
0152ba5c 642e6c63 00006c6c 00000000 00000000 0x152bfe8
0152ba60 00000000 00000000 00000000 00000000 0x642e6c63

STACK_COMMAND: .cxr 0x0 ; kb


SYMBOL_NAME: soffice.bin!unknown_error_in_process


MODULE_NAME: soffice

IMAGE_NAME: soffice.bin


FAILURE_BUCKET_ID: SOFTWARE_NX_FAULT_NULL_c0000005_soffice.bin!unknown_error_in_process



FAILURE_ID_HASH_STRING: um:software_nx_fault_null_c0000005_soffice.bin!unknown_error_in_process

FAILURE_ID_HASH: {2a378ab1-1ef0-c8a1-09cf-c6d53a752dc7}

Edit to update version used: The error also occurs with I moved back to 5.0.5 so i can get some work done.

Edit to include openCL results: I reinstalled, turned off OpenCL and my document now loads without the SEH exception. I will continue testing with Thanks for your assistance.

Perhaps try starting LO from the command prompt using the --backtrace parameter? Related wiki page here.