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

--- Comment #5 from Sigbjorn <sigbjorn.hel...@gmail.com> ---
(In reply to Sigbjorn from comment #4)
> (In reply to Sigbjorn from comment #3)
> > .. after downloading debuginfo, repeating the crash procedure, and using
> > gdb,(konqi seems to disable/or not read .gdb.ini file, will sort out that
> > later),,
> > here seems to be the intersting spots:
> > 
> > #7  0x00007fc16bf7faad in CMakeManager::projectClosing (this=0x5646c97164f0,
> > p=<optimized out>) at
> > /usr/src/debug/kdevelop-22.04.2/plugins/cmake/cmakemanager.cpp:660
> > 660             cleanupTestSuites(it->testSuites, it->testSuiteJobs);
> > (gdb) l
> > 655
> > 656     void CMakeManager::projectClosing(IProject* p)
> > 657     {
> > 658         auto it = m_projects.find(p);
> > 659         if (it != m_projects.end()) {
> > 660             cleanupTestSuites(it->testSuites, it->testSuiteJobs);
> > 661             m_projects.erase(it);
> > 662         }
> > 663     }
> > 664
> > (gdb) down
> > #6  0x00007fc16bf912d4 in cleanupTestSuites(QVector<CTestSuite*> const&,
> > QVector<CTestFindJob*> const&) [clone .isra.0] (testSuites=...,
> > testSuiteJobs=...)
> >     at /usr/src/debug/kdevelop-22.04.2/plugins/cmake/cmakemanager.cpp:440
> > 440             delete testSuite;
> > (gdb) list
> > 435         for (auto* testSuiteJob : testSuiteJobs) {
> > 436             testSuiteJob->kill(KJob::Quietly);
> > 437         }
> > 438         for (auto* testSuite : testSuites) {
> > 439             ICore::self()->testController()->removeTestSuite(testSuite);
> > 440             delete testSuite;
> > 441         }
> > 442     }
> > 443
> > 444     void CMakeManager::integrateData(const CMakeProjectData &data,
> > KDevelop::IProject* project, const QSharedPointer<CMakeServer>& server)
> > (gdb) down
> > #5  0x0000000000000031 in ?? ()
> 
> -------------------
> bt 15 looks like:
> #0  __pthread_kill_implementation (threadid=<optimized out>,
> signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
> #1  0x00007fc1aea8e3d3 in __pthread_kill_internal (signo=11,
> threadid=<optimized out>) at pthread_kill.c:78
> #2  0x00007fc1aea3e838 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
> #3  0x00007fc1b0e17840 in KCrash::defaultCrashHandler(int) (sig=11) at
> /usr/src/debug/kcrash-5.95.0/src/kcrash.cpp:633
> #4  0x00007fc1aea3e8e0 in <signal handler called> () at /usr/lib/libc.so.6
> #5  0x0000000000000031 in  ()
> #6  0x00007fc16bf912d4 in cleanupTestSuites(QVector<CTestSuite*> const&,
> QVector<CTestFindJob*> const&) [clone .isra.0] (testSuites=...,
> testSuiteJobs=<optimized out>)
>     at /usr/src/debug/kdevelop-22.04.2/plugins/cmake/cmakemanager.cpp:440
> #7  0x00007fc16bf7faad in CMakeManager::projectClosing(KDevelop::IProject*)
> (this=0x5646c97164f0, p=<optimized out>)
>     at /usr/src/debug/kdevelop-22.04.2/plugins/cmake/cmakemanager.cpp:660
> #8  0x00007fc1af4bd621 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
>     (a=0x7fff67a1f820, r=<optimized out>, this=0x5646c9719b60,
> this=<optimized out>, r=<optimized out>, a=<optimized out>)
>     at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
> #9  doActivate<false>(QObject*, int, void**) (sender=0x5646c6b55210,
> signal_index=5, argv=0x7fff67a1f820) at kernel/qobject.cpp:3886
> #10 0x00007fc1b0e37867 in
> KDevelop::IProjectController::projectClosing(KDevelop::IProject*)
> (this=this@entry=0x5646c6b55210, _t1=<optimized out>, 
>     _t1@entry=0x5646c9a60b30) at
> /usr/src/debug/build/kdevplatform/interfaces/KDevPlatformInterfaces_autogen/
> EWIEGA46WW/moc_iprojectcontroller.cpp:273
> #11 0x00007fc1b0f45ada in
> KDevelop::ProjectController::takeProject(KDevelop::IProject*)
> (this=0x5646c6b55210, proj=<optimized out>)
>     at
> /usr/src/debug/kdevelop-22.04.2/kdevplatform/shell/projectcontroller.cpp:1059
> #12 0x00007fc1b0f47686 in
> KDevelop::ProjectController::closeProject(KDevelop::IProject*)
> (proj=0x5646c9a60b30, this=0x5646c6b55210)
>     at
> /usr/src/debug/kdevelop-22.04.2/kdevplatform/shell/projectcontroller.cpp:1077
> #13 KDevelop::ProjectController::closeAllProjects() (this=0x5646c6b55210) at
> /usr/src/debug/kdevelop-22.04.2/kdevplatform/shell/projectcontroller.cpp:1089
> #14 0x00007fc1b0f37c18 in KDevelop::Core::cleanup() (this=0x5646c67c9760) at
> /usr/src/debug/kdevelop-22.04.2/kdevplatform/shell/core.cpp:374

...........
running gdb kdevelop, catching the error, and printing the testSuite it tries
to delete :
(gdb) p *testSuite
$3 = {<KDevelop::ITestSuite> = {_vptr.ITestSuite = 0x398}, m_executable =
{m_data = {d = 0x0}}, 
  m_name = {d = 0x0}, 
  m_cases = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data
fields>}, {p = {
          static shared_null = {ref = {atomic = {_q_value = std::atomic<int> =
{ -1 }}}, alloc = 0, 
            begin = 0, end = 0, array = {0x0}}, d = 0x400000004000}, 
        d = 0x400000004000}}, <No data fields>}, 
  m_args = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data
fields>}, {p = {
          static shared_null = {ref = {atomic = {_q_value = std::atomic<int> =
{ -1 }}}, alloc = 0, 
            begin = 0, end = 0, array = {0x0}}, d = 0x0}, d = 0x0}}, <No data
fields>}, 
  m_files = {<QListSpecialMethods<KDevelop::Path>> = {<No data fields>}, {p =
{static shared_null = {
          ref = {atomic = {_q_value = std::atomic<int> = { -1 }}}, alloc = 0,
begin = 0, end = 0, 
          array = {0x0}}, d = 0x200000000}, d = 0x200000000}}, m_project = {wp
= {d = 0x555557a125b0, 
      value = 0x0}}, m_declarations = {{d = 0x0, e = 0x0}}, m_properties = {{d
= 0x80000000, 
      e = 0x80000000}}, m_suiteDeclaration = {m_topContext = 1502338080,
m_declarationIndex = 21845}}
....

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

Reply via email to