** 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.
+ 
+ 
  * Create vanilla[1] Virtual Machines (VMs) - Ubuntu 24.04.
  
- * Test the bug exists in the VMs.
-   - Setup connections to my kathenas server.
-   - Upload and download a variety of file types.
-     # *.txt
-     # *.mp4
-     # *.mp3
-     # *.ogg
-     and others.
+ * set a password for the ubuntu user, or some other user to test:
  
-   * Create vanilla[1] Virtual Machines (VMs) - Ubuntu 24.04.
+   sudo passwd ubuntu
  
-   * Test the bug is fixed with submitted patch built into package and 
installed
-     in the VMs.
-   - Setup connections to my kathenas server.
-   - Upload and download a variety of file types.
-     # *.txt
-     # *.mp4
-     # *.mp3
-     # *.ogg
-     and others.
+ * Install vsftpd and filezilla:
  
-   * Tests performed over days and connecting randomly to perform upload and
-     download tests.
+ sudo apt install vsftpd filezilla
  
-   * Check for bug feedback when built and enters proposed updates
- repository.
+ * 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:

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2061954

Title:
  filezilla crashed with SIGABRT in start_thread()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libfilezilla/+bug/2061954/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to