Bug 311363 - Kdevelop crashes when selecting "Source Formatter"
Summary: Kdevelop crashes when selecting "Source Formatter"
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR crash
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2012-12-08 19:05 UTC by Alex
Modified: 2018-10-27 02:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2012-12-08 19:05:24 UTC
Application: kdevelop (4.0.1 (using KDevPlatform 1.0.1))
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-5-amd64 x86_64
Distribution: Debian GNU/Linux 6.0.6 (squeeze)

-- Information about the crash:
Recently KDevelop started highlighting everything as an error. When playing around with settings to fix this, KDevelop started crashing every time I would try to go into Source Formatter.

The crash can be reproduced every time.

 -- Backtrace:
Application: KDevelop (kdevelop.bin), signal: Aborted
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7f2871851760 (LWP 3961))]

Thread 8 (Thread 0x7f285bbba700 (LWP 3962)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f2870003dd2 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f286bc56a2e in ?? () from /usr/lib/libkdevplatformlanguage.so.1
#3  0x00007f2870002e15 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f2869ea98ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007f286ecf3b6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f2851758700 (LWP 3963)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f286ec9c798 in _L_lock_9590 () from /lib/libc.so.6
#2  0x00007f286ec9ab81 in *__GI___libc_free (mem=0x7f286ef81e40) at malloc.c:3737
#3  0x00007f2870002a04 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f2870002e1d in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007f2869ea98ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f286ecf3b6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f2846fe8700 (LWP 4057)):
#0  0x00007f286ece8c13 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f28695f92c9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f28695f971c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f287011b706 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f28700f09c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f28700f0d9c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f287000077b in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f2870002e15 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f2869ea98ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f286ecf3b6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f28477e9700 (LWP 4058)):
#0  0x00007f286ece8c13 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f28695f92c9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f28695f971c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f287011b706 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f28700f09c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f28700f0d9c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f287000077b in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f2870002e15 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f2869ea98ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f286ecf3b6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 4 (Thread 0x7f284463e700 (LWP 4059)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f286ec9c798 in _L_lock_9590 () from /lib/libc.so.6
#2  0x00007f286ec9ab81 in *__GI___libc_free (mem=0x7f286ef81e40) at malloc.c:3737
#3  0x00007f286ecb6ead in tzset_internal (always=<value optimized out>, explicit=<value optimized out>) at tzset.c:435
#4  0x00007f286ecb7140 in __tzset () at tzset.c:592
#5  0x00007f2870010726 in QDateTime::currentDateTime() () from /usr/lib/libQtCore.so.4
#6  0x00007f2844e04e96 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#7  0x00007f2870002e15 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f2869ea98ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f286ecf3b6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2842f66700 (LWP 4067)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2870003e6b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f2866c41e56 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f2866c446fb in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f2866c42c7f in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f2866c431d8 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#6  0x00007f2870002e15 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f2869ea98ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007f286ecf3b6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 2 (Thread 0x7f2842765700 (LWP 4068)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f2870003e6b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f2866c41e56 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f2866c446fb in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f2866c42c7f in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f2866c431d8 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#6  0x00007f2870002e15 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f2869ea98ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007f286ecf3b6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2871851760 (LWP 3961)):
[KCrash Handler]
#5  0x00007f286ec561b5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f286ec58fc0 in *__GI_abort () at abort.c:92
#7  0x00007f286ec8c5bb in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#8  0x00007f286ec95e16 in malloc_printerr (action=3, str=0x7f286ed4d9f0 "malloc(): memory corruption (fast)", ptr=<value optimized out>) at malloc.c:6267
#9  0x00007f286ec9972d in _int_malloc (av=0x7f286ef81e40, bytes=<value optimized out>) at malloc.c:4309
#10 0x00007f286ec9ac70 in *__GI___libc_malloc (bytes=16) at malloc.c:3661
#11 0x00007f286fa24c40 in ?? () from /usr/lib/libQtGui.so.4
#12 0x00007f286fa50094 in QStandardItem::setData(QVariant const&, int) () from /usr/lib/libQtGui.so.4
#13 0x00007f286fa51ac5 in QStandardItem::QStandardItem(QString const&) () from /usr/lib/libQtGui.so.4
#14 0x00007f286f866203 in QComboBox::insertItem(int, QIcon const&, QString const&, QVariant const&) () from /usr/lib/libQtGui.so.4
#15 0x00007f284111ffd8 in ?? () from /usr/lib/kde4/kcm_kdevsourceformattersettings.so
#16 0x00007f284111d851 in ?? () from /usr/lib/kde4/kcm_kdevsourceformattersettings.so
#17 0x00007f2870101e29 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#18 0x00007f286f4e7c8f in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#19 0x00007f286f49232c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#20 0x00007f286f49880b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#21 0x00007f287063b796 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#22 0x00007f28700f209c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#23 0x00007f28700f5744 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#24 0x00007f287011bb73 in ?? () from /usr/lib/libQtCore.so.4
#25 0x00007f28695f56f2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x00007f28695f9568 in ?? () from /lib/libglib-2.0.so.0
#27 0x00007f28695f971c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x00007f287011b6b3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#29 0x00007f286f54219e in ?? () from /usr/lib/libQtGui.so.4
#30 0x00007f28700f09c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0x00007f28700f0d9c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#32 0x00007f286f95cc5e in QDialog::exec() () from /usr/lib/libQtGui.so.4
#33 0x00007f2870d0ada1 in KDevelop::UiController::showSettingsDialog() () from /usr/lib/libkdevplatformshell.so.1
#34 0x00007f2870cfbf3e in ?? () from /usr/lib/libkdevplatformshell.so.1
#35 0x00007f28701052e6 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#36 0x00007f286f48c132 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#37 0x00007f286f48e1ab in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
#38 0x00007f286f8cd751 in ?? () from /usr/lib/libQtGui.so.4
#39 0x00007f286f8d32e2 in ?? () from /usr/lib/libQtGui.so.4
#40 0x00007f287071781e in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#41 0x00007f286f4e8632 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#42 0x00007f286f8d54db in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
#43 0x00007f286f49232c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#44 0x00007f286f498fdb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#45 0x00007f287063b796 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#46 0x00007f28700f209c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#47 0x00007f286f4981be in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#48 0x00007f286f5184fd in ?? () from /usr/lib/libQtGui.so.4
#49 0x00007f286f5169dc in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#50 0x00007f286f5425a2 in ?? () from /usr/lib/libQtGui.so.4
#51 0x00007f28695f56f2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#52 0x00007f28695f9568 in ?? () from /lib/libglib-2.0.so.0
#53 0x00007f28695f971c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#54 0x00007f287011b6b3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#55 0x00007f286f54219e in ?? () from /usr/lib/libQtGui.so.4
#56 0x00007f28700f09c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#57 0x00007f28700f0d9c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#58 0x00007f28700f5a2b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#59 0x00000000004088cf in _start ()

Reported using DrKonqi
Comment 1 Kevin Funk 2012-12-10 10:34:20 UTC
Can you try to reproduce this with an much more recent version of KDevelop? Also, please install full debug symbols for Qt4 and KDevelop+KDevplatform so we get a more useful backtrace.
Comment 2 Andrew Crouthamel 2018-09-24 02:19:38 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-10-27 02:13:40 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!