Please fix FTBS on ppcel64

Bug #2009551 reported by Vladimir Petko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rlottie (Debian)
New
Unknown
rlottie (Ubuntu)
Fix Released
Undecided
Vladimir Petko

Bug Description

The build log is here:
https://launchpadlibrarian.net/648312166/buildlog_ubuntu-lunar-ppc64el.rlottie_0.1+dfsg-4_BUILDING.txt.gz

Additional issue in the code is that it is potentially attempts to delete a static variable which is an undefined behaviour.

/<<PKGBUILDDIR>>/src/vector/vcowptr.h:52:46: error: ‘operator delete(void*, unsigned long)’ called on unallocated object ‘vcow_ptr<VRle::VRleData>::vcow_ptr()::default_s’ [-Werror=free-nonheap-object]
   52 | if (mModel && (--mModel->mRef == 0)) delete mModel;
      | ^~~~~~~~~~~~~

Related branches

Vladimir Petko (vpa1977)
description: updated
Revision history for this message
Vladimir Petko (vpa1977) wrote :

Root cause - static variable is not explicitly initialised and potentially deleted in destructor.

tags: added: update-excuse
Vladimir Petko (vpa1977)
Changed in rlottie (Ubuntu):
assignee: nobody → Vladimir Petko (vpa1977)
Vladimir Petko (vpa1977)
Changed in rlottie (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rlottie - 0.1+dfsg-4ubuntu1

---------------
rlottie (0.1+dfsg-4ubuntu1) lunar; urgency=medium

  * debian/patches/fix-static-variable-delete.patch: Fix FTBS on ppc64el
    (LP: #2009551).

 -- Vladimir Petko <email address hidden> Tue, 07 Mar 2023 15:32:12 +1300

Changed in rlottie (Ubuntu):
status: In Progress → Fix Released
Changed in rlottie (Debian):
status: Unknown → New
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.