<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>215941</bug_id>
          
          <creation_ts>2009-11-24 10:40:00 +0000</creation_ts>
          <short_desc>CVS&apos;d KDevelop 4 crashes on startup</short_desc>
          <delta_ts>2009-11-24 14:30:27 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kdevelop</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Unlisted Binaries</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>206775</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Patrick De Mazière">pdemaziere</reporter>
          <assigned_to>kdevelop-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>867585</commentid>
    <comment_count>0</comment_count>
    <who name="Patrick De Mazière">pdemaziere</who>
    <bug_when>2009-11-24 10:40:00 +0000</bug_when>
    <thetext>Application that crashed: kdevelop
Version of the application: 3.9.96 (using KDevPlatform 0.9.96)
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.30.8-64.fc11.x86_64 x86_64
Distribution: &quot;Fedora release 11 (Leonidas)&quot;

What I was doing when the application crashed:
Everytime I try to start the most recent CVS&apos;d KDevelop 4, I see the splash screen and then before any IDE pops up, I got the crash message.... I&apos;m using up2date FC11

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

Thread 2 (Thread 0x7fdbe5980910 (LWP 22064)):
#0  0x00000039ac60b57d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003bcc45ad12 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fdbf07b8bae in KDevelop::DUChainPrivate::CleanupThread::run (this=0x21da420) at /home/patrick/tmp/KDevelop/kdevplatform/language/duchain/duchain.cpp:280
#3  0x0000003bcc459cf5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00000039ac60686a in start_thread () from /lib64/libpthread.so.0
#5  0x00000039abade3bd in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fdbefe39820 (LWP 22063)):
[KCrash Handler]
#5  0x0000003bcc4fe8d7 in QUrl::scheme() const () from /usr/lib64/libQtCore.so.4
#6  0x0000003bce2e44d9 in KUrl::protocol() const () from /usr/lib64/libkdecore.so.5
#7  0x0000003bce2ea257 in KUrl::relativeUrl(KUrl const&amp;, KUrl const&amp;) () from /usr/lib64/libkdecore.so.5
#8  0x00007fdbf1038c9d in KDevelop::Project::relativeUrl (this=&lt;value optimized out&gt;, absolute=@0x24a0840) at /home/patrick/tmp/KDevelop/kdevplatform/shell/project.cpp:618
#9  0x00007fdbe4b556f3 in ?? () from /usr/lib64/kde4/kdevgenericmanager.so
#10 0x00007fdbf1039eed in KDevelop::ProjectPrivate::importTopItem (fileManager=&lt;value optimized out&gt;, this=&lt;value optimized out&gt;) at /home/patrick/tmp/KDevelop/kdevplatform/shell/project.cpp:422
#11 KDevelop::Project::open (fileManager=&lt;value optimized out&gt;, this=&lt;value optimized out&gt;) at /home/patrick/tmp/KDevelop/kdevplatform/shell/project.cpp:528
#12 0x00007fdbf10341ea in KDevelop::ProjectController::openProject (this=0x254da10, projectFile=&lt;value optimized out&gt;) at /home/patrick/tmp/KDevelop/kdevplatform/shell/projectcontroller.cpp:588
#13 0x00007fdbf1031316 in KDevelop::ProjectController::initialize (this=0x254da10) at /home/patrick/tmp/KDevelop/kdevplatform/shell/projectcontroller.cpp:444
#14 0x00007fdbf1027f90 in KDevelop::CorePrivate::initialize (this=0x234e740, mode=&lt;value optimized out&gt;) at /home/patrick/tmp/KDevelop/kdevplatform/shell/core.cpp:164
#15 0x00000000004055f4 in main (argc=&lt;value optimized out&gt;, argv=&lt;value optimized out&gt;) at /home/patrick/tmp/KDevelop/kdevelop/app/main.cpp:148

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>867609</commentid>
    <comment_count>1</comment_count>
    <who name="Andreas Pakulat">apaku</who>
    <bug_when>2009-11-24 11:39:03 +0000</bug_when>
    <thetext>Looks like somehow your list of projects got screwed. Please try deleting $HOME/.kde/share/apps/kdevelop/sessions/ and then start the IDE again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>867625</commentid>
    <comment_count>2</comment_count>
    <who name="Patrick De Mazière">pdemaziere</who>
    <bug_when>2009-11-24 12:35:20 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Looks like somehow your list of projects got screwed. Please try deleting
&gt; $HOME/.kde/share/apps/kdevelop/sessions/ and then start the IDE again.

Okay, that did it. I&apos;m using KDev 3 too, that might have caused the havoc.
But still when opening a kdev4 project file, or trying to create one, I got crashes... Here is the crash report on that one:


Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f9819a84820 (LWP 24451))]

Thread 2 (Thread 0x7f980f657910 (LWP 24452)):
#0  0x00000039ac60b57d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003bcc45ad12 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f981a403bae in KDevelop::DUChainPrivate::CleanupThread::run (this=0x2632800) at /home/patrick/tmp/KDevelop/kdevplatform/language/duchain/duchain.cpp:280
#3  0x0000003bcc459cf5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00000039ac60686a in start_thread () from /lib64/libpthread.so.0
#5  0x00000039abade3bd in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9819a84820 (LWP 24451)):
[KCrash Handler]
#5  0x0000000000607d20 in QListData::shared_null ()
#6  0x00007f981ac7b25e in KDevelop::ProjectController::isProjectNameUsed (this=&lt;value optimized out&gt;, name=@0x231f600) at /home/patrick/tmp/KDevelop/kdevplatform/shell/projectcontroller.cpp:806
#7  0x00007f980d736c11 in ?? () from /usr/lib64/kde4/kdevappwizard.so
#8  0x00007f980d735d16 in ?? () from /usr/lib64/kde4/kdevappwizard.so
#9  0x00007f980d7343d4 in ?? () from /usr/lib64/kde4/kdevappwizard.so
#10 0x00007f980d734640 in ?? () from /usr/lib64/kde4/kdevappwizard.so
#11 0x0000003bcc553dcc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#12 0x0000003bcd7897f7 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4
#13 0x0000003bcd78ac5f in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4
#14 0x0000003bcdb73175 in ?? () from /usr/lib64/libQtGui.so.4
#15 0x0000003bcdb7905a in ?? () from /usr/lib64/libQtGui.so.4
#16 0x0000003bceae325e in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libkdeui.so.5
#17 0x0000003bcd7ddda8 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#18 0x0000003bcdb7b7c3 in QMenu::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#19 0x0000003bcd78f63c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#20 0x0000003bcd7966e1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#21 0x0000003bcea117f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#22 0x0000003bcc53ebac in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#23 0x0000003bcd795fd0 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&lt;QWidget&gt;&amp;) () from /usr/lib64/libQtGui.so.4
#24 0x0000003bcd7fbe9e in ?? () from /usr/lib64/libQtGui.so.4
#25 0x0000003bcd7fab38 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#26 0x0000003bcd82287c in ?? () from /usr/lib64/libQtGui.so.4
#27 0x00000039aee3790e in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#28 0x00000039aee3b0e8 in ?? () from /lib64/libglib-2.0.so.0
#29 0x00000039aee3b20a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#30 0x0000003bcc566f36 in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib64/libQtCore.so.4
#31 0x0000003bcd82202e in ?? () from /usr/lib64/libQtGui.so.4
#32 0x0000003bcc53d4b2 in QEventLoop::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib64/libQtCore.so.4
#33 0x0000003bcc53d884 in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib64/libQtCore.so.4
#34 0x0000003bcc53fa19 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#35 0x0000000000405b37 in main (argc=&lt;value optimized out&gt;, argv=&lt;value optimized out&gt;) at /home/patrick/tmp/KDevelop/kdevelop/app/main.cpp:193</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>867650</commentid>
    <comment_count>3</comment_count>
    <who name="Andreas Pakulat">apaku</who>
    <bug_when>2009-11-24 13:47:45 +0000</bug_when>
    <thetext>You should remove kdevelop3 and any other kdevelop or kdevplatform packages you have on your system before starting to use kdevelop4.

If you still get crashes after doing that: Which version of libc 2.10 is installed on your system?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>867659</commentid>
    <comment_count>4</comment_count>
    <who name="Patrick De Mazière">pdemaziere</who>
    <bug_when>2009-11-24 14:18:27 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; You should remove kdevelop3 and any other kdevelop or kdevplatform packages you
&gt; have on your system before starting to use kdevelop4.
&gt; If you still get crashes after doing that: Which version of libc 2.10 is
&gt; installed on your system?

I remove kdevelop, kdevelop-libs, kdevplatform, kdevplatform-libs. But then I can even not create a new project (&quot;New from template). That option is then missing...

I got glibc-2.10.1-5.x86_64 .... (yes, it&apos;s all 64 bot of course)
So, installed kdevelop 3 back, to be able to continue my work ...
And then, just trying again v4, the new from template option is back there, so it seems, I&apos;m missing something ....

This is my update/compile script (yes, I installed anything locally to avoid problems with the main distro/applications):

cd /home/patrick/tmp/KDevelop
cd kdevelop/build
make uninstall
cd ../../kdevplatform/build
make uninstall
svn up ..
make
make install
cd -
svn up ..
make
make install</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>867665</commentid>
    <comment_count>5</comment_count>
    <who name="Andreas Pakulat">apaku</who>
    <bug_when>2009-11-24 14:30:27 +0000</bug_when>
    <thetext>Ok, so you probably have both problems at the same time. Having packages installed from possibly older versions of kdevelop4 or kdevelop3 will cause crashes in random places. To get the &quot;New Project&quot; and other entries back you need to make sure that KDevelop finds its plugins. For that see the compilation instructions on our wiki, specifically look for KDEDIRS (http://www.kdevelop.org/mediawiki/index.php/KDevelop_4/compiling)

Additionally look into the original bugreport regarding malloc_check_ how to avoid the known crashes with libc2.10. A link will be appended to this message.

*** This bug has been marked as a duplicate of bug 206775 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>