Summary: | KDeveklop crash when opening a source file | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | António Oliveira <tonesenna> |
Component: | Language Support: CPP (old) | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED NOT A BUG | ||
Severity: | crash | CC: | werner.dittmann |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Stack back trace of chrash when opening file |
Description
António Oliveira
2009-11-27 13:14:25 UTC
This is quite weird, looking at svn head code there is a null pointer assert in frame 9, but your version progressed to frame 8 where range was null. Are you building in release mode? Or maybe the code involved has changed and updating might help (dunno, have been away from development until recently) Hi. My build isn't the latest svn of kdevelop. I'm using 3.9.95 (Beta 5?) on kubuntu 9.10 amd64. I installed kdevelop-dbg so that I could fetch debugging info after these crashes. If this has been already fixed, please disregard the report. Is there any easy way to have a more up-to-date version of kdevelop in kubuntu that doesn't involve compilation? Looks like the latest i can grab from the official repositories is 3.9.95 Cheers, --to Created attachment 38770 [details]
Stack back trace of chrash when opening file
Hi, I have a similar problem. Version is the SVN from today (Dec 2, afternoon). I cannot work anymore because kdevelop continuously crashes when I try to open a file. See stack BT (attachment) regards, Werner (In reply to comment #4) > Hi, > > I have a similar problem. Version is the SVN from today (Dec 2, afternoon). > > I cannot work anymore because kdevelop continuously crashes when I try to open > a file. See stack BT (attachment) Thats because you're mixing kdevelop/kdevplatform packages with self-compiled versions on the same system. Thats not supported and easily leads to such crashes. And actually the same is true for the OP, the backtrace shows a /usr/lib/sublime in some places and full file info in other cases for shell-code. Thanks for the reply.
Thus it is recommended to de-install the provided, e.g. from OpenSuse,
Kdeveop4 first and then do compilation and execution.
I followed the instructions for compliation and set the environment
variables as shown before starting the self-compiled kdevelop.
Regards,
Werner
Andreas Pakulat schrieb:
> https://bugs.kde.org/show_bug.cgi?id=216381
>
>
> Andreas Pakulat <apaku@gmx.de> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> Status|UNCONFIRMED |RESOLVED
> Resolution| |INVALID
>
>
>
>
> --- Comment #5 from Andreas Pakulat <apaku gmx de> 2009-12-02 20:27:01 ---
> (In reply to comment #4)
>> Hi,
>>
>> I have a similar problem. Version is the SVN from today (Dec 2, afternoon).
>>
>> I cannot work anymore because kdevelop continuously crashes when I try to open
>> a file. See stack BT (attachment)
>
> Thats because you're mixing kdevelop/kdevplatform packages with self-compiled
> versions on the same system. Thats not supported and easily leads to such
> crashes.
>
> And actually the same is true for the OP, the backtrace shows a
> /usr/lib/sublime in some places and full file info in other cases for
> shell-code.
>
After your first email:
I de-installed kdevelop4, did "make clean" in both kdev* build directories
and re-compiled and installed the whole stuff. Staring kdevelop4 resulted in the
well known crash.
Now I checked the system library dir (/usr/lib64) and found that it still contained
all libkdevplatorm* and libsublime libs. De-installation of kdevelop4 did
not delete these libs. I deleted them and started kdevelop agains. Same result:
trying to open a file leads to a crash:
QObject: Cannot create children for a parent that is in a different thread.
(Parent is Cpp::CodeCompletionModel(0x34c6bd0), parent's thread is QThread(0x611570), current thread is QThread(0x34c63e0)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is Cpp::MissingIncludeCompletionModel(0x34ce640), parent's thread is QThread(0x611570), current thread is QThread(0x34d08d0)
KCrash: Application 'kdevelop' crashing...
What to do now? make clean / recompile again after I deleted the libs from
/usr/lib64? Or is this a more serious problem?
Regards,
Werner
Am 02.12.2009 20:27, schrieb Andreas Pakulat:
> https://bugs.kde.org/show_bug.cgi?id=216381
>
>
> Andreas Pakulat <apaku@gmx.de> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> Status|UNCONFIRMED |RESOLVED
> Resolution| |INVALID
>
>
>
>
> --- Comment #5 from Andreas Pakulat <apaku gmx de> 2009-12-02 20:27:01 ---
> (In reply to comment #4)
>> Hi,
>>
>> I have a similar problem. Version is the SVN from today (Dec 2, afternoon).
>>
>> I cannot work anymore because kdevelop continuously crashes when I try to open
>> a file. See stack BT (attachment)
>
> Thats because you're mixing kdevelop/kdevplatform packages with self-compiled
> versions on the same system. Thats not supported and easily leads to such
> crashes.
>
> And actually the same is true for the OP, the backtrace shows a
> /usr/lib/sublime in some places and full file info in other cases for
> shell-code.
>
uninstall everything, do a `find / -type f -name "*kdev*"`, delete all libs (you can try to pass -delete, but imo you should recheck & double-check that these files are not shipped with some of your distro's packages). Yet another info:
I just found some other kdev*.so files in /usr/lib64/kde4. After moving those
in another directory kdevelop4 was able to open files.
IMHO these infos should be put onto the web page that describes how to
compile and install kdevelop4 from SVN:
- remove old kdevelop package using the systems package management
- check /usr/lib64 (or /usr/lib) and the kde4 sub-directory and remove
existing kdevelopment so files. Probably a list of files is required.
Regards,
Werner
Am 02.12.2009 20:27, schrieb Andreas Pakulat:
> https://bugs.kde.org/show_bug.cgi?id=216381
>
>
> Andreas Pakulat <apaku@gmx.de> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> Status|UNCONFIRMED |RESOLVED
> Resolution| |INVALID
>
>
>
>
> --- Comment #5 from Andreas Pakulat <apaku gmx de> 2009-12-02 20:27:01 ---
> (In reply to comment #4)
>> Hi,
>>
>> I have a similar problem. Version is the SVN from today (Dec 2, afternoon).
>>
>> I cannot work anymore because kdevelop continuously crashes when I try to open
>> a file. See stack BT (attachment)
>
> Thats because you're mixing kdevelop/kdevplatform packages with self-compiled
> versions on the same system. Thats not supported and easily leads to such
> crashes.
>
> And actually the same is true for the OP, the backtrace shows a
> /usr/lib/sublime in some places and full file info in other cases for
> shell-code.
>
done, but please: a bug tracker is not a support forum. next time go to #kdevelop on freenode or contact us via our mailing list. |