https://bugs.winehq.org/show_bug.cgi?id=45357
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet CC| |focht@gmx.net Summary|Proprietary program using |Proprietary .NET 4.x |solidframework libraries |program using Solid |crashing (works in Windows) |Framework .NET libraries | |and OCR crashes
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello Silvan,
since it's inside a third-party library and no download is available it's hard to tell. From your relay log:
--- snip --- ... 0009:Call KERNEL32.LoadLibraryA(0023f0d0 "SolidFrameworkNative.dll") ret=140035341 ... 0009:Call PE DLL (proc=0x9b1efc,module=0x810000 L"SolidFrameworkNative.dll",reason=PROCESS_ATTACH,res=(nil)) ... 0009:Ret PE DLL (proc=0x9b1efc,module=0x810000 L"SolidFrameworkNative.dll",reason=PROCESS_ATTACH,res=(nil)) retval=1 0009:Ret KERNEL32.LoadLibraryA() retval=00810000 ret=140035341 ... 0009:Call KERNEL32.GetProcAddress(00810000,00479c00 "SWIGRegisterWStringCallback_SolidFrameworkNative") ret=14003544b 0009:Ret KERNEL32.GetProcAddress() retval=00813140 ret=14003544b ... 0009:Call KERNEL32.GetProcAddress(00810000,00479c00 "SWIGRegisterStringCallback_SolidFrameworkNative") ret=14003544b 0009:Ret KERNEL32.GetProcAddress() retval=00813130 ret=14003544b ... 0009:Call KERNEL32.GetProcAddress(00810000,00479c00 "RegisterSolidExceptionsCallbacks") ret=14003544b 0009:Ret KERNEL32.GetProcAddress() retval=008135f0 ret=14003544b ... 0009:Call KERNEL32.GetProcAddress(00810000,00479c00 "SWIGRegisterExceptionCallbacks_SolidFrameworkNative") ret=14003544b 0009:Ret KERNEL32.GetProcAddress() retval=00813090 ret=14003544b ... 0009:Call KERNEL32.GetProcAddress(00810000,00479c00 "SWIGRegisterExceptionArgumentCallbacks_SolidFrameworkNative") ret=14003544b 0009:Ret KERNEL32.GetProcAddress() retval=00813110 ret=14003544b ... 0009:Call KERNEL32.GetProcAddress(00810000,004798e0 "CSharp_new_SolidFramework_Converters_PdfToWordConverterBase") ret=14003544b 0009:Ret KERNEL32.GetProcAddress() retval=00832160 ret=14003544b ... 0009:Call KERNEL32.RaiseException(e06d7363,00000001,00000004,0023ed00) ret=7f2c9cb9afb5 ... 0009:Call ntdll.RtlUnwindEx(0023f290,00832199,0023d670,00000000,0023d810,00000000) ret=7f2c9cba9a38 ... 0009:Call msvcr120.?what@exception@std@@UEBAPEBDXZ(0023ee98) ret=008136ad 0009:Ret msvcr120.?what@exception@std@@UEBAPEBDXZ() retval=02b31fa0 ret=008136ad 0009:Call KERNEL32.GetLastError() ret=00289274 0009:Ret KERNEL32.GetLastError() retval=000000b7 ret=00289274 ... 0009:Call KERNEL32.GetProcAddress(00810000,0048c830 "CSharp_delete_SolidFramework_Converters_PdfToOfficeDocumentConverter") ret=14003544b 0009:Ret KERNEL32.GetProcAddress() retval=00822dd0 ret=14003544b 0009:Call KERNEL32.HeapValidate(00010000,00000000,0048c800) ret=002c1501 0009:Ret KERNEL32.HeapValidate() retval=00000001 ret=002c1501 0009:Call ntdll.RtlFreeHeap(00010000,00000000,0048c800) ret=002c362d 0009:Ret ntdll.RtlFreeHeap() retval=00000001 ret=002c362d 0009:Call KERNEL32.HeapValidate(00010000,00000000,004858a0) ret=002c1501 0009:Ret KERNEL32.HeapValidate() retval=00000001 ret=002c1501 0009:Call ntdll.RtlFreeHeap(00010000,00000000,004858a0) ret=002c362d 0009:Ret ntdll.RtlFreeHeap() retval=00000001 ret=002c362d 0009:Call ntdll.RtlWakeAllConditionVariable(14047f330) ret=140277004 0009:Ret ntdll.RtlWakeAllConditionVariable() retval=00000000 ret=140277004 0009:Call KERNEL32.GetLastError() ret=0024805f 0009:Ret KERNEL32.GetLastError() retval=000000b7 ret=0024805f ... 0009:Ret KERNEL32.GetLastError() retval=000000b7 ret=0024805f 0009:Call KERNEL32.GetLastError() ret=0024805f 0009:Ret KERNEL32.GetLastError() retval=000000b7 ret=0024805f 0009:Call KERNEL32.GetLastError() ret=0028924b 0009:Ret KERNEL32.GetLastError() retval=000000b7 ret=0028924b wine: Unhandled page fault on read access to 0xffffffffffffffff at address 0x822ddf (thread 0009), starting debugger... ... Unhandled exception: page fault on read access to 0xffffffffffffffff in 64-bit code (0x0000000000822ddf). Register dump: rip:0000000000822ddf rsp:000000000023a640 rbp:000000000023f3f0 eflags:00010202 ( R- -- I - - - ) rax:0000000000000000 rbx:000000000023fe20 rcx:cccccccccccccccc rdx:000000000000000d rsi:000000000023aa60 rdi:000000000023a6e0 r8:0000000000000000 r9:0000000000451fc8 r10:0000000000000002 r11:0000000000451f68 r12:000000000023b180 r13:000000000023f3f0 r14:00007fffffea8000 r15:000000007bd123a0 Stack dump: 0x000000000023a640: cccccccccccccccc cccccccccccccccc 0x000000000023a650: 0000000000822dd0 cccccccccccccccc 0x000000000023a660: 000000000023a6e0 000000014024116a 0x000000000023a670: 000000000023fe20 000000000023a690 ... Backtrace: =>0 0x0000000000822ddf in solidframeworknative (+0x12ddf) (0x000000000023f3f0) 1 0x000000014024116a in solid-program (+0x241169) (0x000000000023f3f0) 2 0x000000014003c15e in solid-program (+0x3c15d) (0x000000000023f3f0) ... 0x0000000000822ddf: movq 0x0000000000000008(%rcx),%rbx Modules: Module Address Debug info Name (144 modules) PE 240000- 261000 Export vcruntime140d PE 270000- 42a000 Deferred ucrtbased PE 540000- 5d7000 Deferred spal PE 810000- bed000 Export solidframeworknative PE bf0000- c21000 Deferred dbcore PE c30000- db4000 Deferred solidcore PE dc0000- edd000 Deferred imagetool PE ee0000- 15e6000 Deferred pdflibtool PE 15f0000- 16cb000 Deferred securepdfsdk ... ---snip ---
For me it looks like the problem is already at instantiating some object through native->manager wrapper.
'CSharp_new_SolidFramework_Converters_PdfToWordConverterBase' -> throws C++ exception
The crash could be the result of some buggy error handling on teardown due to failure to instantiate some object. As said: hard to tell without debugging.
Check that everything has been properly installed, especially the needed MS .NET Frameworks, GAC registration of 3rd party assemblies etc.
Maybe you can replicate the problem with some example app using the .NET framework libs from the 3rd party vendor website?
http://www.soliddocuments.com/frameworksample.htm?subject=CPlusSample
http://www.solidframework.net/SDK-Reference/class_solid_framework_1_1_conver...
http://www.solidframework.net/SDK-Reference/class_solid_framework_1_1_conver...
Regards