startup problem on internal production system of TOM #3

Open
opened 2025-06-25 05:25:25 +00:00 by foefl · 4 comments
Owner

more details on main issue related to base library: dopt-SharpPython/dopt-SharpPython#9

more details on main issue related to base library: dopt-SharpPython/dopt-SharpPython#9
foefl added the
bug
label 2025-06-25 05:25:25 +00:00
foefl self-assigned this 2025-06-25 05:25:25 +00:00
foefl added this to the bug fixes project 2025-06-25 05:25:25 +00:00
foefl moved this to To Do in bug fixes on 2025-06-25 05:25:34 +00:00
foefl moved this to In Progress in bug fixes on 2025-06-25 05:25:49 +00:00
Author
Owner

await customer feedback if issue is resolved

await customer feedback if issue is resolved
Author
Owner

26.06.25: still not working on terminal server

Error: DLL load failed while importing onnxruntime_pybind11_state

*26.06.25: still not working on terminal server* Error: `DLL load failed while importing onnxruntime_pybind11_state`
Author
Owner

The causing problem could be found by using Windows debug tools and check for missing or failing DLL imports. The following was found:

  • onnxruntime depends on vcruntime and msvcp, but also on dxcore.dll
  • dxcore.dll is only part of newer Windows distributions (Win10 >= 20H1(10.0.19041.0) or Win11) and for servers starting from MS-Server 2022
  • MOP is using MS-Server 2019 which does not support or distribute the needed dxcore.dll
  • A PR was merged on 02.06.25 which incorporates a lazy loading of this DLL to enable the compatibility with older versions https://github.com/microsoft/onnxruntime/pull/24845
  • The latest Release was v1.22 on 10.05.25. Therefore, the current release does not incorporate these changes.

Currently following plan is considered:

  • await new release with potential fix
  • check if ONNX-Runtime can be updated to the latest version without breaking any dependencies(!)
  • test complete and successful execution of routines
  • provide updated version and test in working environment
The causing problem could be found by using Windows debug tools and check for missing or failing DLL imports. The following was found: - `onnxruntime` depends on `vcruntime` and `msvcp`, but also on `dxcore.dll` - [https://github.com/microsoft/onnxruntime/issues/24771](https://github.com/microsoft/onnxruntime/issues/24771) - `dxcore.dll` is only part of newer Windows distributions (Win10 >= 20H1(10.0.19041.0) or Win11) and for servers starting from MS-Server 2022 - MOP is using MS-Server 2019 which does not support or distribute the needed `dxcore.dll` - A PR was merged on 02.06.25 which incorporates a lazy loading of this DLL to enable the compatibility with older versions [https://github.com/microsoft/onnxruntime/pull/24845](https://github.com/microsoft/onnxruntime/pull/24845) - The latest Release was v1.22 on 10.05.25. Therefore, the current release does not incorporate these changes. Currently following plan is considered: - [ ] await new release with potential fix - [ ] check if ONNX-Runtime can be updated to the latest version **without breaking any dependencies(!)** - [ ] test complete and successful execution of routines - [ ] provide updated version and test in working environment
foefl pinned this 2025-06-27 09:49:58 +00:00
Author
Owner

Customer Feedback:

  • communicate Win11 as minimum requirement
  • do not support older versions
Customer Feedback: - communicate Win11 as minimum requirement - do not support older versions
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mop-tom/tom-plugin#3
No description provided.