Summary: | Crash when entering details in Debug Setting | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Yong Wen Chua <lawliet89> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | cfeck, kare.sars |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | valgrind log |
Description
Yong Wen Chua
2012-02-14 02:50:06 UTC
Looks like a theme bug? At least, the backtrace does not contain any Kate code. The backtrace reveals a memory corruption, which could also be caused by kdevelop. If this is reproducible, we need a valgrind log to isolate the problem. For more information, see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_with_Valgrind Created attachment 68965 [details]
valgrind log
Here's the output from valgrind.
Thanks for the update. Looks like "ConfigView::updateCurrentTargetDescription" is the culprit, which is from gdbplugin. Hi Kåre, can this be an issue in ConfigView::updateCurrentTargetDescription? ==6154== Invalid read of size 8 ==6154== at 0x71AD5ED: QString::operator=(QString const&) (qstring.cpp:1359) ==6154== by 0x2320482A: ConfigView::updateCurrentTargetDescription(int, QString const&) (configview.cpp:524) ==6154== by 0x23204EA3: ConfigView::qt_metacall(QMetaObject::Call, int, void**) (configview.moc:98) ==6154== by 0x7262EB9: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3278) ==6154== by 0x59DDE64: QLineEdit::textEdited(QString const&) (moc_qlineedit.cpp:249) ==6154== by 0x59D8F4C: QLineEditPrivate::_q_textEdited(QString const&) (qlineedit_p.cpp:106) ==6154== by 0x59DE21D: QLineEdit::qt_metacall(QMetaObject::Call, int, void**) (moc_qlineedit.cpp:174) ==6154== by 0x7262EB9: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3278) ==6154== by 0x5C494B4: QLineControl::textEdited(QString const&) (moc_qlinecontrol_p.cpp:141) ==6154== by 0x59E2CEF: QLineControl::finishChange(int, bool, bool) (qlinecontrol.cpp:657) ==6154== by 0x59E50B4: QLineControl::processKeyEvent(QKeyEvent*) (qlinecontrol.cpp:1874) ==6154== by 0x59D9FA8: QLineEdit::keyPressEvent(QKeyEvent*) (qlineedit.cpp:1668) ==6154== Address 0x253dad30 is 8 bytes after a block of size 24 alloc'd ==6154== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==6154== by 0x718638A: QListData::detach(int) (qlist.cpp:185) ==6154== by 0x23202202: QList<QString>::detach_helper(int) (qlist.h:696) ==6154== by 0x2320480C: ConfigView::updateCurrentTargetDescription(int, QString const&) (qlist.h:712) ==6154== by 0x23204EA3: ConfigView::qt_metacall(QMetaObject::Call, int, void**) (configview.moc:98) ==6154== by 0x7262EB9: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3278) ==6154== by 0x59DDE64: QLineEdit::textEdited(QString const&) (moc_qlineedit.cpp:249) ==6154== by 0x59D8F4C: QLineEditPrivate::_q_textEdited(QString const&) (qlineedit_p.cpp:106) ==6154== by 0x59DE21D: QLineEdit::qt_metacall(QMetaObject::Call, int, void**) (moc_qlineedit.cpp:174) ==6154== by 0x7262EB9: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3278) ==6154== by 0x5C494B4: QLineControl::textEdited(QString const&) (moc_qlinecontrol_p.cpp:141) ==6154== by 0x59E2CEF: QLineControl::finishChange(int, bool, bool) (qlinecontrol.cpp:657) ==6154== ==6154== Invalid read of size 4 ==6154== at 0x71AD5F0: QString::operator=(QString const&) (qatomic_x86_64.h:133) ==6154== by 0x2320482A: ConfigView::updateCurrentTargetDescription(int, QString const&) (configview.cpp:524) ==6154== by 0x23204EA3: ConfigView::qt_metacall(QMetaObject::Call, int, void**) (configview.moc:98) ==6154== by 0x7262EB9: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3278) ==6154== by 0x59DDE64: QLineEdit::textEdited(QString const&) (moc_qlineedit.cpp:249) ==6154== by 0x59D8F4C: QLineEditPrivate::_q_textEdited(QString const&) (qlineedit_p.cpp:106) ==6154== by 0x59DE21D: QLineEdit::qt_metacall(QMetaObject::Call, int, void**) (moc_qlineedit.cpp:174) ==6154== by 0x7262EB9: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3278) ==6154== by 0x5C494B4: QLineControl::textEdited(QString const&) (moc_qlinecontrol_p.cpp:141) ==6154== by 0x59E2CEF: QLineControl::finishChange(int, bool, bool) (qlinecontrol.cpp:657) ==6154== by 0x59E50B4: QLineControl::processKeyEvent(QKeyEvent*) (qlinecontrol.cpp:1874) ==6154== by 0x59D9FA8: QLineEdit::keyPressEvent(QKeyEvent*) (qlineedit.cpp:1668) ==6154== Address 0x0 is not stack'd, malloc'd or (recently) free'd I tried with kate form master, but I could not reproduce the crash... The line number is probably one line off, at least compared to master. I have to check it out. This was fixed before 4.8, but unfortunately it was not backported to 4.7 :( *** This bug has been marked as a duplicate of bug 283122 *** |