Bug 245279 - clang Assertion failed: (ParamIter != FD->param_end())
Summary: clang Assertion failed: (ParamIter != FD->param_end())
Status: Closed Unable to Reproduce
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks: 245227
  Show dependency treegraph
 
Reported: 2020-04-02 08:40 UTC by Fernando Apesteguía
Modified: 2020-04-02 14:46 UTC (History)
0 users

See Also:


Attachments
Crash report (14.44 KB, text/plain)
2020-04-02 08:40 UTC, Fernando Apesteguía
no flags Details
shell to reproduce the problem (7.16 KB, application/x-shellscript)
2020-04-02 08:41 UTC, Fernando Apesteguía
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando Apesteguía freebsd_committer freebsd_triage 2020-04-02 08:40:38 UTC
Created attachment 212975 [details]
Crash report

While updating net-im/telegram-desktop from bug #245227 I found this clang crash in 13-current.

Machine is:

FreeBSD vm-current 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r359068: Wed Mar 18 23:07:43 CET 2020     root@vm-current:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64

Runnning on VMWare.

Clang version is:

FreeBSD clang version 8.0.1 (branches/release_80 364487) (based on LLVM 8.0.1)

The bug is always reproducible with my setup.

Attached debugging files and report.
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2020-04-02 08:41:45 UTC
Created attachment 212976 [details]
shell to reproduce the problem
Comment 2 Fernando Apesteguía freebsd_committer freebsd_triage 2020-04-02 08:43:54 UTC
It seems the .cpp is too large for Bugzilla, so here it is:

https://app.box.com/s/ytv0q48tp6e3fthvt9dc5e7sn293bdjj

Should you have any problems accessing it, let me know.
Comment 3 Conrad Meyer freebsd_committer freebsd_triage 2020-04-02 14:46:08 UTC
Freebsd current has clang 10.0.0, not 8.0.1.  Please update Clang.

With 10, I get: fatal error: too many errors emitted, stopping now [-ferror-limit=]
8 warnings and 20 errors generated.

(Not a Clang bug.)