Bug 4085 - Fancy.dll fails to load on updated OS
Summary: Fancy.dll fails to load on updated OS
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (Windows)
Classification: Unclassified
Component: default (show other bugs)
Version: 3.16.0
Hardware: PC Windows 10
: P3 major
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2018-09-02 12:48 UTC by Gerard Seibert
Modified: 2018-09-13 12:18 UTC (History)
0 users

See Also:


Attachments
Error Message (15.10 KB, image/png)
2018-09-02 12:48 UTC, Gerard Seibert
Details

Description Gerard Seibert 2018-09-02 12:48:53 UTC
Created attachment 1911 [details]
Error Message

Windows 10 Pro / amd 64
Windows Evaluation Copy: Version 1809; OS Build 17744.1003

I just updated to the latest version of the Microsoft beta version. Suddenly, the "fancy" plugin will no longer load. I did a complete removal of claws-mail and then reinstalled it to no avail.

I have attached a screenshot of the error message when I attempt to load it. The debug output follows:

C:\Users\Gerard>C:\Users\Gerard\Downloads\gdb.exe "C:\Program Files (x86)\Claws Mail\claws-mail.exe"
This binary was built by Equation Solution <http://www.Equation.com>.
GNU gdb (GDB) 7.12
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from C:\Program Files (x86)\Claws Mail\claws-mail.exe...(no debugging symbols found)...done.
(gdb) run
Starting program: C:\Program Files (x86)\Claws Mail\claws-mail.exe
[New Thread 15820.0x2310]
warning: Can not parse XML library list; XML support was disabled at compile time
[New Thread 15820.0x4498]
[New Thread 15820.0x4a88]
[New Thread 15820.0x42fc]
[New Thread 15820.0x20a8]
[New Thread 15820.0x1bc0]
[New Thread 15820.0x35ac]
[New Thread 15820.0x28e4]
[New Thread 15820.0x4170]
[New Thread 15820.0x4b34]
[New Thread 15820.0x22d8]
[Thread 15820.0x22d8 exited with code 0]
[New Thread 15820.0x38a4]
[Thread 15820.0x38a4 exited with code 0]
[New Thread 15820.0x3fb4]
[Thread 15820.0x3fb4 exited with code 0]
[New Thread 15820.0x39e4]
[Thread 15820.0x39e4 exited with code 0]
[New Thread 15820.0x31cc]
[Thread 15820.0x31cc exited with code 0]
[New Thread 15820.0x4b60]
[New Thread 15820.0x3708]
[New Thread 15820.0x2420]
[New Thread 15820.0x2dac]
[New Thread 15820.0x473c]
[New Thread 15820.0x3a60]
[New Thread 15820.0x493c]
[Thread 15820.0x493c exited with code 0]
[New Thread 15820.0x3088]
[New Thread 15820.0xfe4]
[New Thread 15820.0x2128]
[New Thread 15820.0x31c0]
[New Thread 15820.0x3e50]
[New Thread 15820.0x4b40]
[New Thread 15820.0x40f8]
[New Thread 15820.0x24a8]
[Thread 15820.0x4b40 exited with code 0]
[New Thread 15820.0x4088]
warning: onecoreuap\shell\ext\thumbnailcache\lib\thumbcacheobj.cpp(2076)\thumbcache.dll!6495DDBA: (caller: 6495DCC9) ReturnHr(1) tid(4b60) 80070057 The parameter is incorrect.
warning: onecoreuap\shell\ext\thumbnailcache\lib\thumbcacheobj.cpp(2076)\thumbcache.dll!6495DDBA: (caller: 6495DCC9) ReturnHr(2) tid(4b60) 80070057 The parameter is incorrect.
warning: onecoreuap\shell\ext\thumbnailcache\lib\thumbcacheobj.cpp(2076)\thumbcache.dll!6495DDBA: (caller: 6495DCC9) ReturnHr(3) tid(4b60) 80070057 The parameter is incorrect.
warning: shell\explorerframe\nsccloudstateiconextractor.cpp(152)\explorerframe.dll!087E6575: (caller: 087E644E) ReturnHr(1) tid(4b60) 80004005 Unspecified error
warning: shell\explorerframe\nsccloudstateiconextractor.cpp(127)\explorerframe.dll!087E6484: (caller: 087E65DE) ReturnHr(2) tid(4b60) 80004005 Unspecified error
warning: shell\shell32\ovrlaymn.cpp(745)\SHELL32.dll!76AA4499: (caller: 76AA4516) ReturnHr(1) tid(1bc0) 80040154 Class not registered
warning: shell\shell32\ovrlaymn.cpp(861)\SHELL32.dll!76AA455F: (caller: 76AA3E2C) LogHr(1) tid(1bc0) 80040154 Class not registered
    Msg:[Creating icon overlay handler from Registry failed. The CLSID is {C418E880-6280-4010-A888-FD76028E5511}.]
warning: shell\shell32\ovrlaymn.cpp(745)\SHELL32.dll!76AA4499: (caller: 76AA4516) ReturnHr(2) tid(1bc0) 80040154 Class not registered
warning: shell\shell32\ovrlaymn.cpp(861)\SHELL32.dll!76AA455F: (caller: 76AA3E2C) LogHr(2) tid(1bc0) 80040154 Class not registered
    Msg:[Creating icon overlay handler from Registry failed. The CLSID is {5F4A6070-DB92-4C56-A487-F3850430608F}.]
warning: shell\shell32\ovrlaymn.cpp(745)\SHELL32.dll!76AA4499: (caller: 76AA4516) ReturnHr(3) tid(1bc0) 80040154 Class not registered
warning: shell\shell32\ovrlaymn.cpp(861)\SHELL32.dll!76AA455F: (caller: 76AA3E2C) LogHr(3) tid(1bc0) 80040154 Class not registered
    Msg:[Creating icon overlay handler from Registry failed. The CLSID is {EE73A341-C788-4A6B-B1EF-DDBFC0F190B6}.]
warning: shell\shell32\ovrlaymn.cpp(745)\SHELL32.dll!76AA4499: (caller: 76AA4516) ReturnHr(4) tid(1bc0) 80040154 Class not registered
warning: shell\shell32\ovrlaymn.cpp(861)\SHELL32.dll!76AA455F: (caller: 76AA3E2C) LogHr(4) tid(1bc0) 80040154 Class not registered
    Msg:[Creating icon overlay handler from Registry failed. The CLSID is {28CDCD88-B179-49D6-8B21-1A9AF9C0AE13}.]
warning: [check]work statison:1
warning: shell\shell32\ovrlaymn.cpp(745)\SHELL32.dll!76AA4499: (caller: 76AA4516) ReturnHr(5) tid(3088) 80040154 Class not registered
warning: shell\shell32\ovrlaymn.cpp(861)\SHELL32.dll!76AA455F: (caller: 76AA3E2C) LogHr(5) tid(3088) 80040154 Class not registered
    Msg:[Creating icon overlay handler from Registry failed. The CLSID is {C418E880-6280-4010-A888-FD76028E5511}.]
warning: shell\shell32\ovrlaymn.cpp(745)\SHELL32.dll!76AA4499: (caller: 76AA4516) ReturnHr(6) tid(3088) 80040154 Class not registered
warning: shell\shell32\ovrlaymn.cpp(861)\SHELL32.dll!76AA455F: (caller: 76AA3E2C) LogHr(6) tid(3088) 80040154 Class not registered
    Msg:[Creating icon overlay handler from Registry failed. The CLSID is {5F4A6070-DB92-4C56-A487-F3850430608F}.]
warning: shell\shell32\ovrlaymn.cpp(745)\SHELL32.dll!76AA4499: (caller: 76AA4516) ReturnHr(7) tid(3088) 80040154 Class not registered
warning: shell\shell32\ovrlaymn.cpp(861)\SHELL32.dll!76AA455F: (caller: 76AA3E2C) LogHr(7) tid(3088) 80040154 Class not registered
    Msg:[Creating icon overlay handler from Registry failed. The CLSID is {EE73A341-C788-4A6B-B1EF-DDBFC0F190B6}.]
warning: shell\shell32\ovrlaymn.cpp(745)\SHELL32.dll!76AA4499: (caller: 76AA4516) ReturnHr(8) tid(3088) 80040154 Class not registered
warning: shell\shell32\ovrlaymn.cpp(861)\SHELL32.dll!76AA455F: (caller: 76AA3E2C) LogHr(8) tid(3088) 80040154 Class not registered
    Msg:[Creating icon overlay handler from Registry failed. The CLSID is {28CDCD88-B179-49D6-8B21-1A9AF9C0AE13}.]
warning: shell\shell32\ovrlaymn.cpp(745)\SHELL32.dll!76AA4499: (caller: 76AA4516) ReturnHr(9) tid(fe4) 80040154 Class not registered
warning: shell\shell32\ovrlaymn.cpp(861)\SHELL32.dll!76AA455F: (caller: 76AA3E2C) LogHr(9) tid(fe4) 80040154 Class not registered
    Msg:[Creating icon overlay handler from Registry failed. The CLSID is {C418E880-6280-4010-A888-FD76028E5511}.]
warning: shell\shell32\ovrlaymn.cpp(745)\SHELL32.dll!76AA4499: (caller: 76AA4516) ReturnHr(10) tid(fe4) 80040154 Class not registered
warning: shell\shell32\ovrlaymn.cpp(861)\SHELL32.dll!76AA455F: (caller: 76AA3E2C) LogHr(10) tid(fe4) 80040154 Class not registered
    Msg:[Creating icon overlay handler from Registry failed. The CLSID is {5F4A6070-DB92-4C56-A487-F3850430608F}.]
warning: shell\shell32\ovrlaymn.cpp(745)\SHELL32.dll!76AA4499: (caller: 76AA4516) ReturnHr(11) tid(fe4) 80040154 Class not registered
warning: shell\shell32\ovrlaymn.cpp(861)\SHELL32.dll!76AA455F: (caller: 76AA3E2C) LogHr(11) tid(fe4) 80040154 Class not registered
    Msg:[Creating icon overlay handler from Registry failed. The CLSID is {EE73A341-C788-4A6B-B1EF-DDBFC0F190B6}.]
warning: shell\shell32\ovrlaymn.cpp(745)\SHELL32.dll!76AA4499: (caller: 76AA4516) ReturnHr(12) tid(fe4) 80040154 Class not registered
warning: shell\shell32\ovrlaymn.cpp(861)\SHELL32.dll!76AA455F: (caller: 76AA3E2C) LogHr(12) tid(fe4) 80040154 Class not registered
    Msg:[Creating icon overlay handler from Registry failed. The CLSID is {28CDCD88-B179-49D6-8B21-1A9AF9C0AE13}.]
warning: file name is : C:\Users\Gerard\Desktop\Adobe Application Manager 9.0
warning:     non offline file
warning: file name is : C:\Users\Gerard\Desktop\GPUCache
warning:     non offline file
warning: file name is : C:\Users\Gerard\Desktop\AllCommands.{ED7BA470-8E54-465E-825C-99712043E01C}
warning:     non offline file
warning: file name is : C:\Users\Gerard\Desktop\Old Firefox Data
warning:     non offline file
warning: file name is : C:\Users\Gerard\Desktop\Tor Browser
warning:     non offline file
warning: file name is : C:\Program Files (x86)\Claws Mail\lib\claws-mail\plugins\smime.deps
warning:     non offline file
[Thread 15820.0x3708 exited with code 0]
[Thread 15820.0x4b60 exited with code 0]
warning: HEAP[claws-mail.exe]:
warning: Heap block at 03BDCDC0 modified at 03BDCDE2 past requested size of 1a
warning: file name is : C:\Program Files (x86)\Claws Mail\lib
warning:     non offline file
warning: file name is : C:\Program Files (x86)\Claws Mail\lib\claws-mail\plugins
warning:     non offline file
warning: HEAP[claws-mail.exe]:
warning: Invalid address specified to RtlSizeHeap( 023D0000, 04F518C8 )
warning: HEAP[claws-mail.exe]:
warning: Invalid address specified to RtlSizeHeap( 023D0000, 04F518C8 )
warning: HEAP[claws-mail.exe]:
warning: Invalid address specified to RtlSizeHeap( 023D0000, 04F51960 )
warning: HEAP[claws-mail.exe]:
warning: Invalid address specified to RtlSizeHeap( 023D0000, 04F51960 )

Thread 1 received signal SIGSEGV, Segmentation fault.
0x0000002b in ?? ()
(gdb) bt full
#0  0x0000002b in ?? ()
No symbol table info available.
(gdb) quit
A debugging session is active.

        Inferior 1 [process 15820] will be killed.

Quit anyway? (y or n) y

I have no idea what to do to correct this problem.
Comment 1 Andrej Kacian 2018-09-02 13:27:24 UTC
I saw this too on a devel build of Windows 10. I think you have to install the Microsoft C++ Redistributable (https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads), because for some reason, Microsoft decided it's a good idea to remove it.
Comment 2 Gerard Seibert 2018-09-02 17:00:28 UTC
I checked, and I do have all versions of Microsoft C++ Redistributable installed. I tried the 64-bit version of claws-mail, but that exhibits the same problem.

I think it is worth noting that only the "fancy.dll" module exhibits this problem. The other modules work fine. I tried unloading and reloading them without any problems.

Since I am beta testing for Microsoft, I could submit a detailed report to them regarding this problem. However, I do not know exactly what to report. Since claws-mail is not a Microsoft product, I think I would need to supply specific documentation. Any ideas?
Comment 3 Andrej Kacian 2018-09-02 20:29:14 UTC
OK, it took a while to pinpoint what's missing, but copying the "Universal CRT"[1] dll from Windows 10 SDK[2] makes Fancy work again on Win10.

The issue I'm seeing right now, is that now Fancy works even if the DLL is removed again, even if the SDK is reinstalled, and the system rebooted. Good old Microsoft making things murky.

Can you please install this SDK, check if Fancy loads after you copy ucrtbase.dll to the Claws Mail install dir?
Comment 4 Gerard Seibert 2018-09-02 21:50:48 UTC
There are several "ucrtbase.dll" in that SDK. Which one should I copy? I am using the 64-bit claws-mail right now. Also, do I place it in the "C:\Program Files\Claws Mail" directory or somewhere else?
Comment 5 Andrej Kacian 2018-09-12 22:37:38 UTC
I can't reproduce this anymore, both the 32-bit and the 64-bit versions seem to work just fine on a freshly downloaded 1808 build from https://developer.microsoft.com/en-us/windows/downloads/virtual-machines.
Comment 6 Gerard Seibert 2018-09-12 23:44:22 UTC
I am running two machines with Windows 10 Pro/amd 64 with the same development versions installed. Claws-mail (64) works fine on one but fancy fails on the other. I am creating a ticket for the Microsoft tech net to see if they have any ideas.

When will you be posting and updated CM4Win version?
Comment 7 Andrej Kacian 2018-09-13 08:58:40 UTC
I was going to wait for this issue to be resolved, but I guess I'll just go ahead and release 3.17.1 this or tomorrow's evening.

Feel free to reopen this, or contact me privately if there are some developments.
Comment 8 Gerard Seibert 2018-09-13 12:17:34 UTC
My second PC, the one on which fancy was failing has now updated itself to version 1809, OS build 17754.1 for Windows 10 Pro. I opened claws-mail and reinstalled the fancy plugin. It worked. All is well again. These are beta builds, so I guess you have to expect a hiccup occasionally. Plus, I did file a report with Microsoft about the problem. Maybe somebody actually read it.

I am looking forward to the new build. :)

Note You need to log in before you can comment on or make changes to this bug.