Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash while processing readability-simplify-boolean-expr #125047

Open
mathijskolkhuistanke opened this issue Jan 30, 2025 · 2 comments
Open

Crash while processing readability-simplify-boolean-expr #125047

mathijskolkhuistanke opened this issue Jan 30, 2025 · 2 comments
Labels
clang-tidy crash Prefer [crash-on-valid] or [crash-on-invalid] incomplete Issue not complete (e.g. missing a reproducer, build arguments, etc.)

Comments

@mathijskolkhuistanke
Copy link

clang-tidy crashes while parsing a C++ file.

Stack dump:

0.	Program arguments: clang-tidy -p D:\\Jenkins\\workspace\\REM_DESKTOP_CLANG\\scripts\\clang\\..\\..\\out\\ClangTidy\\ -header-filter=Components.*\\.h -quiet D:\\Jenkins\\workspace\\REM_DESKTOP_CLANG\\Components\\CalculationWals\\VastgoedCalculation\\DetailProjectsCashFlowCalculator.cpp

1.	<eof> parser at end of file

2.	ASTMatcher: Processing 'readability-simplify-boolean-expr' against:

	TranslationUnitDecl : <<invalid sloc>>

No bound nodes

Exception Code: 0xC0000005

 #0 0x00007ff76223b5d6 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x44b5d6)

 #1 0x00007ff76223c1c3 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x44c1c3)

 #2 0x00007ff762b5fed7 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0xd6fed7)

 #3 0x00007ff762b5f1da (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0xd6f1da)

 #4 0x00007ff762752832 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x962832)

 #5 0x00007ff7627614a2 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x9714a2)

 #6 0x00007ff762758d46 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x968d46)

 #7 0x00007ff762761424 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x971424)

 #8 0x00007ff762758d46 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x968d46)

 #9 0x00007ff762766f80 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x976f80)

#10 0x00007ff762754554 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x964554)

#11 0x00007ff762758095 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x968095)

#12 0x00007ff762752ec3 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x962ec3)

#13 0x00007ff7627546eb (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x9646eb)

#14 0x00007ff7627555bf (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x9655bf)

#15 0x00007ff762752f77 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x962f77)

#16 0x00007ff762750128 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x960128)

#17 0x00007ff762faa463 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x11ba463)

#18 0x00007ff763074cb4 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x1284cb4)

#19 0x00007ff762fa99a8 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x11b99a8)

#20 0x00007ff762fab250 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x11bb250)

#21 0x00007ff762f9691a (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x11a691a)

#22 0x00007ff762fd30c3 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x11e30c3)

#23 0x00007ff7629c0178 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0xbd0178)

#24 0x00007ff761e057e1 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x157e1)

#25 0x00007ff761e05342 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x15342)

#26 0x00007ff762268ef7 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x478ef7)

#27 0x00007ff7621b55a5 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x3c55a5)

#28 0x00007ff762268d95 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x478d95)

#29 0x00007ff762267d50 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x477d50)

#30 0x00007ff76226a7fd (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x47a7fd)

#31 0x00007ff7621b078a (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x3c078a)

#32 0x00007ff762173eb4 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x383eb4)

#33 0x00007ff762eb7db8 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x10c7db8)

#34 0x00007ffb8c227ac4 (C:\WINDOWS\System32\KERNEL32.DLL+0x17ac4)

#35 0x00007ffb8c62a8c1 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x5a8c1)
@EugeneZelenko EugeneZelenko added clang-tidy incomplete Issue not complete (e.g. missing a reproducer, build arguments, etc.) crash Prefer [crash-on-valid] or [crash-on-invalid] and removed new issue labels Jan 30, 2025
@llvmbot
Copy link
Member

llvmbot commented Jan 30, 2025

@llvm/issue-subscribers-clang-tidy

Author: None (mathijskolkhuistanke)

clang-tidy crashes while parsing a C++ file.
Stack dump:

0.	Program arguments: clang-tidy -p D:\\Jenkins\\workspace\\REM_DESKTOP_CLANG\\scripts\\clang\\..\\..\\out\\ClangTidy\\ -header-filter=Components.*\\.h -quiet D:\\Jenkins\\workspace\\REM_DESKTOP_CLANG\\Components\\CalculationWals\\VastgoedCalculation\\DetailProjectsCashFlowCalculator.cpp

1.	&lt;eof&gt; parser at end of file

2.	ASTMatcher: Processing 'readability-simplify-boolean-expr' against:

	TranslationUnitDecl : &lt;&lt;invalid sloc&gt;&gt;

No bound nodes

Exception Code: 0xC0000005

 #<!-- -->0 0x00007ff76223b5d6 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x44b5d6)

 #<!-- -->1 0x00007ff76223c1c3 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x44c1c3)

 #<!-- -->2 0x00007ff762b5fed7 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0xd6fed7)

 #<!-- -->3 0x00007ff762b5f1da (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0xd6f1da)

 #<!-- -->4 0x00007ff762752832 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x962832)

 #<!-- -->5 0x00007ff7627614a2 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x9714a2)

 #<!-- -->6 0x00007ff762758d46 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x968d46)

 #<!-- -->7 0x00007ff762761424 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x971424)

 #<!-- -->8 0x00007ff762758d46 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x968d46)

 #<!-- -->9 0x00007ff762766f80 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x976f80)

#<!-- -->10 0x00007ff762754554 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x964554)

#<!-- -->11 0x00007ff762758095 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x968095)

#<!-- -->12 0x00007ff762752ec3 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x962ec3)

#<!-- -->13 0x00007ff7627546eb (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x9646eb)

#<!-- -->14 0x00007ff7627555bf (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x9655bf)

#<!-- -->15 0x00007ff762752f77 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x962f77)

#<!-- -->16 0x00007ff762750128 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x960128)

#<!-- -->17 0x00007ff762faa463 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x11ba463)

#<!-- -->18 0x00007ff763074cb4 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x1284cb4)

#<!-- -->19 0x00007ff762fa99a8 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x11b99a8)

#<!-- -->20 0x00007ff762fab250 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x11bb250)

#<!-- -->21 0x00007ff762f9691a (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x11a691a)

#<!-- -->22 0x00007ff762fd30c3 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x11e30c3)

#<!-- -->23 0x00007ff7629c0178 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0xbd0178)

#<!-- -->24 0x00007ff761e057e1 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x157e1)

#<!-- -->25 0x00007ff761e05342 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x15342)

#<!-- -->26 0x00007ff762268ef7 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x478ef7)

#<!-- -->27 0x00007ff7621b55a5 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x3c55a5)

#<!-- -->28 0x00007ff762268d95 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x478d95)

#<!-- -->29 0x00007ff762267d50 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x477d50)

#<!-- -->30 0x00007ff76226a7fd (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x47a7fd)

#<!-- -->31 0x00007ff7621b078a (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x3c078a)

#<!-- -->32 0x00007ff762173eb4 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x383eb4)

#<!-- -->33 0x00007ff762eb7db8 (D:\Tools\Clang 19.1.0\bin\clang-tidy.exe+0x10c7db8)

#<!-- -->34 0x00007ffb8c227ac4 (C:\WINDOWS\System32\KERNEL32.DLL+0x17ac4)

#<!-- -->35 0x00007ffb8c62a8c1 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x5a8c1)

@EugeneZelenko
Copy link
Contributor

Could you please provide reproducer? https://godbolt.org should be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang-tidy crash Prefer [crash-on-valid] or [crash-on-invalid] incomplete Issue not complete (e.g. missing a reproducer, build arguments, etc.)
Projects
None yet
Development

No branches or pull requests

3 participants