Open heldercorreia opened 9 years ago
According to Valgrid output this could be qt problem:
==7108== Invalid read of size 1
==7108== at 0x4022CEF: memcpy (mc_replace_strmem.c:405)
==7108== by 0x4FD5911: QVectorData::malloc(int, int, int, QVectorData*) (in
/usr/lib/libQtCore.so.4.2.0)
==7108== by 0x41632A2: (within /usr/lib/libQt3Support.so.4.2.0)
==7108== by 0x416337C: (within /usr/lib/libQt3Support.so.4.2.0)
==7108== by 0x41EF479: Q3TextParagraph::lineStartOfChar(int, int*, int*) const (in
/usr/lib/libQt3Support.so.4.2.0)
==7108== by 0x4229FC9: Q3TextCursor::y() const (in /usr/lib/libQt3Support.so.4.2.0)
==7108== by 0x41CB991: Q3TextEdit::drawCursor(bool) (in /usr/lib/libQt3Support.so.4.2.0)
==7108== by 0x41CE0BA: Q3TextEdit::setCursorPosition(int, int) (in
/usr/lib/libQt3Support.so.4.2.0)
==7108== by 0x8056AD5: Crunch::addKeyPadText(QString const&) (in
/home/ville/Ubuntu/speed_source/speedcrunch-0.7-beta2/speedcrunch)
==7108== by 0x8099543: Crunch::qt_metacall(QMetaObject::Call, int, void**) (in
/home/ville/Ubuntu/speed_source/speedcrunch-0.7-beta2/speedcrunch)
==7108== by 0x5050747: QMetaObject::activate(QObject*, int, int, void**) (in
/usr/lib/libQtCore.so.4.2.0)
==7108== by 0x50510C9: QMetaObject::activate(QObject*, QMetaObject const*, int,
void**) (in /usr/lib/libQtCore.so.4.2.0)
==7108== Address 0x5B9D653 is 3 bytes inside a block of size 16 free'd
==7108== at 0x4020FB0: free (vg_replace_malloc.c:233)
==7108== by 0x4F920EC: qFree(void*) (in /usr/lib/libQtCore.so.4.2.0)
==7108== by 0x416303C: (within /usr/lib/libQt3Support.so.4.2.0)
==7108== by 0x420A3B4: Q3TextString::~Q3TextString() (in /usr/lib/libQt3Support.so.4.2.0)
==7108== by 0x41ECF95: Q3TextParagraph::~Q3TextParagraph() (in
/usr/lib/libQt3Support.so.4.2.0)
==7108== by 0x420F2C3: Q3TextDocument::clear(bool) (in /usr/lib/libQt3Support.so.4.2.0)
==7108== by 0x420F4BA: Q3TextDocument::setPlainText(QString const&) (in
/usr/lib/libQt3Support.so.4.2.0)
==7108== by 0x421E541: Q3TextDocument::setText(QString const&, QString const&) (in
/usr/lib/libQt3Support.so.4.2.0)
==7108== by 0x41E49D2: Q3TextEdit::setText(QString const&, QString const&) (in
/usr/lib/libQt3Support.so.4.2.0)
==7108== by 0x805744B: Crunch::textChanged() (in
/home/ville/Ubuntu/speed_source/speedcrunch-0.7-beta2/speedcrunch)
==7108== by 0x8099519: Crunch::qt_metacall(QMetaObject::Call, int, void**) (in
/home/ville/Ubuntu/speed_source/speedcrunch-0.7-beta2/speedcrunch)
==7108== by 0x5050747: QMetaObject::activate(QObject*, int, int, void**) (in
/usr/lib/libQtCore.so.4.2.0)
Reported by vi64pa
on 2006-11-19 10:38:29
Reported by ariya.hidayat
on 2007-04-14 20:02:05
Accepted
Fixed in svn. The 0.7 release will include the fix.
Reported by ariya.hidayat
on 2007-04-16 08:40:33
Fixed
Reported by helder.pereira.correia
on 2007-05-15 12:41:58
Verified
Originally reported on Google Code with ID 17
Reported by
vi64pa
on 2006-11-19 10:29:16