[Bug 2061954] Re: filezilla crashed with SIGABRT in start_thread()
Andreas Hasenack
2061954 at bugs.launchpad.net
Fri May 24 22:03:18 UTC 2024
I also fixed the bug reference in the changelog, and feel free to modify
the test plan if you don't agree with my changes.
Sponsored for noble, thanks for the debdiff!
Uploading libfilezilla_0.46.0-3.1ubuntu0.1.dsc
Uploading libfilezilla_0.46.0-3.1ubuntu0.1.debian.tar.xz
Uploading libfilezilla_0.46.0-3.1ubuntu0.1_source.buildinfo
Uploading libfilezilla_0.46.0-3.1ubuntu0.1_source.changes
** Description changed:
[ 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:ubuntu/noble/desktop --vm -c limits.memory=3GiB
+ n-filezilla --console=vga
* 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
+ 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/hello.txt
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@localhost
+ filezilla ftp://ubuntu@localhost
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: CPowerManagementInhibitor: Request successful, cookie is 866151098
wxD-Bus: CPowerManagementInhibitor: Requesting idle
wxD-Bus: Reply with serial 8
wxD-Bus: CPowerManagementInhibitor: Request successful
wxD-Bus: CPowerManagementInhibitor: Requesting busy
wxD-Bus: Reply with serial 9
wxD-Bus: CPowerManagementInhibitor: Request successful, cookie is 1438183114
Aborted (core dumped)
-
- With the fixed packages, the upload will finish normally and filezilla will not crash.
-
+ 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/application.
[ 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
ProcVersionSignature: Ubuntu 6.8.0-22.22-generic 6.8.1
Uname: Linux 6.8.0-22-generic x86_64
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: pass
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_64-linux-gnu/libfilezilla.so.42
?? () from /lib/x86_64-linux-gnu/libfilezilla.so.42
?? () from /lib/x86_64-linux-gnu/libfilezilla.so.42
?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
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:
--
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2061954
Title:
filezilla crashed with SIGABRT in start_thread()
Status in libfilezilla package in Ubuntu:
Fix Released
Status in libfilezilla source package in Noble:
New
Status in libfilezilla source package in Oracular:
Fix Released
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:ubuntu/noble/desktop --vm -c limits.memory=3GiB
n-filezilla --console=vga
* 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/hello.txt
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@localhost
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: CPowerManagementInhibitor: Request successful, cookie is 866151098
wxD-Bus: CPowerManagementInhibitor: Requesting idle
wxD-Bus: Reply with serial 8
wxD-Bus: CPowerManagementInhibitor: Request successful
wxD-Bus: CPowerManagementInhibitor: Requesting busy
wxD-Bus: Reply with serial 9
wxD-Bus: CPowerManagementInhibitor: Request successful, cookie is 1438183114
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/application.
[ 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
ProcVersionSignature: Ubuntu 6.8.0-22.22-generic 6.8.1
Uname: Linux 6.8.0-22-generic x86_64
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: pass
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_64-linux-gnu/libfilezilla.so.42
?? () from /lib/x86_64-linux-gnu/libfilezilla.so.42
?? () from /lib/x86_64-linux-gnu/libfilezilla.so.42
?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
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:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libfilezilla/+bug/2061954/+subscriptions
More information about the Ubuntu-sponsors
mailing list