Patch to make kdevelop-svn compile

Benjamin Schindler bschindler at inf.ethz.ch
Sun Nov 15 12:24:36 UTC 2009


Hi

The patch I posted makes kdevelop segfault on startup. The relevant part 
of the backtrace is this:

(gdb) where
#0  0x00007ffff4d4a764 in QMetaObject::activate(QObject*, QMetaObject 
const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#1  0x00007fffda3f3f02 in QtHelpPlugin::addHistory (this=0x7fffda5fd4a0, 
_t1=<value optimized out>) at 
/home/benjamin/software/build/kdevelop/documentation/qthelp/moc_qthelpplugin.cpp:90
#2  0x00007ffff74a1012 in DocumentationView::showHome (this=0x2a47b90) 
at /home/benjamin/software/kdevplatform/shell/documentationview.cpp:148
#3  0x00007ffff74a14aa in DocumentationView (this=0x2a47b90, 
parent=<value optimized out>) at 
/home/benjamin/software/kdevplatform/shell/documentationview.cpp:123
#4  0x00007ffff74a0b19 in DocumentationViewFactory::create (this=<value 
optimized out>, parent=0x2a49950) at 
/home/benjamin/software/kdevplatform/shell/documentationcontroller.cpp:47
#5  0x00007ffff19273bb in Sublime::ToolView::createWidget 
(this=0x7fffda5fd4a0, parent=0xd) at 
/home/benjamin/software/kdevplatform/sublime/view.cpp:142
#6  0x00007ffff1927494 in Sublime::View::widget (this=0x2a49230, 
parent=0xd) at /home/benjamin/software/kdevplatform/sublime/view.cpp:82
#7  0x00007ffff192bc9b in Sublime::IdealMainWidget::addView 
(this=0x2216a90, area=Qt::RightDockWidgetArea, view=0x2a49230) at 
/home/benjamin/software/kdevplatform/sublime/ideal.cpp:612
#8  0x00007ffff1922472 in 
Sublime::MainWindowPrivate::IdealToolViewCreator::operator() 
(this=<value optimized out>, view=0x2a49230, position=Sublime::Right)
    at /home/benjamin/software/kdevplatform/sublime/mainwindow_p.cpp:190

I'm digging into it right now, but I'm not that familiar with the source 
yet so a little hint might be very helpful

Benjamin

Benjamin Schindler wrote:
> Hi
>
> Current kdevelop-svn does not compile. The attached patch fixes this.
> The first patch (the CMakeLists patch) is required to make kdevelop
> compile on gentoo (it's a sed script executed in the ebuild).
> This is a separate issue so you can savely ignore that part
>
> Cheers
> Benjamin
>
>   




More information about the KDevelop-devel mailing list