Summary: | =dev-libs/dmalloc-5.5.2-r6 SIGSEGV with optimizations > -O0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Robert Gill <rtgill82> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED PKGREMOVED | ||
Severity: | normal | CC: | esigra, sam |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 915000 | ||
Attachments: |
gdb backtrace
emerge --info |
Created attachment 427948 [details]
emerge --info
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c5b72836640446142a12a312df01c1986cc4e0a commit 4c5b72836640446142a12a312df01c1986cc4e0a Author: Sam James <sam@gentoo.org> AuthorDate: 2023-12-05 15:01:10 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-12-06 05:40:50 +0000 dev-libs/dmalloc: add 5.6.5 Bug: https://bugs.gentoo.org/577032 Closes: https://bugs.gentoo.org/758848 Closes: https://bugs.gentoo.org/899774 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/dmalloc/Manifest | 1 + dev-libs/dmalloc/dmalloc-5.6.5.ebuild | 73 +++++ .../dmalloc/files/dmalloc-5.6.5-Makefile.in.patch | 343 +++++++++++++++++++++ .../files/dmalloc-5.6.5-configure-c99.patch | 61 ++++ 4 files changed, 478 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12605a61e8599a5a78e5b1c1ce12768d412af868 commit 12605a61e8599a5a78e5b1c1ce12768d412af868 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-12-31 14:26:47 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-12-31 14:28:16 +0000 package.mask: Last rite dev-libs/dmalloc Many open bugs and requires a large amount of patching to build correctly as a shared library. Breaks reverse dependencies in a few ways. Bug: https://bugs.gentoo.org/426564 Bug: https://bugs.gentoo.org/577032 Bug: https://bugs.gentoo.org/864767 Bug: https://bugs.gentoo.org/883389 Bug: https://bugs.gentoo.org/924828 Bug: https://bugs.gentoo.org/924174 Bug: https://bugs.gentoo.org/945177 Signed-off-by: Sam James <sam@gentoo.org> profiles/package.mask | 6 ++++++ 1 file changed, 6 insertions(+) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=518628452da6996b62c52d407b3000ae2d6e3844 commit 518628452da6996b62c52d407b3000ae2d6e3844 Author: Arthur Zamarin <arthurzam@gentoo.org> AuthorDate: 2025-01-31 14:59:03 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2025-01-31 14:59:36 +0000 dev-libs/dmalloc: treeclean Closes: https://bugs.gentoo.org/924174 (pkgremoved) Closes: https://bugs.gentoo.org/426564 (pkgremoved) Closes: https://bugs.gentoo.org/577032 (pkgremoved) Closes: https://bugs.gentoo.org/864767 (pkgremoved) Closes: https://bugs.gentoo.org/883389 (pkgremoved) Closes: https://bugs.gentoo.org/924828 (pkgremoved) Closes: https://bugs.gentoo.org/945177 (pkgremoved) Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> dev-libs/dmalloc/Manifest | 1 - dev-libs/dmalloc/dmalloc-5.6.5-r2.ebuild | 68 -------------- .../files/dmalloc-5.6.5-add-destdir-support.patch | 103 --------------------- .../dmalloc-5.6.5-allow-overriding-ar-and-ld.patch | 89 ------------------ .../files/dmalloc-5.6.5-configure-c99.patch | 68 -------------- .../files/dmalloc-5.6.5-fix-cxx-check.patch | 22 ----- .../files/dmalloc-5.6.5-set-soname-version.patch | 32 ------- dev-libs/dmalloc/metadata.xml | 8 -- profiles/package.mask | 6 -- 9 files changed, 397 deletions(-) |
Created attachment 427944 [details] gdb backtrace dmalloc crashes on x86 when gcc optimizations are greater than -O0 due to a variable being optimized away. This doesn't seem to happen on amd64. I'm attaching a gdb log that includes the backtrace and demonstrates the missing variable.