Resurgence of bug #1633251: segfault during initialization of spooldb when installing gridengine-master

Bug #1915891 reported by Anael
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gridengine (Ubuntu)
New
Undecided
Unassigned

Bug Description

# lsb_release -rd
Description: Ubuntu 20.04.2 LTS
Release: 20.04

gridengine-master:
  Installed: 8.1.9+dfsg-9build2
  Candidate: 8.1.9+dfsg-9build2
  Version table:
 *** 8.1.9+dfsg-9build2 500
        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        100 /var/lib/dpkg/status

After a fresh install of ubuntu 20.04, during "apt install gridengine-master", I got the error described in https://bugs.launchpad.net/ubuntu/+source/gridengine/+bug/1633251 for ubuntu 16.04:
Initializing spool (/var/spool/gridengine/spooldb)
Initializing global configuration based on /usr/share/gridengine/default-configuration
Segmentation fault (core dumped)

I attempted to get around it by installing the packages gridengine-common_8.1.9+dfsg-9.1_all.deb, gridengine-client_8.1.9+dfsg-9.1_amd64.deb, and gridengine-master_8.1.9+dfsg-9.1_amd64.deb taken from sid. But this requires installing libhwloc15_2.4.1~rc3+dfsg-1_amd64.deb which screws the dependency relations when upgrading.

In order to upgrade and install developments packages, I had to remove all the above-mentionned sid packages, and noticed that the focal packages gridengine-*-8.1.9+dfsg-9.1 packages then could install without error (obviously because spooldb is then initialized).

However, upon reboot, I now get from journalctl -xe:
[ 1567.989394] sge_qmaster[4491]: segfault at 100000120 ip 00007fa811d9f84c sp 00007ffd27f4d278 error 4 in libspoolb.so[7fa811cb5000+ef000]
[ 1567.989403] Code: 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 53 8b 3d ed fa 05 00 e8 f0 71 f1 ff 48 89 c3 48 85 c0 74 10 48 8b 3b 5b <48> 8b 47 20 ff e0 66 0f 1f 44 00 00 bf 10 00 00 00 e8 5e 52 ff ff
...
Similar errors are logged everytime I do "service gridengine-master restart".

Reinstalling gridengine-master_8.1.9+dfsg-9.1_all.deb and sid packages, the gridengine is operational and still so after reboot.

What I expect: to be able to install gridengine within focal, without the need to also install libhwloc15_2.4.1~rc3+dfsg-1_amd64.deb which breaks the depency relations for many development packages.

Anael (anael-lemaitre)
information type: Public → Public Security
Revision history for this message
Seth Arnold (seth-arnold) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

information type: Public Security → Public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.