filezilla crashed with SIGABRT in start_thread()
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
libfilezilla (Ubuntu) | Status tracked in Oracular | |||||
Noble |
Fix Committed
|
Undecided
|
Unassigned | |||
Oracular |
Fix Released
|
Undecided
|
Phil Wyett |
Bug Description
[ Impact ]
File reading is not correctly performed and leaves the dependent package
filezilla in a state where uploading of files causes error and crashes the
application.
[ Test Plan ]
This test needs a graphical environment, so a VM is best. The instructions below assume such an environment for testing is at hand. You can quickly get such a VM with noble desktop preinstalled with LXD:
lxc launch images:
* Create vanilla[1] Virtual Machines (VMs) - Ubuntu 24.04.
* set a password for the ubuntu user, or some other user to test:
sudo passwd ubuntu
* Install vsftpd and filezilla:
sudo apt install vsftpd filezilla
* Change configuration to allow uploads: change write_enable to YES in /etc/vsftpd.conf
* restart vsftpd
sudo systemctl restart vsftpd
* create a simple file to upload in the home directory of the test user (ubuntu in this example)
echo "Hello from ftp client" > /home/ubuntu/
To test the fix or reproduce the bug, launch filezilla as a user, and connect to localhost using the password specified earlier. It's best to launch it from a terminal:
filezilla ftp://ubuntu@
Use filezilla to upload the "hello.txt" file to the Desktop folder on the "remote" server (which is the same machine).
With the bug, filezilla will crash as soon as the upload finishes, with an error like below:
(...)
wxD-Bus: CPowerManagemen
wxD-Bus: CPowerManagemen
wxD-Bus: Reply with serial 8
wxD-Bus: CPowerManagemen
wxD-Bus: CPowerManagemen
wxD-Bus: Reply with serial 9
wxD-Bus: CPowerManagemen
Aborted (core dumped)
With the fixed packages, the upload will finish normally and filezilla will not crash.
[ Where problems could occur ]
The patch allows for correct operation by changing the IO behaviour and alters
no other operation of the application. The patch has negligible risk for the users of this library and the dependent package filezilla.
Only filezilla consumes this library and there is no risk to any other
library/
[ Other Info ]
None.
[1] These are installations that have only Ubuntu repositories and no
applications installed other than the default install ones and the
package being test.
[ Original Description ]
filezilla crashes (core dump) while transferring file(s) when connected via SFTP.
ProblemType: Crash
DistroRelease: Ubuntu 24.04
Package: filezilla 3.66.5-2build2
ProcVersionSign
Uname: Linux 6.8.0-22-generic x86_64
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckR
CrashCounter: 1
CurrentDesktop: XFCE
Date: Wed Apr 17 07:32:30 2024
ExecutablePath: /usr/bin/filezilla
InstallationDate: Installed on 2024-04-17 (0 days ago)
InstallationMedia: Xubuntu 24.04 LTS "Noble Numbat" - Beta amd64 (20240417)
JournalErrors: -- No entries --
ProcCmdline: filezilla
Signal: 6
SignalName: SIGABRT
SourcePackage: filezilla
StacktraceTop:
?? () from /lib/x86_
?? () from /lib/x86_
?? () from /lib/x86_
?? () from /lib/x86_
start_thread (arg=<optimized out>) at ./nptl/
Title: filezilla crashed with SIGABRT in start_thread()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sudo users
separator:
This issue only seems to be present on xubuntu after a variety of testing, but further testing will occur.