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

List:       kdevelop-bugs
Subject:    [Bug 271958] New: KDevelop crashes at startup when using softlinks
From:       <markus.parker () arcor ! de>
Date:       2011-04-29 8:33:22
Message-ID: bug-271958-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: KDevelop crashes at startup when using softlinks
           Product: kdevelop
           Version: unspecified
          Platform: openSUSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: markus.parker@arcor.de


Application: kdevelop (4.2.2)
KDE Platform Version: 4.6.2 (4.6.2) "release 3"
Qt Version: 4.7.2
Operating System: Linux 2.6.34.8-0.2-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
This is reproducible with this small project example:
within kdevelop:
-create a new CMake-based project
-create a new subfolder 
-close kdevelop
without kdevelop:
-move the subfolder to some place outside the project file tree
-add a softlink to the new location of the subfolder as replacement 
-start kdevelop again and get a crash with the attached stack trace

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fbad62d6760 (LWP 17930))]

Thread 7 (Thread 0x7fbabf402710 (LWP 17931)):
#0  0x00007fbad327f709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007fbad481f6a2 in wait (time=1000, this=0x1cacf20) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1cb8ba0, time=1000) at
thread/qwaitcondition_unix.cpp:160
#3  0x00007fbad0c9b1ab in KDevelop::DUChainPrivate::CleanupThread::run
(this=0x1cb8b80) at
/usr/src/debug/kdevplatform-1.2.0/language/duchain/duchain.cpp:286
#4  0x00007fbad481f055 in QThreadPrivate::start (arg=0x1cb8b80) at
thread/qthread_unix.cpp:320
#5  0x00007fbad327aa4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007fbad356182d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fbabd4a9710 (LWP 17935)):
[KCrash Handler]
#6  0x00007fbad38ac80a in __dynamic_cast () from /usr/lib64/libstdc++.so.6
#7  0x00007fbabe0f2652 in CMakeManager::parse (this=0x2544ea0,
item=0x7fbab80ceba0) at
/usr/src/debug/kdevelop-4.2.2/projectmanagers/cmake/cmakemanager.cpp:372
#8  0x00007fbad12993d1 in import (folder=<optimized out>, this=0x2579a40) at
/usr/src/debug/kdevplatform-1.2.0/project/importprojectjob.cpp:53
#9  KDevelop::ImportProjectJobPrivate::import (this=0x2579a40,
folder=<optimized out>) at
/usr/src/debug/kdevplatform-1.2.0/project/importprojectjob.cpp:57
#10 0x00007fbad1298fd6 in QtConcurrent::RunFunctionTask<void>::run
(this=0x253e830) at /usr/include/QtCore/qtconcurrentrunbase.h:120
#11 0x00007fbad4813e88 in QThreadPoolThread::run (this=0x2584ae0) at
concurrent/qthreadpool.cpp:106
#12 0x00007fbad481f055 in QThreadPrivate::start (arg=0x2584ae0) at
thread/qthread_unix.cpp:320
#13 0x00007fbad327aa4f in start_thread () from /lib64/libpthread.so.0
#14 0x00007fbad356182d in clone () from /lib64/libc.so.6
#15 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fbab3a95710 (LWP 17981)):
#0  0xffffffffff600177 in ?? ()
#1  0x00007fff1a3c87a1 in ?? ()
#2  0x00007fbad20442a3 in clock_gettime () from /lib64/librt.so.1
#3  0x00007fbad4871b42 in do_gettime (frac=<optimized out>, sec=<optimized
out>) at tools/qelapsedtimer_unix.cpp:123
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#5  0x00007fbad4935d2d in QTimerInfoList::updateCurrentTime (this=0x279a950) at
kernel/qeventdispatcher_unix.cpp:339
#6  0x00007fbad49360b5 in QTimerInfoList::timerWait (this=0x279a950, tm=...) at
kernel/qeventdispatcher_unix.cpp:442
#7  0x00007fbad4934b6c in timerSourcePrepareHelper (src=<optimized out>,
timeout=0x7fbab3a94c8c) at kernel/qeventdispatcher_glib.cpp:136
#8  0x00007fbad4934c15 in timerSourcePrepare (source=<optimized out>,
timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#9  0x00007fbacdf25f7f in g_main_context_prepare () from
/usr/lib64/libglib-2.0.so.0
#10 0x00007fbacdf26e69 in ?? () from /usr/lib64/libglib-2.0.so.0
#11 0x00007fbacdf27510 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#12 0x00007fbad4935366 in QEventDispatcherGlib::processEvents (this=0x28405f0,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#13 0x00007fbad4909a72 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#14 0x00007fbad4909c85 in QEventLoop::exec (this=0x7fbab3a94e20, flags=...) at
kernel/qeventloop.cpp:201
#15 0x00007fbad481c764 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:492
#16 0x00007fbad481f055 in QThreadPrivate::start (arg=0x2806470) at
thread/qthread_unix.cpp:320
#17 0x00007fbad327aa4f in start_thread () from /lib64/libpthread.so.0
#18 0x00007fbad356182d in clone () from /lib64/libc.so.6
#19 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fbab4296710 (LWP 17982)):
#0  0x00007fbad327d0be in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007fbacdf25fae in g_main_context_prepare () from
/usr/lib64/libglib-2.0.so.0
#2  0x00007fbacdf26e69 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fbacdf27510 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#4  0x00007fbad4935366 in QEventDispatcherGlib::processEvents (this=0x28c80b0,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fbad4909a72 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fbad4909c85 in QEventLoop::exec (this=0x7fbab4295e20, flags=...) at
kernel/qeventloop.cpp:201
#7  0x00007fbad481c764 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:492
#8  0x00007fbad481f055 in QThreadPrivate::start (arg=0x28ca360) at
thread/qthread_unix.cpp:320
#9  0x00007fbad327aa4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007fbad356182d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fbab0ecf710 (LWP 18002)):
#0  0x00007fbad327f39c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007fbabfafd904 in ?? () from /usr/lib64/libQtScript.so.4
#2  0x00007fbabfafd939 in ?? () from /usr/lib64/libQtScript.so.4
#3  0x00007fbad327aa4f in start_thread () from /lib64/libpthread.so.0
#4  0x00007fbad356182d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fbab013f710 (LWP 18015)):
#0  0x00007fbacdf257f7 in g_main_context_release () from
/usr/lib64/libglib-2.0.so.0
#1  0x00007fbacdf27008 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fbacdf27510 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007fbad4935366 in QEventDispatcherGlib::processEvents (this=0x3f08e60,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fbad4909a72 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fbad4909c85 in QEventLoop::exec (this=0x7fbab013ede0, flags=...) at
kernel/qeventloop.cpp:201
#6  0x00007fbad481c764 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:492
#7  0x00007fbad48eaf48 in QInotifyFileSystemWatcherEngine::run (this=0x3f04880)
at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fbad481f055 in QThreadPrivate::start (arg=0x3f04880) at
thread/qthread_unix.cpp:320
#9  0x00007fbad327aa4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007fbad356182d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fbad62d6760 (LWP 17930)):
#0  0x00007fbad35586b3 in poll () from /lib64/libc.so.6
#1  0x00007fbac9aa2c0a in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007fbac9aa3169 in ?? () from /usr/lib64/libxcb.so.1
#3  0x00007fbac9aa31f7 in xcb_writev () from /usr/lib64/libxcb.so.1
#4  0x00007fbacf9c5776 in _XSend () from /usr/lib64/libX11.so.6
#5  0x00007fbacf9c5b99 in _XReply () from /usr/lib64/libX11.so.6
#6  0x00007fbacf9a1c25 in XGetImage () from /usr/lib64/libX11.so.6
#7  0x00007fbad3db037b in QX11PixmapData::toImage(QRect const&) const () from
/usr/lib64/libQtGui.so.4
#8  0x00007fbad3dac6fa in QX11PixmapData::toImage() const () from
/usr/lib64/libQtGui.so.4
#9  0x00007fbad3d9afb0 in QPixmap::toImage() const () from
/usr/lib64/libQtGui.so.4
#10 0x00007fbad3d6045c in QWidgetPrivate::setWindowIcon_sys(bool) () from
/usr/lib64/libQtGui.so.4
#11 0x00007fbad3d101cd in QWidget::create(unsigned long, bool, bool) () from
/usr/lib64/libQtGui.so.4
#12 0x00007fbad3d10238 in QWidget::create(unsigned long, bool, bool) () from
/usr/lib64/libQtGui.so.4
#13 0x00007fbad3d196cf in QWidget::winId() const () from
/usr/lib64/libQtGui.so.4
#14 0x00007fbad50a7a18 in KDialog::setPlainCaption(QString const&) () from
/usr/lib64/libkdeui.so.5
#15 0x00007fbad51a05b0 in ?? () from /usr/lib64/libkdeui.so.5
#16 0x00007fbad51a0c08 in KDialog::KDialog(QWidget*, QFlags<Qt::WindowType>) ()
from /usr/lib64/libkdeui.so.5
#17 0x00007fbabc20ca48 in GDBDebugger::SelectAddrDialog::SelectAddrDialog
(this=0x2556430, parent=<optimized out>) at
/usr/src/debug/kdevelop-4.2.2/debuggers/gdb/disassemblewidget.cpp:55
#18 0x00007fbabc20fca0 in GDBDebugger::DisassembleWidget::DisassembleWidget
(this=0x41cc610, plugin=0x25bf470, parent=<optimized out>) at
/usr/src/debug/kdevelop-4.2.2/debuggers/gdb/disassemblewidget.cpp:189
#19 0x00007fbabc2059e5 in
GDBDebugger::DebuggerToolFactory<GDBDebugger::DisassembleWidget>::create
(this=0x25c6d30, parent=0x0) at
/usr/src/debug/kdevelop-4.2.2/debuggers/gdb/debuggerplugin.cpp:103
#20 0x00007fbad09ca486 in Sublime::View::widget (this=0x41cc330,
parent=<optimized out>) at
/usr/src/debug/kdevplatform-1.2.0/sublime/view.cpp:82
#21 0x00007fbabc2058de in
GDBDebugger::DebuggerToolFactory<GDBDebugger::DisassembleWidget>::viewCreated
(this=<optimized out>, view=0x41cc330) at
/usr/src/debug/kdevelop-4.2.2/debuggers/gdb/debuggerplugin.cpp:118
#22 0x00007fbad57b5b83 in KDevelop::UiController::addToolViewToArea
(this=0x7cee90, factory=0x25c6d30, doc=<optimized out>, area=0x7aef60) at
/usr/src/debug/kdevplatform-1.2.0/shell/uicontroller.cpp:578
#23 0x00007fbad57b5c0d in KDevelop::UiController::addToolViewIfWanted
(this=0x7cee90, factory=0x25c6d30, doc=0x25c7860, area=0x7aef60) at
/usr/src/debug/kdevplatform-1.2.0/shell/uicontroller.cpp:562
#24 0x00007fbad57b7973 in KDevelop::UiController::loadAllAreas (this=0x7cee90,
config=<optimized out>) at
/usr/src/debug/kdevplatform-1.2.0/shell/uicontroller.cpp:529
#25 0x00007fbad57b47ad in KDevelop::CorePrivate::initialize (this=0x7517a0,
mode=<optimized out>, session=<optimized out>) at
/usr/src/debug/kdevplatform-1.2.0/shell/core.cpp:240
#26 0x00007fbad57b5036 in KDevelop::Core::initialize (splash=0x752910,
mode=KDevelop::Core::Default, session=<optimized out>) at
/usr/src/debug/kdevplatform-1.2.0/shell/core.cpp:275
#27 0x0000000000409f2b in main (argc=<optimized out>, argv=0x7fff1a322438) at
/usr/src/debug/kdevelop-4.2.2/app/main.cpp:345

Possible duplicates by query: bug 271319, bug 267936, bug 267813, bug 266161,
bug 265925.

Reported using DrKonqi

-- 
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