| Summary: | Kdevelop crashes from starting and reloading the project... | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | dan |
| Component: | general | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | crash | CC: | dan, danni.coy |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | 4.2.0 | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
New crash information added by DrKonqi
test file that caused the crash. |
||
|
Description
dan
2011-01-04 17:44:28 UTC
Created attachment 55571 [details]
New crash information added by DrKonqi
kdevelop (4.1.80) on KDE Platform 4.5.90 (4.6 RC1) using Qt 4.7.1
- What I was doing when the application crashed:
Started the application with a new session even after wiping out existing kde settings.
-- Backtrace (Reduced):
#6 0x00007fc223e084b2 in JSC::ExecutableAllocator::isValid() const () from /usr/lib/libQtWebKit.so.4
#7 0x00007fc223e491f5 in JSC::JSGlobalData::JSGlobalData(JSC::JSGlobalData::GlobalDataType, JSC::ThreadStackType) () from /usr/lib/libQtWebKit.so.4
#8 0x00007fc223e4a3f8 in JSC::JSGlobalData::createLeaked(JSC::ThreadStackType) () from /usr/lib/libQtWebKit.so.4
#9 0x00007fc22368b872 in WebCore::JSDOMWindowBase::commonJSGlobalData() () from /usr/lib/libQtWebKit.so.4
#10 0x00007fc223bf57e6 in WebCore::FrameLoaderClientQt::createDocumentLoader(WebCore::ResourceRequest const&, WebCore::SubstituteData const&) () from /usr/lib/libQtWebKit.so.4
probably upstream bug, see also https://bugzilla.redhat.com/show_bug.cgi?id=648319 how much memory do you have in your machine? 4G of ram here Created attachment 57289 [details]
test file that caused the crash.
also after crash - kdevelop crashes continually on startup
*** Bug 266438 has been marked as a duplicate of this bug. *** Danni: if this is reproducible, please run KDevelop through valgrind and show us the log it produces. here you go. Yes basically crashing until I delete the session file in ~/.kde/share/...
danni@eldar-forest:~$ valgrind kdevelop
==2741== Memcheck, a memory error detector
==2741== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==2741== Using Valgrind-3.6.0-Debian and LibVEX; rerun with -h for copyright info
==2741== Command: kdevelop
==2741==
==2741== Conditional jump or move depends on uninitialised value(s)
==2741== at 0x7E13E40: inflateReset2 (in /lib/libz.so.1.2.3.4)
==2741== by 0x7E13F2F: inflateInit2_ (in /lib/libz.so.1.2.3.4)
==2741== by 0xCD051A0: png_create_read_struct_2 (in /lib/libpng12.so.0.44.0)
==2741== by 0xCD05346: png_create_read_struct (in /lib/libpng12.so.0.44.0)
==2741== by 0x6A772D6: QPngHandlerPrivate::readPngHeader() (qpnghandler.cpp:356)
==2741== by 0x6A78014: QPngHandlerPrivate::readPngImage(QImage*) (qpnghandler.cpp:427)
==2741== by 0x6A485A7: QImageReader::read(QImage*) (qimagereader.cpp:1205)
==2741== by 0x6A48BF6: QImageReader::read() (qimagereader.cpp:1155)
==2741== by 0x6A3A10F: operator>>(QDataStream&, QImage&) (qimage.cpp:5195)
==2741== by 0x6A58735: operator>>(QDataStream&, QPixmap&) (qpixmap.cpp:1317)
==2741== by 0x5C53DBE: KIconLoaderPrivate::findCachedPixmapWithPath(QString const&, QPixmap&, QString&) (kiconloader.cpp:884)
==2741== by 0x5C56B88: KIconLoader::loadIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*, bool) const (kiconloader.cpp:1231)
==2741==
WARNING: deleting stale lockfile /home/danni/.kde/share/apps/kdevelop/sessions//{e99d462c-0d15-4e68-a936-e5c3c3bac487}/lock
WARNING: deleting stale lockfile /home/danni/.kdevduchain/{e99d462c-0d15-4e68-a936-e5c3c3bac487}/0/lock
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
QFileSystemWatcher: failed to add paths: /home/danni/.config/ibus/bus
^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A==2741== Invalid read of size 4
==2741== at 0x6D7F684: QFrame::frameStyle() const (qframe.cpp:252)
==2741== by 0x18510C30: ??? (in /usr/lib/kde4/plugins/styles/oxygen.so)
==2741== by 0x69D1349: QWidget::event(QEvent*) (qwidget.cpp:8286)
==2741== by 0x6980043: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4445)
==2741== by 0x6984979: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:4324)
==2741== by 0x5CA36B5: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:311)
==2741== by 0x6492B2B: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:732)
==2741== by 0x69C8F4A: QWidget::ensurePolished() const (qcoreapplication.h:215)
==2741== by 0x69D4BFA: QWidget::setVisible(bool) (qwidget.cpp:7552)
==2741== by 0x207E1C71: KateViewInternal::KateViewInternal(KateView*) (qwidget.h:487)
==2741== by 0x207DEA35: KateView::KateView(KateDocument*, QWidget*) (kateview.cpp:115)
==2741== by 0x20751A03: KateDocument::createView(QWidget*) (katedocument.cpp:329)
==2741== Address 0x1e671f78 is not stack'd, malloc'd or (recently) free'd
==2741==
==2741== Syscall param socketcall.setsockopt(optval) points to uninitialised byte(s)
==2741== at 0x78483EA: setsockopt (syscall-template.S:82)
==2741== by 0x11E2FDC1: udev_monitor_filter_update (in /lib/libudev.so.0.10.0)
==2741== by 0x11E2FE22: udev_monitor_enable_receiving (in /lib/libudev.so.0.10.0)
==2741== by 0xDDFAC2D: UdevQt::ClientPrivate::setWatchedSubsystems(QStringList const&) (udevqtclient.cpp:76)
==2741== by 0xDDF2DF8: Solid::Backends::UDev::UDevManager::Private::Private() (udevmanager.cpp:58)
==2741== by 0xDDF34B4: Solid::Backends::UDev::UDevManager::UDevManager(QObject*) (udevmanager.cpp:110)
==2741== by 0xDDC93B0: Solid::ManagerBasePrivate::loadBackends() (managerbase.cpp:84)
==2741== by 0xDDCAE50: Solid::DeviceManagerPrivate::DeviceManagerPrivate() (devicemanager.cpp:38)
==2741== by 0xDDCAF74: Solid::DeviceManagerStorage::ensureManagerCreated() (devicemanager.cpp:287)
==2741== by 0xDDCAF98: Solid::DeviceManagerStorage::notifier() (devicemanager.cpp:280)
==2741== by 0xDDC9817: Solid::Device::Device(QString const&) (device.cpp:76)
==2741== by 0x925EA88: KFilePlacesItem::KFilePlacesItem(KBookmarkManager*, QString const&, QString const&) (kfileplacesitem.cpp:39)
==2741== Address 0x7feffcb52 is on thread 1's stack
==2741==
kdevelop(2741)/kdevplatform (shell) KDevelop::SessionControllerPrivate::performRecovery: Starting recovery from "/home/danni/.kde/share/apps/kdevelop/sessions/{e99d462c-0d15-4e68-a936-e5c3c3bac487}/recovery/current"
kdevelop(2741) KSambaSharePrivate::testparmParamValue: We got some errors while running testparm "Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
ERROR: lock directory /var/run/samba does not exist
ERROR: pid directory /var/run/samba does not exist
"
kdevelop(2741) KSambaSharePrivate::getNetUserShareInfo: We got some errors while running 'net usershare info'
kdevelop(2741) KSambaSharePrivate::getNetUserShareInfo: "net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.
"
==2741== Conditional jump or move depends on uninitialised value(s)
==2741== at 0x6B11098: PtsToRegion(int, int, _POINTBLOCK*, QRegionPrivate*) (qregion.cpp:3512)
==2741== by 0x6B11AB6: PolygonRegion(QPoint const*, int, int) (qregion.cpp:3735)
==2741== by 0x6B11E6D: QRegion::QRegion(QPolygon const&, Qt::FillRule) (qregion.cpp:3856)
==2741== by 0x6B7E15E: QX11PaintEngine::updateState(QPaintEngineState const&) (qpaintengine_x11.cpp:1092)
==2741== by 0x6AC0842: QPainterPrivate::updateStateImpl(QPainterState*) (qpainter.cpp:906)
==2741== by 0x6AC091A: QPainterPrivate::updateState(QPainterState*) (qpainter.cpp:934)
==2741== by 0x6AC5B2B: QPainter::setClipRegion(QRegion const&, Qt::ClipOperation) (qpainter.cpp:2853)
==2741== by 0x69C871F: QWidgetPrivate::paintBackground(QPainter*, QRegion const&, int) const (qwidget.cpp:2349)
==2741== by 0x69CE1CB: QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) (qwidget.cpp:5411)
==2741== by 0x6B916AA: QWidgetBackingStore::sync() (qbackingstore.cpp:1333)
==2741== by 0x69C43AF: QWidgetPrivate::syncBackingStore() (qwidget.cpp:1816)
==2741== by 0x69D143B: QWidget::event(QEvent*) (qwidget.cpp:8493)
==2741==
==2741== Conditional jump or move depends on uninitialised value(s)
==2741== at 0x6B11098: PtsToRegion(int, int, _POINTBLOCK*, QRegionPrivate*) (qregion.cpp:3512)
==2741== by 0x6B11AB6: PolygonRegion(QPoint const*, int, int) (qregion.cpp:3735)
==2741== by 0x6B11E6D: QRegion::QRegion(QPolygon const&, Qt::FillRule) (qregion.cpp:3856)
==2741== by 0x6B7E3F9: QX11PaintEngine::updateState(QPaintEngineState const&) (qpaintengine_x11.cpp:1110)
==2741== by 0x6AC0842: QPainterPrivate::updateStateImpl(QPainterState*) (qpainter.cpp:906)
==2741== by 0x6AC091A: QPainterPrivate::updateState(QPainterState*) (qpainter.cpp:934)
==2741== by 0x6AC5B2B: QPainter::setClipRegion(QRegion const&, Qt::ClipOperation) (qpainter.cpp:2853)
==2741== by 0x69C871F: QWidgetPrivate::paintBackground(QPainter*, QRegion const&, int) const (qwidget.cpp:2349)
==2741== by 0x69CE1CB: QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) (qwidget.cpp:5411)
==2741== by 0x6B916AA: QWidgetBackingStore::sync() (qbackingstore.cpp:1333)
==2741== by 0x69C43AF: QWidgetPrivate::syncBackingStore() (qwidget.cpp:1816)
==2741== by 0x69D143B: QWidget::event(QEvent*) (qwidget.cpp:8493)
==2741==
==2741== Invalid write of size 4
==2741== at 0xFA74642: JSC::ExecutableAllocator::isValid() const (in /usr/lib/libQtWebKit.so.4.8.0)
==2741== by 0xFAB5614: JSC::JSGlobalData::JSGlobalData(JSC::JSGlobalData::GlobalDataType, JSC::ThreadStackType) (in /usr/lib/libQtWebKit.so.4.8.0)
==2741== by 0xFAB6837: JSC::JSGlobalData::createLeaked(JSC::ThreadStackType) (in /usr/lib/libQtWebKit.so.4.8.0)
==2741== by 0xF2F5B11: WebCore::JSDOMWindowBase::commonJSGlobalData() (in /usr/lib/libQtWebKit.so.4.8.0)
==2741== by 0xF8619F5: WebCore::FrameLoaderClientQt::createDocumentLoader(WebCore::ResourceRequest const&, WebCore::SubstituteData const&) (in /usr/lib/libQtWebKit.so.4.8.0)
==2741== by 0xF61FE44: WebCore::FrameLoader::load(WebCore::ResourceRequest const&, WebCore::SubstituteData const&, bool) (in /usr/lib/libQtWebKit.so.4.8.0)
==2741== by 0xF8748A1: QWebFrame::setHtml(QString const&, QUrl const&) (in /usr/lib/libQtWebKit.so.4.8.0)
==2741== by 0x2F54B485: ManPageModel::indexParser() (manpagemodel.cpp:180)
==2741== by 0x2F54BEFA: ManPageModel::indexDataReceived(KJob*) (manpagemodel.cpp:136)
==2741== by 0x2F54C503: ManPageModel::qt_metacall(QMetaObject::Call, int, void**) (manpagemodel.moc:93)
==2741== by 0x64A7C17: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3280)
==2741== by 0x4F64A71: KJob::result(KJob*) (kjob.moc:194)
==2741== Address 0xbbadbeef is not stack'd, malloc'd or (recently) free'd
==2741==
KCrash: Application 'kdevelop' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/danni/.kde/socket-eldar-forest/kdeinit4__0
QSocketNotifier: Invalid socket 22 and type 'Read', disabling...
==2741== Thread 3:
==2741== Invalid read of size 2
==2741== at 0x64BD4C7: socketNotifierSourceCheck(_GSource*) (qeventdispatcher_glib.cpp:92)
==2741== by 0xC5F88A3: g_main_context_check (in /lib/libglib-2.0.so.0.2800.0)
==2741== by 0xC5F9191: ??? (in /lib/libglib-2.0.so.0.2800.0)
==2741== by 0xC5F9698: g_main_context_iteration (in /lib/libglib-2.0.so.0.2800.0)
==2741== by 0x64BDA4E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:415)
==2741== by 0x6491F11: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149)
==2741== by 0x649214B: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:201)
==2741== by 0x63A9223: QThread::exec() (qthread.cpp:490)
==2741== by 0x647446E: QInotifyFileSystemWatcherEngine::run() (qfilesystemwatcher_inotify.cpp:248)
==2741== by 0x63AB9DD: QThreadPrivate::start(void*) (qthread_unix.cpp:285)
==2741== by 0x845AD8B: start_thread (pthread_create.c:304)
==2741== by 0x784739C: clone (clone.S:112)
==2741== Address 0x184930a6 is 6 bytes inside a block of size 16 free'd
==2741== at 0x4C26D7F: operator delete(void*) (vg_replace_malloc.c:387)
==2741== by 0x64BD4C6: socketNotifierSourceCheck(_GSource*) (qeventdispatcher_glib.cpp:92)
==2741== by 0xC5F88A3: g_main_context_check (in /lib/libglib-2.0.so.0.2800.0)
==2741== by 0xC5F9191: ??? (in /lib/libglib-2.0.so.0.2800.0)
==2741== by 0xC5F9698: g_main_context_iteration (in /lib/libglib-2.0.so.0.2800.0)
==2741== by 0x64BDA4E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:415)
==2741== by 0x6491F11: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149)
==2741== by 0x649214B: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:201)
==2741== by 0x63A9223: QThread::exec() (qthread.cpp:490)
==2741== by 0x647446E: QInotifyFileSystemWatcherEngine::run() (qfilesystemwatcher_inotify.cpp:248)
==2741== by 0x63AB9DD: QThreadPrivate::start(void*) (qthread_unix.cpp:285)
==2741== by 0x845AD8B: start_thread (pthread_create.c:304)
==2741==
==2741== Invalid read of size 2
==2741== at 0x64BD4CB: socketNotifierSourceCheck(_GSource*) (qeventdispatcher_glib.cpp:83)
==2741== by 0xC5F88A3: g_main_context_check (in /lib/libglib-2.0.so.0.2800.0)
==2741== by 0xC5F9191: ??? (in /lib/libglib-2.0.so.0.2800.0)
==2741== by 0xC5F9698: g_main_context_iteration (in /lib/libglib-2.0.so.0.2800.0)
==2741== by 0x64BDA4E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:415)
==2741== by 0x6491F11: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149)
==2741== by 0x649214B: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:201)
==2741== by 0x63A9223: QThread::exec() (qthread.cpp:490)
==2741== by 0x647446E: QInotifyFileSystemWatcherEngine::run() (qfilesystemwatcher_inotify.cpp:248)
==2741== by 0x63AB9DD: QThreadPrivate::start(void*) (qthread_unix.cpp:285)
==2741== by 0x845AD8B: start_thread (pthread_create.c:304)
==2741== by 0x784739C: clone (clone.S:112)
==2741== Address 0x184930a4 is 4 bytes inside a block of size 16 free'd
==2741== at 0x4C26D7F: operator delete(void*) (vg_replace_malloc.c:387)
==2741== by 0x64BD4C6: socketNotifierSourceCheck(_GSource*) (qeventdispatcher_glib.cpp:92)
==2741== by 0xC5F88A3: g_main_context_check (in /lib/libglib-2.0.so.0.2800.0)
==2741== by 0xC5F9191: ??? (in /lib/libglib-2.0.so.0.2800.0)
==2741== by 0xC5F9698: g_main_context_iteration (in /lib/libglib-2.0.so.0.2800.0)
==2741== by 0x64BDA4E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:415)
==2741== by 0x6491F11: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149)
==2741== by 0x649214B: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:201)
==2741== by 0x63A9223: QThread::exec() (qthread.cpp:490)
==2741== by 0x647446E: QInotifyFileSystemWatcherEngine::run() (qfilesystemwatcher_inotify.cpp:248)
==2741== by 0x63AB9DD: QThreadPrivate::start(void*) (qthread_unix.cpp:285)
==2741== by 0x845AD8B: start_thread (pthread_create.c:304)
==2741==
QSocketNotifier: Invalid socket 41 and type 'Read', disabling...
[1]+ Stopped valgrind kdevelop
danni@eldar-forest:~$ cd ==2741==
==2741== HEAP SUMMARY:
==2741== in use at exit: 73,322,236 bytes in 275,367 blocks
==2741== total heap usage: 1,508,914 allocs, 1,233,547 frees, 445,022,635 bytes allocated
==2741==
==2741== LEAK SUMMARY:
==2741== definitely lost: 170,832 bytes in 3,070 blocks
==2741== indirectly lost: 3,176,489 bytes in 4,153 blocks
==2741== possibly lost: 3,382,867 bytes in 50,025 blocks
==2741== still reachable: 66,592,048 bytes in 218,119 blocks
==2741== suppressed: 0 bytes in 0 blocks
==2741== Rerun with --leak-check=full to see details of leaked memory
==2741==
==2741== For counts of detected and suppressed errors, rerun with: -v
==2741== Use --track-origins=yes to see where uninitialised values come from
==2741== ERROR SUMMARY: 82 errors from 8 contexts (suppressed: 34 from 10)
nothing we can do - it's an upstream bug. Apparently it might be fixed already with this: http://trac.webkit.org/changeset/77025 Question is which Qt version will include that fix - I'm waiting for a response by the trolls. Is webkit used by the core - or is it a plugin I can disable for now? you can try to disable the Man-Page documentation plugin. |