scribus 1.5.7+dfsg-3 segfaults on impish

Bug #1939213 reported by Gunnar Hjalmarsson
42
This bug affects 6 people
Affects Status Importance Assigned to Milestone
scribus (Ubuntu)
Fix Released
Critical
Mattia Rizzolo

Bug Description

impish with updated packages. I find this entry in /var/log/syslog:

Aug 8 00:22:28 gunnar-ubuntu-dev kernel: [ 2710.184084] scribus[16001]: segfault at 0 ip 00007f526c9e5c74 sp 00007ffe750286d0 error 4 in libQt5Core.so.5.15.2[7f526c923000+30f000]

But scribus 1.5.7+dfsg-1 runs fine on Debian testing with the same version (5.15.2+dfsg-9) of the libqt5core5a package.

ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: scribus 1.5.7+dfsg-1build1
ProcVersionSignature: Ubuntu 5.11.0-20.21+21.10.1-generic 5.11.21
Uname: Linux 5.11.0-20-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu67
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sun Aug 8 01:48:58 2021
InstallationDate: Installed on 2019-11-10 (636 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
SourcePackage: scribus
UpgradeStatus: No upgrade log present (probably fresh install)
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu68
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 21.10
InstallationDate: Installed on 2019-11-10 (658 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
NonfreeKernelModules: nvidia_modeset nvidia
Package: scribus 1.5.7+dfsg-3 [origin: unknown]
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 5.13.0-14.14-generic 5.13.1
Tags: third-party-packages impish wayland-session
Uname: Linux 5.13.0-14-generic x86_64
UnreportableReason: This does not seem to be an official Ubuntu package. Please retry after updating the indexes of available packages, if that does not work then remove related third party packages and try again.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lp lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Rebuilt scribus (in impish PPA), but it didn't make a difference.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in scribus (Ubuntu):
status: New → Confirmed
summary: - scribus 1.5.7+dfsg-1build1 segfaults on impish
+ scribus 1.5.7+dfsg-3 segfaults on impish
Revision history for this message
Mattia Rizzolo (mapreri) wrote :

would you be able to get a traceback somehow?

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote : Dependencies.txt

apport information

tags: added: apport-collected third-party-packages
description: updated
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote : ProcEnviron.txt

apport information

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

@Mattia: I run apport-collect, but it seems not to include a traceback.

Please note that the segfault is easily reproducible on impish.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

After some struggling I could run apport-retrace(). Please see the result attached.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

... and a gdb run ...

Revision history for this message
Mattia Rizzolo (mapreri) wrote :

Thanks to Dmitry Shachnev (mitya57), he figured out the likely root cause for this, and Rik Mills then found a workaround/solution (disable LTO).

I reported the bug upstream at https://bugs.scribus.net/view.php?id=16637 and I'm uploading a -4 with LTO disabled to fix the issue for now in the distribution.

Changed in scribus (Ubuntu):
assignee: nobody → Mattia Rizzolo (mapreri)
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package scribus - 1.5.7+dfsg-4

---------------
scribus (1.5.7+dfsg-4) unstable; urgency=medium

  * Update the harfbuzz-subset patch with another fix.
  * Set upstream metadata fields: Bug-Database and Bug-Submit.
  * Remove now unneeded dh-exec-subst-unknown-variable lintian override.
  * Override the unusual-interpreter lintian warnings.
  * d/rules: Disable LTO, as it causes segfaults on startup. LP: #1939213
    Thanks to mitya57 for the debugging and RikMills for finding a solution.

 -- Mattia Rizzolo <email address hidden> Sun, 19 Sep 2021 16:08:45 +0200

Changed in scribus (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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