Bug 152346 - 7.5 Windows 32-bit crashes on startup
Summary: 7.5 Windows 32-bit crashes on startup
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.5.0.0 alpha0+
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectNotNeeded, haveBacktrace, regression
: 152384 153528 153576 153627 153820 (view as bug list)
Depends on:
Blocks: Crash
  Show dependency treegraph
 
Reported: 2022-12-01 22:51 UTC by David
Modified: 2023-03-03 08:45 UTC (History)
9 users (show)

See Also:
Crash report or crash signature:


Attachments
Dump file (49.77 KB, application/octet-stream)
2023-02-11 05:50 UTC, NickM
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David 2022-12-01 22:51:51 UTC
The current 7.5 alpha version of the Windows 32 bit edition (all components) crashes while initializing after a clean install and no user profile. Version 7.4.3 works fine. KB3063858 is installed. I have tried several master builds going back to about a month ago and they all fail on multiple computers.
Comment 1 David 2022-12-01 22:54:25 UTC
I have tried running this on both 32-bit and 64-bit Windows 7 computers. I have not tried it on any later version of Windows.
Comment 2 David 2022-12-02 12:49:52 UTC
I should clarify that version 7.4.3 x86 starts correctly on a clean install and a new profile. It still has bug 151540 where it will crash on restart if the experimental features are enabled. This is a different issue, though maybe related somehow.
Comment 3 Telesto 2022-12-05 18:19:49 UTC
*** Bug 152384 has been marked as a duplicate of this bug. ***
Comment 4 stragu 2023-01-30 20:56:14 UTC
I couldn't reproduce on Windows 10, when installing with SI GUI and making sure the destination folder was different to the previously installed 7.5.0.2 64 bits installation.

Version: 7.5.0.2 (x86) / LibreOffice Community
Build ID: c0dd1bc3f1a385d110b88e26ece634da94921f58
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: threaded

However, if I installed it with the defaults given to me by SI GUI, it reused the same directory as for the 64 bits version, and would end up with a soffice.exe that straight away gives me an error message.

Which installers did you use, David? And nobu, same question?
Comment 5 David 2023-01-31 23:01:42 UTC
(In reply to Stéphane Guillou (stragu) from comment #4)
> Which installers did you use, David? And nobu, same question?

I just tried the latest 7.5.0.3_x86 installer on both Windows 7 32 and 64-bit machines with any previous profile directory removed and the computer rebooted. LibreOffice still crashes on initialization. The earliest 7.5alpha that I know I tested is dated 11-24-2022. And all the ones I've tried since then have continued to fail. Default installations were used. KB3063858 is installed. I have not tried it on any later versions of Windows.
Comment 6 stragu 2023-02-01 10:58:03 UTC
(In reply to David from comment #5)
> I just tried the latest 7.5.0.3_x86 installer on both Windows 7 32 and
> 64-bit machines with any previous profile directory removed and the computer
> rebooted.

Are you using SI-GUI, or downloading from our pre-releases server https://dev-builds.libreoffice.org/daily/master/Win-x86@39/, or from the main website https://www.libreoffice.org/download/download-libreoffice/?type=win-x86&version=7.5.0 ?

Just trying to rule out the same-directory error I got in SI-GUI.
If you are using SI-GUI, have you deleted the directories of earlier 7.5 installs? (i.e. made sure that it does not reinstall in an existing directory.

I just tried the latest installer from https://www.libreoffice.org/download/download-libreoffice/?type=win-x86&version=7.5.0 in Windows 10 64 bits and it also worked fine.
It might be Windows 7-only.
Comment 7 David 2023-02-01 16:49:20 UTC
(In reply to Stéphane Guillou (stragu) from comment #6)
> (In reply to David from comment #5)
> > I just tried the latest 7.5.0.3_x86 installer on both Windows 7 32 and
> > 64-bit machines with any previous profile directory removed and the computer
> > rebooted.
> 
> Are you using SI-GUI, or downloading from our pre-releases server
> https://dev-builds.libreoffice.org/daily/master/Win-x86@39/, or from the
> main website
> https://www.libreoffice.org/download/download-libreoffice/?type=win-
> x86&version=7.5.0 ?

I originally got the downloads from the daily masters, but the last one I got from https://www.libreoffice.org/donate/dl/win-x86/7.5.0/en-US/LibreOffice_7.5.0.3_Win_x86.msi

All previous installs and the profile directories, including development builds, were removed and the computer rebooted before doing the latest install.
Comment 8 David 2023-02-01 16:50:47 UTC
I'm using the normal GUI install with default settings.
Comment 9 David 2023-02-01 16:52:38 UTC
The install works properly. It is when trying to open an application after the install that LibreOffice fails on initialization.
Comment 10 David 2023-02-01 16:53:24 UTC
It does get as far as creating a new profile directory.
Comment 11 stragu 2023-02-02 13:13:14 UTC
Back to "NEW" after "NEEDINFO". Counting the duplicate, 3 people have been able to confirm on both Windows 7 and 10. However, I am still wondering if the duplicate's issue was a user error (installing both 64 and 32 bits in the same directory with SI-GUI).
Maybe Telesto can test again?

Now that 7.5 was officially released, we might get more duplicates.
Comment 12 Xisco Faulí 2023-02-02 16:27:42 UTC
Hi David,
What about 7.5.0.2 https://downloadarchive.documentfoundation.org/libreoffice/old/7.5.0.2/win/x86/
Does it work for you ?
Comment 13 David 2023-02-07 13:29:12 UTC
(In reply to Xisco Faulí from comment #12)
> Hi David,
> What about 7.5.0.2
> https://downloadarchive.documentfoundation.org/libreoffice/old/7.5.0.2/win/
> x86/
> Does it work for you ?

No, 7.5.0.2 crashes when trying to start the application after creating a new profile. This was tested on a new install of Windows 7 with the KB3063858 update installed. Version 7.4.5 works with the same profile that 7.5.0.2 had just created before it crashed.
Comment 15 Xisco Faulí 2023-02-09 19:50:06 UTC
Forget about my previous comment, we only have Win-x86_64 daily builds...
Comment 16 David 2023-02-10 07:38:02 UTC
The current x86 build is at https://dev-builds.libreoffice.org/daily/master/Win-x86@39/current/master~2023-02-10_00.09.01_LibreOfficeDev_7.6.0.0.alpha0_Win_x86.msi.

The problem does indeed seem to have been fixed. I tried this build on both a Windows 7x32 and an x64 system and it worked on both. It seems to have also fixed bug 151540. Can the fix be backported into 7.5.1?
Comment 17 stragu 2023-02-10 08:52:20 UTC
The fix is already merged in 7.5: https://gerrit.libreoffice.org/c/core/+/146507
Hopefully that's it!
David, could you see the UI at all before it crashed? Jim says some interaction between mouse pointer and the navigator was needed:
> "To reproduce the crash, move the mouse pointer from a position outside of content tree, to an empty position in the content tree, then move it to a position over an entry."
Comment 18 David 2023-02-10 09:26:39 UTC
(In reply to Stéphane Guillou (stragu) from comment #17)
> The fix is already merged in 7.5:
> https://gerrit.libreoffice.org/c/core/+/146507
> Hopefully that's it!
> David, could you see the UI at all before it crashed? Jim says some
> interaction between mouse pointer and the navigator was needed:
> > "To reproduce the crash, move the mouse pointer from a position outside of content tree, to an empty position in the content tree, then move it to a position over an entry."

The logo window would display briefly before it crashed. It never got to the point of opening an application window.
Comment 19 NickM 2023-02-11 05:50:03 UTC
Created attachment 185309 [details]
Dump file

Application crashes on "W7 32bit" system.
Аttaching the dump file and its analysis:

Loading Dump File [C:\2\9e666001-b394-4319-9211-614679c39e17.dmp]
User Mini Dump File: Only registers, stack and portions of memory are available


************* Symbol Path validation summary **************
Response                         Time (ms)     Location
Deferred                                       CACHE*C:\symbols
Deferred                                       SRV*http://dev-downloads.libreoffice.org/symstore/symbols
Deferred                                       SRV*http://msdl.microsoft.com/download/symbols
Deferred                                       symsrv*symsrv.dll*c:\symbols* http://msdl.microsoft.com/download/symbols
Symbol search path is: CACHE*C:\symbols;SRV*http://dev-downloads.libreoffice.org/symstore/symbols;SRV*http://msdl.microsoft.com/download/symbols;symsrv*symsrv.dll*c:\symbols* http://msdl.microsoft.com/download/symbols
Executable search path is: 
Windows 7 Version 7601 (Service Pack 1) MP (2 procs) Free x86 compatible
Product: WinNt, suite: SingleUserTS
Machine Name:
Debug session time: Tue Feb  7 00:01:53.000 2023 (UTC + 5:00)
System Uptime: not available
Process Uptime: 0 days 0:00:03.000
................................................................
......................................................
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(56c.570): Access violation - code c0000005 (first/second chance not available)
eax=00000187 ebx=00000000 ecx=778f77a5 edx=00b4f494 esi=00000124 edi=00000000
eip=778c6b94 esp=00b4f48c ebp=00b4f4f8 iopl=0         nv up ei pl zr na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000246
ntdll!KiFastSystemCallRet:
778c6b94 c3              ret
0:000> !analyze -v
*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************

*** WARNING: Unable to verify timestamp for soffice.bin
"soffice": Error (0x80070057): Failed to register NatVis for type 'com::sun::star::uno::Sequence < signed char >' (line 139 (@ 5))
*** WARNING: Unable to verify timestamp for sal3.dll
"sal3": Error (0x80070057): Failed to register NatVis for type 'com::sun::star::uno::Sequence < signed char >' (line 139 (@ 5))
Unable to load image C:\Program Files\LibreOffice\program\salhelper3MSC.dll, Win32 error 0n2
*** WARNING: Unable to verify timestamp for salhelper3MSC.dll
"salhelper3MSC": Error (0x80070057): Failed to register NatVis for type 'com::sun::star::uno::Sequence < signed char >' (line 139 (@ 5))
GetUrlPageData2 (WinHttp) failed: 12002.

DUMP_CLASS: 2

DUMP_QUALIFIER: 400

CONTEXT:  (.ecxr)
eax=00000002 ebx=0000000c ecx=6fba145b edx=00000002 esi=ffffffff edi=7008a5f8
eip=6df35e62 esp=00b4fb88 ebp=00b4fbe8 iopl=0         nv up ei pl zr na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010246
mergedlo!AllSettings::GetStyleSettings [inlined in mergedlo!vcl::Window::ImplUpdateGlobalSettings+0x172]:
6df35e62 8b36            mov     esi,dword ptr [esi]  ds:0023:ffffffff=????????
Resetting default scope

FAULTING_IP: 
mergedlo!vcl::Window::ImplUpdateGlobalSettings+172 [C:\cygwin64\home\buildslave\source\libo-core\vcl\source\window\settings.cxx @ 154]
6df35e62 8b36            mov     esi,dword ptr [esi]

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 6df35e62 (mergedlo!AllSettings::GetStyleSettings)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 00000000
   Parameter[1]: ffffffff
Attempt to read from address ffffffff

PROCESS_NAME:  soffice.bin

ERROR_CODE: (NTSTATUS) 0xc0000005 - <Unable to get error code text>

EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - <Unable to get error code text>

EXCEPTION_CODE_STR:  c0000005

EXCEPTION_PARAMETER1:  00000000

EXCEPTION_PARAMETER2:  ffffffff

READ_ADDRESS:  ffffffff 

FOLLOWUP_IP: 
mergedlo!vcl::Window::ImplUpdateGlobalSettings+172 [C:\cygwin64\home\buildslave\source\libo-core\vcl\source\window\settings.cxx @ 154]
6df35e62 8b36            mov     esi,dword ptr [esi]

WATSON_BKT_PROCSTAMP:  63d2f6e3

WATSON_BKT_PROCVER:  7.5.0.3

WATSON_BKT_MODULE:  mergedlo.dll

WATSON_BKT_MODSTAMP:  63d2f648

WATSON_BKT_MODOFFSET:  1d15e62

WATSON_BKT_MODVER:  7.5.0.3

BUILD_VERSION_STRING:  6.1.7601.24545 (win7sp1_ldr_escrow.200102-1707)

MODLIST_WITH_TSCHKSUM_HASH:  232b0dafa15ef2145bc77e990d23c317738a1a06

MODLIST_SHA1_HASH:  a108ca177bfca85cb9f40b54bbc63706e255e2fd

DUMP_FLAGS:  0

DUMP_TYPE:  2

APP:  soffice.bin

ANALYSIS_SESSION_HOST:  NICKMPC

ANALYSIS_SESSION_TIME:  02-07-2023 11:06:19.0886

ANALYSIS_VERSION: 10.0.10586.567 amd64fre

THREAD_ATTRIBUTES: 
PROBLEM_CLASSES: 



INVALID_POINTER_READ
    Tid    [0x570]
    Frame  [0x00]: mergedlo!vcl::Window::ImplUpdateGlobalSettings



FILL_PATTERN
    Tid    [0x570]
    Frame  [0x00]: mergedlo!vcl::Window::ImplUpdateGlobalSettings
    String [ffffffff]
    Failure Bucketing
    Data Bucketing


BUGCHECK_STR:  INVALID_POINTER_READ_FILL_PATTERN_ffffffff

DEFAULT_BUCKET_ID:  INVALID_POINTER_READ_FILL_PATTERN_ffffffff

LAST_CONTROL_TRANSFER:  from 6e37eba1 to 6df35e62

STACK_TEXT:  
00b4fbe8 6e37eba1 7008a5f8 00000001 ffffffff mergedlo!vcl::Window::ImplUpdateGlobalSettings+0x172
00b4fc00 6d496bff 00b4fc18 6c8ed0d1 00b4fda0 mergedlo!Application::MergeSystemSettings+0x51
00b4fc4c 6d2bd027 00b4fda0 6c8ed1c1 7008a538 mergedlo!SvtTabAppearanceCfg::SetApplicationDefaults+0x50f
00b4fd5c 6e38c11f 6c8ed115 72ea5530 70077550 mergedlo!desktop::Desktop::Main+0xe07
00b4fd88 6d2d927d 6c8ed2b9 00d7ed68 00deabf8 mergedlo!ImplSVMain+0x6f
00b4fe24 00041019 00deabf8 00b4fe78 0004124f mergedlo!soffice_main+0x28d
00b4fe30 0004124f 00000002 00deabf8 00d7ed68 soffice!main+0x19
00b4fe78 7633ef3c 7ffd8000 00b4fec4 778e360c soffice!__scrt_common_main_seh+0xfa
00b4fe84 778e360c 7ffd8000 77211a83 00000000 kernel32!BaseThreadInitThunk+0xe
00b4fec4 778e35df 00041334 7ffd8000 00000000 ntdll!__RtlUserThreadStart+0x70
00b4fedc 00000000 00041334 7ffd8000 00000000 ntdll!_RtlUserThreadStart+0x1b


THREAD_SHA1_HASH_MOD_FUNC:  91b41b2737a1279e3b1f691ad7832d496884ca1e

THREAD_SHA1_HASH_MOD_FUNC_OFFSET:  b9c15c1e6c7f2f31f55c561807875bf356506c6b

THREAD_SHA1_HASH_MOD:  b95a5e52f680ca02d6bbcdb12e8691ec92733a03

FAULT_INSTR_CODE:  5e8b368b

FAULTING_SOURCE_LINE:  C:\cygwin64\home\buildslave\source\libo-core\vcl\source\window\settings.cxx

FAULTING_SOURCE_FILE:  C:\cygwin64\home\buildslave\source\libo-core\vcl\source\window\settings.cxx

FAULTING_SOURCE_LINE_NUMBER:  154

SYMBOL_STACK_INDEX:  0

SYMBOL_NAME:  mergedlo!vcl::Window::ImplUpdateGlobalSettings+172

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: mergedlo

IMAGE_NAME:  mergedlo.dll

DEBUG_FLR_IMAGE_TIMESTAMP:  63d2f648

STACK_COMMAND:  .ecxr ; kb

BUCKET_ID:  INVALID_POINTER_READ_FILL_PATTERN_ffffffff_mergedlo!vcl::Window::ImplUpdateGlobalSettings+172

PRIMARY_PROBLEM_CLASS:  INVALID_POINTER_READ_FILL_PATTERN_ffffffff_mergedlo!vcl::Window::ImplUpdateGlobalSettings+172

BUCKET_ID_OFFSET:  172

BUCKET_ID_MODULE_STR:  mergedlo

BUCKET_ID_MODTIMEDATESTAMP:  63d2f648

BUCKET_ID_MODCHECKSUM:  41b9ad6

BUCKET_ID_MODVER_STR:  7.5.0.3

BUCKET_ID_PREFIX_STR:  INVALID_POINTER_READ_FILL_PATTERN_ffffffff_

FAILURE_PROBLEM_CLASS:  INVALID_POINTER_READ_FILL_PATTERN_ffffffff

FAILURE_EXCEPTION_CODE:  c0000005

FAILURE_IMAGE_NAME:  mergedlo.dll

FAILURE_FUNCTION_NAME:  vcl::Window::ImplUpdateGlobalSettings

BUCKET_ID_FUNCTION_STR:  vcl::Window::ImplUpdateGlobalSettings

FAILURE_SYMBOL_NAME:  mergedlo.dll!vcl::Window::ImplUpdateGlobalSettings

FAILURE_BUCKET_ID:  INVALID_POINTER_READ_FILL_PATTERN_ffffffff_c0000005_mergedlo.dll!vcl::Window::ImplUpdateGlobalSettings

WATSON_STAGEONE_URL:  http://watson.microsoft.com/StageOne/soffice.bin/7.5.0.3/63d2f6e3/mergedlo.dll/7.5.0.3/63d2f648/c0000005/01d15e62.htm?Retriage=1

TARGET_TIME:  2023-02-06T19:01:53.000Z

OSBUILD:  7601

OSSERVICEPACK:  24545

SERVICEPACK_NUMBER: 0

OS_REVISION: 0

SUITE_MASK:  256

PRODUCT_TYPE:  1

OSPLATFORM_TYPE:  x86

OSNAME:  Windows 7

OSEDITION:  Windows 7 WinNt (Service Pack 1) SingleUserTS

OS_LOCALE:  

USER_LCID:  0

OSBUILD_TIMESTAMP:  2020-01-03 08:41:03

BUILDDATESTAMP_STR:  200102-1707

BUILDLAB_STR:  win7sp1_ldr_escrow

BUILDOSVER_STR:  6.1.7601.24545

ANALYSIS_SESSION_ELAPSED_TIME: 27784

ANALYSIS_SOURCE:  UM

FAILURE_ID_HASH_STRING:  um:invalid_pointer_read_fill_pattern_ffffffff_c0000005_mergedlo.dll!vcl::window::implupdateglobalsettings

FAILURE_ID_HASH:  {323a5995-6bc9-5f6f-67d4-7fbbe84d3d46}

Followup:     MachineOwner
---------
Comment 20 David 2023-02-15 11:28:11 UTC
Version 7.5.1.1 x86 works on Windows 7 32bit and 64bit.
Comment 21 Xisco Faulí 2023-02-16 08:28:11 UTC
*** Bug 153627 has been marked as a duplicate of this bug. ***
Comment 22 nobu 2023-02-17 23:10:13 UTC
There was a problem with "x86 version crashes Windows 32-bit with experimental features enabled", which starts with "Version7.4.0", but this bug is confirmed to solve this problem.

https://bugs.documentfoundation.org/show_bug.cgi?id=151540
https://bugs.documentfoundation.org/show_bug.cgi?id=152264

I think the problem that had occurred in the Portable version would be solved in the same way.

"Libreoffice 7.4.0 can't start"
https://portableapps.com/node/67042

I hope it will be modified in the current stable version, "Version7.4.?"
Comment 23 Buovjaga 2023-02-25 14:07:54 UTC
*** Bug 153820 has been marked as a duplicate of this bug. ***
Comment 24 stragu 2023-02-28 15:33:38 UTC
*** Bug 153576 has been marked as a duplicate of this bug. ***
Comment 25 stragu 2023-03-03 08:45:45 UTC
*** Bug 153528 has been marked as a duplicate of this bug. ***