Bug 276703 - clang crashes on the port www/ladybird on 15 (CURRENT) on amd64: Assertion failed: (!LHS.get()->hasPlaceholderType() && !RHS.get()->hasPlaceholderType() && "placeholders should have been weeded out by now")
Summary: clang crashes on the port www/ladybird on 15 (CURRENT) on amd64: Assertion fa...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 15.0-CURRENT
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-toolchain (Nobody)
URL: https://pkg-status.freebsd.org/beefy1...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-29 02:04 UTC by Yuri Victorovich
Modified: 2024-02-09 19:53 UTC (History)
3 users (show)

See Also:


Attachments
files saved by llvm to reproduce the crash (77.06 KB, application/x-gzip)
2024-01-30 00:38 UTC, John F. Carr
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-01-29 02:04:43 UTC

    
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2024-01-29 02:05:46 UTC
Assertion failed: (!LHS.get()->hasPlaceholderType() && !RHS.get()->hasPlaceholderType() && "placeholders should have been weeded out by now"), function CheckPointerToMemberOperands, file /usr/local/poudriere/jails/main-amd64/usr/src/contrib/llvm-project/clang/lib/Sema/SemaExprCXX.cpp, line 5976.
PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
Comment 2 John F. Carr 2024-01-30 00:38:13 UTC
Created attachment 248075 [details]
files saved by llvm to reproduce the crash
Comment 3 Mark Johnston freebsd_committer freebsd_triage 2024-02-09 19:29:42 UTC
Dmitry, do you have any idea if this has already been reported upstream?
Comment 4 Dimitry Andric freebsd_committer freebsd_triage 2024-02-09 19:51:47 UTC
It still reproduces with a recent upstream clang; I tried llvmorg-19-init-00437-g1f132030293 here and it asserts similarly.

The test case should be reduced and then reported upstream, if it isn't already.
Comment 5 Dimitry Andric freebsd_committer freebsd_triage 2024-02-09 19:53:27 UTC
Looks a lot like https://github.com/llvm/llvm-project/issues/53815 which is quite old by now, and there are even older bugs reporting this assertion.