Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#8713 closed Bug report (fixed)

Filezilla Client (3.7.0.2) crashes when connecting to explicit FTP over TLS on MacOS

Reported by: Matt Owned by:
Priority: high Component: FileZilla Client
Keywords: crash, tls, client Cc: sergioag@…, daniel.liabeuf@…
Component version: Operating system type: OS X
Operating system version: 10.8.3 - Mountain Lion

Description

Fresh install of filezilla. First install on my new system, not update.

Add first site to the "Site Manager".
Under general settings tab set HOST, PORT, FTP, REQUIRE EXPLICIT FTP OVER TLS, NORMAL LOGIN, USER, PASSWORD.
Hit "Connect"
Filezilla crashes.

I get a very brief glimpse of the log/status window doing something before the crash. Anyone know if what is displayed in the connection status window is logged to the filesystem somewhere? If so I can grab those details as well so you know what part of the connection negotiation happens at.

Pretty sure this has to do with TLS. If I change to implicit TLS I get an "unexpected TLS packet" error when connecting, but no crash. If I change to SFTP, I can't connect, but no crash. So the only variable I am tweaking that seems to cause the crash is the "explicit TLS".

Excerpt from crash report attached.

Attachments (3)

FILEZILLA_CRASH_REPORT_EXCERPT (6.4 KB ) - added by Matt 7 years ago.
MacOS Crash Report
filezilla.log (1.2 KB ) - added by Matt 7 years ago.
debug-enabled-log
filezilla-ftpes-tls12.log (2.1 KB ) - added by Daniel L 7 years ago.

Download all attachments as: .zip

Change History (14)

by Matt, 7 years ago

MacOS Crash Report

comment:1 by Matt, 7 years ago

Summary: Filezilla Client crashes when connecting to explicit FTP over TLS on MacOSFilezilla Client (3.7.0.2) crashes when connecting to explicit FTP over TLS on MacOS

comment:2 by Matt, 7 years ago

I did a screen capture to get a better view of the connection status window. Looks like "Initializing TLS..." is the last status prior to crash. But screen capture is only 30 FPS, so could have easily missed a ton of other output between frames.

by Matt, 7 years ago

Attachment: filezilla.log added

debug-enabled-log

comment:3 by Matt, 7 years ago

I enabled logging with debug (attached). Last entry: "Status: Verifying certificate..."

Some issue with certificate validation, approving certificates that have an issue in the signing chain, missing root, etc?

comment:4 by Sergio Aguayo, 7 years ago

Cc: sergioag@… added

Same for me, didn't happen in 3.7.0.1.

comment:5 by Matt, 7 years ago

Based on the commend by sergioag, I installed 3.7.0.1 as a work around.

When connecting, I get the "Unknown certificate" popup window. The server I am connecting to is IP address as opposed to hostname.

I can check the box "always trust certificate in future sessions" and then connect successfully.

comment:6 by Alexander Schuch, 7 years ago

This seems to happen without TLS as well (normal FTP), see #8715.

comment:7 by Daniel L, 7 years ago

Cc: daniel.liabeuf@… added

I can not connect via ftpes too. I add an log attachment where I use TLS1.2

by Daniel L, 7 years ago

Attachment: filezilla-ftpes-tls12.log added

comment:8 by Rob, 7 years ago

Priority: normalhigh

Upgraded to 3.7.0.2 and Zilla and having same issue: It goes partially through the connect process, and seems to be connecting, but stalls when "Initializing TLS", and then the program shuts down. Uninstalled upgrade version and reinstalled as new download but same problem ... program stalls when "Initializing TLS" and shuts down.

Finally reinstalled older version (3.6.0.2) from backup and connects OK.

ORIGINAL BUG REPORT:
Fresh install of filezilla. First install on my new system, not update.
Add first site to the "Site Manager".
Under general settings tab set HOST, PORT, FTP, REQUIRE EXPLICIT FTP OVER TLS, NORMAL LOGIN, USER, PASSWORD.
Hit "Connect"
Filezilla crashes.
I get a very brief glimpse of the log/status window doing something before the crash. Anyone know if what is displayed in the connection status window is logged to the filesystem somewhere? If so I can grab those details as well so you know what part of the connection negotiation happens at.
Pretty sure this has to do with TLS. If I change to implicit TLS I get an "unexpected TLS packet" error when connecting, but no crash. If I change to SFTP, I can't connect, but no crash. So the only variable I am tweaking that seems to cause the crash is the "explicit TLS".
Excerpt from crash report attached.

comment:9 by Alexander Schuch, 7 years ago

Status: newmoreinfo

Can you try FileZilla 3.7.1-rc1?

"Fix crash on OS X if connecting using FTP over TLS" - so it might no work. Please test.

comment:10 by Daniel L, 7 years ago

Status: moreinfonew

It works! thanks :)

Details:
FileZilla Client


Version: 3.7.1-rc1
Operating system:

Name: Mac OS X (Darwin 10.8.0 i386)
Version: 16.104

comment:11 by Alexander Schuch, 7 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.