Filezilla Server keeps crashing, even after updating to 9.45

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Message
Author
somebody08
450 Internal Error
Posts: 36
Joined: 2014-07-02 03:29
First name: A
Last name: T

Filezilla Server keeps crashing, even after updating to 9.45

#1 Post by somebody08 » 2014-07-02 03:36

FileZilla Server randomly stops working. It was happening on 9.37, then I upgraded to .45 and still crashes randomly

I can't figure out why's happening or what I should be looking for.

I have logs enabled, but nothing shows up, looking at the event viewer I can see all the times it has crashed, but no clue as to why.

Could someone please tell me what I should be looking for?

I've attached a screenshot.
Attachments
filezillacrashing.jpg
filezillacrashing.jpg (365.42 KiB) Viewed 5310 times

User avatar
botg
Site Admin
Posts: 35504
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Filezilla Server keeps crashing, even after updating to

#2 Post by botg » 2014-07-02 05:03

Can you reliably reproduce the crashes?

somebody08
450 Internal Error
Posts: 36
Joined: 2014-07-02 03:29
First name: A
Last name: T

Re: Filezilla Server keeps crashing, even after updating to

#3 Post by somebody08 » 2014-07-02 17:17

I can not reproduce, it just happens randomly when users are connected and downloading

every time the faulting module is libeay32.dll 1.0.1.8

is there a different version available?


7/1/2014 5:44:14 PM
Faulting application name: FileZilla Host.exe, version: 0.9.45.0, time stamp: 0x53931dfc
Faulting module name: libeay32.dll, version: 1.0.1.8, time stamp: 0x539303fb
Exception code: 0xc0000005
Fault offset: 0x00003569
Faulting process id: 0x1654
Faulting application start time: 0x01cf925d3d7bf402
Faulting application path: C:\Program Files (x86)\FileZilla Host\FileZilla Host.exe
Faulting module path: C:\Program Files (x86)\FileZilla Host\libeay32.dll
Report Id: fd0efc26-0181-11e4-942f-90b11c299dd9

6/25/2014 9:01:28 AM
Faulting application name: FileZilla Host.exe, version: 0.9.37.0, time stamp: 0x4dcac51a
Faulting module name: libeay32.dll, version: 0.9.8.15, time stamp: 0x4c30b9bb
Exception code: 0xc0000005
Fault offset: 0x0000788c
Faulting process id: 0x1a8c
Faulting application start time: 0x01cf8f5f4046915d
Faulting application path: C:\Program Files (x86)\FileZilla Host\FileZilla Host.exe
Faulting module path: C:\Program Files (x86)\FileZilla Host\libeay32.dll
Report Id: f71a54bb-fc81-11e3-942e-90b11c299dd9
Faulting package full name:
Faulting package-relative application ID:

6/23/2014 7:56:11 AM
Faulting application name: FileZilla Host.exe, version: 0.9.37.0, time stamp: 0x4dcac51a
Faulting module name: libeay32.dll, version: 0.9.8.15, time stamp: 0x4c30b9bb
Exception code: 0xc0000005
Fault offset: 0x000078b3
Faulting process id: 0x1460
Faulting application start time: 0x01cf8b58afa1517b
Faulting application path: C:\Program Files (x86)\FileZilla Host\FileZilla Host.exe
Faulting module path: C:\Program Files (x86)\FileZilla Host\libeay32.dll
Report Id: 838a333e-fae6-11e3-942e-90b11c299dd9
Faulting package full name:
Faulting package-relative application ID:

11/18/2013 3:23:29 PM
Faulting application name: FileZilla Host.exe, version: 0.9.37.0, time stamp: 0x4dcac51a
Faulting module name: libeay32.dll, version: 0.9.8.15, time stamp: 0x4c30b9bb
Exception code: 0xc0000005
Fault offset: 0x000078cd
Faulting process id: 0x1528
Faulting application start time: 0x01cee2488a19a3a4
Faulting application path: C:\Program Files (x86)\FileZilla Host\FileZilla Host.exe
Faulting module path: C:\Program Files (x86)\FileZilla Host\libeay32.dll
Report Id: 6e3066eb-50a8-11e3-941f-90b11c299dd9
Faulting package full name:
Faulting package-relative application ID:

User avatar
botg
Site Admin
Posts: 35504
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Filezilla Server keeps crashing, even after updating to

#4 Post by botg » 2014-07-02 20:19

I've observed a few of those myself, though never been able to reproduce it. Always a crash deep inside OpenSSL in some hand-crafted assembler code :(

For what it's worth, when I get to finally rewrite FileZilla Server at some point in the future, I'll use GnuTLS instead.

somebody08
450 Internal Error
Posts: 36
Joined: 2014-07-02 03:29
First name: A
Last name: T

Re: Filezilla Server keeps crashing, even after updating to

#5 Post by somebody08 » 2014-07-02 20:28

I just donated $50 to your paypal.
I appreciate the work you've done with filezilla, I've been using it for many years.

Filezilla client/server is the best FTP program out there.

if there is anything that I can do to help troubleshoot the issue, let me know.

User avatar
botg
Site Admin
Posts: 35504
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Filezilla Server keeps crashing, even after updating to

#6 Post by botg » 2014-07-27 21:13

Thanks for the donation.

Please try this test version of FileZilla Server: https://filezilla-project.org/codesquid ... S_test.exe

It links against a more recent revision of OpenSSL which contains a number of changes related to its inline assembler code.

somebody08
450 Internal Error
Posts: 36
Joined: 2014-07-02 03:29
First name: A
Last name: T

Re: Filezilla Server keeps crashing, even after updating to

#7 Post by somebody08 » 2014-07-28 02:29

thank you, i'm testing it out now, I'll let you know in a few days if it crashes again, usually it crashes every 2 to 3 days.

somebody08
450 Internal Error
Posts: 36
Joined: 2014-07-02 03:29
First name: A
Last name: T

Re: Filezilla Server keeps crashing, even after updating to

#8 Post by somebody08 » 2014-07-28 18:44

it crashed 3 times this morning within a 1 hour period with .45 beta

Faulting application name: FileZilla Host.exe, version: 0.9.45.0, time stamp: 0x53d56a1a
Faulting module name: ssleay32.dll, version: 1.0.2.0, time stamp: 0x53d4c100
Exception code: 0xc0000005
Fault offset: 0x00007196
Faulting process id: 0xa28
Faulting application start time: 0x01cfaa0a780e7199

Faulting application name: FileZilla Host.exe, version: 0.9.45.0, time stamp: 0x53d56a1a
Faulting module name: ssleay32.dll, version: 1.0.2.0, time stamp: 0x53d4c100
Exception code: 0xc0000005
Fault offset: 0x00007196
Faulting process id: 0x198
Faulting application start time: 0x01cfaa85fb74e327

Faulting application name: FileZilla Host.exe, version: 0.9.45.0, time stamp: 0x53d56a1a
Faulting module name: ssleay32.dll, version: 1.0.2.0, time stamp: 0x53d4c100
Exception code: 0xc0000005
Fault offset: 0x00007196
Faulting process id: 0x544
Faulting application start time: 0x01cfaa86434ee71b

User avatar
botg
Site Admin
Posts: 35504
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Filezilla Server keeps crashing, even after updating to

#9 Post by botg » 2014-07-28 22:00

:(

At least the fault offset is the same each time giving hope to reproducibility.

What happened at the time of the crashes? For example, what were the number of connected users and what they were doing? Which client software were they using?

somebody08
450 Internal Error
Posts: 36
Joined: 2014-07-02 03:29
First name: A
Last name: T

Re: Filezilla Server keeps crashing, even after updating to

#10 Post by somebody08 » 2014-07-28 22:10

for what it's worth. I've noticed the computers causing the crashing are running windows xp.

As a band-aid fix:
I've suppressed the windows error messages, so filezilla exits without any pop ups.
Then I created a windows task to monitor the event log for application errors (1000) and have it starting Filezilla /compat /start

it's not fixing the crashing, but it's restarting the server when it crashes.

If there's any info you need on this to help troubleshoot, I will provide it.

User avatar
botg
Site Admin
Posts: 35504
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Filezilla Server keeps crashing, even after updating to

#11 Post by botg » 2014-07-29 10:02


somebody08
450 Internal Error
Posts: 36
Joined: 2014-07-02 03:29
First name: A
Last name: T

Re: Filezilla Server keeps crashing, even after updating to

#12 Post by somebody08 » 2014-07-29 17:05

botg wrote:Please try the next test version: https://filezilla-project.org/codesquid ... _test2.exe
I've applied this version. will keep you posted.

somebody08
450 Internal Error
Posts: 36
Joined: 2014-07-02 03:29
First name: A
Last name: T

Re: Filezilla Server keeps crashing, even after updating to

#13 Post by somebody08 » 2014-07-29 17:09

botg wrote::(

At least the fault offset is the same each time giving hope to reproducibility.

What happened at the time of the crashes? For example, what were the number of connected users and what they were doing? Which client software were they using?

It's difficult to say because when it crashes the log stops. all I can see is the activity right before the crash.
Sometimes the user is just connecting/disconnecting or downloading a file.
there are usually only 2 or 3 concurrent connections at one point in time.

somebody08
450 Internal Error
Posts: 36
Joined: 2014-07-02 03:29
First name: A
Last name: T

Re: Filezilla Server keeps crashing, even after updating to

#14 Post by somebody08 » 2014-07-30 05:13

botg wrote:Please try the next test version: https://filezilla-project.org/codesquid ... _test2.exe
started TLS_test2 at 10am crashed at 4pm


Faulting application name: FileZilla Host.exe, version: 0.9.45.0, time stamp: 0x53d76fae
Faulting module name: ssleay32.dll, version: 1.0.2.0, time stamp: 0x53d76f66
Exception code: 0xc0000005
Fault offset: 0x00007196
Faulting process id: 0xcec
Faulting application start time: 0x01cfab4eed09efea

User avatar
botg
Site Admin
Posts: 35504
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Filezilla Server keeps crashing, even after updating to

#15 Post by botg » 2014-07-30 06:55

Thanks. We're slowly narrowing in on the issue. 0x00007196 tells me a lot, but unfortunately not quite enough.

Please replace FileZilla Server's ssleay32.dll with the following version: https://filezilla-project.org/codesquid ... leay32.dll

In this version optimization in the source file corresponding to 0x00007196 has been disabled. If this version crashes as well, I should know the exact line of code where the crash happens.

Locked