Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 577032 - =dev-libs/dmalloc-5.5.2-r6 SIGSEGV with optimizations > -O0
Summary: =dev-libs/dmalloc-5.5.2-r6 SIGSEGV with optimizations > -O0
Status: RESOLVED PKGREMOVED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: 915000
  Show dependency tree
 
Reported: 2016-03-11 04:53 UTC by Robert Gill
Modified: 2025-01-31 15:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gdb backtrace (gdb.log,1.29 KB, text/x-log)
2016-03-11 04:53 UTC, Robert Gill
Details
emerge --info (emergeinfo.txt,4.99 KB, text/plain)
2016-03-11 06:34 UTC, Robert Gill
Details

Note You need to log in before you can comment on or make changes to this bug.
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(+)
Comment 3 Larry the Git Cow gentoo-dev 2024-12-31 14:28:55 UTC
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(+)
Comment 4 Larry the Git Cow gentoo-dev 2025-01-31 15:00:26 UTC
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(-)