[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 281386] KDevelop hangs (extremely slow, 100% CPU) during
From:       Benjamin Oldenburg <benjamin.oldenburg () gmail ! com>
Date:       2011-09-05 14:27:02
Message-ID: E1R0a8c-0003qV-7j () bugs ! kde ! org
[Download RAW message or body]

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





--- Comment #1 from Benjamin Oldenburg <benjamin oldenburg gmail com>  2011-09-05 14:27:01 ---
I found out about kdebugdialog which makes it much easier to investigate... ;)

The problem is caused by a failed execution of slice2cpp:

kdevelop(17196)/kdevelop (cmake support debug) CMakeProjectVisitor::visit:
Executing: "/opt/Ice-3.4/bin/slice2cpp" :: ("-I/opt/Ice-3.4.2/slice",
"-I/home/ben/projects/Asterisk-SCF/slice/slice",
"-I/home/ben/projects/Asterisk-SCF/slice//slice", "--stream", "--checksum",
"--underscore", "--plugin=SliceVisitorPattern:create",
"--plugin=SliceClassMemberDefault:create", "-I/opt/Ice-3.4.2/slice",
"-I/home/ben/projects/Asterisk-SCF/slice/slice",
"-I/home/ben/projects/Asterisk-SCF/slice//slice", "--stream", "--checksum",
"--underscore", "--plugin=SliceVisitorPattern:create",
"--plugin=SliceClassMemberDefault:create", "--depend",
"/home/ben/projects/Asterisk-SCF/slice/slice/")


leads to the following output:

kdevelop(17196)/kdevelop (cmake support debug) CMakeProjectVisitor::visit:
executed  "raw_dependencies" = "/opt/Ice-3.4/bin/slice2cpp: `--stream:' option
cannot be repeated
Usage: /opt/Ice-3.4/bin/slice2cpp [options] slice-files...
Options:
-h, --help               Show this message.
-v, --version            Display the Ice version.
--header-ext EXT         Use EXT instead of the default `h' extension.
--source-ext EXT         Use EXT instead of the default `cpp' extension.
--add-header HDR[,GUARD] Add #include for HDR (with guard GUARD) to generated
source file.
-DNAME                   Define NAME as 1.
-DNAME=DEF               Define NAME as DEF.
-UNAME                   Remove any definition for NAME.
-IDIR                    Put DIR in the include file search path.
-E                       Print preprocessor output on stdout.
--include-dir DIR        Use DIR as the header include directory in source
files.
--output-dir DIR         Create files in the directory DIR.
--dll-export SYMBOL      Use SYMBOL for DLL exports.
--impl                   Generate sample implementations.
--depend                 Generate Makefile dependencies.
--depend-header   Include generated header file in Makefile dependencies.
-d, --debug              Print debug messages.
--ice                    Permit `Ice' prefix (for building Ice source code
only).
--underscore             Permit underscores in Slice identifiers.
--checksum               Generate checksums for Slice definitions.
--stream                 Generate marshaling support for public stream API.
--plugin PATH            Load and apply plugin before generating output."

So... considering that slice2cpp returns 1 on failure, how does KDevelop react
to this? It seems that it ignores it...

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic