[Bug 54232] New: Kdevelop crash in IDEAL mode, "Customize the select doucment.."

James Ching 88491191 at alumni.cityu.edu.hk
Fri Feb 7 04:39:03 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=54232     
           Summary: Kdevelop crash in IDEAL mode, "Customize the select
                    doucment.."
           Product: kdevelop
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at barney.cs.uni-potsdam.de
        ReportedBy: 88491191 at alumni.cityu.edu.hk


Version:           kdevelop-3.0a3 (using KDE KDE 3.1)
Installed from:    Compiled From Sources
Compiler:          gcc 3.2 Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs Configured with: ../configure --prefix=/usr --enable-threads=posix --enable-shared --disable-checking --with-system-zlib Thread model: posix gcc version 3.2 
OS:          Linux

1. Open kdevelop in IDEAL, no project is opened,
2.  Click on sidebar "Documentation", highlight any docuement e.g GTK, 
3.  Click on "Cutomsize the selected document..." icon, then kdevelop crashed.

Iif you have opened a project, this icon button works fine, I guess the problem is in DocTreeProjectConfigWidget::readConfig()  is trying to reference m_Project object which is null (because you have no project opened).

Problem cpp and line
The constructor DocTreeProjectConfigWidget calls readconfig() function but 
parts/doctreeview/doctreeprojectconfigwidget.cpp:void DocTreeProjectConfigWidget::readConfig()


The core dump info.
[New Thread 16384 (LWP 9512)]
0x416a3e29 in __wait4 () at __wait4:-1
	in __wait4
#0  0x416a3e29 in __wait4 () at __wait4:-1
#1  0x41724374 in __DTOR_END__ () from /lib/libc.so.6
#2  0x414b6dc3 in waitpid (pid=-512, stat_loc=0xfffffe00, options=-512)
    at wrapsyscall.c:181
#3  0x40aaa612 in KCrash::defaultCrashHandler(int) ()
   from /usr/local/kde/lib/libkdecore.so.4
#4  <signal handler called>
#5  0x08095c07 in KDevPlugin::projectDom() ()
#6  0x41d91387 in DocTreeProjectConfigWidget::re *m_project->projectDom() ,
adConfig() ()
   from /usr/local/kde/lib/kde3/libkdevdoctreeview.so
#7  0x41d9133b in DocTreeProjectConfigWidget::DocTreeProjectConfigWidget(DocTreeViewWidget*, QWidget*, KDevProject*, char const*) ()
   from /usr/local/kde/lib/kde3/libkdevdoctreeview.so
#8  0x41d80a1d in DocTreeViewWidget::slotConfigure() ()
   from /usr/local/kde/lib/kde3/libkdevdoctreeview.so
#9  0x41d81baa in DocTreeViewWidget::qt_invoke(int, QUObject*) ()
   from /usr/local/kde/lib/kde3/libkdevdoctreeview.so
#10 0x40e54766 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/local/qt/lib/libqt-mt.so.3
#11 0x40e545d4 in QObject::activate_signal(int) ()
   from /usr/local/qt/lib/libqt-mt.so.3
#12 0x411b015e in QButton::clicked() () from /usr/local/qt/lib/libqt-mt.so.3
#13 0x40ee7af6 in QButton::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/local/qt/lib/libqt-mt.so.3
#14 0x40e8fbdc in QWidget::event(QEvent*) ()
   from /usr/local/qt/lib/libqt-mt.so.3
#15 0x40dec984 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/local/qt/lib/libqt-mt.so.3
#16 0x40dec18e in QApplication::notify(QObject*, QEvent*) ()
   from /usr/local/qt/lib/libqt-mt.so.3
#17 0x40a1b799 in KApplication::notify(QObject*, QEvent*) ()
   from /usr/local/kde/lib/libkdecore.so.4
#18 0x40d8b1f6 in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/local/qt/lib/libqt-mt.so.3
#19 0x40d889ed in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/local/qt/lib/libqt-mt.so.3
#20 0x40d9f1a0 in QEventLoop::processEvents(unsigned) ()
   from /usr/local/qt/lib/libqt-mt.so.3
#21 0x40decb39 in QApplication::processOneEvent() ()
   from /usr/local/qt/lib/libqt-mt.so.3
#22 0x41dfc9ea in KPACDiscovery::loop() ()
   from /usr/local/kde/lib/kde3/libkpac.so
#23 0x41dfc528 in KPACDiscovery::tryDiscovery() ()
   from /usr/local/kde/lib/kde3/libkpac.so
#24 0x41dfaa4e in KPACImpl::discover() ()
   from /usr/local/kde/lib/kde3/libkpac.so
#25 0x4054cf89 in KProtocolManager::pac() ()
   from /usr/local/kde/lib/libkio.so.4
#26 0x4054d930 in KProtocolManager::proxyForURL(KURL const&) ()
   from /usr/local/kde/lib/libkio.so.4
#27 0x4054df66 in KProtocolManager::slaveProtocol(KURL const&, QString&) ()
   from /usr/local/kde/lib/libkio.so.4
#28 0x4055c091 in KIO::Scheduler::_doJob(KIO::SimpleJob*) ()
   from /usr/local/kde/lib/libkio.so.4
#29 0x405657cf in KIO::SimpleJob::SimpleJob(KURL const&, int, QMemArray<char> const&, bool) () from /usr/local/kde/lib/libkio.so.4
#30 0x40568cb3 in KIO::TransferJob::TransferJob(KURL const&, int, QMemArray<char> const&, QMemArray<char> const&, bool) () from /usr/local/kde/lib/libkio.so.4
#31 0x4056aa1e in KIO::get(KURL const&, bool, bool) ()
   from /usr/local/kde/lib/libkio.so.4
#32 0x400e90be in KHTMLPart::openURL(KURL const&) ()
   from /usr/local/kde/lib/libkhtml.so.4
#33 0x0806fc5c in PartController::showDocument(KURL const&, QString const&) ()
#34 0x41d7fc82 in DocTreeViewWidget::slotItemExecuted(QListViewItem*) ()
   from /usr/local/kde/lib/kde3/libkdevdoctreeview.so
#35 0x41d81bbe in DocTreeViewWidget::qt_invoke(int, QUObject*) ()
   from /usr/local/kde/lib/kde3/libkdevdoctreeview.so
#36 0x40e54766 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/local/qt/lib/libqt-mt.so.3
#37 0x40862ad2 in KListView::executed(QListViewItem*) ()
   from /usr/local/kde/lib/libkdeui.so.4
#38 0x4085ca87 in KListView::emitExecute(QListViewItem*, QPoint const&, int) ()
   from /usr/local/kde/lib/libkdeui.so.4
#39 0x4085d5b5 in KListView::slotMouseButtonClicked(int, QListViewItem*, QPoint const&, int) () from /usr/local/kde/lib/libkdeui.so.4
#40 0x408638f3 in KListView::qt_invoke(int, QUObject*) ()
   from /usr/local/kde/lib/libkdeui.so.4
#41 0x40e54766 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/local/qt/lib/libqt-mt.so.3
#42 0x411bd12e in QListView::mouseButtonClicked(int, QListViewItem*, QPoint const&, int) () from /usr/local/qt/lib/libqt-mt.so.3
#43 0x40f39580 in QListView::contentsMouseReleaseEventEx(QMouseEvent*) ()
   from /usr/local/qt/lib/libqt-mt.so.3
#44 0x40f39226 in QListView::contentsMouseReleaseEvent(QMouseEvent*) ()
   from /usr/local/qt/lib/libqt-mt.so.3
#45 0x4085d203 in KListView::contentsMouseReleaseEvent(QMouseEvent*) ()
   from /usr/local/kde/lib/libkdeui.so.4
#46 0x40f6a5e6 in QScrollView::viewportMouseReleaseEvent(QMouseEvent*) ()
   from /usr/local/qt/lib/libqt-mt.so.3
#47 0x40f69ea7 in QScrollView::eventFilter(QObject*, QEvent*) ()
   from /usr/local/qt/lib/libqt-mt.so.3
#48 0x40f37b3f in QListView::eventFilter(QObject*, QEvent*) ()
   from /usr/local/qt/lib/libqt-mt.so.3
#49 0x40e521e1 in QObject::activate_filters(QEvent*) ()
   from /usr/local/qt/lib/libqt-mt.so.3
#50 0x40e52101 in QObject::event(QEvent*) ()
   from /usr/local/qt/lib/libqt-mt.so.3
#51 0x40e8fb5c in QWidget::event(QEvent*) ()
   from /usr/local/qt/lib/libqt-mt.so.3
#52 0x40dec984 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/local/qt/lib/libqt-mt.so.3
#53 0x40dec18e in QApplication::notify(QObject*, QEvent*) ()
   from /usr/local/qt/lib/libqt-mt.so.3
#54 0x40a1b799 in KApplication::notify(QObject*, QEvent*) ()
   from /usr/local/kde/lib/libkdecore.so.4
#55 0x40d8b1f6 in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/local/qt/lib/libqt-mt.so.3
#56 0x40d889ed in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/local/qt/lib/libqt-mt.so.3
#57 0x40d9f1a0 in QEventLoop::processEvents(unsigned) ()
   from /usr/local/qt/lib/libqt-mt.so.3
#58 0x40e02b96 in QEventLoop::enterLoop() ()
   from /usr/local/qt/lib/libqt-mt.so.3
#59 0x40e02a38 in QEventLoop::exec() () from /usr/local/qt/lib/libqt-mt.so.3
#60 0x40decbf1 in QApplication::exec() () from /usr/local/qt/lib/libqt-mt.so.3
#61 0x080671f3 in main ()
#62 0x4160af34 in __libc_start_main (main=0x8066c30 <main>, argc=7, 
    ubp_av=0xbffff894, init=0x8062318 <_init>, fini=0x80dd140, rtld_fini=0, 
    stack_end=0x0) at ../sysdeps/generic/libc-start.c:144




More information about the KDevelop-devel mailing list