Bug 278174 - Clang-17 crashes without printing any asserts on the C++ module from the new version 4.5.0 of science/siconos
Summary: Clang-17 crashes without printing any asserts on the C++ module from the new ...
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 14.0-STABLE
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-toolchain (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-04 19:07 UTC by Yuri Victorovich
Modified: 2024-04-08 07:48 UTC (History)
1 user (show)

See Also:
dim: mfc-stable14+
dim: mfc-stable13+


Attachments
test_pinv-72007e.c (260.24 KB, text/plain)
2024-04-04 19:07 UTC, Yuri Victorovich
no flags Details
test_pinv-72007e.sh (7.75 KB, text/plain)
2024-04-04 19:09 UTC, Yuri Victorovich
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2024-04-04 19:07:45 UTC
Created attachment 249713 [details]
test_pinv-72007e.c
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2024-04-04 19:09:39 UTC
Created attachment 249714 [details]
test_pinv-72007e.sh
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-04-05 15:45:40 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=aaabed1dea7c1d16cdc5457bf6dee74164104e26

commit aaabed1dea7c1d16cdc5457bf6dee74164104e26
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2024-04-05 13:00:12 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2024-04-05 15:44:49 +0000

    Merge commit eb8f379567e8 from llvm-project (by Florian Hahn):

      [DSE] Remove malloc from EarliestEscapeInfo before removing. (#84157)

      Not removing the malloc from earliest escape info leaves stale entries
      in the cache.

      Fixes https://github.com/llvm/llvm-project/issues/84051.

      PR: https://github.com/llvm/llvm-project/pull/84157

    This fixes a crash in clang (usually a bus error, but can also be
    another memory error) when compiling the science/siconos port.

    PR:             278174
    Reported by:    yuri
    MFC after:      3 days

 .../llvm-project/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-04-08 07:46:58 UTC
A commit in branch stable/14 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=928ea8066dd0dee458633b1ebd5d0b6dcdc83357

commit 928ea8066dd0dee458633b1ebd5d0b6dcdc83357
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2024-04-05 13:00:12 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2024-04-08 07:42:16 +0000

    Merge commit eb8f379567e8 from llvm-project (by Florian Hahn):

      [DSE] Remove malloc from EarliestEscapeInfo before removing. (#84157)

      Not removing the malloc from earliest escape info leaves stale entries
      in the cache.

      Fixes https://github.com/llvm/llvm-project/issues/84051.

      PR: https://github.com/llvm/llvm-project/pull/84157

    This fixes a crash in clang (usually a bus error, but can also be
    another memory error) when compiling the science/siconos port.

    PR:             278174
    Reported by:    yuri
    MFC after:      3 days

    (cherry picked from commit aaabed1dea7c1d16cdc5457bf6dee74164104e26)

 .../llvm-project/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-04-08 07:48:00 UTC
A commit in branch stable/13 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=17e32453b89d48db0d2f9e8086952df7d423423c

commit 17e32453b89d48db0d2f9e8086952df7d423423c
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2024-04-05 13:00:12 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2024-04-08 07:42:20 +0000

    Merge commit eb8f379567e8 from llvm-project (by Florian Hahn):

      [DSE] Remove malloc from EarliestEscapeInfo before removing. (#84157)

      Not removing the malloc from earliest escape info leaves stale entries
      in the cache.

      Fixes https://github.com/llvm/llvm-project/issues/84051.

      PR: https://github.com/llvm/llvm-project/pull/84157

    This fixes a crash in clang (usually a bus error, but can also be
    another memory error) when compiling the science/siconos port.

    PR:             278174
    Reported by:    yuri
    MFC after:      3 days

    (cherry picked from commit aaabed1dea7c1d16cdc5457bf6dee74164104e26)

 .../llvm-project/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)