https://bugs.winehq.org/show_bug.cgi?id=46614
Bug ID: 46614 Summary: Readiris 17 crashes when opening pdf, Unknown heap type: SmartAssembly Product: Wine Version: 4.1 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: tinywrkbee@gmail.com Distribution: ---
Created attachment 63514 --> https://bugs.winehq.org/attachment.cgi?id=63514 Readiris 17 default output
App: Readiris 17, latest trial version, can be downloaded freely from http://www.irislink.com/EN-IL/c1760/Readiris-17---Trial-version--PDF-Softwar...
Wine: 4.1, WINEARCH=win32, Window 7, winetricks riched20 msxml6.
Behavior: Application crashes when opening pdf files. To reproduce start the app, press the icon of the "From Files" action and choose a pdf file.
This happened with any pdf file I tried but not with jpg. Here's an example of pdf file I tested: http://ww1.microchip.com/downloads/en/DeviceDoc/00002330B.pdf
I'm attaching a log with the default output and another with WINEDEBUG=twain,+msvcrt,+msvcm,+msvcirt,+dll,+twain,+msvcr71,+msvcr40. Let me know if any other debug channel would be helpful.
Errors:
0009:fixme:msvcm:CrtImplementationDetails_DoDllLanguageSupportValidation stub Unknown heap type: SmartAssembly
0009:fixme:msvcm:CrtImplementationDetails_RegisterModuleUninitializer 0xdc68220: stub
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object 0009:fixme:msvcrt:__clean_type_info_names_internal (0x9df833c) stub 0009:fixme:msvcrt:__clean_type_info_names_internal (0x3f5a8a8) stub 0009:fixme:msvcrt:__clean_type_info_names_internal (0x40ea700) stub [ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
https://bugs.winehq.org/show_bug.cgi?id=46614
--- Comment #1 from tinywrkbee tinywrkbee@gmail.com --- Created attachment 63515 --> https://bugs.winehq.org/attachment.cgi?id=63515 Readiris 17 debug channels: twain,msvcrt,msvcm,msvcirt,dll,twain,msvcr71,msvcr40
Readiris 17 with WINEDEBUG=+twain,+msvcrt,+msvcm,+msvcirt,+dll,+twain,+msvcr71,+msvcr40
https://bugs.winehq.org/show_bug.cgi?id=46614
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.irislink.com/EN- | |IL/c1760/Readiris-17---Tria | |l-version--PDF-Software-.as | |px CC| |dark.shadow4@web.de Keywords| |download
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- For me it crashes during startup with
0009:fixme:dxgi:dxgi_surface_GetDC iface 0x7bd7ef0, discard 0, hdc 0x333138 semi-stub! 0009:fixme:d3d11:d3d_blend_state_create Per-rendertarget blend not implemented. 0009:fixme:d2d:d2d_factory_CreateGeometryGroup iface 0x7a3dbd8, fill_mode 0x1, geometries 0x7bd6c08, geometry_count 2, group 0x332d14 stub! wine: Unhandled exception 0x80000003 in thread 9 at address 0x12a1ce0 (thread 0009), starting debugger...
How did you work around that issue?
https://bugs.winehq.org/show_bug.cgi?id=46614
--- Comment #3 from tinywrkbee tinywrkbee@gmail.com --- Disable d2d1 or apply patch https://bugs.winehq.org/show_bug.cgi?id=46611
https://bugs.winehq.org/show_bug.cgi?id=46614
--- Comment #4 from tinywrkbee tinywrkbee@gmail.com --- ... sorry I should have included that detail.
https://bugs.winehq.org/show_bug.cgi?id=46614
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #5 from Fabian Maurer dark.shadow4@web.de --- Thanks, now I can confirm this issue. It's strange that mono doesn't give a proper stacktrace... Couldn't get it to work with native .NET either though, doesn't start up at all.
https://bugs.winehq.org/show_bug.cgi?id=46614
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.irislink.com/EN- |https://web.archive.org/web |IL/c1760/Readiris-17---Tria |/20210205213835/https://blo |l-version--PDF-Software-.as |g.irislink.com/download/Rea |px |diris-17-cd20n022.exe CC| |focht@gmx.net Status|NEW |NEEDINFO Component|-unknown |mscoree Summary|Readiris 17 crashes when |Readiris 17 crashes when |opening pdf, Unknown heap |opening PDF with 'Unknown |type: SmartAssembly |heap type: SmartAssembly' | |with Wine-Mono
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
I can't reproduce the crash. The sample PDF linked in comment #0 loads fine albeit limited to 10 pages due to demo version.
Clean WINEPREFIX, no overrides.
Adding stable download links via Internet Archive:
https://web.archive.org/web/20210205213835/https://blog.irislink.com/downloa...
https://web.archive.org/web/20210205214252/http://ww1.microchip.com/download...
Since OP reported the bug against Wine 4.1 -> Wine-Mono 4.7.5.
But even with old Wine 4.1 release I can't reproduce the issue. Tested with and without native overrides from comment #0. These overrides seemed rather questionable to me. There was no crash/functionality loss with builtin Wine components. FIXME's in terminal yes, but that's not a reason to use native overrides to messages disappear when they are benign.
If you override Wine builtins always tell *why* you did it. Reference other bug reports if possible or attach console logs/backtraces before each override. We have have no magic glass ball.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/Readiris 17
$ WINEDLLOVERRIDES=d2d1=d wine ./readiris.exe ... --- snip ---
Please retest again with recent Wine versions, preferably Wine 6.x.
$ sha1sum Readiris-17-cd20n022.exe dcffa73517550ef2fbf7a10502aa1723fae81751 Readiris-17-cd20n022.exe
$ du -sh Readiris-17-cd20n022.exe 446M Readiris-17-cd20n022.exe
$ sha1sum 00002330B.pdf 94f91f0560a3a65d1317fd6d25e300e65a1c936d 00002330B.pdf
$ du -sh 00002330B.pdf 1.6M 00002330B.pdf
$ wine --version wine-6.1
Regards
https://bugs.winehq.org/show_bug.cgi?id=46614
tinywrkb tinywrkb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEEDINFO |CLOSED
--- Comment #7 from tinywrkb tinywrkb@gmail.com --- I'm also not experiencing this issue so I believe this can be closed.