Summary: | dies when moving item from right window into a directory in left window using mouse | ||
---|---|---|---|
Product: | [Applications] keditbookmarks | Reporter: | Wolfgang Rohdewald <wolfgang> |
Component: | general | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | kdedevel, wolfgang |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Wolfgang Rohdewald
2009-07-24 11:04:44 UTC
when doing the same with valgrind --trace-children=yes kbookmarkeditor, I got no crash but an error that might be the reason: ==32373== For more details, rerun with: -v ==32373== BookmarkFolderView::bookmarkForIndex QModelIndex(0,0,0x9c2b1e0,BookmarkFolderViewFilterModel(0x9c27cf8) ) BookmarkFolderView::bookmarkForIndex QModelIndex(0,0,0x9c2b1e0,BookmarkFolderViewFilterModel(0x9c27cf8) ) ==32373== Conditional jump or move depends on uninitialised value(s) ==32373== at 0x54B0C50: QX11PaintEngine::updateMatrix(QTransform const&) (qpaintengine_x11.cpp:1987) ==32373== by 0x54BAE36: QX11PaintEngine::updateState(QPaintEngineState const&) (qpaintengine_x11.cpp:1059) ==32373== by 0x53D84C7: QPainterPrivate::updateStateImpl(QPainterState*) (qpainter.cpp:899) ==32373== by 0x53D85AA: QPainterPrivate::updateState(QPainterState*) (qpainter.cpp:927) ==32373== by 0x53E3F0E: QPainter::drawEllipse(QRect const&) (qpainter.cpp:4232) ==32373== by 0x6F82375: OxygenStyleHelper::hole(QColor const&, double, int) (qpainter.h:678) ==32373== by 0x6F89704: OxygenStyle::renderHole(QPainter*, QColor const&, QRect const&, bool, bool, QFlags<TileSet::Tile>) const (oxygen.cpp:2440) ==32373== by 0x6F97436: OxygenStyle::drawKStylePrimitive(KStyle::WidgetType, int, QStyleOption const*, QRect const&, QPalette const&, QFlags<QStyle::StateFlag>, QPainter*, QWidget const*, KStyle::Option*) const (oxygen.cpp:1789) ==32373== by 0x4A8E7F5: KStyle::drawPrimitive(QStyle::PrimitiveElement, QStyleOption const*, QPainter*, QWidget const*) const (kstyle.cpp:1107) ==32373== by 0x6F93743: OxygenStyle::drawKStylePrimitive(KStyle::WidgetType, int, QStyleOption const*, QRect const&, QPalette const&, QFlags<QStyle::StateFlag>, QPainter*, QWidget const*, KStyle::Option*) const (oxygen.cpp:1814) ==32373== by 0x4A8E4A5: KStyle::drawPrimitive(QStyle::PrimitiveElement, QStyleOption const*, QPainter*, QWidget const*) const (kstyle.cpp:1101) ==32373== by 0x4B9A2C0: KdeUiProxyStyle::drawPrimitive(QStyle::PrimitiveElement, QStyleOption const*, QPainter*, QWidget const*) const (kdeuiwidgetsproxystyle.cpp:75) BookmarkFolderView::bookmarkForIndex QModelIndex(0,0,0x9c2b1e0,BookmarkFolderViewFilterModel(0x9c27cf8) ) ==32373== ==32373== Invalid read of size 4 ==32373== at 0x487B524: QDomNodePrivate::insertAfter(QDomNodePrivate*, QDomNodePrivate*) (qdom.cpp:1644) ==32373== by 0x487B16F: QDomNodePrivate::appendChild(QDomNodePrivate*) (qdom.cpp:1857) ==32373== by 0x487EC0B: QDomNodePrivate::QDomNodePrivate(QDomNodePrivate*, bool) (qdom.cpp:1485) ==32373== by 0x4883FF3: QDomElementPrivate::QDomElementPrivate(QDomElementPrivate*, bool) (qdom.cpp:4422) ==32373== by 0x4884393: QDomElementPrivate::cloneNode(bool) (qdom.cpp:4437) ==32373== by 0x487EBFF: QDomNodePrivate::QDomNodePrivate(QDomNodePrivate*, bool) (qdom.cpp:1485) ==32373== by 0x4883FF3: QDomElementPrivate::QDomElementPrivate(QDomElementPrivate*, bool) (qdom.cpp:4422) ==32373== by 0x4884393: QDomElementPrivate::cloneNode(bool) (qdom.cpp:4437) ==32373== by 0x487BCE5: QDomNode::cloneNode(bool) const (qdom.cpp:2358) ==32373== by 0x406DBE6: CreateCommand::execute() (commands.cpp:156) ==32373== by 0x406CFF4: CmdGen::insertMimeSource(QString const&, QMimeData const*, QString const&) (commands.cpp:558) ==32373== by 0x40840A4: KBookmarkModel::dropMimeData(QMimeData const*, Qt::DropAction, int, int, QModelIndex const&) (bookmarkmodel.cpp:305) ==32373== Address 0x7bbec30 is 64 bytes inside a block of size 68 free'd ==32373== at 0x402599A: operator delete(void*) (vg_replace_malloc.c:342) ==32373== by 0x4882CF0: QDomDocumentPrivate::~QDomDocumentPrivate() (qdom.cpp:6202) ==32373== by 0x487BA29: QDomNode::~QDomNode() (qdom.cpp:2107) ==32373== by 0x487DE0C: QDomDocument::~QDomDocument() (qdom.cpp:6656) ==32373== by 0x4683BC5: KBookmark::List::fromMimeData(QMimeData const*) (kbookmark.cc:688) ==32373== by 0x406CF15: CmdGen::insertMimeSource(QString const&, QMimeData const*, QString const&) (commands.cpp:551) ==32373== by 0x40840A4: KBookmarkModel::dropMimeData(QMimeData const*, Qt::DropAction, int, int, QModelIndex const&) (bookmarkmodel.cpp:305) ==32373== by 0x408627E: BookmarkFolderViewFilterModel::dropMimeData(QMimeData const*, Qt::DropAction, int, int, QModelIndex const&) (bookmarklistview.cpp:184) ==32373== by 0x58250F0: QAbstractItemView::dropEvent(QDropEvent*) (qabstractitemview.cpp:1844) ==32373== by 0x5305720: QWidget::event(QEvent*) (qwidget.cpp:7698) ==32373== by 0x56DF992: QFrame::event(QEvent*) (qframe.cpp:559) ==32373== by 0x577F94E: QAbstractScrollArea::viewportEvent(QEvent*) (qabstractscrollarea.cpp:962) ==32373== Thanks for the analysis, Wolfgang. This is a dupe of 160679 (your backtrace matches one of the ones in that bug precisely) and based on your valgrind output, I can make a guess as to what is causing the problem. I'll comment on 160679. *** This bug has been marked as a duplicate of bug 160679 *** |