[Bug 1882998] Re: Cannot import openvdb 6.2 on Focal due to jemalloc
This bug was fixed in the package openvdb - 6.2.1-8ubuntu1.1 --- openvdb (6.2.1-8ubuntu1.1) focal; urgency=medium * Remove dependency on jemalloc so dlopen() works. (LP: #1882998) -- Richard Viney Thu, 10 Sep 2020 01:12:04 + ** Changed in: openvdb (Ubuntu Focal) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882998 Title: Cannot import openvdb 6.2 on Focal due to jemalloc To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/jemalloc/+bug/1882998/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882998] Re: Cannot import openvdb 6.2 on Focal due to jemalloc
Hello Brian, That's great news. The version openvdb 6.2.1-8ubuntu1.1 from proposed fixes the problem for me! ** Tags removed: verification-needed ** Tags added: verification-done-focal ** Tags removed: verification-needed-focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882998 Title: Cannot import openvdb 6.2 on Focal due to jemalloc To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/jemalloc/+bug/1882998/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882998] Re: Cannot import openvdb 6.2 on Focal due to jemalloc
Hello Guillaume, or anyone else affected, Accepted openvdb into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/openvdb/6.2.1-8ubuntu1.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed- focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed-focal. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping! N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days. ** Changed in: openvdb (Ubuntu Focal) Status: In Progress => Fix Committed ** Tags added: verification-needed verification-needed-focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882998 Title: Cannot import openvdb 6.2 on Focal due to jemalloc To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/jemalloc/+bug/1882998/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882998] Re: Cannot import openvdb 6.2 on Focal due to jemalloc
That's correct you need to use LP: to close a Launchpad bug. I'm fixing this and will reupload it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882998 Title: Cannot import openvdb 6.2 on Focal due to jemalloc To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/jemalloc/+bug/1882998/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882998] Re: Cannot import openvdb 6.2 on Focal due to jemalloc
AFAIK the changelog entry is not fully correct, instead of + * Remove dependency on jemalloc so dlopen() works. Closes #1882998. it should be + * Remove dependency on jemalloc so dlopen() works. LP #1882998. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882998 Title: Cannot import openvdb 6.2 on Focal due to jemalloc To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/jemalloc/+bug/1882998/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882998] Re: Cannot import openvdb 6.2 on Focal due to jemalloc
I've sponsored the debdiff after changing the package version and running update-maintainer. $ dput openvdb_6.2.1-8ubuntu1.1_source.changes Trying to upload package to ubuntu Checking signature on .changes gpg: /tmp/pkgs/focal/openvdb_6.2.1-8ubuntu1.1_source.changes: Valid signature from 1E918B66765B3E31 Checking signature on .dsc gpg: /tmp/pkgs/focal/openvdb_6.2.1-8ubuntu1.1.dsc: Valid signature from 1E918B66765B3E31 Uploading to ubuntu (via ftp to upload.ubuntu.com): Uploading openvdb_6.2.1-8ubuntu1.1.dsc: done. Uploading openvdb_6.2.1-8ubuntu1.1.debian.tar.xz: done. Uploading openvdb_6.2.1-8ubuntu1.1_source.buildinfo: done. Uploading openvdb_6.2.1-8ubuntu1.1_source.changes: done. Successfully uploaded packages. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882998 Title: Cannot import openvdb 6.2 on Focal due to jemalloc To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/jemalloc/+bug/1882998/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882998] Re: Cannot import openvdb 6.2 on Focal due to jemalloc
** Changed in: openvdb (Ubuntu Focal) Status: New => In Progress ** Changed in: openvdb (Ubuntu Focal) Assignee: (unassigned) => Brian Murray (brian-murray) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882998 Title: Cannot import openvdb 6.2 on Focal due to jemalloc To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/jemalloc/+bug/1882998/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882998] Re: Cannot import openvdb 6.2 on Focal due to jemalloc
** Changed in: jemalloc (Ubuntu) Status: Confirmed => Won't Fix ** Changed in: jemalloc (Ubuntu Focal) Status: New => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882998 Title: Cannot import openvdb 6.2 on Focal due to jemalloc To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/jemalloc/+bug/1882998/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882998] Re: Cannot import openvdb 6.2 on Focal due to jemalloc
** Tags added: regression-release -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882998 Title: Cannot import openvdb 6.2 on Focal due to jemalloc To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/jemalloc/+bug/1882998/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882998] Re: Cannot import openvdb 6.2 on Focal due to jemalloc
** Changed in: jemalloc (Debian) Status: New => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882998 Title: Cannot import openvdb 6.2 on Focal due to jemalloc To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/jemalloc/+bug/1882998/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882998] Re: Cannot import openvdb 6.2 on Focal due to jemalloc
If there's anything I can do to help move this patch towards inclusion in focal please just let me know. My original debdiff is here: https://bugs.launchpad.net/ubuntu/+source/openvdb/+bug/1882998/comments/9 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882998 Title: Cannot import openvdb 6.2 on Focal due to jemalloc To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/jemalloc/+bug/1882998/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882998] Re: Cannot import openvdb 6.2 on Focal due to jemalloc
** Bug watch removed: github.com/jemalloc/jemalloc/issues #1237 https://github.com/jemalloc/jemalloc/issues/1237 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882998 Title: Cannot import openvdb 6.2 on Focal due to jemalloc To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/jemalloc/+bug/1882998/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882998] Re: Cannot import openvdb 6.2 on Focal due to jemalloc
Fixed upstream with https://github.com/AcademySoftwareFoundation/openvdb/commit/0fa1c68314dfac1822711f5775976ce0735e041e ** Description changed: - See here : https://github.com/AcademySoftwareFoundation/openvdb/issues/732 - It seems the issue is due to jemalloc. - Using openvdb7.0 the problem dispears, probably thanks to the following: + [Impact] - * d/control: Remove dependency to jemalloc. See #951704 for details + * This issue causes apps to be unable to dlopen libopenvdb6.2 or any + shared libraries that depend directly or indirectly on libopenvdb6.2. + Notably this includes libopenimageio2.1 and anything that depends on it. + The python3-openvdb package also doesn't work in focal at present + because of this issue. - Would it be possible to remove the dependency to jemalloc on the focal - version (6.2) or backport version 7.0 from groovy to focal ? + * This issue is a good candidate for backporting to focal because (1) + the fix is a very modest change to the build of the libopenvdb6.2 + package; (2) this is a regression from the previous stable release of + Ubuntu (bionic); (3) several packages are affected by it. + + * The change already in groovy fixes this issue by not building + libopenvdb with jemalloc. + + [Test Case] + + * `apt install python3-openvdb && python3 -c "import pyopenvdb"` should + succeed, but because of this issue it currently fails with the error + "cannot allocate memory in static TLS block". + + * Also, the following C program should print a non-nil value to stdout: + + ```c + #include + #include + + void main() { + printf("%p\n", dlopen("/usr/lib/x86_64-linux-gnu/libopenvdb.so.6.2", RTLD_NOW)); + } + ``` + + [Regression Potential] + + * Regressions are unlikely because the only change is to the choice of + allocator for libopenvdb6.2 when configuring the build with CMake. + + * There is no need for a patch to libopenvdb. + + * The patch applied in groovy is https://salsa.debian.org/multimedia- + team/openvdb/-/commit/ac393d95aa19d29c23a97dca1ace23061ebe5c17 + + [Other Info] + + * There are workarounds for this issue, but each has its own drawbacks + and may not be possible in every situation where this issue could occur. + + * Upstream issue + https://github.com/AcademySoftwareFoundation/openvdb/issues/732 ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: libopenvdb-dev 6.2.1-8ubuntu1 ProcVersionSignature: Ubuntu 5.4.0-33.37-generic 5.4.34 Uname: Linux 5.4.0-33-generic x86_64 ApportVersion: 2.20.11-0ubuntu27.2 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: ubuntu:GNOME Date: Wed Jun 10 19:49:55 2020 InstallationDate: Installed on 2020-05-15 (26 days ago) InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) SourcePackage: openvdb UpgradeStatus: No upgrade log present (probably fresh install) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882998 Title: Cannot import openvdb 6.2 on Focal due to jemalloc To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/jemalloc/+bug/1882998/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882998] Re: Cannot import openvdb 6.2 on Focal due to jemalloc
** Summary changed: - openvdb6.2 is non functionnal on Focal due to jemalloc + Cannot import openvdb 6.2 on Focal due to jemalloc ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882998 Title: Cannot import openvdb 6.2 on Focal due to jemalloc To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/jemalloc/+bug/1882998/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs