Jump to content

Recommended Posts

Posted (edited)
19 hours ago, diamant said:

But there is an issue: It runs in the background after closing the program.

19 hours ago, diamant said:

It crashes always when closing the program.

Tools>Options>General>uncheck Thunderbird Start Page - Maybe not perfect, but should avoid these errors.

Edited by schwups

Posted
22 hours ago, diamant said:

The files from Firefox10-new-nss.7z don't work with Thunderbird 2.0.0.24.

Try the files from Retrozilla (Browser or Suite). Also, the emailer in the suite should be nearly identical to Thunderbird.

 

Posted
It was indeed necessary to set the option security.tls.version.max in TB24 from 1 to 3.

Tools>Options>General>uncheck Thunderbird Start Page didn't avoid the errors "runs in the background after closing" respectively "crashing after/during closing." I suppose that something other was needed to avoid the errors.

But I'll test TB 9.0.1 or even try to use TB 2.0.0.24 with your tips (files from Retrozilla or WinSSLwrap) for now.

I'll report my experiences / test results soon.
Posted
UPDATE:
I had written that the files freebl.dll, nss3.dll, nssckbi.dll, nssdbm3.dll, nssutil3.dll, smime3.dll, softokn3.dll and ssl3.dll from Firefox10-new-nss didn't work with Thunderbird 2.0.0.24.
But I've found a promising workaround: I downloaded the archive ns9-nss-update.7z from Roytam's stuff. It contains the files mentioned above (slightly other versions) and some files more, here the complete file list:
freebl.dll
nss3.dll
nssckbi.dll
nssdbm3.dll
nssutil3.dll
smime3.dll
softokn3.dll
ssl3.dll
freebl3.chk
nspr4.dll
plc4.dll
plds4.dll
softokn3.chk
sqlite3.dll
The last 6 files are not in Firefox10-new-nss. I assume the ns9-nss-update files are for Netscape Navigator 9(?).

I replaced those 14 files from TB 2.0.0.24 folder with the newer ones from ns9-nss-update, and surprise:
It seems to work without error message?! I don't know whether all 14 files are/were necessary.
Then I sent an test email from my email-adress to my email-adress; it seems that it really was received with TLS 1.2?!
In source code of the email there is the line:
"... Received ... with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted)"

That could mean that I even have the choice between at least TB versions (2.0.0.24 or 9.0.1) to use an "old" email programm with TLS 1.2 support.

(And Roytam seems to be an expert in solving TLS/SSL regarded issues...)
  • 1 month later...
Posted (edited)

New test: Thunderbird 2.0.0.24 on WinSSLWrap  / OpenSSL 1.1.1t

- instead of 1.0.2t or last u (end of official support) https://msfn.org/board/topic/174247-windows-9x-ssl-protocol-winsslwrap-117-rev-08/

OpenSSL 1.1.1 supports TLS 1.3

-> Message Source -> Received: ... (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)

OK, almost a little off-topic, but this will also work with Thunderbird 24+.

My found/suspected requirements for OpenSSL 1.1.1:

KernelEx (here core update 25) and reg file-APISets Stub dll's, additional dependent modules - Ucrtbase.dll (here 10.0.14393.795), VCRuntime140.dll (here 14.0.24210.0)

Possibly Msvcrt.dll (here 7.0.9981.0 Msvcr70) - I didn't test Msvcrt.dll v6.1 yet.

Edited by schwups
  • 1 month later...
Posted (edited)

The current (Firefox Quantum) state is, that I can run Firefox 54 - 59, even Thunderbird 68 or Mypal68 in the background with no errors unfortunately still without (G)UI. The initialisation of the GUI is somehow skipped/bypassed. I can assume, that the InitOnce functions, ConditionVariables functions, SRWLock functions play a role here, but that isn't knowledge and I can be completely wrong. I'm not a programmer/coder. Formerly we've seen such "no UI" behaviour with Opera Presto 12.10+, too. In the case of Mypal68, one thought was maybe Win ME/98/KernelEx can't handle the XP compatible "unused chromish code" Feodor2 uses for multiprocess handling https://github.com/Feodor2/Mypal68/issues/71 . Upon request Feodor2 advised me to search for changes between 54a1 nightly builds of 11 February and 10 February 2017. This "no UI" problem occurs for the first time with the build of 11 February. However, this is difficult for me, when I basically have no real approach. There are a lot of displacements and changes. Currently I'm stuck and can't get any further.

Edited by schwups
Posted

Removing the dot from the end of your link, it appears ConditionVariable_windows.cpp is a cross-platform abstraction layer that was rewritten to avoid Vista CV api calls that XP doesn't support, but KernelEx does. But I don't know what all was changed when.

To debug, we'll need to compare before and after DW profiling logs to see what modules might be failing to load. Then more detailed KernelEx debug logs to find the difference in api calls.

Doing the same with Opera Presto might give us some additional insight.

 

Posted

DW log files 54a1 of 24 Jan, 10 Feb and 11 Feb

Note: Firefox of 24th and 10th don't start by DW profiling.

Differences I saw with WinMerge:

11th

New - AVRT.dll loaded

DWMAPI.dll loaded earlier (after uxtheme)

used file versions: avrt 6.0.5112.0 and dwmapi 6.0.5270.9

These files (6.1) of Win 7 don't load yet. Probably I've to add some new API's to Kext.

 

 

Posted

11Feb hangs in AVRT.DLL. The others do appear to start, then crash internally and exit.

Check the Kexstubs log to see if any stubs were invoked just before the hang or crash.

 

Posted (edited)

Yes Avrt.dll - probably the best track for now.
I haven't made any progress by renaming and omit avrt so far (The result is "couldn't load xpcom").

Avrt.dll 6.0.5112.0
depentent modul NTDLL.DLL

I've following suspicious API's in my Kstub825 and I'll check these:
[NTDLL.Dll]
LdrDisableThreadCalloutsForDll=
RtlDecodePointer=
RtlEncodePointer=

Avrt.dll Win 7:

I had following API's disabled, because I haven't found suitable return values (documented?).

[NTDLL.DLL]
AlpcGetMessageAttribute=   
AlpcInitializeMessageAttribute= 
NtAlpcConnectPort=      
NtAlpcSendWaitReceivePort=

 

Kexstub logs 10th Feb and 11th Feb:

11th

[Kstub825]
= KERNEL32.DLL:LCMapStringEx=z9e
= KERNEL32.DLL:LCMapStringEx=z9e     
= KERNEL32.DLL:LCMapStringEx=z9e  
= KERNEL32.DLL:LCMapStringEx=z9e
  

10th (normal start, no DW profiling, without crash or exit)
shortened by ...

[Kstub825]
= ntdll.dll:RtlStringFromGUID=n2
= ntdll.dll:RtlStringFromGUID=n2
= KERNEL32.DLL:LCMapStringEx=z9e  
= KERNEL32.DLL:LCMapStringEx=z9e   
= KERNEL32.DLL:LCMapStringEx=z9e   
= KERNEL32.DLL:LCMapStringEx=z9e    
= KERNEL32.DLL:LCIDToLocaleName=z4e  
= KERNEL32.DLL:LCIDToLocaleName=z4e  
= KERNEL32.DLL:LCMapStringEx=z9e       
= KERNEL32.DLL:GetLocaleInfoEx=z4e     
.
.
.
= KERNEL32.DLL:GetLocaleInfoEx=z4e      
= KERNEL32.DLL:LocaleNameToLCID=z2e  
= KERNEL32.DLL:LocaleNameToLCID=z2e 
= KERNEL32.DLL:LocaleNameToLCID=z2e  
= KERNEL32.DLL:LocaleNameToLCID=z2e  
= KERNEL32.DLL:LCIDToLocaleName=z4e    
= KERNEL32.DLL:LCIDToLocaleName=z4e    
= KERNEL32.DLL:LocaleNameToLCID=z2e  
.
.
.
= KERNEL32.DLL:LocaleNameToLCID=z2e   
= KERNEL32.DLL:K32GetProcessMemoryInfo=>Psapi:GetProcessMemoryInfo =
.
.
.
= KERNEL32.DLL:K32GetProcessMemoryInfo=>Psapi:GetProcessMemoryInfo =
= KERNEL32.DLL:LocaleNameToLCID=z2e 
= KERNEL32.DLL:K32GetProcessMemoryInfo=>Psapi:GetProcessMemoryInfo =
= KERNEL32.DLL:K32GetProcessMemoryInfo=>Psapi:GetProcessMemoryInfo =
= KERNEL32.DLL:K32GetProcessMemoryInfo=>Psapi:GetProcessMemoryInfo =
= KERNEL32.DLL:K32GetProcessMemoryInfo=>Psapi:GetProcessMemoryInfo =
= KERNEL32.DLL:LocaleNameToLCID=z2e 
= KERNEL32.DLL:K32GetProcessMemoryInfo=>Psapi:GetProcessMemoryInfo =
.
.
.
= KERNEL32.DLL:K32GetProcessMemoryInfo=>Psapi:GetProcessMemoryInfo =
= KERNEL32.DLL:LocaleNameToLCID=z2e   
= KERNEL32.DLL:K32GetProcessMemoryInfo=>Psapi:GetProcessMemoryInfo =
.
.
.
= KERNEL32.DLL:K32GetProcessMemoryInfo=>Psapi:GetProcessMemoryInfo =

Edited by schwups

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...