Lldb Assertion fail - ExprClassification.cpp

Answered

Hello. 

Clion was working fine until one day the debugger started crashing. 

That's what I got in the debugger console: 

 

Assertion failed: (getValueKind() == VK_RValue), function ClassifyImpl, file /Applications/buildAgent/work/1ce8e77440c867d9/lldb/llvm/tools/clang/lib/AST/ExprClassification.cpp, line 67.
Stack dump:
0. <eof> parser at end of file

 

Ide Log: 

 

2018-01-02 13:53:43,592 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2018-01-02 13:53:43,600 [ 8] INFO - #com.intellij.util.ui.JBUI - User scale factor: 1.0
2018-01-02 13:53:43,600 [ 8] INFO - #com.intellij.util.ui.JBUI - System scale factor: 2.0 (JRE-managed HiDPI)
2018-01-02 13:53:43,608 [ 16] INFO - #com.intellij.idea.Main - IDE: CLion (build #CL-173.4127.32, 26 Dec 2017 17:43)
2018-01-02 13:53:43,608 [ 16] INFO - #com.intellij.idea.Main - OS: Mac OS X (10.12.6, x86_64)
2018-01-02 13:53:43,608 [ 16] INFO - #com.intellij.idea.Main - JRE: 1.8.0_152-release-1024-b8 (JetBrains s.r.o)
2018-01-02 13:53:43,608 [ 16] INFO - #com.intellij.idea.Main - JVM: 25.152-b8 (OpenJDK 64-Bit Server VM)
2018-01-02 13:53:43,615 [ 23] INFO - #com.intellij.idea.Main - JVM Args: -Xss2m -Xms256m -Xmx2000m -XX:NewSize=128m -XX:MaxNewSize=128m -XX:ReservedCodeCacheSize=240m -XX:+UseCompressedOops -Dfile.encoding=UTF-8 -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Xverify:none -XX:ErrorFile=/Users/yakirpaykey/java_error_in_clion_%p.log -XX:HeapDumpPath=/Users/yakirpaykey/java_error_in_clion.hprof -Xbootclasspath/a:../lib/boot.jar -Djb.vmOptionsFile=/Applications/CLion.app/Contents/bin/clion.vmoptions -Xbootclasspath/a:/Applications/CLion.app/Contents/lib/boot.jar -Didea.java.redist=jdk-bundled -Didea.home.path=/Applications/CLion.app/Contents -Didea.executable=clion -Didea.platform.prefix=CLion -Didea.paths.selector=CLion2017.3
2018-01-02 13:53:43,617 [ 25] INFO - #com.intellij.idea.Main - ForkJoinPool.commonPool: java.util.concurrent.ForkJoinPool@65800131[Running, parallelism = 3, size = 0, active = 0, running = 0, steals = 0, tasks = 0, submissions = 0]
2018-01-02 13:53:43,617 [ 25] INFO - #com.intellij.idea.Main - ext: /Applications/CLion.app/Contents/jdk/Contents/Home/jre/lib/ext: [cldrdata.jar, dnsns.jar, jaccess.jar, jfxrt.jar, localedata.jar, meta-index, nashorn.jar, sunec.jar, sunjce_provider.jar, sunpkcs11.jar, zipfs.jar]
2018-01-02 13:53:43,617 [ 25] INFO - #com.intellij.idea.Main - ext: /System/Library/Java/Extensions: [MRJToolkit.jar]
2018-01-02 13:53:43,617 [ 25] INFO - #com.intellij.idea.Main - JNU charset: UTF-8
2018-01-02 13:53:43,627 [ 35] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 9 ms
2018-01-02 13:53:43,638 [ 46] INFO - #com.intellij.idea.Main - initializing environment
2018-01-02 13:53:43,639 [ 47] INFO - .intellij.util.EnvironmentUtil - loading shell env: /bin/bash -l -i -c '/Applications/CLion.app/Contents/bin/printenv.py' '/private/var/folders/y2/y5ftzl4s0q3c1_8k9_y9j8rr0000gp/T/intellij-shell-env.tmp'
2018-01-02 13:53:43,753 [ 161] INFO - .intellij.util.EnvironmentUtil - shell environment loaded (13 vars)
2018-01-02 13:53:43,769 [ 177] INFO - .intellij.util.EnvironmentUtil - LC_CTYPE=en_US.UTF-8
2018-01-02 13:53:45,368 [ 1776] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor intellilang-js-support.xml
2018-01-02 13:53:45,369 [ 1777] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor js-nashorn-support.xml
2018-01-02 13:53:45,857 [ 2265] INFO - llij.ide.plugins.PluginManager - 28 plugins initialized in 733 ms
2018-01-02 13:53:45,859 [ 2267] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: CSS Support (173.4127.32), CVS Integration (11), CoffeeScript (2.0), Git Integration (8.1), GitHub (173.4127.32), HTML Tools (2.0), IDEA CORE (173.4127.32), JavaScript Debugger (1.0), JavaScript Intention Power Pack (0.9.4), JavaScript Support (1.0), Less support (173.4127.32), Mercurial Integration (10.0), Perforce Integration (2.0), PyCharm Community Edition for CLion (173.4127.32), REST Client (173.4127.32), Remote Hosts Access (0.1), Sass support (173.4127.32), Settings Repository (173.4127.32), Stylus support (999.999), Subversion Integration (1.1), TFS Integration (999.999), Task Management (1.0), Terminal (0.1), Time Tracking (1.0), XPathView + XSLT Support (4), YAML (173.4127.32)
2018-01-02 13:53:45,859 [ 2267] INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: BashSupport (1.6.12.173), Makefile support (1.2.1)
2018-01-02 13:53:46,421 [ 2829] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=500; buffer=10; max=1967
2018-01-02 13:53:46,467 [ 2875] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: /Applications/CLion.app/Contents/bin/fsnotifier
2018-01-02 13:53:46,477 [ 2885] INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2018-01-02 13:53:46,575 [ 2983] INFO - pi.util.registry.RegistryState - Registry values changed by user:
2018-01-02 13:53:46,575 [ 2983] INFO - pi.util.registry.RegistryState - debugger.watches.in.variables = false
2018-01-02 13:53:46,890 [ 3298] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=13, fontScale=0.0; restored: fontSize=13, fontScale=1.0
2018-01-02 13:53:47,267 [ 3675] INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.ui.OptionsTopHitProvider$Activity@12133d0
2018-01-02 13:53:47,356 [ 3764] INFO - til.net.ssl.CertificateManager - Default SSL context initialized
2018-01-02 13:53:47,484 [ 3892] INFO - lij.diagnostic.DebugLogManager - Set TRACE for the following categories:
2018-01-02 13:53:47,499 [ 3907] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63343
2018-01-02 13:53:47,546 [ 3954] INFO - gs.impl.UpdateCheckerComponent - channel: release
2018-01-02 13:53:47,654 [ 4062] INFO - il.indexing.FileBasedIndexImpl - Index exts enumerated:21
2018-01-02 13:53:47,658 [ 4066] INFO - il.indexing.FileBasedIndexImpl - Index scheduled:3
2018-01-02 13:53:47,687 [ 4095] INFO - tellij.psi.stubs.StubIndexImpl - All stub exts enumerated:20
2018-01-02 13:53:47,688 [ 4096] INFO - tellij.psi.stubs.StubIndexImpl - stub exts update scheduled:0
2018-01-02 13:53:47,814 [ 4222] INFO - ndex.PrebuiltIndexProviderBase - Prebuilt id-index indices are missing for Python
2018-01-02 13:53:48,139 [ 4547] INFO - pl$FileIndexDataInitialization - Initialization done:480
2018-01-02 13:53:48,143 [ 4551] INFO - PyTestLegacyInterop - Disabling com.jetbrains.python.testing.unittestLegacy.PythonUnitTestConfigurationProducer@37cf7922
2018-01-02 13:53:48,143 [ 4551] INFO - PyTestLegacyInterop - Disabling com.jetbrains.python.testing.pytestLegacy.PyTestConfigurationProducer@4de61f4
2018-01-02 13:53:48,144 [ 4552] INFO - PyTestLegacyInterop - Disabling com.jetbrains.python.testing.nosetestLegacy.PythonNoseTestConfigurationProducer@3a553773
2018-01-02 13:53:48,165 [ 4573] INFO - plication.impl.ApplicationImpl - 82 application components initialized in 3045ms
2018-01-02 13:53:48,199 [ 4607] INFO - .intellij.idea.IdeaApplication - App initialization took 5285 ms
2018-01-02 13:53:48,254 [ 4662] INFO - exImpl$StubIndexInitialization - Initialization done:114
2018-01-02 13:53:48,681 [ 5089] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=1.0; restored: fontSize=12, fontScale=1.0
2018-01-02 13:53:48,697 [ 5105] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=11, fontScale=null; restored: fontSize=11, fontScale=1.0
2018-01-02 13:53:48,698 [ 5106] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=null; restored: fontSize=12, fontScale=1.0
2018-01-02 13:53:48,704 [ 5112] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=null; restored: fontSize=12, fontScale=1.0
2018-01-02 13:53:48,704 [ 5112] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=13, fontScale=null; restored: fontSize=13, fontScale=1.0
2018-01-02 13:53:48,710 [ 5118] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=null; restored: fontSize=12, fontScale=1.0
2018-01-02 13:53:48,719 [ 5127] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=null; restored: fontSize=12, fontScale=1.0
2018-01-02 13:53:48,719 [ 5127] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=13, fontScale=null; restored: fontSize=13, fontScale=1.0
2018-01-02 13:53:48,728 [ 5136] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=null; restored: fontSize=12, fontScale=1.0
2018-01-02 13:53:48,728 [ 5136] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=13, fontScale=null; restored: fontSize=13, fontScale=1.0
2018-01-02 13:53:48,736 [ 5144] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=11, fontScale=null; restored: fontSize=11, fontScale=1.0
2018-01-02 13:53:48,736 [ 5144] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=13, fontScale=null; restored: fontSize=13, fontScale=1.0
2018-01-02 13:53:48,745 [ 5153] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=null; restored: fontSize=12, fontScale=1.0
2018-01-02 13:53:48,745 [ 5153] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=13, fontScale=null; restored: fontSize=13, fontScale=1.0
2018-01-02 13:53:48,773 [ 5181] INFO - .openapi.application.Preloader - Finished preloading com.intellij.openapi.actionSystem.impl.ActionPreloader@bf81371
2018-01-02 13:53:49,335 [ 5743] INFO - j.ide.ui.OptionsTopHitProvider - 780 ms spent to cache options in application
2018-01-02 13:53:49,633 [ 6041] INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.ui.search.SearchableOptionPreloader@37dacb5b
2018-01-02 13:53:49,978 [ 6386] INFO - .openapi.application.Preloader - Finished preloading com.intellij.codeInsight.completion.CompletionPreloader@2ba89e85
2018-01-02 13:53:53,816 [ 10224] INFO - pl.projectlevelman.NewMappings - VCS Root: [] - [<Project>]
2018-01-02 13:53:53,817 [ 10225] INFO - pl.projectlevelman.NewMappings - VCS Root: [Git] - [/Users/yakirpaykey/projects/nlp-engine]
2018-01-02 13:53:54,646 [ 11054] INFO - ellij.project.impl.ProjectImpl - 104 project components initialized in 1051 ms
2018-01-02 13:53:54,955 [ 11363] INFO - le.impl.ModuleManagerComponent - 1 module(s) loaded in 308 ms
2018-01-02 13:53:55,604 [ 12012] INFO - ellij.project.impl.ProjectImpl - 17 project components initialized in 13 ms
2018-01-02 13:53:55,620 [ 12028] INFO - j.ide.script.IdeStartupScripts - 0 startup script(s) found
2018-01-02 13:53:55,693 [ 12101] WARN - j.ui.mac.MacMainFrameDecorator - no url bundle present.
To use platform protocol handler to open external links specify required protocols in the mac app layout section of the build file
Example: args.urlSchemes = ["your-protocol"] will handle following links: your-protocol://open?file=file&line=line
2018-01-02 13:53:55,830 [ 12238] WARN - om.intellij.util.ProfilingUtil - Profiling agent is not enabled. Add -agentlib:yjpagent to idea.vmoptions if necessary to profile IDEA.
2018-01-02 13:53:57,288 [ 13696] INFO - .diagnostic.PerformanceWatcher - Pushing Python language level to 11 roots in 1 SDKs took 319ms; general responsiveness: ok; EDT responsiveness: ok
2018-01-02 13:53:57,437 [ 13845] INFO - tartup.impl.StartupManagerImpl - OpenFilesActivity run in 735ms under project opening modal progress
2018-01-02 13:53:57,478 [ 13886] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 44ms; general responsiveness: ok; EDT responsiveness: ok
2018-01-02 13:53:57,480 [ 13888] INFO - .diagnostic.PerformanceWatcher - Post-startup activities under progress took 823ms; general responsiveness: ok; EDT responsiveness: 1/1 sluggish
2018-01-02 13:53:57,865 [ 14273] INFO - tartup.impl.StartupManagerImpl - /Users/yakirpaykey/projects/nlp-engine/.idea case-sensitivity: expected=false actual=false
2018-01-02 13:53:57,907 [ 14315] INFO - git4idea.GitVcs - Git version: 2.10.1.0 (UNIX)
2018-01-02 13:53:58,040 [ 14448] INFO - pl.projectlevelman.NewMappings - VCS Root: [Git] - [/Users/yakirpaykey/projects/nlp-engine]
2018-01-02 13:53:58,483 [ 14891] INFO - tor.impl.FileEditorManagerImpl - Project opening took 4910 ms
2018-01-02 13:54:00,229 [ 16637] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 2750ms; general responsiveness: ok; EDT responsiveness: 2/2 sluggish
2018-01-02 13:54:00,229 [ 16637] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 18 files to update
2018-01-02 13:54:00,680 [ 17088] INFO - .diagnostic.PerformanceWatcher - Unindexed files update took 451ms; general responsiveness: ok; EDT responsiveness: ok
2018-01-02 13:54:00,717 [ 17125] INFO - #com.jetbrains.cidr.lang - Clearing symbols finished in 0 s.
2018-01-02 13:54:00,724 [ 17132] INFO - #com.jetbrains.cidr.lang - Building symbols in FAST mode, 85 source files from total 642 project files
2018-01-02 13:54:03,209 [ 19617] INFO - #com.jetbrains.cidr.lang - Loading Module Maps finished in 0 s.
2018-01-02 13:54:03,268 [ 19676] INFO - #com.jetbrains.cidr.lang - Building Module Maps finished in 0 s.
2018-01-02 13:54:03,323 [ 19731] INFO - #com.jetbrains.cidr.lang - Saving Module Maps finished in 0 s.
2018-01-02 13:54:03,323 [ 19731] INFO - #com.jetbrains.cidr.lang - Saving Module Maps finished in 0 s.
2018-01-02 13:54:03,326 [ 19734] INFO - #com.jetbrains.cidr.lang - Loaded 3155 tables for 945 files (639 project files)
2018-01-02 13:54:03,326 [ 19734] INFO - #com.jetbrains.cidr.lang - Building symbols for 2 source files
2018-01-02 13:54:04,164 [ 20572] INFO - #com.jetbrains.cidr.lang - Building symbols for 1 unused headers
2018-01-02 13:54:04,166 [ 20574] INFO - #com.jetbrains.cidr.lang - Building symbols finished in 0 s.
2018-01-02 13:54:04,171 [ 20579] INFO - #com.jetbrains.cidr.lang - Saving modified symbols for 2 files (4 tables of total 3159)
2018-01-02 13:54:04,190 [ 20598] INFO - #com.jetbrains.cidr.lang - Saving symbols finished in 0 s.
2018-01-02 13:54:04,571 [ 20979] INFO - j.ide.ui.OptionsTopHitProvider - 192 ms spent to cache options in project
2018-01-02 13:54:07,305 [ 23713] INFO - .intellij.util.EnvironmentUtil - loading shell env: /bin/bash -c . '/Users/yakirpaykey/anaconda2/bin/activate' '/Users/yakirpaykey/anaconda2';'/Applications/CLion.app/Contents/bin/printenv.py' '/private/var/folders/y2/y5ftzl4s0q3c1_8k9_y9j8rr0000gp/T/intellij-shell-env.tmp'
2018-01-02 13:54:07,421 [ 23829] INFO - ns.python.sdk.PythonSdkUpdater - Updating sys.path took 115 ms
2018-01-02 13:54:07,422 [ 23830] INFO - ns.python.sdk.PythonSdkUpdater - Bogus sys.path entry /Users/yakirpaykey/anaconda2/lib/python27.zip
2018-01-02 13:54:07,423 [ 23831] INFO - ns.python.sdk.PythonSdkUpdater - Bogus sys.path entry /Users/yakirpaykey/anaconda2/lib/python2.7/lib-old
2018-01-02 13:54:07,423 [ 23831] INFO - ns.python.sdk.PythonSdkUpdater - Binary skeletons directory for SDK Python 2.7 (nlp-engine) (/Users/yakirpaykey/anaconda2/bin/python)): /Users/yakirpaykey/Library/Caches/CLion2017.3/python_stubs/-407484210
2018-01-02 13:54:07,425 [ 23833] INFO - ns.python.sdk.PythonSdkUpdater - User skeletons directory for SDK Python 2.7 (nlp-engine) (/Users/yakirpaykey/anaconda2/bin/python)): /Applications/CLion.app/Contents/plugins/python/helpers/python-skeletons
2018-01-02 13:54:08,033 [ 24441] INFO - .intellij.util.EnvironmentUtil - shell environment loaded (19 vars)
2018-01-02 13:54:08,957 [ 25365] INFO - ns.python.sdk.PythonSdkUpdater - Performing background update of skeletons for SDK Python 2.7 (nlp-engine) (/Users/yakirpaykey/anaconda2/bin/python)
2018-01-02 13:54:08,960 [ 25368] INFO - .skeletons.PySkeletonRefresher - Refreshing skeletons for /Users/yakirpaykey/anaconda2/bin/python
2018-01-02 13:54:13,299 [ 29707] INFO - .skeletons.PySkeletonGenerator - Retrieving binary module list took 4318 ms
2018-01-02 13:54:13,306 [ 29714] INFO - tPregeneratedSkeletonsProvider - Home path is /Applications/CLion.app/Contents
2018-01-02 13:54:13,472 [ 29880] INFO - .skeletons.PySkeletonRefresher - Rebuilding skeletons for binaries took 165 ms
2018-01-02 13:54:18,224 [ 34632] INFO - ns.python.sdk.PythonSdkUpdater - Performing background scan of packages for SDK Python 2.7 (nlp-engine) (/Users/yakirpaykey/anaconda2/bin/python)
2018-01-02 13:54:18,230 [ 34638] INFO - packaging.PyPackageManagerImpl - Running packaging tool: /Users/yakirpaykey/anaconda2/bin/python /Applications/CLion.app/Contents/plugins/python/helpers/packaging_tool.py list
2018-01-02 13:54:26,718 [ 43126] INFO - lij.diagnostic.DebugLogManager - Set TRACE for the following categories:
2018-01-02 13:56:26,346 [ 162754] INFO - #com.jetbrains.cidr.cpp - Building: /Applications/CLion.app/Contents/bin/cmake/bin/cmake --build /Users/yakirpaykey/projects/nlp-engine/cmake-build-debug --target nlp_tester -- -j 2
2018-01-02 13:56:29,341 [ 165749] WARN - brains.cidr.execution.debugger - Closing inferior output readers took too long
2018-01-02 13:56:29,794 [ 166202] INFO - python.packaging.PyPackageUtil - Refreshing installed packages for SDK /Users/yakirpaykey/anaconda2/bin/python
2018-01-02 13:56:29,794 [ 166202] INFO - packaging.PyPackageManagerImpl - Running packaging tool: /Users/yakirpaykey/anaconda2/bin/python /Applications/CLion.app/Contents/plugins/python/helpers/packaging_tool.py list
2018-01-02 13:56:32,449 [ 168857] WARN - brains.cidr.execution.debugger - Cannot detach/abort. Forcing driver termination

0
5 comments

Hi!

Is the issue reproducible for you? If so, please enable debug logging by entering `#com.jetbrains.cidr.execution.debugger` into `Help | Debug Log Settings`, reproduce the problem and send us idea.log (`Help | Show Log in Finder`) via clion-support at jetbrains.com. Do not forget to disable debug logging after that.

1
Avatar
Permanently deleted user

Email sent! thanks!

0
Avatar
Permanently deleted user

Has there been a solution to this question? I check this post regularly in hopes this issue can be resolved on my machine as well. 

 

My debugger has the same exact error message when I try to use my debugger on a gTest suite on CLion.

 

0

Hi, Leo, 

Based on the issue the ticket was created: https://youtrack.jetbrains.com/issue/CPP-11657. Please create a debugger log as described above and attach it in the comments to CPP-11657.

0
Avatar
Permanently deleted user

Clear all item's in your debug "watches" list. For whatever reason if they're undefined it will cause the program to crash sometimes... That's what just happened to me and I was getting the same error.

0

Please sign in to leave a comment.