SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
class crashFriend;
class crashClass{
friend class crashFriend;
public:
virtual ~crash();
};
crashClass::~crash(){}
Then hit enter after {} for a new line and it crashes.
I was messing with SFML code from a book since I've always wanted to make a 2d platformer and Kdevelop would keep on crashing. I managed to reduce the code to this which causes it to crash.
I am using multilib and Current install is up to date. It was working fine a few weeks ago.
Code:
KCrash: Application 'kdevelop' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
KCrash: Connect sock_file=/home/batman/.kde/socket-slack/kdeinit4__0
Last edited by RadicalDreamer; 09-27-2017 at 03:59 PM.
Project type terminal and I erased the default main that was generated and put the code in above. Here is some of the strace near the segfault after pressing enter after "{}" in the code above in Kdevelop 4:
KDE KDevelop 4 backtrace crash log on a second computer running an up to date Current and Multilib:
Code:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc9051de800 (LWP 19630))]
Thread 11 (Thread 0x7fc835a16700 (LWP 19978)):
#0 0x00007ffea354d9ae in clock_gettime ()
#1 0x00007fc8fed101e6 in clock_gettime () at /lib64/libc.so.6
#2 0x00007fc8ffbb3075 in () at /usr/lib64/qt/lib/libQtCore.so.4
#3 0x00007fc8ffc8f0f5 in () at /usr/lib64/qt/lib/libQtCore.so.4
#4 0x00007fc8ffc8da5c in () at /usr/lib64/qt/lib/libQtCore.so.4
#5 0x00007fc8ffc8daee in () at /usr/lib64/qt/lib/libQtCore.so.4
#6 0x00007fc8f8a8aba0 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#7 0x00007fc8f8a8b523 in () at /usr/lib64/libglib-2.0.so.0
#8 0x00007fc8f8a8b6fc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#9 0x00007fc8ffc8e2fe in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#10 0x00007fc8ffc5e6e4 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#11 0x00007fc8ffc5e9f6 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#12 0x00007fc8ffb5b166 in QThread::exec() () at /usr/lib64/qt/lib/libQtCore.so.4
#13 0x00007fc8ffc3fce3 in () at /usr/lib64/qt/lib/libQtCore.so.4
#14 0x00007fc8ffb5d8c1 in () at /usr/lib64/qt/lib/libQtCore.so.4
#15 0x00007fc8ff8ba565 in start_thread () at /lib64/libpthread.so.0
#16 0x00007fc8fed0131f in clone () at /lib64/libc.so.6
Thread 10 (Thread 0x7fc83cf05700 (LWP 19840)):
#0 0x00007fc8f8acefa4 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1 0x00007fc8f8a8ab90 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2 0x00007fc8f8a8b523 in () at /usr/lib64/libglib-2.0.so.0
#3 0x00007fc8f8a8b6fc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4 0x00007fc8ffc8e2fe in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#5 0x00007fc8ffc5e6e4 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#6 0x00007fc8ffc5e9f6 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#7 0x00007fc8ffb5b166 in QThread::exec() () at /usr/lib64/qt/lib/libQtCore.so.4
#8 0x00007fc8ffb5d8c1 in () at /usr/lib64/qt/lib/libQtCore.so.4
#9 0x00007fc8ff8ba565 in start_thread () at /lib64/libpthread.so.0
#10 0x00007fc8fed0131f in clone () at /lib64/libc.so.6
Thread 9 (Thread 0x7fc83e967700 (LWP 19834)):
#0 0x00007fc8ff8c098b in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1 0x00007fc8ffb5de8b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/qt/lib/libQtCore.so.4
#2 0x00007fc8fffd476f in () at /usr/lib64/libthreadweaver.so.4
#3 0x00007fc8fffd70c3 in () at /usr/lib64/libthreadweaver.so.4
#4 0x00007fc8fffd5d47 in ThreadWeaver::Thread::run() () at /usr/lib64/libthreadweaver.so.4
#5 0x00007fc8ffb5d8c1 in () at /usr/lib64/qt/lib/libQtCore.so.4
#6 0x00007fc8ff8ba565 in start_thread () at /lib64/libpthread.so.0
#7 0x00007fc8fed0131f in clone () at /lib64/libc.so.6
Thread 8 (Thread 0x7fc83ffff700 (LWP 19770)):
#0 0x00007fc8ff8c098b in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1 0x00007fc8ffb5de8b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/qt/lib/libQtCore.so.4
#2 0x00007fc8fffd476f in () at /usr/lib64/libthreadweaver.so.4
#3 0x00007fc8fffd70c3 in () at /usr/lib64/libthreadweaver.so.4
#4 0x00007fc8fffd5d47 in ThreadWeaver::Thread::run() () at /usr/lib64/libthreadweaver.so.4
#5 0x00007fc8ffb5d8c1 in () at /usr/lib64/qt/lib/libQtCore.so.4
#6 0x00007fc8ff8ba565 in start_thread () at /lib64/libpthread.so.0
#7 0x00007fc8fed0131f in clone () at /lib64/libc.so.6
Thread 7 (Thread 0x7fc8452f8700 (LWP 19763)):
#0 0x00007fc8ff8c098b in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1 0x00007fc8ffb5de8b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/qt/lib/libQtCore.so.4
#2 0x00007fc8fffd476f in () at /usr/lib64/libthreadweaver.so.4
#3 0x00007fc8fffd70c3 in () at /usr/lib64/libthreadweaver.so.4
#4 0x00007fc8fffd70dc in () at /usr/lib64/libthreadweaver.so.4
#5 0x00007fc8fffd5d47 in ThreadWeaver::Thread::run() () at /usr/lib64/libthreadweaver.so.4
#6 0x00007fc8ffb5d8c1 in () at /usr/lib64/qt/lib/libQtCore.so.4
#7 0x00007fc8ff8ba565 in start_thread () at /lib64/libpthread.so.0
#8 0x00007fc8fed0131f in clone () at /lib64/libc.so.6
Thread 6 (Thread 0x7fc844af7700 (LWP 19736)):
#0 0x00007ffea354d9ae in clock_gettime ()
#1 0x00007fc8fed101e6 in clock_gettime () at /lib64/libc.so.6
#2 0x00007fc8ffbb3075 in () at /usr/lib64/qt/lib/libQtCore.so.4
#3 0x00007fc8ffc8f0f5 in () at /usr/lib64/qt/lib/libQtCore.so.4
#4 0x00007fc8ffc8da5c in () at /usr/lib64/qt/lib/libQtCore.so.4
#5 0x00007fc8ffc8daee in () at /usr/lib64/qt/lib/libQtCore.so.4
#6 0x00007fc8f8a8aba0 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#7 0x00007fc8f8a8b523 in () at /usr/lib64/libglib-2.0.so.0
#8 0x00007fc8f8a8b6fc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#9 0x00007fc8ffc8e2fe in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#10 0x00007fc8ffc5e6e4 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#11 0x00007fc8ffc5e9f6 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#12 0x00007fc8ffb5b166 in QThread::exec() () at /usr/lib64/qt/lib/libQtCore.so.4
#13 0x00007fc8ffc3fce3 in () at /usr/lib64/qt/lib/libQtCore.so.4
#14 0x00007fc8ffb5d8c1 in () at /usr/lib64/qt/lib/libQtCore.so.4
#15 0x00007fc8ff8ba565 in start_thread () at /lib64/libpthread.so.0
#16 0x00007fc8fed0131f in clone () at /lib64/libc.so.6
Thread 5 (Thread 0x7fc8485ac700 (LWP 19712)):
#0 0x00007ffea354d9ae in clock_gettime ()
#1 0x00007fc8fed101e6 in clock_gettime () at /lib64/libc.so.6
#2 0x00007fc8ffbb3075 in () at /usr/lib64/qt/lib/libQtCore.so.4
#3 0x00007fc8ffc8f0f5 in () at /usr/lib64/qt/lib/libQtCore.so.4
#4 0x00007fc8ffc8da5c in () at /usr/lib64/qt/lib/libQtCore.so.4
#5 0x00007fc8ffc8daee in () at /usr/lib64/qt/lib/libQtCore.so.4
#6 0x00007fc8f8a8aba0 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#7 0x00007fc8f8a8b523 in () at /usr/lib64/libglib-2.0.so.0
#8 0x00007fc8f8a8b6fc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#9 0x00007fc8ffc8e2fe in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#10 0x00007fc8ffc5e6e4 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#11 0x00007fc8ffc5e9f6 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#12 0x00007fc8ffb5b166 in QThread::exec() () at /usr/lib64/qt/lib/libQtCore.so.4
#13 0x00007fc8ffb5d8c1 in () at /usr/lib64/qt/lib/libQtCore.so.4
#14 0x00007fc8ff8ba565 in start_thread () at /lib64/libpthread.so.0
#15 0x00007fc8fed0131f in clone () at /lib64/libc.so.6
Thread 4 (Thread 0x7fc862d22700 (LWP 19678)):
#0 0x00007fc8ff8c41b8 in read () at /lib64/libpthread.so.0
#1 0x00007fc8f8acddc0 in () at /usr/lib64/libglib-2.0.so.0
#2 0x00007fc8f8a8b11b in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3 0x00007fc8f8a8b598 in () at /usr/lib64/libglib-2.0.so.0
#4 0x00007fc8f8a8b6fc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5 0x00007fc8ffc8e2fe in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#6 0x00007fc8ffc5e6e4 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#7 0x00007fc8ffc5e9f6 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#8 0x00007fc8ffb5b166 in QThread::exec() () at /usr/lib64/qt/lib/libQtCore.so.4
#9 0x00007fc8ffb5d8c1 in () at /usr/lib64/qt/lib/libQtCore.so.4
#10 0x00007fc8ff8ba565 in start_thread () at /lib64/libpthread.so.0
#11 0x00007fc8fed0131f in clone () at /lib64/libc.so.6
Thread 3 (Thread 0x7fc863ff4700 (LWP 19677)):
#0 0x00007fc8ff8c0f18 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1 0x00007fc8ffb5ddb8 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/qt/lib/libQtCore.so.4
#2 0x00007fc8fdef01b1 in () at /usr/lib64/libkdevplatformlanguage.so.8
#3 0x00007fc8ffb5d8c1 in () at /usr/lib64/qt/lib/libQtCore.so.4
#4 0x00007fc8ff8ba565 in start_thread () at /lib64/libpthread.so.0
#5 0x00007fc8fed0131f in clone () at /lib64/libc.so.6
Thread 2 (Thread 0x7fc8e5c57700 (LWP 19659)):
#0 0x00007fc8ff8c098b in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1 0x00007fc8fdafd68e in () at /usr/lib64/qt/lib/libQtScript.so.4
#2 0x00007fc8fdafd6c9 in () at /usr/lib64/qt/lib/libQtScript.so.4
#3 0x00007fc8ff8ba565 in start_thread () at /lib64/libpthread.so.0
#4 0x00007fc8fed0131f in clone () at /lib64/libc.so.6
Thread 1 (Thread 0x7fc9051de800 (LWP 19630)):
[KCrash Handler]
#6 0x00007fc8fdfa2ece in KDevelop::AbstractType::indexed() const () at /usr/lib64/libkdevplatformlanguage.so.8
#7 0x00007fc83d744379 in () at /usr/lib64/kde4/kdevcpplanguagesupport.so
#8 0x00007fc83d744b99 in () at /usr/lib64/kde4/kdevcpplanguagesupport.so
#9 0x00007fc8fdea3235 in KDevelop::StaticAssistantsManager::Private::eventuallyStartAssistant() () at /usr/lib64/libkdevplatformlanguage.so.8
#10 0x00007fc8ffc78e61 in QObject::event(QEvent*) () at /usr/lib64/qt/lib/libQtCore.so.4
#11 0x00007fc900923fac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/qt/lib/libQtGui.so.4
#12 0x00007fc90092ad04 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/qt/lib/libQtGui.so.4
#13 0x00007fc901dac0aa in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#14 0x00007fc8ffc5fffe in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/qt/lib/libQtCore.so.4
#15 0x00007fc8ffc62e92 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/qt/lib/libQtCore.so.4
#16 0x00007fc8ffc8e16e in () at /usr/lib64/qt/lib/libQtCore.so.4
#17 0x00007fc8f8a8b467 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#18 0x00007fc8f8a8b678 in () at /usr/lib64/libglib-2.0.so.0
#19 0x00007fc8f8a8b6fc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#20 0x00007fc8ffc8e2d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#21 0x00007fc9009c6e87 in () at /usr/lib64/qt/lib/libQtGui.so.4
#22 0x00007fc8ffc5e6e4 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#23 0x00007fc8ffc5e9f6 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/qt/lib/libQtCore.so.4
#24 0x00007fc8ffc6408c in QCoreApplication::exec() () at /usr/lib64/qt/lib/libQtCore.so.4
#25 0x00000000004114c4 in ()
#26 0x00007fc8fec0c02a in __libc_start_main () at /lib64/libc.so.6
#27 0x0000000000411d7a in _start ()
You're looking at the wrong thread. The crash is definitely happening in the cpp language support for kdevelop. It's on my todo list to have a look at it, but I can't make any promises. Kdevelop 4 is essentially dead and the cpp language support wasn't the most simple code to begin with...
You're looking at the wrong thread. The crash is definitely happening in the cpp language support for kdevelop. It's on my todo list to have a look at it, but I can't make any promises. Kdevelop 4 is essentially dead and the cpp language support wasn't the most simple code to begin with...
Thanks and good luck! If you can't get it to work then I'll upgrade to Plasma 5 so no worries.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.