Bug 214326 - kdevelop crashes at startup
Summary: kdevelop crashes at startup
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: Documentation viewer (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: triaged
: 214350 249107 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-13 00:42 UTC by Andrew Coles
Modified: 2018-10-27 04:01 UTC (History)
4 users (show)

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 Andrew Coles 2009-11-13 00:42:20 UTC
Version:           SVN checkout as of this evening (using Devel)
Compiler:          g++ (Ubuntu 4.4.1-4ubuntu8) 4.4.1 
OS:                Linux
Installed from:    Compiled sources

kdevelop crashes at startup shortly after displaying the splash screen.  Compiled kdevelop and kdevplatform from the current SVN against KDE 4.3.3.  No other kdevelop, kdevplatform or libsublime packages are installed.

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

Thread 2 (Thread 0xb4821b70 (LWP 12857)):
#0  0x00534422 in __kernel_vsyscall ()
#1  0x00aac142 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0181c7e4 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0x030addef in QWaitConditionPrivate::wait (this=0x9b3e79c, mutex=0x9b3e7a0, time=200000) at thread/qwaitcondition_unix.cpp:85
#4  QWaitCondition::wait (this=0x9b3e79c, mutex=0x9b3e7a0, time=200000) at thread/qwaitcondition_unix.cpp:159
#5  0x06bfb3a5 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x9b3e790) at /media/disk/kdevelop/src/kdevplatform/language/duchain/duchain.cpp:280
#6  0x030ace32 in QThreadPrivate::start (arg=0x9b3e790) at thread/qthread_unix.cpp:188
#7  0x00aa780e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x0180f7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7712700 (LWP 12856)):
[KCrash Handler]
#6  ProvidersModel::data (this=0xa0ab9c8, index=..., role=0) at /media/disk/kdevelop/src/kdevplatform/shell/documentationview.cpp:51
#7  0x05260c29 in QComboBoxPrivate::itemText (this=0xa0ab340, index=...) at widgets/qcombobox.cpp:1211
#8  0x05261850 in QComboBoxPrivate::_q_emitCurrentIndexChanged (this=0xa0ab340, index=...) at widgets/qcombobox.cpp:1206
#9  0x05263ebb in QComboBoxPrivate::setCurrentIndex (this=0xa0ab340, mi=...) at widgets/qcombobox.cpp:1953
#10 0x05263fe5 in QComboBox::setCurrentIndex (this=0xa0ab290, index=0) at widgets/qcombobox.cpp:1936
#11 0x05266d57 in QComboBox::setModel (this=0xa0ab290, model=0xa0ab9c8) at widgets/qcombobox.cpp:1879
#12 0x002293d2 in DocumentationView (this=0xa0a40d8, parent=0xa0b2920) at /media/disk/kdevelop/src/kdevplatform/shell/documentationview.cpp:97
#13 0x002283e4 in DocumentationViewFactory::create (this=0x9c23820, parent=0xa0b2920) at /media/disk/kdevelop/src/kdevplatform/shell/documentationcontroller.cpp:47
#14 0x001e4b5b in KDevelop::UiToolViewFactory::create (this=0x9daa418, doc=0x9daa3c8, parent=0xa0b2920) at /media/disk/kdevelop/src/kdevplatform/shell/uicontroller.cpp:150
#15 0x023dda75 in Sublime::ToolDocument::createViewWidget (this=0x9daa3c8, parent=0xa0b2920) at /media/disk/kdevelop/src/kdevplatform/sublime/tooldocument.cpp:62
#16 0x023dddcd in Sublime::View::createWidget (this=0xa09ea60, parent=0xa0b2920) at /media/disk/kdevelop/src/kdevplatform/sublime/view.cpp:90
#17 0x023de36c in Sublime::ToolView::createWidget (this=0xa09ea60, parent=0xa0b2920) at /media/disk/kdevelop/src/kdevplatform/sublime/view.cpp:142
#18 0x023de457 in Sublime::View::widget (this=0xa09ea60, parent=0xa0b2920) at /media/disk/kdevelop/src/kdevplatform/sublime/view.cpp:82
#19 0x023e61cb in Sublime::IdealMainWidget::addView (this=0x9e92f60, area=Qt::RightDockWidgetArea, view=0xa09ea60) at /media/disk/kdevelop/src/kdevplatform/sublime/ideal.cpp:612
#20 0x023d4e46 in Sublime::MainWindowPrivate::IdealToolViewCreator::operator() (this=0xbf8edf0c, view=0xa09ea60, position=Sublime::Right)
    at /media/disk/kdevelop/src/kdevplatform/sublime/mainwindow_p.cpp:190
#21 0x023dd0c3 in Sublime::Area::walkToolViews<Sublime::MainWindowPrivate::IdealToolViewCreator> (this=0x9ae5b30, op=..., positions=) at /media/disk/kdevelop/src/kdevplatform/sublime/areawalkers.h:59
#22 0x023d5417 in Sublime::MainWindowPrivate::toolViewAdded (this=0x9ad8dc0, position=Sublime::Right) at /media/disk/kdevelop/src/kdevplatform/sublime/mainwindow_p.cpp:518
#23 0x023d09d3 in Sublime::MainWindow::qt_metacall (this=0x9ac08d8, _c=QMetaObject::InvokeMetaMethod, _id=63, _a=0xbf8ee064) at /media/disk/kdevelop/build/kdevplatform/sublime/mainwindow.moc:114
#24 0x001cb47a in KDevelop::MainWindow::qt_metacall (this=0x9ac08d8, _c=QMetaObject::InvokeMetaMethod, _id=63, _a=0xbf8ee064) at /media/disk/kdevelop/build/kdevplatform/shell/mainwindow.moc:85
#25 0x031b3263 in QMetaObject::activate (sender=0x9ae5b30, from_signal_index=7, to_signal_index=7, argv=0xbf8ee064) at kernel/qobject.cpp:3113
#26 0x031b3ec2 in QMetaObject::activate (sender=0x9ae5b30, m=0x23f3480, local_signal_index=3, argv=0xbf8ee064) at kernel/qobject.cpp:3187
#27 0x023c0ea9 in Sublime::Area::toolViewAdded (this=0x9ae5b30, _t1=0xa09ea60, _t2=Sublime::Right) at /media/disk/kdevelop/build/kdevplatform/sublime/area.moc:130
#28 0x023c25ec in Sublime::Area::addToolView (this=0x9ae5b30, view=0xa09ea60, defaultPosition=Sublime::Right) at /media/disk/kdevelop/src/kdevplatform/sublime/area.cpp:227
#29 0x001dfb4d in KDevelop::UiController::addToolViewToArea (this=0x9a67cc0, factory=0x9c23820, doc=0x9daa3c8, area=0x9ae5b30) at /media/disk/kdevelop/src/kdevplatform/shell/uicontroller.cpp:581
#30 0x001e3411 in KDevelop::UiController::addToolView (this=0x9a67cc0, name=..., factory=0x9c23820) at /media/disk/kdevelop/src/kdevplatform/shell/uicontroller.cpp:311
#31 0x00226941 in KDevelop::DocumentationController::initialize (this=0x9c237c0) at /media/disk/kdevelop/src/kdevplatform/shell/documentationcontroller.cpp:67
#32 0x001def99 in KDevelop::CorePrivate::initialize (this=0x9abf520, mode=<value optimized out>) at /media/disk/kdevelop/src/kdevplatform/shell/core.cpp:191
#33 0x001df70a in KDevelop::Core::initialize (mode=KDevelop::Core::Default) at /media/disk/kdevelop/src/kdevplatform/shell/core.cpp:218
#34 0x0804d3ea in main (argc=1, argv=0xbf8ee914) at /media/disk/kdevelop/src/kdevelop/app/main.cpp:148
Comment 1 Andreas Pakulat 2009-11-13 08:48:04 UTC
Thanks, looks like Aleix's model isn't quite working yet. I'll try to have a look at this tonight.
Comment 2 Andreas Pakulat 2009-11-13 08:48:59 UTC
*** Bug 214350 has been marked as a duplicate of this bug. ***
Comment 3 Andrew Coles 2009-11-13 11:49:41 UTC
This morning, no crash, but errors about not being able to load the cmake plugin.  On the off-chance, I ran kbuildsycoca4, restarted kdevelop, and that sorted it out; log out, log back in, and it's back to complaining about cmake.

(If that means my configuration is pooched, apologies.)
Comment 4 Andreas Pakulat 2009-11-13 12:04:34 UTC
That suggests that KDEDIRS is not set early enough during login for kbuildsycoca4 to also know about your kdevelop installation prefix. You could set KDEDIRS in $HOME/.kde/env/kdevelop.sh that should be early enough. I'm putting this into $HOME/.bash_profile but that needs a proper login manager that reads this file (kdm does it). I'll leave this open until I checked back wether any of the recent changes in the docs-plugin broke something.
Comment 5 Aleix Pol 2009-11-15 01:45:13 UTC
Looks it's a problem from when I splitted CMakeManager and CMakeDocumentation due to an incorrect sycoca database.
I'll close as invalid it until new notice.
Comment 6 Milian Wolff 2010-08-31 17:36:23 UTC
*** Bug 249107 has been marked as a duplicate of this bug. ***
Comment 7 Milian Wolff 2010-08-31 17:36:53 UTC
reopening, as someone reproduced it with master (see duplicate above)
Comment 8 Milian Wolff 2010-09-24 15:42:34 UTC
@ Mathias Homann: Is this reproducible in current KDevelop 4.1 branch? If so, please run kdevelop in valgrind and send us the log:

valgrind --track-origins=yes kdevelop
Comment 9 Andrew Crouthamel 2018-09-26 22:15:55 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 10 Andrew Crouthamel 2018-10-27 04:01:25 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!