Appcrash with AUTH TLS and domain-name

Report client bugs
Post Reply
staycomp
Posts: 3
Joined: Thu Mar 05, 2015 9:34 am

Appcrash with AUTH TLS and domain-name

Post by staycomp »

CoreFTP LE v2.2 builds 1792 & 1835

Connecting using AUTH TLS, Windows SSL library, Allow Session Reuse:

When using an ip-address, connection is good.
When using a hostname (that resolves to that same ip-address), an APPCRASH event occurs.
Certificate on the ftp server is self-signed. Client asks to accept it.
Last message before crash is
LIST
Connect socket #1640 to xx.xx.xx.xx port xxxxx

Crash details:
Problem signature:
Problem Event Name: APPCRASH
Application Name: coreftp.exe
Application Version: 2.2.1792.0
Application Timestamp: 528bc7d6
Fault Module Name: CRYPT32.dll
Fault Module Version: 6.1.7601.18277
Fault Module Timestamp: 52506fc6
Exception Code: c0000005
Exception Offset: 0000e043
OS Version: 6.1.7601.2.1.0.256.4
Locale ID: 2057
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
ForumAdmin
Site Admin
Posts: 987
Joined: Mon Mar 24, 2003 4:37 am

Post by ForumAdmin »

Please post the part of the log from the start of the connection up to the point of the crash...
staycomp
Posts: 3
Joined: Thu Mar 05, 2015 9:34 am

Post by staycomp »

2 connections here, first is successful (to the ip-address) second causes an appcrash.

03/12/15 14:37
Welcome to Core FTP, release ver 2.2, build 1792 (x86.U) -- © 2003-2013WinSock 2.0Mem -- 4,192,260 KB, Virt -- 2,097,024 KBStarted on Thursday March 12, 2015 at 14:37:PM

Connect socket #836 to xx.xxx.xx.xx, port 990...220 WFTPD 3.1 service (by Texas Imperial Software) ready for new user
AUTH TLS
234 AUTH TLS successful
Warning: Error finding certificate chain.TLSv1 (AES-256/SHA), 256 bitsUSER yyyyyyyy.xxxxxx
331 Password required for yyyyyyyy.xxxxxx
PASS **********
230 User yyyyyyyy.xxxxxx logged in
SYST
215 UNIX Type: L8
Keep alive off...PWD
257 "/" is the current directory
PBSZ 0
200 PBSZ 0 successful
PROT P
200 Protection set to Private
PASV
227 Entering Passive Mode (xx,xxx,xx,xx,84,252).
LIST
Connect socket #808 to xx.xxx.xx.xx, port 21756...TLSv1 (AES-256/SHA), 256 bits150 Opening ASCII mode data connection for file list
226 Transfer complete
Transferred 2,597 bytes in 0.010 seconds
QUIT
221 Goodbye.
Resolving xxx.xxxxx.co.uk...
Connect socket #1580 to xx.xxx.xx.xx, port 990...220 WFTPD 3.1 service (by Texas Imperial Software) ready for new user
AUTH TLS
234 AUTH TLS successful
Warning: Error finding certificate chain.TLSv1 (AES-256/SHA), 256 bitsUSER yyyyyyyy.xxxxxx
331 Password required for yyyyyyyy.xxxxxx
PASS **********
230 User yyyyyyyy.xxxxxx logged in
SYST
215 UNIX Type: L8
Keep alive off...PWD
257 "/" is the current directory
PBSZ 0
200 PBSZ 0 successful
PROT P
200 Protection set to Private
PASV
227 Entering Passive Mode (xx,xxx,xx,xx,85,124).
LIST
Connect socket #1588 to xx.xxx.xx.xx, port 21884...
ForumAdmin
Site Admin
Posts: 987
Joined: Mon Mar 24, 2003 4:37 am

Post by ForumAdmin »

unusual to see a crash in CRYPT32.DLL... This could indicate some other sort of compatibility or DLL update issue.

Haven't been able to replicate the issue yet so any additional information you can provide would be helpful.

Are you sure this crash is in the 1835 build also (log says 1792)..?

Is session reuse required for the server (uncheck it if it isn't)...?
staycomp
Posts: 3
Joined: Thu Mar 05, 2015 9:34 am

Post by staycomp »

Happens for multiple people from multiple locations on unknown platforms.

Happens in 1835 also:

03/17/15 10:29
Welcome to Core FTP, release ver 2.2, build 1835 (x86.U) -- © 2003-2014
WinSock 2.0
Mem -- 4,192,260 KB, Virt -- 2,097,024 KB
Started on Tuesday March 17, 2015 at 10:29:AM
Resolving xxx.xxxxx.co.uk...
Connect socket #1016 to xx.xxx.xx.xx, port 990...220 WFTPD 3.1 service (by Texas Imperial Software) ready for new user
AUTH TLS
234 AUTH TLS successful
Warning: Error finding certificate chain.TLSv1 (AES-256/SHA), 256 bitsUSER XXXXXXXX.XXXXXX
331 Password required for XXXXXXXX.XXXXXX
PASS **********
230 User XXXXXXXX.XXXXXX logged in
SYST
215 UNIX Type: L8
Keep alive off...PWD
257 "/" is the current directory
PBSZ 0
200 PBSZ 0 successful
PROT P
200 Protection set to Private
PASV
227 Entering Passive Mode (xx,xxx,xx,xx,85,55).
LIST
Connect socket #1548 to xx.xxx.xx.xx, port 21815...


Session re-use is required for this server.

Server-side supported Ciphers are:
DHE-RSA-AES256-SHA
DHE-RSA-CAMELLIA256-SHA
AES256-SHA
CAMELLIA256-SHA
EDH-RSA-DES-CBC3-SHA
DES-CBC3-SHA
DHE-RSA-AES128-SHA
DHE-RSA-CAMELLIA128-SHA
AES128-SHA
CAMELLIA128-SHA
RC4-SHA
EDH-RSA-DES-CBC-SHA
DES-CBC-SHA
EXP-EDH-RSA-DES-CBC-SHA


Windows event log:
Faulting application name: coreftp.exe, version: 2.2.1835.0, time stamp: 0x54ecfc48
Faulting module name: CRYPT32.dll, version: 6.1.7601.18741, time stamp: 0x54d03c46
Exception code: 0xc0000005
Fault offset: 0x0000e073
Faulting process id: 0xed8
Faulting application start time: 0x01d0609d49dbc7e2
Faulting application path: C:\Program Files (x86)\CoreFTP\coreftp.exe
Faulting module path: C:\Windows\syswow64\CRYPT32.dll


Site Manager details:
Type,1
Id,7
PId,0
PASV,2
SSL,12
SSH,0
SSLL,1
SSLX,1
SSLC,0
SSLRE,1
HTTP,0
LIM,0
AdvLst,2
Lgcy,0
Syst,0
Prot,0
Quit,0
SSHp,0
SSHa,1
SSHu,0
SSHpl,1
SSHCmp,0
SSHFips,0
Proxy,0
Alive,2
AliveSecs,15
Cache,2
Recon,2
ARecon,2
XMode,0
CMode,-1
MaxCon,1
Zbf,0
Tmout,60
Retries,2
Retry,0
Fldr,0
XRetry,1
XReties,5
RenD,2
RenU,2
Skey,2
NOOP,2
NMDTM,2
NAT,0
CRC,0
PRET,0
Post,0
PLo,0
PHi,65535
PH,
PU,
PP,
PPt,0
PT,0
PF,0
APE,0
DF,0
CU,0
CL,0
stf,0
nsz,0
n1,0
n2,
n3,0
n4,
n5,
n8,
n7,
f1,
f2,
cr1,
cr2,
n6,
SL1,
SL2,
SL3,
SL4,
SSHEnc,
SH1,
SH2,
Ex6,
Ex7,
Ex8,
Ex9,
Expq3,
Expq4,
Expq1,
Expq2,
Ex1,
Ex2,
Ex3,
Ex4,
GMT,0
DST,0
NoUser,0
NoPW,0
OffSt,0
Encode,1
mz1,0
mz2,7
NAA,
Name,DNS_FAIL
Desc,
Host,xxx.xxxxx.co.uk
User,XXXXXXXX.XXXXXX
SvPW,0
HostT,0
MLSD,0
FEAT,0
PW,xxxxxxxxxxxxxxxxxxxxxxxxx
Acct,
PthR,
PthL,
AP,1
Port,990
Anon,0
RTO,60
STO,60
RSz,8192
SSz,8192
SMax,2000000000
SMin,0
RMax,0
RMin,0
Sc1,
Sc2,
Sx1,
Sx2,
za,0
zb,
ForumAdmin
Site Admin
Posts: 987
Joined: Mon Mar 24, 2003 4:37 am

Post by ForumAdmin »

See if the 1845 build fixes the issue (currently the "developer build" at the time of this post).
Post Reply