On 2021-12-08 12:51 pm, Jonas Hahnfeld wrote:
Okay, now it's getting interesting. Can you give the following archive
a try? (also CC'ing the other people who reported problems on Windows)
https://cloud.hahnjo.de/index.php/s/yMx3nWMCPNLngAq
It's the same binaries, but the lib/ folder with the compiled .go files
added to the archive after the share/ folder, so programs are going to
extract it last.
Order of extraction should be irrelevant. It is not the file creation
time that matters but its modified time. And I would expect archive
utilities to set the modified time to match the original file.
Ultimately, this new archive did not change behavior on my system. Even
manually touching all .go files to ensure they are definitely "newer"
than all the associated .scm files made no difference.
I renamed the ccache folder to test on-the-fly compilation in case the
problem is due to a bug in the byte-compiled files. With that, I am
getting no further than:
====
[C:/Tools/lilypond-2.23.5/share/lilypond/2.23.5/scm/lily/define-woodwind-diagrams.scmBacktrace:
4 (apply-smob/1 #<catch-closure 3368760>)
3 (primitive-eval (for-each ly:load init-scheme-files))
2 (primitive-load-path "lily/define-woodwind-diagrams")
1 (primitive-eval (define bassoon-rh-f-key-stencil (# …)))
0 (apply-smob/1 #<boot-closure 46ff940 (_ . _)> # #f "Wr…"
…)
ERROR: In procedure apply-smob/1:
Wrong number of arguments to #<boot-closure 58979e0 (_ . _)>
====
Going back to using ccache and commenting out the two setlocale calls I
mentioned before allows the program to run normally in most cases.
There is a rare access violation. I managed to catch it under windbg,
however I do not have debug symbols for the executable. I attached the
!analyze -v output anyway.
-- Aaron Hill
(15a58.14e30): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
*** WARNING: Unable to verify timestamp for
C:\Tools\lilypond-2.23.5\bin\lilypond.exe
lilypond+0x36e97e:
00000000`0076e97e 4c8b30 mov r14,qword ptr [rax]
ds:00007ff8`d59d03f0=????????????????
0:000> r
rax=00007ff8d59d03f0 rbx=00000000018ffff8 rcx=fffffffffffffff3
rdx=00007ff8d59d03f8 rsi=0000000007bd0a40 rdi=00007ff8d59d03e8
rip=000000000076e97e rsp=00000000010dbcd0 rbp=ffffffffffffffe0
r8=00000000001d0000 r9=00000000000003f8 r10=0000000000000000
r11=0000000000000000 r12=00007ff8d59d0000 r13=00000000001c0510
r14=0000000000000000 r15=00000000000003d8
iopl=0 nv up ei ng nz na pe cy
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010283
lilypond+0x36e97e:
00000000`0076e97e 4c8b30 mov r14,qword ptr [rax]
ds:00007ff8`d59d03f0=????????????????
0:000> !analyze -v
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
KEY_VALUES_STRING: 1
Key : AV.Fault
Value: Read
Key : Timeline.OS.Boot.DeltaSec
Value: 1594564
Key : Timeline.Process.Start.DeltaSec
Value: 40
PROCESSES_ANALYSIS: 1
SERVICE_ANALYSIS: 1
STACKHASH_ANALYSIS: 1
TIMELINE_ANALYSIS: 1
Timeline: !analyze.Start
Name: <blank>
Time: 2021-12-09T00:14:58.709Z
Diff: 709 mSec
Timeline: Dump.Current
Name: <blank>
Time: 2021-12-09T00:14:58.0Z
Diff: 0 mSec
Timeline: Process.Start
Name: <blank>
Time: 2021-12-09T00:14:18.0Z
Diff: 40000 mSec
Timeline: OS.Boot
Name: <blank>
Time: 2021-11-20T13:18:54.0Z
Diff: 1594564000 mSec
DUMP_CLASS: 2
DUMP_QUALIFIER: 0
FAULTING_IP:
lilypond+36e97e
00000000`0076e97e 4c8b30 mov r14,qword ptr [rax]
EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 000000000076e97e (lilypond+0x000000000036e97e)
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 0000000000000000
Parameter[1]: 00007ff8d59d03f0
Attempt to read from address 00007ff8d59d03f0
FAULTING_THREAD: 00014e30
DEFAULT_BUCKET_ID: INVALID_POINTER_READ
PROCESS_NAME: lilypond.exe
FOLLOWUP_IP:
lilypond+36e97e
00000000`0076e97e 4c8b30 mov r14,qword ptr [rax]
READ_ADDRESS: 00007ff8d59d03f0
ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory
at 0x%p. The memory could not be %s.
EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced
memory at 0x%p. The memory could not be %s.
EXCEPTION_CODE_STR: c0000005
EXCEPTION_PARAMETER1: 0000000000000000
EXCEPTION_PARAMETER2: 00007ff8d59d03f0
WATSON_BKT_PROCSTAMP: 0
WATSON_BKT_PROCVER: 2.23.5.1
PROCESS_VER_PRODUCT: LilyPond
WATSON_BKT_MODULE: lilypond.exe
WATSON_BKT_MODSTAMP: 0
WATSON_BKT_MODOFFSET: 36e97e
WATSON_BKT_MODVER: 2.23.5.1
MODULE_VER_PRODUCT: LilyPond
BUILD_VERSION_STRING: 19041.1.amd64fre.vb_release.191206-1406
MODLIST_WITH_TSCHKSUM_HASH: c38692680228a6255ceb1ce1d897a7b58d881232
MODLIST_SHA1_HASH: 03a2b99090917a60793348cacf51329df9e0bee2
NTGLOBALFLAG: 70
PROCESS_BAM_CURRENT_THROTTLED: 0
PROCESS_BAM_PREVIOUS_THROTTLED: 0
APPLICATION_VERIFIER_FLAGS: 0
PRODUCT_TYPE: 1
SUITE_MASK: 272
DUMP_TYPE: fe
ANALYSIS_SESSION_HOST: LEVIATHAN
ANALYSIS_SESSION_TIME: 12-08-2021 16:14:58.0709
ANALYSIS_VERSION: 10.0.18362.1 amd64fre
THREAD_ATTRIBUTES:
OS_LOCALE: ENU
BUGCHECK_STR: APPLICATION_FAULT_INVALID_POINTER_READ
PRIMARY_PROBLEM_CLASS: APPLICATION_FAULT
PROBLEM_CLASSES:
ID: [0n313]
Type: [@ACCESS_VIOLATION]
Class: Addendum
Scope: BUCKET_ID
Name: Omit
Data: Omit
PID: [Unspecified]
TID: [0x14e30]
Frame: [0] : lilypond
ID: [0n285]
Type: [INVALID_POINTER_READ]
Class: Primary
Scope: DEFAULT_BUCKET_ID (Failure Bucket ID prefix)
BUCKET_ID
Name: Add
Data: Omit
PID: [Unspecified]
TID: [0x14e30]
Frame: [0] : lilypond
LAST_CONTROL_TRANSFER: from 00000000007701c8 to 000000000076e97e
STACK_TEXT:
00000000`010dbcd0 00000000`007701c8 : 00000000`00000000 00000000`001c0000
00000000`001d0000 00000000`00766e40 : lilypond+0x36e97e
00000000`010dbdf0 00000000`0076744d : 00000000`00000001 00000000`00000000
00000000`00e94c34 00000000`00000000 : lilypond+0x3701c8
00000000`010dbe30 00000000`00767b99 : 00000000`00000000 00000000`007796b5
00000000`00000001 00000000`00000002 : lilypond+0x36744d
00000000`010dbe90 00000000`00768672 : 00000000`00000000 00000000`00000000
00000000`00000000 00000000`00000002 : lilypond+0x367b99
00000000`010dbef0 00000000`0076892c : 00000000`00000001 00000000`00767186
00000000`00000020 00000000`00000020 : lilypond+0x368672
00000000`010dbf40 00000000`0076ca88 : 00000000`00000000 00000000`00000001
00000000`00000000 00000000`010dbfb0 : lilypond+0x36892c
00000000`010dbf90 00000000`0076de6e : 00000000`00000000 00000000`00000000
00000000`00000000 00000000`05b8a000 : lilypond+0x36ca88
00000000`010dbff0 00000000`00729572 : 00000000`00000001 00000000`00000001
00000000`0192bf08 00000000`05bcc000 : lilypond+0x36de6e
00000000`010dc090 00000000`00729e1b : 00000000`01901e00 00000000`05bcf000
00000000`010dc1f0 00000000`00000001 : lilypond+0x329572
00000000`010dc190 00000000`006b21d9 : 00000000`05bce040 00000000`05bcfb40
00000000`05bcfb50 00000000`0588c300 : lilypond+0x329e1b
00000000`010dc330 00000000`006fc47c : 00000000`00000004 00000000`0588c300
00000000`00e9d4a0 00000000`00000003 : lilypond+0x2b21d9
00000000`010dc360 00000000`00727ab1 : 00000000`00000002 00007ff8`00000001
00000000`0192bf08 00000000`00000000 : lilypond+0x2fc47c
00000000`010dc3e0 00000000`00729e1b : 00000000`01901e00 00000000`010dc5d8
00000000`010dc540 00000000`0000007f : lilypond+0x327ab1
00000000`010dc4e0 00000000`006b32d8 : 00000000`00000020 00000000`00000018
00000000`00000001 00000000`01a20000 : lilypond+0x329e1b
00000000`010dc680 00000000`00727ab1 : 00000000`0541a870 00000000`50000163
00000000`00000018 00000000`00000050 : lilypond+0x2b32d8
00000000`010dc6b0 00000000`00729e1b : 00000000`01901e00 00007ff8`e0b689a6
00000000`010dc810 00000000`00000000 : lilypond+0x327ab1
00000000`010dc7b0 00000000`00718800 : 00000000`010dc960 00000000`00000000
0000302e`32322e00 00000000`00000000 : lilypond+0x329e1b
00000000`010dc950 00000000`00718d85 : 00000000`0541a4a0 00000000`0542f440
00000000`0542f420 00000000`fffffd7d : lilypond+0x318800
00000000`010dcb00 00000000`0057f514 : 00000000`0000003b 00000000`00003b77
00000000`010dcb78 00000000`01901e00 : lilypond+0x318d85
00000000`010dcb50 00000000`006b8e18 : 00000000`00000000 00000000`00000000
00000000`0057f4f0 00000000`00ac94d9 : lilypond+0x17f514
00000000`010dcb90 00000000`0057fcbd : 00000000`00000000 00000000`00000000
00000000`00000000 00000000`00000000 : lilypond+0x2b8e18
00000000`010dcbe0 00000000`0067d577 : 00000000`00000000 00000000`00000000
00000000`00000000 00000000`00000000 : lilypond+0x17fcbd
00000000`010dcc90 00000000`0068c2a0 : 00000000`00000000 00000000`0541a870
00000000`00000000 00000000`00000000 : lilypond+0x27d577
00000000`010dcd60 00000000`0069ec17 : 00000000`074eded0 00000000`010dedb8
00000000`010def10 00000000`01901e00 : lilypond+0x28c2a0
00000000`010ded90 00000000`006b8e18 : 00000000`010df1b0 00000000`006ac042
00000000`00000000 00000000`000006c1 : lilypond+0x29ec17
00000000`010dedd0 00000000`004eccc8 : 2e676e69`73726150 00000000`00002e2e
00000000`010df1c0 00000000`074eded0 : lilypond+0x2b8e18
00000000`010dee20 00000000`004ea1be : 00000000`010df1b0 00000000`010defc0
00000000`010dee00 00000000`010def68 : lilypond+0xeccc8
00000000`010dee60 00000000`004ebb0d : 00000000`00b0dcc0 00000000`03418f00
00000000`0347d740 00000000`01150190 : lilypond+0xea1be
00000000`010df290 00000000`00727ab1 : 00000000`00000001 00000000`00000001
00000000`0192bf08 00000000`00000006 : lilypond+0xebb0d
00000000`010df310 00000000`00729e1b : 00000000`01901e00 00000000`00000000
00000000`010df470 00007ff8`e0a95ba1 : lilypond+0x327ab1
00000000`010df410 00000000`006b21d9 : 00000000`052777a8 00000000`0526a8a0
00000000`010df650 00000000`010df630 : lilypond+0x329e1b
00000000`010df5b0 00000000`0050043a : 00000000`010df980 00000000`052777a0
00000000`00000000 00000000`00731cbd : lilypond+0x2b21d9
00000000`010df5e0 00000000`006bfbe1 : 00000000`00000000 00000000`00000000
00000000`00000000 00000000`00000000 : lilypond+0x10043a
00000000`010df6d0 00000000`00753e4e : 00000000`05cb0958 00000000`006ca71c
00000000`00000002 00000000`019b6fe0 : lilypond+0x2bfbe1
00000000`010df700 00000000`00727ab1 : 00000000`05cb0958 00000000`05cb65f0
00000000`00b0dcc0 00000000`006b2233 : lilypond+0x353e4e
00000000`010df730 00000000`00729e1b : 00000000`01901e00 00007ff8`e0529c9c
00000000`010df890 00000000`05c762f0 : lilypond+0x327ab1
00000000`010df830 00000000`00718800 : 00000000`00729de5 00007ff8`de67986b
00000000`00000000 00000000`00000000 : lilypond+0x329e1b
00000000`010df9d0 00000000`007543ff : 00000000`00b96ae2 00000000`0340d180
00000000`0340d160 00000000`00b95607 : lilypond+0x318800
00000000`010dfb80 00000000`0075449f : 00000000`010dfd90 00000000`00e93124
00000000`010dfce8 00000000`007176d2 : lilypond+0x3543ff
00000000`010dfc20 00000000`00717757 : 00000000`0111b930 00000000`00000017
00000000`0000002a 003d454d`00313d53 : lilypond+0x35449f
00000000`010dfc80 00000000`007721fb : 00000000`0111b990 00000000`00000015
00000000`00000015 0000454d`4f480053 : lilypond+0x317757
00000000`010dfcc0 00000000`00717fcb : 00000000`00000000 003d454d`00313d53
00000000`0000001e 00000000`006c68f1 : lilypond+0x3721fb
00000000`010dfd10 00000000`006bfdd3 : 00000000`00000000 00000000`004ff133
00000000`010f2301 00000000`00a9ccac : lilypond+0x317fcb
00000000`010dfd60 00000000`00ae2b54 : 00000000`00934070 00000000`01104ef0
00000000`00000000 00000000`00000000 : lilypond+0x2bfdd3
00000000`010dfdd0 00000000`004013b4 : 00000000`00000001 00000000`00000008
00000000`00ed0d40 00000000`00000000 : lilypond+0x6e2b54
00000000`010dfe30 00000000`0040150b : 00000000`00000000 00000000`00000000
00000000`00000000 00000000`00000000 : lilypond+0x13b4
00000000`010dff00 00007ff8`df2b7034 : 00000000`00000000 00000000`00000000
00000000`00000000 00000000`00000000 : lilypond+0x150b
00000000`010dff30 00007ff8`e0ac2651 : 00000000`00000000 00000000`00000000
00000000`00000000 00000000`00000000 : KERNEL32!BaseThreadInitThunk+0x14
00000000`010dff60 00000000`00000000 : 00000000`00000000 00000000`00000000
00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x21
STACK_COMMAND: ~0s ; .cxr ; kb
THREAD_SHA1_HASH_MOD_FUNC: 87f0300aa0e4a242cd79f401c287e10272d7cf94
THREAD_SHA1_HASH_MOD_FUNC_OFFSET: 1a4ca3158855ccf703840fe1384a8412bf081522
THREAD_SHA1_HASH_MOD: 8d2d983534046ce2372b15a9862e3a58e20fc568
FAULT_INSTR_CODE: f308b4c
SYMBOL_STACK_INDEX: 0
SYMBOL_NAME: lilypond+36e97e
FOLLOWUP_NAME: MachineOwner
MODULE_NAME: lilypond
IMAGE_NAME: lilypond.exe
DEBUG_FLR_IMAGE_TIMESTAMP: 0
FAILURE_BUCKET_ID: INVALID_POINTER_READ_c0000005_lilypond.exe!Unknown
BUCKET_ID: APPLICATION_FAULT_INVALID_POINTER_READ_lilypond+36e97e
FAILURE_EXCEPTION_CODE: c0000005
FAILURE_IMAGE_NAME: lilypond.exe
BUCKET_ID_IMAGE_STR: lilypond.exe
FAILURE_MODULE_NAME: lilypond
BUCKET_ID_MODULE_STR: lilypond
FAILURE_FUNCTION_NAME: Unknown
BUCKET_ID_FUNCTION_STR: Unknown
BUCKET_ID_OFFSET: 36e97e
BUCKET_ID_MODTIMEDATESTAMP: 0
BUCKET_ID_MODCHECKSUM: a8a3fb
BUCKET_ID_MODVER_STR: 2.23.5.1
BUCKET_ID_PREFIX_STR: APPLICATION_FAULT_INVALID_POINTER_READ_
FAILURE_PROBLEM_CLASS: APPLICATION_FAULT
FAILURE_SYMBOL_NAME: lilypond.exe!Unknown
WATSON_STAGEONE_URL:
http://watson.microsoft.com/StageOne/lilypond.exe/2.23.5.1/
0/lilypond.exe/2.23.5.1/ 0/c0000005/0036e97e.htm?Retriage=1
TARGET_TIME: 2021-12-09T00:15:48.000Z
OSBUILD: 19042
OSSERVICEPACK: 1348
SERVICEPACK_NUMBER: 0
OS_REVISION: 0
OSPLATFORM_TYPE: x64
OSNAME: Windows 10
OSEDITION: Windows 10 WinNt SingleUserTS
USER_LCID: 0
OSBUILD_TIMESTAMP: 2000-02-22 21:01:56
BUILDDATESTAMP_STR: 191206-1406
BUILDLAB_STR: vb_release
BUILDOSVER_STR: 10.0.19041.1.amd64fre.vb_release.191206-1406
ANALYSIS_SESSION_ELAPSED_TIME: c3c3
ANALYSIS_SOURCE: UM
FAILURE_ID_HASH_STRING: um:invalid_pointer_read_c0000005_lilypond.exe!unknown
FAILURE_ID_HASH: {81f23ae3-8017-211b-9f5a-c2e635e86155}
Followup: MachineOwner
---------