[Bug 1970521] Re: [SRU] boinc-client crashes when started with core dump on Xubuntu 22.04
I can confirm that boinc-client from jammy-proposed has fixed the bug for me. Test done: Start a Jammy vm with "-cpu Conroe-v1". Confirm from lscpu that avx is not present in Flags. $ lscpu | grep Flags Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc rep_good nopl cpuid install boinc-client execute boinc and confirm it crashes Add jammy-proposed to apt sources update boinc-client from jammy-proposed execute boinc again and cofirm it did not crash. Test result: the issue with boinc-client has been fixed. Package tested: $ apt-cache policy boinc-client boinc-client: Installed: 7.18.1+dfsg-4ubuntu0.1 Candidate: 7.18.1+dfsg-4ubuntu0.1 Version table: *** 7.18.1+dfsg-4ubuntu0.1 500 500 http://gb.archive.ubuntu.com/ubuntu jammy-proposed/universe amd64 Packages 100 /var/lib/dpkg/status 7.18.1+dfsg-4 500 500 http://gb.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages ** Tags removed: verification-needed verification-needed-jammy ** Tags added: verification-done verification-done-jammy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1970521 Title: [SRU] boinc-client crashes when started with core dump on Xubuntu 22.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/boinc/+bug/1970521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1970521] Re: [SRU] boinc-client crashes when started with core dump on Xubuntu 22.04
Looked at potential performance regressions of removing AVX instructions. (Updated the SRU template sections accordingly.) The boinc packages do not provide high-performance code, it's the boinc _applications_ written to be run by the client and linked against the library for API access that have the high-performance code, IIUIC. The API documentation/headers do not seem to provide any high-performance functions (e.g., the crypto part are wrapper for openssl), the only code it seems to implement is MD5. https://github.com/BOINC/boinc/wiki/ProjectMain#developing-boinc- applications Considering this change has been introduced in Debian ~2 years ago (Feb-Jun 2022) and in Ubuntu Kinetic (22.10) and is still in place, there indeed does not seem to be a performance regression (or other issues related to it). ``` boinc (7.20.0+dfsg-1) unstable; urgency=medium [ Steffen Moeller ] * Reverse AVX instructions for better compatibility with older servers ``` https://launchpad.net/ubuntu/kinetic/+source/boinc ** Changed in: boinc (Ubuntu Jammy) Status: Confirmed => Fix Committed ** Tags added: verification-needed verification-needed-jammy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1970521 Title: [SRU] boinc-client crashes when started with core dump on Xubuntu 22.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/boinc/+bug/1970521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1970521] Re: [SRU] boinc-client crashes when started with core dump on Xubuntu 22.04
** Description changed: [ Impact ] boinc-client is completely unusable on older CPU which does not have avx like a Celeron CPU. It will crash immediately if run on old CPU, but will run without any problem on newer CPUs. [ Test Plan ] It should be done on both types of CPUs, one which has AVX, and one which does not have AVX. If using qemu then "-cpu Conroe-v1" will emulate Celeron CPU without AVX. Confirm with the command "lscpu" and check the flags if "avx" is listed or not. Commands to execute for testing on both CPUs: 1. Install boinc 2. Execute "boinc" from a terminal If the package is not fixed then it will fail to start. [ Where problems could occur ] There is no change in the code and is only modifying debian/rules so that the built binary does not have any machine instruction for AVX. It will result in a different executable machine code but chances of regression due to this is very low. + There does not seem to be performance-critical code in the boinc client + or boinc library (which is the API provided for the boinc _applications_, + which are performance-critical path; the API is not a high-performance lib). + + Thus, removing AVX from the package, even for the API, would not seem to + cause a performance regression for working/avx-capable processor models. + [ Other Info ] - This change is from Debian and is part of Ubuntu from Manctic onwards. There has been no reported regression due to this change. + This change is from Debian and is part of Ubuntu from Kinetic onwards. There has been no reported regression due to this change. The Debian change is at: https://salsa.debian.org/pkg-boinc-team/boinc/-/commit/a0611c2bc86864428337b07b382e4d5cf823b95d [ Original Bug Description ] lsb_release -rd Description: Ubuntu 22.04 LTS Release: 22.04 apt-cache policy boinc-client boinc-client: Installed: 7.18.1+dfsg-4 Candidate: 7.18.1+dfsg-4 Version table: *** 7.18.1+dfsg-4 500 500 http://au.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages 100 /var/lib/dpkg/status I expected boinc-client to start; it crashed immediately with a core dump. ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: boinc-client 7.18.1+dfsg-4 ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30 Uname: Linux 5.15.0-27-generic x86_64 ApportVersion: 2.20.11-0ubuntu82 Architecture: amd64 CasperMD5CheckResult: unknown Date: Wed Apr 27 15:04:19 2022 InstallationDate: Installed on 2019-12-24 (854 days ago) InstallationMedia: Xubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210) ProcEnviron: LANGUAGE=en_AU:en TERM=xterm-256color PATH=(custom, no user) LANG=en_AU.UTF-8 SHELL=/bin/bash SourcePackage: boinc UpgradeStatus: Upgraded to jammy on 2022-04-24 (3 days ago) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1970521 Title: [SRU] boinc-client crashes when started with core dump on Xubuntu 22.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/boinc/+bug/1970521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1970521] Re: [SRU] boinc-client crashes when started with core dump on Xubuntu 22.04
Marked bug 1988863 as a duplicate. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1970521 Title: [SRU] boinc-client crashes when started with core dump on Xubuntu 22.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/boinc/+bug/1970521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1970521] Re: [SRU] boinc-client crashes when started with core dump on Xubuntu 22.04
Looks good to me; sponsoring. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1970521 Title: [SRU] boinc-client crashes when started with core dump on Xubuntu 22.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/boinc/+bug/1970521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1970521] Re: [SRU] boinc-client crashes when started with core dump on Xubuntu 22.04
debdiff attached. ** Summary changed: - boinc-client crashes when started with core dump on Xubuntu 22.04 + [SRU] boinc-client crashes when started with core dump on Xubuntu 22.04 ** Description changed: + [ Impact ] + + boinc-client is completely unusable on older CPU which does not have avx like a Celeron CPU. + It will crash immediately if run on old CPU, but will run without any problem on newer CPUs. + + [ Test Plan ] + + It should be done on both types of CPUs, one which has AVX, and one which does not have AVX. + If using qemu then "-cpu Conroe-v1" will emulate Celeron CPU without AVX. + + Confirm with the command "lscpu" and check the flags if "avx" is listed + or not. + + Commands to execute for testing on both CPUs: + + 1. Install boinc + 2. Execute "boinc" from a terminal + + If the package is not fixed then it will fail to start. + + [ Where problems could occur ] + + There is no change in the code and is only modifying debian/rules so + that the built binary does not have any machine instruction for AVX. It + will result in a different executable machine code but chances of + regression due to this is very low. + + [ Other Info ] + + This change is from Debian and is part of Ubuntu from Manctic onwards. There has been no reported regression due to this change. + The Debian change is at: https://salsa.debian.org/pkg-boinc-team/boinc/-/commit/a0611c2bc86864428337b07b382e4d5cf823b95d + + [ Original Bug Description ] + lsb_release -rd Description: Ubuntu 22.04 LTS Release: 22.04 apt-cache policy boinc-client boinc-client: - Installed: 7.18.1+dfsg-4 - Candidate: 7.18.1+dfsg-4 - Version table: - *** 7.18.1+dfsg-4 500 - 500 http://au.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages - 100 /var/lib/dpkg/status + Installed: 7.18.1+dfsg-4 + Candidate: 7.18.1+dfsg-4 + Version table: + *** 7.18.1+dfsg-4 500 + 500 http://au.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages + 100 /var/lib/dpkg/status I expected boinc-client to start; it crashed immediately with a core dump. ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: boinc-client 7.18.1+dfsg-4 ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30 Uname: Linux 5.15.0-27-generic x86_64 ApportVersion: 2.20.11-0ubuntu82 Architecture: amd64 CasperMD5CheckResult: unknown Date: Wed Apr 27 15:04:19 2022 InstallationDate: Installed on 2019-12-24 (854 days ago) InstallationMedia: Xubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210) ProcEnviron: - LANGUAGE=en_AU:en - TERM=xterm-256color - PATH=(custom, no user) - LANG=en_AU.UTF-8 - SHELL=/bin/bash + LANGUAGE=en_AU:en + TERM=xterm-256color + PATH=(custom, no user) + LANG=en_AU.UTF-8 + SHELL=/bin/bash SourcePackage: boinc UpgradeStatus: Upgraded to jammy on 2022-04-24 (3 days ago) ** Patch added: "boinc.debdiff" https://bugs.launchpad.net/ubuntu/jammy/+source/boinc/+bug/1970521/+attachment/5760677/+files/boinc.debdiff ** Changed in: boinc (Ubuntu Jammy) Status: In Progress => Confirmed ** Changed in: boinc (Ubuntu Jammy) Assignee: Sudip Mukherjee (sudipmuk) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1970521 Title: [SRU] boinc-client crashes when started with core dump on Xubuntu 22.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/boinc/+bug/1970521/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs