https://bugs.kde.org/show_bug.cgi?id=427227

            Bug ID: 427227
           Summary: kdevelop parser crashes with SEGFAULT
           Product: kdevelop
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: All build tools
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: soos.m...@gmail.com
  Target Milestone: ---

SUMMARY

When I start kdevelop, I geta segfaults in about 1-2 minutes. UI comes up and
is responsive, but it's parsing in the background. I normally use Arch and I
*just* updated it but it changed kdevelop and now it fails to parse my (large
and complicated) project with a segfault. It's reproducible, I have tried with
the Appimage, the kde-src that I *just* built and also the Arch precompiled
binary. The below is about kde-src, as I guess you prefer that. All other
kdevelops were removed to make sure things don't collide. It's a _completely_
fresh build, I didn't even have kde-src before. I have deleted the full cache
for this: "rm -rf ~/.cache/kdev*" (i.e. both kdevelop and kdevduchain). Note
that kdevelop opens up my default project (cryptominisat, which I am the author
of) and it's a pretty complicated piece to parse. Most notably because the
source directory contains a ton of stuff like old python files, text files, and
whatnot. This is completely reproducible, goes to 88% in parsing and then
crashes:


soos@vvv-dejavu:kdesrc-build$ kdevelop
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kf.kio.core: "Could not enter folder tags:/."
Cyclic dependency detected between
"file:///home/soos/kde/usr/lib/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml"
and
"file:///home/soos/kde/usr/lib/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml"
qrc:/qml/Develop.qml:139:21: QML Heading: Binding loop detected for property
"font.pointSize"
qrc:/qml/area_code.qml:87:9: QML Heading: Binding loop detected for property
"font.pointSize"
qrc:/qml/area_code.qml:63:9: QML Heading: Binding loop detected for property
"font.pointSize"
kdevelop.plugins.welcomepage: "Last fetch of news feed was on Thu Oct 1
21:29:28 2020 GMT+0200"
kdevelop.plugins.definesandincludes: error while fetching includes for the
compiler: "clang" "clang version 10.0.1 \nTarget: x86_64-pc-linux-gnu\nThread
model: posix\nInstalledDir: /usr/bin\nFound candidate GCC installation:
/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nSelected
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nCandidate
multilib: .;@m64\nCandidate multilib: 32;@m32\nSelected multilib: .;@m64\n
(in-process)\n \"/usr/bin/clang-10\" -cc1 -triple x86_64-pc-linux-gnu -E
-disable-free -disable-llvm-verifier -discard-value-names -main-file-name -
-mrelocation-model pic -pic-level 2 -pic-is-pie -mthread-model posix
-mframe-pointer=all -fmath-errno -fno-rounding-math -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -dwarf-column-info
-fno-split-dwarf-inlining -debugger-tuning=gdb -v -resource-dir
/usr/lib/clang/10.0.1 -internal-isystem /usr/local/include -internal-isystem
/usr/lib/clang/10.0.1/include -internal-externc-isystem /include
-internal-externc-isystem /usr/include -std=gnu++11 -fdebug-compilation-dir
/home/soos/development/sat_solvers/cryptominisat/build -ferror-limit 19
-fmessage-length 0 -stack-protector 2 -fgnuc-version=4.2.1 -fobjc-runtime=gcc
-fdiagnostics-show-option -faddrsig -o - -x c -\nerror: invalid argument
'-std=gnu++11' not allowed with 'C'\n"
kdevelop.plugins.definesandincludes: error while fetching defines for the
compiler: "clang" ("-xc", "-std=gnu++11", "-dM", "-E", "-") "error: invalid
argument '-std=gnu++11' not allowed with 'C'\n"
kdevelop.plugins.python.parser: Discarding parts of the code to be parsed
because of previous errors
SyntaxError: invalid syntax (<kdev-editor-contents>, line 212)
---- Parsing FAILED ----
kdevelop.plugins.python.duchain: tuple type object is not available
kdevelop.plugins.python.duchain: tuple type object is not available
kdevelop.plugins.python.duchain: tuple type object is not available
kdevelop.plugins.python.duchain: tuple type object is not available
kdevelop.plugins.python.parser: Discarding parts of the code to be parsed
because of previous errors
IndentationError: unexpected indent (<kdev-editor-contents>, line 49)
---- Parsing FAILED ----
kdevelop.plugins.python.parser: Discarding parts of the code to be parsed
because of previous errors
SyntaxError: Missing parentheses in call to 'print'. Did you mean
print("mapass#var: ", maxvar)? (<kdev-editor-contents>, line 35)
---- Parsing FAILED ----
kdevelop.plugins.definesandincludes: error while fetching includes for the
compiler: "clang" "clang version 10.0.1 \nTarget: x86_64-pc-linux-gnu\nThread
model: posix\nInstalledDir: /usr/bin\nFound candidate GCC installation:
/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nSelected
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nCandidate
multilib: .;@m64\nCandidate multilib: 32;@m32\nSelected multilib: .;@m64\n
(in-process)\n \"/usr/bin/clang-10\" -cc1 -triple x86_64-pc-linux-gnu -E
-disable-free -disable-llvm-verifier -discard-value-names -main-file-name -
-mrelocation-model pic -pic-level 2 -pic-is-pie -mthread-model posix
-mframe-pointer=all -fmath-errno -fno-rounding-math -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -dwarf-column-info
-fno-split-dwarf-inlining -debugger-tuning=gdb -v -resource-dir
/usr/lib/clang/10.0.1 -internal-isystem /usr/local/include -internal-isystem
/usr/lib/clang/10.0.1/include -internal-externc-isystem /include
-internal-externc-isystem /usr/include -std=gnu++11 -fdebug-compilation-dir
/home/soos/development/sat_solvers/cryptominisat/build -ferror-limit 19
-fmessage-length 0 -stack-protector 2 -fgnuc-version=4.2.1 -fobjc-runtime=gcc
-fdiagnostics-show-option -faddrsig -o - -x c -\nerror: invalid argument
'-std=gnu++11' not allowed with 'C'\n"
kdevelop.plugins.definesandincludes: error while fetching defines for the
compiler: "clang" ("-xc", "-std=gnu++11", "-dM", "-E", "-") "error: invalid
argument '-std=gnu++11' not allowed with 'C'\n"
OverflowError: Python int too large to convert to C long
OverflowError: Python int too large to convert to C long
kdevelop.plugins.python.parser: Discarding parts of the code to be parsed
because of previous errors
SyntaxError: Missing parentheses in call to 'print'. Did you mean
print("0"pass#)? (<kdev-editor-contents>, line 37)
---- Parsing FAILED ----
kdevelop.plugins.definesandincludes: error while fetching includes for the
compiler: "clang" "clang version 10.0.1 \nTarget: x86_64-pc-linux-gnu\nThread
model: posix\nInstalledDir: /usr/bin\nFound candidate GCC installation:
/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nSelected
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nCandidate
multilib: .;@m64\nCandidate multilib: 32;@m32\nSelected multilib: .;@m64\n
(in-process)\n \"/usr/bin/clang-10\" -cc1 -triple x86_64-pc-linux-gnu -E
-disable-free -disable-llvm-verifier -discard-value-names -main-file-name -
-mrelocation-model pic -pic-level 2 -pic-is-pie -mthread-model posix
-mframe-pointer=all -fmath-errno -fno-rounding-math -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -dwarf-column-info
-fno-split-dwarf-inlining -debugger-tuning=gdb -v -resource-dir
/usr/lib/clang/10.0.1 -internal-isystem /usr/local/include -internal-isystem
/usr/lib/clang/10.0.1/include -internal-externc-isystem /include
-internal-externc-isystem /usr/include -std=gnu++11 -fdebug-compilation-dir
/home/soos/development/sat_solvers/cryptominisat/build -ferror-limit 19
-fmessage-length 0 -stack-protector 2 -fgnuc-version=4.2.1 -fobjc-runtime=gcc
-fdiagnostics-show-option -faddrsig -o - -x c -\nerror: invalid argument
'-std=gnu++11' not allowed with 'C'\n"
kdevelop.plugins.definesandincludes: error while fetching defines for the
compiler: "clang" ("-xc", "-std=gnu++11", "-dM", "-E", "-") "error: invalid
argument '-std=gnu++11' not allowed with 'C'\n"
kdevelop.plugins.definesandincludes: error while fetching includes for the
compiler: "clang" "clang version 10.0.1 \nTarget: x86_64-pc-linux-gnu\nThread
model: posix\nInstalledDir: /usr/bin\nFound candidate GCC installation:
/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nSelected
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nCandidate
multilib: .;@m64\nCandidate multilib: 32;@m32\nSelected multilib: .;@m64\n
(in-process)\n \"/usr/bin/clang-10\" -cc1 -triple x86_64-pc-linux-gnu -E
-disable-free -disable-llvm-verifier -discard-value-names -main-file-name -
-mrelocation-model pic -pic-level 2 -pic-is-pie -mthread-model posix
-mframe-pointer=all -fmath-errno -fno-rounding-math -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -dwarf-column-info
-fno-split-dwarf-inlining -debugger-tuning=gdb -v -resource-dir
/usr/lib/clang/10.0.1 -internal-isystem /usr/local/include -internal-isystem
/usr/lib/clang/10.0.1/include -internal-externc-isystem /include
-internal-externc-isystem /usr/include -std=gnu++11 -fdebug-compilation-dir
/home/soos/development/sat_solvers/cryptominisat/build -ferror-limit 19
-fmessage-length 0 -stack-protector 2 -fgnuc-version=4.2.1 -fobjc-runtime=gcc
-fdiagnostics-show-option -faddrsig -o - -x c -\nerror: invalid argument
'-std=gnu++11' not allowed with 'C'\n"
kdevelop.plugins.definesandincludes: error while fetching defines for the
compiler: "clang" ("-xc", "-std=gnu++11", "-dM", "-E", "-") "error: invalid
argument '-std=gnu++11' not allowed with 'C'\n"
kdevelop.plugins.python.parser: Discarding parts of the code to be parsed
because of previous errors
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("ERROR:
RHSpass#is neither 'true' nor 'false'")? (<kdev-editor-contents>, line 74)
---- Parsing FAILED ----
kdevelop.plugins.python.parser: Discarding parts of the code to be parsed
because of previous errors
SyntaxError: invalid syntax (<kdev-editor-contents>, line 23)
---- Parsing FAILED ----
kdevelop.plugins.python.parser: Discarding parts of the code to be parsed
because of previous errors
SyntaxError: invalid syntax (<kdev-editor-contents>, line 51)
---- Parsing FAILED ----
kdevelop.plugins.definesandincludes: error while fetching includes for the
compiler: "clang" "clang version 10.0.1 \nTarget: x86_64-pc-linux-gnu\nThread
model: posix\nInstalledDir: /usr/bin\nFound candidate GCC installation:
/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nSelected
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nCandidate
multilib: .;@m64\nCandidate multilib: 32;@m32\nSelected multilib: .;@m64\n
(in-process)\n \"/usr/bin/clang-10\" -cc1 -triple x86_64-pc-linux-gnu -E
-disable-free -disable-llvm-verifier -discard-value-names -main-file-name -
-mrelocation-model pic -pic-level 2 -pic-is-pie -mthread-model posix
-mframe-pointer=all -fmath-errno -fno-rounding-math -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -dwarf-column-info
-fno-split-dwarf-inlining -debugger-tuning=gdb -v -resource-dir
/usr/lib/clang/10.0.1 -internal-isystem /usr/local/include -internal-isystem
/usr/lib/clang/10.0.1/include -internal-externc-isystem /include
-internal-externc-isystem /usr/include -std=gnu++11 -fdebug-compilation-dir
/home/soos/development/sat_solvers/cryptominisat/build -ferror-limit 19
-fmessage-length 0 -stack-protector 2 -fgnuc-version=4.2.1 -fobjc-runtime=gcc
-fdiagnostics-show-option -faddrsig -o - -x c -\nerror: invalid argument
'-std=gnu++11' not allowed with 'C'\n"
kdevelop.plugins.definesandincludes: error while fetching defines for the
compiler: "clang" ("-xc", "-std=gnu++11", "-dM", "-E", "-") "error: invalid
argument '-std=gnu++11' not allowed with 'C'\n"
kdevelop.plugins.definesandincludes: error while fetching includes for the
compiler: "clang" "clang version 10.0.1 \nTarget: x86_64-pc-linux-gnu\nThread
model: posix\nInstalledDir: /usr/bin\nFound candidate GCC installation:
/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nSelected
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nCandidate
multilib: .;@m64\nCandidate multilib: 32;@m32\nSelected multilib: .;@m64\n
(in-process)\n \"/usr/bin/clang-10\" -cc1 -triple x86_64-pc-linux-gnu -E
-disable-free -disable-llvm-verifier -discard-value-names -main-file-name -
-mrelocation-model pic -pic-level 2 -pic-is-pie -mthread-model posix
-mframe-pointer=all -fmath-errno -fno-rounding-math -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -dwarf-column-info
-fno-split-dwarf-inlining -debugger-tuning=gdb -v -resource-dir
/usr/lib/clang/10.0.1 -internal-isystem /usr/local/include -internal-isystem
/usr/lib/clang/10.0.1/include -internal-externc-isystem /include
-internal-externc-isystem /usr/include -std=gnu++11 -fdebug-compilation-dir
/home/soos/development/sat_solvers/cryptominisat/build -ferror-limit 19
-fmessage-length 0 -stack-protector 2 -fgnuc-version=4.2.1 -fobjc-runtime=gcc
-fdiagnostics-show-option -faddrsig -o - -x c -\nerror: invalid argument
'-std=gnu++11' not allowed with 'C'\n"
kdevelop.plugins.definesandincludes: error while fetching defines for the
compiler: "clang" ("-xc", "-std=gnu++11", "-dM", "-E", "-") "error: invalid
argument '-std=gnu++11' not allowed with 'C'\n"
kdevelop.plugins.definesandincludes: error while fetching includes for the
compiler: "clang" "clang version 10.0.1 \nTarget: x86_64-pc-linux-gnu\nThread
model: posix\nInstalledDir: /usr/bin\nFound candidate GCC installation:
/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nSelected
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nCandidate
multilib: .;@m64\nCandidate multilib: 32;@m32\nSelected multilib: .;@m64\n
(in-process)\n \"/usr/bin/clang-10\" -cc1 -triple x86_64-pc-linux-gnu -E
-disable-free -disable-llvm-verifier -discard-value-names -main-file-name -
-mrelocation-model pic -pic-level 2 -pic-is-pie -mthread-model posix
-mframe-pointer=all -fmath-errno -fno-rounding-math -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -dwarf-column-info
-fno-split-dwarf-inlining -debugger-tuning=gdb -v -resource-dir
/usr/lib/clang/10.0.1 -internal-isystem /usr/local/include -internal-isystem
/usr/lib/clang/10.0.1/include -internal-externc-isystem /include
-internal-externc-isystem /usr/include -std=gnu++11 -fdebug-compilation-dir
/home/soos/development/sat_solvers/cryptominisat/build -ferror-limit 19
-fmessage-length 0 -stack-protector 2 -fgnuc-version=4.2.1 -fobjc-runtime=gcc
-fdiagnostics-show-option -faddrsig -o - -x c -\nerror: invalid argument
'-std=gnu++11' not allowed with 'C'\n"
kdevelop.plugins.definesandincludes: error while fetching defines for the
compiler: "clang" ("-xc", "-std=gnu++11", "-dM", "-E", "-") "error: invalid
argument '-std=gnu++11' not allowed with 'C'\n"
kdevelop.plugins.definesandincludes: error while fetching includes for the
compiler: "clang" "clang version 10.0.1 \nTarget: x86_64-pc-linux-gnu\nThread
model: posix\nInstalledDir: /usr/bin\nFound candidate GCC installation:
/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nSelected
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nCandidate
multilib: .;@m64\nCandidate multilib: 32;@m32\nSelected multilib: .;@m64\n
(in-process)\n \"/usr/bin/clang-10\" -cc1 -triple x86_64-pc-linux-gnu -E
-disable-free -disable-llvm-verifier -discard-value-names -main-file-name -
-mrelocation-model pic -pic-level 2 -pic-is-pie -mthread-model posix
-mframe-pointer=all -fmath-errno -fno-rounding-math -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -dwarf-column-info
-fno-split-dwarf-inlining -debugger-tuning=gdb -v -resource-dir
/usr/lib/clang/10.0.1 -internal-isystem
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0
-internal-isystem
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/x86_64-pc-linux-gnu
-internal-isystem
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/backward
-internal-isystem /usr/local/include -internal-isystem
/usr/lib/clang/10.0.1/include -internal-externc-isystem /include
-internal-externc-isystem /usr/include -std=gnu99 -fdeprecated-macro
-fdebug-compilation-dir /home/soos/development/sat_solvers/cryptominisat/build
-ferror-limit 19 -fmessage-length 0 -stack-protector 2 -fgnuc-version=4.2.1
-fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option
-faddrsig -o - -x c++ -\nerror: invalid argument '-std=gnu99' not allowed with
'C++'\n"
kdevelop.plugins.definesandincludes: error while fetching defines for the
compiler: "clang" ("-xc++", "-std=gnu99", "-dM", "-E", "-") "error: invalid
argument '-std=gnu99' not allowed with 'C++'\n"
kdevelop.plugins.definesandincludes: error while fetching includes for the
compiler: "clang" "clang version 10.0.1 \nTarget: x86_64-pc-linux-gnu\nThread
model: posix\nInstalledDir: /usr/bin\nFound candidate GCC installation:
/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nSelected
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nCandidate
multilib: .;@m64\nCandidate multilib: 32;@m32\nSelected multilib: .;@m64\n
(in-process)\n \"/usr/bin/clang-10\" -cc1 -triple x86_64-pc-linux-gnu -E
-disable-free -disable-llvm-verifier -discard-value-names -main-file-name -
-mrelocation-model pic -pic-level 2 -pic-is-pie -mthread-model posix
-mframe-pointer=all -fmath-errno -fno-rounding-math -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -dwarf-column-info
-fno-split-dwarf-inlining -debugger-tuning=gdb -v -resource-dir
/usr/lib/clang/10.0.1 -internal-isystem
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0
-internal-isystem
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/x86_64-pc-linux-gnu
-internal-isystem
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/backward
-internal-isystem /usr/local/include -internal-isystem
/usr/lib/clang/10.0.1/include -internal-externc-isystem /include
-internal-externc-isystem /usr/include -std=gnu99 -fdeprecated-macro
-fdebug-compilation-dir /home/soos/development/sat_solvers/cryptominisat/build
-ferror-limit 19 -fmessage-length 0 -stack-protector 2 -fgnuc-version=4.2.1
-fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option
-faddrsig -o - -x c++ -\nerror: invalid argument '-std=gnu99' not allowed with
'C++'\n"
kdevelop.plugins.definesandincludes: error while fetching defines for the
compiler: "clang" ("-xc++", "-std=gnu99", "-dM", "-E", "-") "error: invalid
argument '-std=gnu99' not allowed with 'C++'\n"
kdevelop.plugins.definesandincludes: error while fetching includes for the
compiler: "clang" "clang version 10.0.1 \nTarget: x86_64-pc-linux-gnu\nThread
model: posix\nInstalledDir: /usr/bin\nFound candidate GCC installation:
/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nSelected
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nCandidate
multilib: .;@m64\nCandidate multilib: 32;@m32\nSelected multilib: .;@m64\n
(in-process)\n \"/usr/bin/clang-10\" -cc1 -triple x86_64-pc-linux-gnu -E
-disable-free -disable-llvm-verifier -discard-value-names -main-file-name -
-mrelocation-model pic -pic-level 2 -pic-is-pie -mthread-model posix
-mframe-pointer=all -fmath-errno -fno-rounding-math -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -dwarf-column-info
-fno-split-dwarf-inlining -debugger-tuning=gdb -v -resource-dir
/usr/lib/clang/10.0.1 -internal-isystem
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0
-internal-isystem
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/x86_64-pc-linux-gnu
-internal-isystem
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/backward
-internal-isystem /usr/local/include -internal-isystem
/usr/lib/clang/10.0.1/include -internal-externc-isystem /include
-internal-externc-isystem /usr/include -std=gnu99 -fdeprecated-macro
-fdebug-compilation-dir /home/soos/development/sat_solvers/cryptominisat/build
-ferror-limit 19 -fmessage-length 0 -stack-protector 2 -fgnuc-version=4.2.1
-fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option
-faddrsig -o - -x c++ -\nerror: invalid argument '-std=gnu99' not allowed with
'C++'\n"
kdevelop.plugins.definesandincludes: error while fetching defines for the
compiler: "clang" ("-xc++", "-std=gnu99", "-dM", "-E", "-") "error: invalid
argument '-std=gnu99' not allowed with 'C++'\n"
kdevelop.plugins.python.parser: Discarding parts of the code to be parsed
because of previous errors
SyntaxError: invalid syntax (<kdev-editor-contents>, line 82)
---- Parsing FAILED ----
kdevelop.plugins.python.parser: Discarding parts of the code to be parsed
because of previous errors
SyntaxError: invalid syntax (<kdev-editor-contents>, line 456)
---- Parsing FAILED ----
kdevelop.plugins.python.parser: Discarding parts of the code to be parsed
because of previous errors
IndentationError: unindent does not match any outer indentation level
(<kdev-editor-contents>, line 130)
---- Parsing FAILED ----
kdevelop.plugins.python.parser: Discarding parts of the code to be parsed
because of previous errors
SyntaxError: Missing parentheses in call to 'print'. Did you mean
print("rows",r,"columns",N*2 # print row interchangeability sym)?
(<kdev-editor-contents>, line 22)
---- Parsing FAILED ----
kdevelop.plugins.definesandincludes: error while fetching includes for the
compiler: "clang" "clang version 10.0.1 \nTarget: x86_64-pc-linux-gnu\nThread
model: posix\nInstalledDir: /usr/bin\nFound candidate GCC installation:
/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nSelected
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nCandidate
multilib: .;@m64\nCandidate multilib: 32;@m32\nSelected multilib: .;@m64\n
(in-process)\n \"/usr/bin/clang-10\" -cc1 -triple x86_64-pc-linux-gnu -E
-disable-free -disable-llvm-verifier -discard-value-names -main-file-name -
-mrelocation-model pic -pic-level 2 -pic-is-pie -mthread-model posix
-mframe-pointer=all -fmath-errno -fno-rounding-math -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -dwarf-column-info
-fno-split-dwarf-inlining -debugger-tuning=gdb -v -resource-dir
/usr/lib/clang/10.0.1 -internal-isystem /usr/local/include -internal-isystem
/usr/lib/clang/10.0.1/include -internal-externc-isystem /include
-internal-externc-isystem /usr/include -std=gnu++11 -fdebug-compilation-dir
/home/soos/development/sat_solvers/cryptominisat/build -ferror-limit 19
-fmessage-length 0 -stack-protector 2 -fgnuc-version=4.2.1 -fobjc-runtime=gcc
-fdiagnostics-show-option -faddrsig -o - -x c -\nerror: invalid argument
'-std=gnu++11' not allowed with 'C'\n"
kdevelop.plugins.definesandincludes: error while fetching defines for the
compiler: "clang" ("-xc", "-std=gnu++11", "-dM", "-E", "-") "error: invalid
argument '-std=gnu++11' not allowed with 'C'\n"
kdevelop.plugins.python.parser: Discarding parts of the code to be parsed
because of previous errors
IndentationError: unexpected indent (<kdev-editor-contents>, line 94)
---- Parsing FAILED ----
kdevelop.plugins.python.parser: Discarding parts of the code to be parsed
because of previous errors
IndentationError: unindent does not match any outer indentation level
(<kdev-editor-contents>, line 306)
---- Parsing FAILED ----
kdevelop.plugins.definesandincludes: error while fetching includes for the
compiler: "clang" "clang version 10.0.1 \nTarget: x86_64-pc-linux-gnu\nThread
model: posix\nInstalledDir: /usr/bin\nFound candidate GCC installation:
/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nSelected
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nCandidate
multilib: .;@m64\nCandidate multilib: 32;@m32\nSelected multilib: .;@m64\n
(in-process)\n \"/usr/bin/clang-10\" -cc1 -triple x86_64-pc-linux-gnu -E
-disable-free -disable-llvm-verifier -discard-value-names -main-file-name -
-mrelocation-model pic -pic-level 2 -pic-is-pie -mthread-model posix
-mframe-pointer=all -fmath-errno -fno-rounding-math -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -dwarf-column-info
-fno-split-dwarf-inlining -debugger-tuning=gdb -v -resource-dir
/usr/lib/clang/10.0.1 -internal-isystem /usr/local/include -internal-isystem
/usr/lib/clang/10.0.1/include -internal-externc-isystem /include
-internal-externc-isystem /usr/include -std=gnu++11 -fdebug-compilation-dir
/home/soos/development/sat_solvers/cryptominisat/build -ferror-limit 19
-fmessage-length 0 -stack-protector 2 -fgnuc-version=4.2.1 -fobjc-runtime=gcc
-fdiagnostics-show-option -faddrsig -o - -x c -\nerror: invalid argument
'-std=gnu++11' not allowed with 'C'\n"
kdevelop.plugins.definesandincludes: error while fetching defines for the
compiler: "clang" ("-xc", "-std=gnu++11", "-dM", "-E", "-") "error: invalid
argument '-std=gnu++11' not allowed with 'C'\n"
kdevelop.plugins.definesandincludes: error while fetching includes for the
compiler: "clang" "clang version 10.0.1 \nTarget: x86_64-pc-linux-gnu\nThread
model: posix\nInstalledDir: /usr/bin\nFound candidate GCC installation:
/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nSelected
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nCandidate
multilib: .;@m64\nCandidate multilib: 32;@m32\nSelected multilib: .;@m64\n
(in-process)\n \"/usr/bin/clang-10\" -cc1 -triple x86_64-pc-linux-gnu -E
-disable-free -disable-llvm-verifier -discard-value-names -main-file-name -
-mrelocation-model pic -pic-level 2 -pic-is-pie -mthread-model posix
-mframe-pointer=all -fmath-errno -fno-rounding-math -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -dwarf-column-info
-fno-split-dwarf-inlining -debugger-tuning=gdb -v -resource-dir
/usr/lib/clang/10.0.1 -internal-isystem /usr/local/include -internal-isystem
/usr/lib/clang/10.0.1/include -internal-externc-isystem /include
-internal-externc-isystem /usr/include -std=gnu++11 -fdebug-compilation-dir
/home/soos/development/sat_solvers/cryptominisat/build -ferror-limit 19
-fmessage-length 0 -stack-protector 2 -fgnuc-version=4.2.1 -fobjc-runtime=gcc
-fdiagnostics-show-option -faddrsig -o - -x c -\nerror: invalid argument
'-std=gnu++11' not allowed with 'C'\n"
kdevelop.plugins.definesandincludes: error while fetching defines for the
compiler: "clang" ("-xc", "-std=gnu++11", "-dM", "-E", "-") "error: invalid
argument '-std=gnu++11' not allowed with 'C'\n"
kdevelop.plugins.definesandincludes: error while fetching includes for the
compiler: "clang" "clang version 10.0.1 \nTarget: x86_64-pc-linux-gnu\nThread
model: posix\nInstalledDir: /usr/bin\nFound candidate GCC installation:
/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound candidate GCC
installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound candidate
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/7.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.4.1\nFound
candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/7.4.1\nSelected
GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/10.2.0\nCandidate
multilib: .;@m64\nCandidate multilib: 32;@m32\nSelected multilib: .;@m64\n
(in-process)\n \"/usr/bin/clang-10\" -cc1 -triple x86_64-pc-linux-gnu -E
-disable-free -disable-llvm-verifier -discard-value-names -main-file-name -
-mrelocation-model pic -pic-level 2 -pic-is-pie -mthread-model posix
-mframe-pointer=all -fmath-errno -fno-rounding-math -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -dwarf-column-info
-fno-split-dwarf-inlining -debugger-tuning=gdb -v -resource-dir
/usr/lib/clang/10.0.1 -internal-isystem /usr/local/include -internal-isystem
/usr/lib/clang/10.0.1/include -internal-externc-isystem /include
-internal-externc-isystem /usr/include -std=gnu++11 -fdebug-compilation-dir
/home/soos/development/sat_solvers/cryptominisat/build -ferror-limit 19
-fmessage-length 0 -stack-protector 2 -fgnuc-version=4.2.1 -fobjc-runtime=gcc
-fdiagnostics-show-option -faddrsig -o - -x c -\nerror: invalid argument
'-std=gnu++11' not allowed with 'C'\n"
kdevelop.plugins.definesandincludes: error while fetching defines for the
compiler: "clang" ("-xc", "-std=gnu++11", "-dM", "-E", "-") "error: invalid
argument '-std=gnu++11' not allowed with 'C'\n"
kdevelop.plugins.python.parser: Discarding parts of the code to be parsed
because of previous errors
SyntaxError: invalid syntax (<kdev-editor-contents>, line 50)
---- Parsing FAILED ----
kdevelop.plugins.python.parser: Discarding parts of the code to be parsed
because of previous errors
SyntaxError: invalid syntax (<kdev-editor-contents>, line 38)
---- Parsing FAILED ----
OverflowError: Python int too large to convert to C long
Segmentation fault (core dumped)

Of course the core is not dumped because ulimit core is set to zero:

soos@vvv-dejavu:kdesrc-build$ ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 127883
max locked memory       (kbytes, -l) 1024
max memory size         (kbytes, -m) unlimited
open files                      (-n) 3000
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 127883
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

When I tried to debug with GDB, I get a crash almost immediately and so it
seems like it's a different issue?:

soos@vvv-dejavu:kdesrc-build$ gdb kdevelop
GNU gdb (GDB) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from kdevelop...
(gdb) r
Starting program: /home/soos/kde/usr/bin/kdevelop 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffe2e3c640 (LWP 204800)]
[New Thread 0x7fffe0802640 (LWP 204801)]
[New Thread 0x7fffd6be4640 (LWP 204802)]
[New Thread 0x7fffd63e3640 (LWP 204803)]
[New Thread 0x7fffd5be2640 (LWP 204804)]
[New Thread 0x7fffd5262640 (LWP 204805)]
kdevplatform.serialization: version mismatch or no version hint; expected
version: 84289537
kdevplatform.serialization: "The data-repository at
/home/soos/.cache/kdevduchain/kdevelop-{7b57e0eb-02b0-4c75-9b36-65f91537eb23}
has to be cleared."
[New Thread 0x7fffbe909640 (LWP 204806)]
[New Thread 0x7fffbe108640 (LWP 204807)]
[New Thread 0x7fffbd907640 (LWP 204808)]
[New Thread 0x7fffbd106640 (LWP 204809)]
[New Thread 0x7fffaffff640 (LWP 204810)]
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
[New Thread 0x7fffaf7fe640 (LWP 204811)]
[Detaching after fork from child process 204813]
[New Thread 0x7fffae3cc640 (LWP 204814)]
[New Thread 0x7fffad8f2640 (LWP 204816)]
[Detaching after fork from child process 204817]
[New Thread 0x7fffe33565c0 (LWP 204819)]
[New Thread 0x7fffe33565c0 (LWP 204820)]
process 204784 is executing new program: /usr/bin/cmake
[New LWP 204821]
[New LWP 204820]
process 204784 is executing new program: /usr/bin/cmake
[New LWP 204822]
[New LWP 204821]
process 204784 is executing new program: /usr/bin/cmake
[New LWP 204823]
[New LWP 204819]
warning: Probes-based dynamic linker interface failed.
Reverting to original interface.
[New LWP 204822]
process 204784 is executing new program: /usr/bin/cmake
[New LWP 204819]
[New LWP 204823]
[New LWP 204821]
[New LWP 204784]
[New LWP 204820]

Thread 25 received signal SIGSEGV, Segmentation fault.
[Switching to LWP 204819]
0x0000555555560af2 in ?? ()
(gdb) info threads
  Id   Target Id             Frame 
  24   LWP 204822            0x00007ffff7fee018 in __open_nocancel () from
/lib64/ld-linux-x86-64.so.2
* 25   LWP 204819            0x0000555555560af2 in ?? ()
  26   LWP 204823            0x00007ffff7fd2090 in _start () from
/lib64/ld-linux-x86-64.so.2
  27   LWP 204821            0x00007ffff7fd575b in dl_main () from
/lib64/ld-linux-x86-64.so.2
  28   LWP 204784 "kdevelop" 0x00007ffff7fe58fd in dl_open_worker () from
/lib64/ld-linux-x86-64.so.2
  29   LWP 204820            0x00007ffff7fd575b in dl_main () from
/lib64/ld-linux-x86-64.so.2
(gdb) bt
#0  0x0000555555560af2 in ?? ()
#1  0x0000000000000000 in ?? ()
(gdb) 


But it looks pretty meaningless, because it doesn't even start the UI, doesn't
print all the stuff, feels like it's bugging out on something else when it's
running under the debugger? So weird. Arch is supposed to have most of the dev
stuff so the "??" are also strange.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 

soos@vvv-dejavu:kdevelop$ pwd
/home/soos/kde/src/kdevelop
soos@vvv-dejavu:kdevelop$ git rev-parse HEAD
c01e46e4325420a333d1a997bcc3247cfb35098d
soos@vvv-dejavu:kdevelop$ uname -a
Linux vvv-dejavu 5.8.12-arch1-1 #1 SMP PREEMPT Sat, 26 Sep 2020 21:42:58 +0000
x86_64 GNU/Linux

I literally just updated my Arch (in a way I wish I hadn't -- this was not an
issue with kdevelop from a few months ago)


(available in About System)
KDE Plasma Version: latest, just built it
KDE Frameworks Version: latest, just built it
Qt Version: This is Arch QT but the crash is almost certainly from the parser

Let me know how I can help. I'd love to contribute at least a bit :)

Cheers,

Mate

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to