Giter VIP home page Giter VIP logo

Comments (4)

jpnurmi avatar jpnurmi commented on September 26, 2024

I can provide the stack trace if needed.

Please do. That would help!

from communi.

Vesuri avatar Vesuri commented on September 26, 2024

The stack trace is not complete, possibly because I don't have the debug symbols for something (at least not for communi itself), but it seems that closing the application causes things to be destroyed and that in turn causes items to be inserted (!) into the model and eventually leads to a crash, most likely due to setting the position of an item that has already been destroyed:

(gdb) bt
#0 0x3ac6fb88 in FxListItem::setPosition(float) () from /usr/lib/libQtDeclarative.so.4
#1 0x3ac6c948 in QDeclarativeListView::itemsInserted (this=, modelIndex=, count=)
at graphicsitems/qdeclarativelistview.cpp:3318
#2 0x3adae5f4 in QDeclarativeListView::qt_metacall (this=0x73d1f8, _c=QMetaObject::InvokeMetaMethod, _id=-13, _a=0xae83d2d4)
at .moc/release-shared/moc_qdeclarativelistview_p.cpp:477
#3 0x3bab22d0 in QMetaObject::metacall (object=0x0, cl=QMetaObject::ReadProperty, idx=2, argv=0x12263b0) at kernel/qmetaobject.cpp:237
#4 0x3bac7e50 in QMetaObject::activate (sender=0x432e20, m=, local_signal_index=, argv=0x12263b0)
at kernel/qobject.cpp:3280
#5 0x3adac914 in QDeclarativeVisualModel::itemsInserted (this=0x0, _t1=2, _t2=1) at .moc/release-shared/moc_qdeclarativevisualitemmodel_p.cpp:139
#6 0x3ac59c30 in QDeclarativeVisualDataModel::_q_itemsInserted (this=, index=, count=)
at graphicsitems/qdeclarativevisualitemmodel.cpp:1280
#7 0x3adacf78 in QDeclarativeVisualDataModel::qt_metacall (this=0x432e20, _c=QMetaObject::InvokeMetaMethod, _id=-10, _a=0xae83d450)
at .moc/release-shared/moc_qdeclarativevisualitemmodel_p.cpp:395
#8 0x3bab22d0 in QMetaObject::metacall (object=0x0, cl=QMetaObject::ReadProperty, idx=2, argv=0x12263b0) at kernel/qmetaobject.cpp:237
#9 0x3bac7e50 in QMetaObject::activate (sender=0x1307ec8, m=, local_signal_index=, argv=0x12263b0)
at kernel/qobject.cpp:3280
#10 0x3bb1cc6c in QAbstractItemModel::rowsInserted (this=0x0, _t1=, _t2=2, _t3=2)
at .moc/release-shared/moc_qabstractitemmodel.cpp:181
#11 0x3baa4354 in QAbstractItemModel::endInsertRows (this=0x1307ec8) at kernel/qabstractitemmodel.cpp:2412
#12 0x3b56e634 in QStringListModel::insertRows (this=0x1307ec8, row=2, count=1, parent=) at itemviews/qstringlistmodel.cpp:204
#13 0x00013b48 in deref (this=0x1307ec8, __in_chrg=)
at /targets/maemo6-armv7-fd98568859591acfe436e9f5a8947f1dcbec16aa/usr/include/qt4/QtCore/qatomic_armv6.h:137
#14 ~QString (this=0x1307ec8, __in_chrg=)
at /targets/maemo6-armv7-fd98568859591acfe436e9f5a8947f1dcbec16aa/usr/include/qt4/QtCore/qstring.h:883
#15 ML10N::MLocalePrivate::~MLocalePrivate (this=0x1307ec8, __in_chrg=)
at /home/bifh7/cs2009q3-armel/work/libmlocale-0.4.4/src/mlocale.cpp:1052
#16 0x00013134 in ML10N::MLocalePrivate::MLocalePrivate (this=0x0, other=...) at /home/bifh7/cs2009q3-armel/work/libmlocale-0.4.4/src/mlocale.cpp:1021
#17 0x00019fec in ML10N::MLocalePrivate::simplifyDateFormatForMixing (this=, df=)
at /home/bifh7/cs2009q3-armel/work/libmlocale-0.4.4/src/mlocale.cpp:703
#18 0x0003b568 in ucnv_getStandard_44 (n=, pErrorCode=0xd48) at ucnv_io.c:943
#19 0x3bab22d0 in QMetaObject::metacall (object=0x0, cl=QMetaObject::ReadProperty, idx=2, argv=0xae83db2c) at kernel/qmetaobject.cpp:237
#20 0x3bab8258 in QMetaMethod::invoke (this=0x2, object=, connectionType=, returnValue=..., val0=...,
val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1597
#21 0x3bab8dd0 in QMetaObject::invokeMethod (obj=0x13ad7b0, member=, type=, ret=..., val0=..., val1=...,
val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1151
#22 0x000337d8 in ML10N::MLocale::indexBucket (this=0x10c7e38, str=..., buckets=..., coll=...)
at /home/bifh7/cs2009q3-armel/work/libmlocale-0.4.4/src/mlocale.cpp:3948
#23 0x000337d8 in ML10N::MLocale::indexBucket (this=0xae83dc94, str=..., buckets=..., coll=...)
at /home/bifh7/cs2009q3-armel/work/libmlocale-0.4.4/src/mlocale.cpp:3948
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

from communi.

jpnurmi avatar jpnurmi commented on September 26, 2024

Thanks, gives me an idea where to look as I wasn't able to reproduce the crash.

from communi.

jpnurmi avatar jpnurmi commented on September 26, 2024

Wrong issue number in the commit message, but this should be finally fixed:
702845a

from communi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.