[kate] [Bug 356473] Crashes after trying to open c/c++ files

2015-12-10 Thread Matheus via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356473

--- Comment #2 from Matheus  ---
As I'm running on ubuntu, I've installed kdevelop throught apt-get
install kdevelop. I have allready tryied to run apt-get remove --purge
kdevelop* and reinstall it, install using the .deb package and I'm
allways getting the same error. Now I discovered that this only
happens with a single file Isn't it quite interesting?  I guess I
mentioned in the report that it happens with all cpp codes, but
testing it now I didn't had any issue. The code was actually that
large, about 40 lines of code. I is a test code and don't do anything
because its totally incomplete and buggy. It's attached to this
reply(named generator.cpp). Try yourself and see if you can open it.

2015-12-10 14:02 GMT-02:00 Milian Wolff via KDE Bugzilla
:
> https://bugs.kde.org/show_bug.cgi?id=356473
>
> Milian Wolff  changed:
>
>What|Removed |Added
> 
>  Status|UNCONFIRMED |NEEDSINFO
> Version|4.7.1   |unspecified
> Product|kdevelop|kate
>  Resolution|--- |WAITINGFORINFO
>Assignee|kdevelop-bugs-n...@kde.org  |kwrite-bugs-n...@kde.org
>   Component|general |part
>
> --- Comment #1 from Milian Wolff  ---
> Crash in KSycocaEntry, this means your environment is probably misconfigured.
> Do you compile KDevelop yourself? If so, where do you install it to? Do you
> setup KDEDIRS properly, and run kbuildsycoca4?
>
> Furthermore, can you get more debug symbols for katepart, including file/line
> numbers?
>
> --
> You are receiving this mail because:
> You reported the bug.

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


[kdevelop] [Bug 356473] New: Crashes after trying to open c/c++ files

2015-12-10 Thread Matheus via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356473

Bug ID: 356473
   Summary: Crashes after trying to open c/c++ files
   Product: kdevelop
   Version: 4.7.1
  Platform: Ubuntu Packages
OS: Linux
Status: UNCONFIRMED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: kdevelop-bugs-n...@kde.org
  Reporter: matheusfillip...@gmail.com

Application: kdevelop (4.7.1)
KDE Platform Version: 4.14.13
Qt Version: 4.8.6
Operating System: Linux 4.2.0-19-generic x86_64
Distribution: Ubuntu 15.10

-- Information about the crash:
I was trying to open a c++ file. It allways craches when I try to do so and
then I have to restart the application or reboot system. I only happens with
c++ or c files.

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f098ba75840 (LWP 10138))]

Thread 10 (Thread 0x7f096f03d700 (LWP 10139)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x7f098487eb5a in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x7f098487eb89 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x7f09874d66aa in start_thread (arg=0x7f096f03d700) at
pthread_create.c:333
#4  0x7f0988193eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f08edbbf700 (LWP 10140)):
#0  0x7f0982241869 in g_mutex_lock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x7f09821fca9e in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7f09821fd190 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x7f09821fd2fc in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x7f098899420e in QEventDispatcherGlib::processEvents
(this=0x7f08e80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x7f09889620d1 in QEventLoop::processEvents
(this=this@entry=0x7f08edbbed40, flags=...) at kernel/qeventloop.cpp:149
#6  0x7f0988962445 in QEventLoop::exec (this=this@entry=0x7f08edbbed40,
flags=...) at kernel/qeventloop.cpp:204
#7  0x7f09888514f9 in QThread::exec (this=this@entry=0x1fd5680) at
thread/qthread.cpp:538
#8  0x7f0988942133 in QInotifyFileSystemWatcherEngine::run (this=0x1fd5680)
at io/qfilesystemwatcher_inotify.cpp:265
#9  0x7f0988853d1c in QThreadPrivate::start (arg=0x1fd5680) at
thread/qthread_unix.cpp:349
#10 0x7f09874d66aa in start_thread (arg=0x7f08edbbf700) at
pthread_create.c:333
#11 0x7f0988193eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f08ec9ca700 (LWP 10141)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x7f0988854264 in QWaitConditionPrivate::wait (time=1000,
this=0x3ac7620) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x3ac6968,
mutex=mutex@entry=0x3ac6970, time=time@entry=1000) at
thread/qwaitcondition_unix.cpp:158
#3  0x7f09852ed526 in KDevelop::DUChainPrivate::CleanupThread::run
(this=0x3ac6950) at
/build/buildd/kdevplatform-1.7.1/language/duchain/duchain.cpp:283
#4  0x7f0988853d1c in QThreadPrivate::start (arg=0x3ac6950) at
thread/qthread_unix.cpp:349
#5  0x7f09874d66aa in start_thread (arg=0x7f08ec9ca700) at
pthread_create.c:333
#6  0x7f0988193eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f08dd51b700 (LWP 10142)):
#0  0x7f098818449d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x7f09822404e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7f09821fccd4 in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x7f09821fd190 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x7f09821fd2fc in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x7f098899420e in QEventDispatcherGlib::processEvents
(this=0x7f08d80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#6  0x7f09889620d1 in QEventLoop::processEvents
(this=this@entry=0x7f08dd51ad90, flags=...) at kernel/qeventloop.cpp:149
#7  0x7f0988962445 in QEventLoop::exec (this=this@entry=0x7f08dd51ad90,
flags=...) at kernel/qeventloop.cpp:204
#8  0x7f09888514f9 in QThread::exec (this=) at
thread/qthread.cpp:538
#9  0x7f0988853d1c in QThreadPrivate::start (arg=0x4371898) at
thread/qthread_unix.cpp:349
#10 0x7f09874d66aa in start_thread (arg=0x7f08dd51b700) at
pthread_create.c:333
#11 0x7f0988193eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f08cfdd5700 (LWP 10152)):
#0  0x7f09881888dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x7f09821fd1ec in ?? () from