2019-01-15 12:28:38 |
Hans Deragon |
bug |
|
|
added bug |
2019-01-15 12:28:38 |
Hans Deragon |
attachment added |
|
Apport crash report for Weex. https://bugs.launchpad.net/bugs/1811817/+attachment/5229313/+files/_usr_bin_weex.1000.crash |
|
2019-01-16 18:44:12 |
Hans Joachim Desserud |
tags |
|
bionic |
|
2020-01-22 08:35:15 |
Launchpad Janitor |
weex (Ubuntu): status |
New |
Confirmed |
|
2024-01-03 11:11:13 |
Sudip Mukherjee |
bug |
|
|
added subscriber Sudip Mukherjee |
2024-01-03 11:47:32 |
Robie Basak |
nominated for series |
|
Ubuntu Focal |
|
2024-01-03 11:47:32 |
Robie Basak |
bug task added |
|
weex (Ubuntu Focal) |
|
2024-01-03 15:35:57 |
Sudip Mukherjee |
weex (Ubuntu Focal): status |
New |
In Progress |
|
2024-01-03 15:36:00 |
Sudip Mukherjee |
weex (Ubuntu Focal): assignee |
|
Sudip Mukherjee (sudipmuk) |
|
2024-01-03 15:36:04 |
Sudip Mukherjee |
weex (Ubuntu): status |
Confirmed |
Fix Released |
|
2024-01-03 15:36:15 |
Sudip Mukherjee |
summary |
weex crash/core dumps under Ubuntu 18.04 LTS. |
[SRU] weex crash/core dumps under Ubuntu 18.04 LTS. |
|
2024-01-03 15:37:01 |
Sudip Mukherjee |
description |
Weex systematically crash under Ubuntu 18.04 LTS. I have no clue why.
$ weex website
Connect : ftp.somesite.com
Segmentation fault (core dumped)
$ |
[ Impact ]
weex is completely unusable in Focal as it will always segfault if any user tries to run the application.
The problem was caused in '2.8.3ubuntu2' when it was rebuilt for openssl1.1. The configure script is checking for SSL_library_init() in libssl.so to determine if openssl is available or not. But SSL_library_init() was deprecated in openssl1.1 and so the package even though it was rebuilt just silently dropped the openssl support.
As a result when 'weex' tried to connect to a ftp host, it tried to use a NULL pointer when it was trying to check if the host uses ssl or not.
[ Test Plan ]
* setup a ftp server
- I have used vsftpd for this test. And the default configuration file is enough for this test.
* Install weex
* create the conf file at ~/.weex/weexrc
* The following is enough for this test:
[local]
HostName = 127.0.0.1
SrcDir = <srcdir>
DestDir = /ftp
[default]
LoginName = <user>
Password = <password>
* Replace SrcDir, LoginName and Password as appropriate for the system on which its tested.
* execute 'weex local'
[ Where problems could occur ]
* This is an upstream change and was fixed in v2.8.4. None of the actual code is changed and is only using openssl1.1 correctly while building. And, so it should not affect user experience.
[ Other Info ]
* Only Focal is affected, all versions from Jammy are fixed as they have v2.8.4.
* imho, the code is wrong. The configure scipt is checking for openssl and then defining USE_SSL if it finds libssl. So, if USE_SSL is not defined then the pointer 'host_use_SSL' is never initialized. But even then the code is trying to use that pointer.
[ Original Bug Description ]
Weex systematically crash under Ubuntu 18.04 LTS. I have no clue why.
$ weex website
Connect : ftp.somesite.com
Segmentation fault (core dumped)
$ |
|
2024-01-03 15:38:04 |
Sudip Mukherjee |
attachment added |
|
weex_focal.debdiff https://bugs.launchpad.net/ubuntu/+source/weex/+bug/1811817/+attachment/5735933/+files/weex_focal.debdiff |
|
2024-01-03 15:38:23 |
Sudip Mukherjee |
tags |
bionic |
bionic focal |
|
2024-01-03 15:38:30 |
Sudip Mukherjee |
weex (Ubuntu Focal): status |
In Progress |
Confirmed |
|
2024-01-03 15:38:33 |
Sudip Mukherjee |
weex (Ubuntu Focal): assignee |
Sudip Mukherjee (sudipmuk) |
|
|
2024-01-03 15:38:44 |
Sudip Mukherjee |
bug |
|
|
added subscriber Ubuntu Sponsors |
2024-01-04 15:44:02 |
Ubuntu Archive Robot |
bug |
|
|
added subscriber Athos Ribeiro |
2024-01-04 16:40:12 |
Mauricio Faria de Oliveira |
weex (Ubuntu Focal): status |
Confirmed |
Incomplete |
|
2024-01-04 16:43:19 |
Mauricio Faria de Oliveira |
bug |
|
|
added subscriber Mauricio Faria de Oliveira |
2024-01-04 17:21:12 |
Athos Ribeiro |
weex (Ubuntu Focal): status |
Incomplete |
In Progress |
|
2024-01-10 09:32:57 |
Simon Chopin |
nominated for series |
|
Ubuntu Jammy |
|
2024-01-10 09:32:57 |
Simon Chopin |
bug task added |
|
weex (Ubuntu Jammy) |
|
2024-01-10 09:33:02 |
Simon Chopin |
weex (Ubuntu Jammy): status |
New |
Fix Released |
|
2024-01-10 10:04:04 |
Simon Chopin |
removed subscriber Ubuntu Sponsors |
|
|
|
2024-01-11 15:14:11 |
Mauricio Faria de Oliveira |
weex (Ubuntu Focal): importance |
Undecided |
Medium |
|
2024-01-11 17:10:35 |
Mauricio Faria de Oliveira |
description |
[ Impact ]
weex is completely unusable in Focal as it will always segfault if any user tries to run the application.
The problem was caused in '2.8.3ubuntu2' when it was rebuilt for openssl1.1. The configure script is checking for SSL_library_init() in libssl.so to determine if openssl is available or not. But SSL_library_init() was deprecated in openssl1.1 and so the package even though it was rebuilt just silently dropped the openssl support.
As a result when 'weex' tried to connect to a ftp host, it tried to use a NULL pointer when it was trying to check if the host uses ssl or not.
[ Test Plan ]
* setup a ftp server
- I have used vsftpd for this test. And the default configuration file is enough for this test.
* Install weex
* create the conf file at ~/.weex/weexrc
* The following is enough for this test:
[local]
HostName = 127.0.0.1
SrcDir = <srcdir>
DestDir = /ftp
[default]
LoginName = <user>
Password = <password>
* Replace SrcDir, LoginName and Password as appropriate for the system on which its tested.
* execute 'weex local'
[ Where problems could occur ]
* This is an upstream change and was fixed in v2.8.4. None of the actual code is changed and is only using openssl1.1 correctly while building. And, so it should not affect user experience.
[ Other Info ]
* Only Focal is affected, all versions from Jammy are fixed as they have v2.8.4.
* imho, the code is wrong. The configure scipt is checking for openssl and then defining USE_SSL if it finds libssl. So, if USE_SSL is not defined then the pointer 'host_use_SSL' is never initialized. But even then the code is trying to use that pointer.
[ Original Bug Description ]
Weex systematically crash under Ubuntu 18.04 LTS. I have no clue why.
$ weex website
Connect : ftp.somesite.com
Segmentation fault (core dumped)
$ |
[ Impact ]
weex is completely unusable in Focal as it will always segfault if any user tries to run the application.
The problem was caused in '2.8.3ubuntu2' when it was rebuilt for openssl1.1. The configure script is checking for SSL_library_init() in libssl.so to determine if openssl is available or not. But SSL_library_init() was deprecated in openssl1.1 and so the package even though it was rebuilt just silently dropped the openssl support.
As a result when 'weex' tried to connect to a ftp host, it tried to use a NULL pointer when it was trying to check if the host uses ssl or not.
[ Test Plan ]
* setup a ftp server
- I have used vsftpd for this test. And the default configuration file is enough for this test.
* Install weex
* create the conf file at ~/.weex/weexrc
* The following is enough for this test:
[local]
HostName = 127.0.0.1
SrcDir = <srcdir>
DestDir = /ftp
[default]
LoginName = <user>
Password = <password>
* Replace SrcDir, LoginName and Password as appropriate for the system on which its tested.
* execute 'weex local'
[ Where problems could occur ]
* This is an upstream change and was fixed in v2.8.4. None of the actual code is changed and is only using openssl1.1 correctly while building. And, so it should not affect user experience.
[ Other Info ]
* Only Focal is affected, all versions from Jammy are fixed as they have v2.8.4.
* imho, the code is wrong. The configure scipt is checking for openssl and then defining USE_SSL if it finds libssl. So, if USE_SSL is not defined then the pointer 'host_use_SSL' is never initialized. But even then the code is trying to use that pointer.
* This is actually (re)introducing SSL support back into the package,
which was not available at Focal release, so this could be seen as
a feature.
However, considering the lack of SSL breaks the *non-SSL* FTP case
(no guard in ftp_connect()) this could also be considered a bug-fix,
as the package only has FTP (non-SSL) and SFTP (SSL) functionality.
Perhaps fixing the SSL guards properly to prevent the segfault in
non-SSL FTP mode is the minimal/actual bug-fix, but then there is
little left for this package (and its docs/man would need updates).
[ Original Bug Description ]
Weex systematically crash under Ubuntu 18.04 LTS. I have no clue why.
$ weex website
Connect : ftp.somesite.com
Segmentation fault (core dumped)
$ |
|
2024-01-11 20:15:43 |
Sudip Mukherjee |
attachment added |
|
focal_build.log https://bugs.launchpad.net/ubuntu/+source/weex/+bug/1811817/+attachment/5738566/+files/focal_build.log |
|
2024-01-25 17:23:18 |
Andreas Hasenack |
weex (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2024-01-25 17:23:19 |
Andreas Hasenack |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2024-01-25 17:23:23 |
Andreas Hasenack |
bug |
|
|
added subscriber SRU Verification |
2024-01-25 17:23:28 |
Andreas Hasenack |
tags |
bionic focal |
bionic focal verification-needed verification-needed-focal |
|
2024-02-04 22:32:52 |
Sudip Mukherjee |
tags |
bionic focal verification-needed verification-needed-focal |
bionic focal verification-failed verification-failed-focal |
|
2024-02-09 17:04:08 |
Mauricio Faria de Oliveira |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063565 |
|
2024-02-14 02:06:41 |
Chris Halse Rogers |
weex (Ubuntu Focal): status |
Fix Committed |
Incomplete |
|
2024-02-15 16:41:55 |
Mauricio Faria de Oliveira |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929050 |
|
2024-02-15 17:14:40 |
Andreas Hasenack |
bug |
|
|
added subscriber Andreas Hasenack |