Bug 253291 - Crash of kmail-mobile at startup
Summary: Crash of kmail-mobile at startup
Status: CLOSED WORKSFORME
Alias: None
Product: KMail Mobile
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Maemo 5 Linux
: NOR minor
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-05 09:51 UTC by Felix Wolfsteller
Modified: 2010-10-26 12:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Wolfsteller 2010-10-05 09:51:35 UTC
With version 4:4.5~20101001.1181693-1maemo4.1181469  I ran into a situation where kmail-mobile would not start anymore.

The UI shows a dialog ("Question - KMail Mobile"), that disappears immediately (not if run in gdb).

output + backtrace follows, bt full at end

=======================================================================

file:///usr/lib/kde4/imports/org/kde/pim/mobileui/Action.qml:64: TypeError: Result of expression 'action' [undefined] is not an object.
kmail-mobile(1584)/ KDeclarativeFullScreenView::slotStatusChanged: 1 QDateTime("Di. Okt 5 09:48:18 2010") 


Program received signal SIGSEGV, Segmentation fault.
Message::AttachmentModel::attachments (this=0x0)
    at /home/maemo-tags/default/work/kdepim-4.5~20101001.1181693/messagecomposer/attachmentmodel.cpp:373
373	/home/maemo-tags/default/work/kdepim-4.5~20101001.1181693/messagecomposer/attachmentmodel.cpp: No such file or directory.
	in /home/maemo-tags/default/work/kdepim-4.5~20101001.1181693/messagecomposer/attachmentmodel.cpp
(gdb) bt
#0  Message::AttachmentModel::attachments (this=0x0)
    at /home/maemo-tags/default/work/kdepim-4.5~20101001.1181693/messagecomposer/attachmentmodel.cpp:373
#1  0x4089a1f0 in Message::ComposerViewBase::setMessage (this=0x8ec750, msg=...)
    at /home/maemo-tags/default/work/kdepim-4.5~20101001.1181693/messagecomposer/composerviewbase.cpp:133
#2  0x0001e324 in ComposerView::setMessage (this=0x2fbbf8, msg=...)
    at /home/maemo-tags/default/work/kdepim-4.5~20101001.1181693/mobile/mail/composerview.cpp:198
#3  0x0001e40c in ComposerView::qmlLoaded (this=0x2fbbf8, status=<value optimized out>)
    at /home/maemo-tags/default/work/kdepim-4.5~20101001.1181693/mobile/mail/composerview.cpp:188
#4  0x0001e5a0 in ComposerView::qt_metacall (this=0x2fbbf8, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbe84dc50)
    at /home/maemo-tags/default/work/kdepim-4.5~20101001.1181693/obj-arm-linux-gnueabi/mobile/mail/composerview.moc:136
#5  0x423cebf4 in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /opt/qt4-maemo5/lib/libQtCore.so.4
#6  0x423e5b98 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /opt/qt4-maemo5/lib/libQtCore.so.4
#7  0x403563a0 in QDeclarativeView::statusChanged(QDeclarativeView::Status) () from /opt/qt4-maemo5/lib/libQtDeclarative.so.4
#8  0x400fa044 in QDeclarativeView::continueExecute() () from /opt/qt4-maemo5/lib/libQtDeclarative.so.4
#9  0x400fa86c in QDeclarativeViewPrivate::execute() () from /opt/qt4-maemo5/lib/libQtDeclarative.so.4
#10 0x400fa8d4 in QDeclarativeView::setSource(QUrl const&) () from /opt/qt4-maemo5/lib/libQtDeclarative.so.4
#11 0x407ca648 in KDeclarativeFullScreenView::setQmlFile (this=0x2fbbf8, source=...)
    at /home/maemo-tags/default/work/kdepim-4.5~20101001.1181693/mobile/lib/kdeclarativefullscreenview.cpp:178
#12 0x407cc3b4 in KDeclarativeFullScreenView::qt_metacall (this=0x2fbbf8, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x8eb358)
    at /home/maemo-tags/default/work/kdepim-4.5~20101001.1181693/obj-arm-linux-gnueabi/mobile/lib/kdeclarativefullscreenview.moc:95
#13 0x0001e42c in ComposerView::qt_metacall (this=0xbe84db54, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x3490)
    at /home/maemo-tags/default/work/kdepim-4.5~20101001.1181693/obj-arm-linux-gnueabi/mobile/mail/composerview.moc:116
#14 0x423cebf4 in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /opt/qt4-maemo5/lib/libQtCore.so.4
#15 0x423dd444 in QMetaCallEvent::placeMetaCall(QObject*) () from /opt/qt4-maemo5/lib/libQtCore.so.4
#16 0x423dea18 in QObject::event(QEvent*) () from /opt/qt4-maemo5/lib/libQtCore.so.4
#17 0x414dd668 in QWidget::event(QEvent*) () from /opt/qt4-maemo5/lib/libQtGui.so.4
#18 0x4195eac8 in QFrame::event(QEvent*) () from /opt/qt4-maemo5/lib/libQtGui.so.4
#19 0x419fb24c in QAbstractScrollArea::event(QEvent*) () from /opt/qt4-maemo5/lib/libQtGui.so.4
warning: (Internal error: pc 0x6f31f in read in psymtab, but not in symtab.)

#20 0x0006f320 in ?? (warning: (Internal error: pc 0x6f31f in read in psymtab, but not in symtab.)

)
warning: (Internal error: pc 0x6f31f in read in psymtab, but not in symtab.)
...


=======================================================================
bt full
#1  0x4089a1f0 in Message::ComposerViewBase::setMessage (this=0x8ec750, msg=...)
    at /home/maemo-tags/default/work/kdepim-4.5~20101001.1181693/messagecomposer/composerviewbase.cpp:133
        _container_ = {c = {{p = {static shared_null = {ref = {_q_value = 20006}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
                d = 0xbe84db3c}, d = 0xbe84db3c}}, brk = 1090668336, i = {i = 0x0}, e = {i = 0x0}}
        msgContent = <value optimized out>
        emptySource = {<MessageViewer::ObjectTreeSourceIf> = {_vptr.ObjectTreeSourceIf = 0xffffffff}, <No data fields>}
        otp = {_vptr.ObjectTreeParser = 0x40843338, mSource = 0xb508, mNodeHelper = 0x1, mRawReplyString = {static shared_null = {ref = {
                _q_value = 2524}, alloc = 0, size = 0, data = 0x4740c "", array = ""}, static shared_empty = {ref = {_q_value = 148}, alloc = 0, 
              size = 0, data = 0x424f8740 "", array = ""}, d = 0x50}, mTextualContentCharset = {static shared_null = {ref = {_q_value = 2524}, 
              alloc = 0, size = 0, data = 0x4740c "", array = ""}, static shared_empty = {ref = {_q_value = 148}, alloc = 0, size = 0, 
              data = 0x424f8740 "", array = ""}, d = 0x410248e8}, mTextualContent = {static null = {<No data fields>}, static shared_null = {
              ref = {_q_value = 13456}, alloc = 0, size = 0, data = 0x473fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, 
              capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 397}, alloc = 0, size = 0, data = 0x424f8802, 
              clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xbe84daf0, 
            static codecForCStrings = 0x0}, mTopLevelContent = 0x0, mCryptoProtocol = 0xbe84dafc, mShowOnlyOneMimePart = 162, 
          mKeepEncryptions = 74, mIncludeSignatures = 125, mHasPendingAsyncJobs = 164, mAllowAsync = 28, mShowRawToltecMail = 79, 
          mAttachmentStrategy = 0x1, mCollapseIcon = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 13456}, 
              alloc = 0, size = 0, data = 0x473fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, 
              array = {0}}, static shared_empty = {ref = {_q_value = 397}, alloc = 0, size = 0, data = 0x424f8802, clean = 0, simpletext = 0, 
              righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xbe84db24, static codecForCStrings = 0x0}, 
          mExpandIcon = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 13456}, alloc = 0, size = 0, data = 0x473fa, 
              clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {
                _q_value = 397}, alloc = 0, size = 0, data = 0x424f8802, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, 
              capacity = 0, reserved = 0, array = {0}}, d = 0x41009828, static codecForCStrings = 0x0}, mDeleteNodeHelper = 240}
        ac = {mAttachments = {<std::_Vector_base<KMime::Content*, std::allocator<KMime::Content*> >> = {
              _M_impl = {<std::allocator<KMime::Content*>> = {<__gnu_cxx::new_allocator<KMime::Content*>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x1028, _M_end_of_storage = 0x40483b74}}, <No data fields>}}
        transportName = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 13456}, alloc = 0, size = 0, data = 0x473fa, 
            clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {
              _q_value = 397}, alloc = 0, size = 0, data = 0x424f8802, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
            reserved = 0, array = {0}}, d = 0x426bb7e8, static codecForCStrings = 0x0}
#2  0x0001e324 in ComposerView::setMessage (this=0x2fbbf8, msg=...)
    at /home/maemo-tags/default/work/kdepim-4.5~20101001.1181693/mobile/mail/composerview.cpp:198
No locals.
#3  0x0001e40c in ComposerView::qmlLoaded (this=0x2fbbf8, status=<value optimized out>)
    at /home/maemo-tags/default/work/kdepim-4.5~20101001.1181693/mobile/mail/composerview.cpp:188
        signatureController = <value optimized out>
#4  0x0001e5a0 in ComposerView::qt_metacall (this=0x2fbbf8, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbe84dc50)
    at /home/maemo-tags/default/work/kdepim-4.5~20101001.1181693/obj-arm-linux-gnueabi/mobile/mail/composerview.moc:136
No locals.
#5  0x423cebf4 in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /opt/qt4-maemo5/lib/libQtCore.so.4
No symbol table info available.
#6  0x423e5b98 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /opt/qt4-maemo5/lib/libQtCore.so.4
Comment 1 Felix Wolfsteller 2010-10-22 12:20:02 UTC
Havent observed again
Comment 2 Ludwig Reiter 2010-10-26 12:19:24 UTC
In version  4:4.6~20101025.1189387-1maemo1.1188357 I haven't run into any such crashs yet. So closed.