Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 577032

Summary: =dev-libs/dmalloc-5.5.2-r6 SIGSEGV with optimizations > -O0
Product: Gentoo Linux Reporter: Robert Gill <rtgill82>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: UNCONFIRMED ---    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gdb backtrace
emerge --info

Description Robert Gill 2016-03-11 04:53:20 UTC
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.
Comment 1 Robert Gill 2016-03-11 06:34:25 UTC
Created attachment 427948 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-12-06 05:42:04 UTC
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(+)