Bug 249905 - In Email Read View, kmail-mobile crashes when screen touched too long
Summary: In Email Read View, kmail-mobile crashes when screen touched too long
Status: CLOSED FIXED
Alias: None
Product: KMail Mobile
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Maemo 5 Linux
: HI critical
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-02 14:49 UTC by Felix Wolfsteller
Modified: 2010-09-20 13:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
backtrace of n900 20100910-3 when pressing reply long (5.37 KB, text/plain)
2010-09-15 18:02 UTC, Bernhard E. Reiter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Wolfsteller 2010-09-02 14:49:12 UTC
While reading an email, if the screen is touched for too long (1 sec), kmail crashes.

Found in 4:4.5~20100902.1170886-1maemo1.1170522 .

Output from stdout/err follows (probably not that useful).

KCrash: Application 'kmail-mobile' crashing...
KCrash: Attempting to start  from kdeinit
sock_file=/home/user/.kde/socket-Nokia-N900/kdeinit4__0
Could not find '' executable.
KCrash: Attempting to start  directly
KCrash failed to exec(), errno = 2
Comment 1 Volker Krause 2010-09-07 10:51:51 UTC
Could you please provide a backtrace? E.g. by running the application in gdb after installing the debug packages.
Comment 2 Felix Wolfsteller 2010-09-07 15:03:54 UTC
Serious issues installing the debug-package on the devie. Here is what we can get:

(gdb) r
[...]
0 3 
QModelIndex(0,0,0x63da80,Akonadi::EntityMimeTypeFilterModel(0x2e6ff8) )  QVariant(QString, "Posteingang") 
CH-333
CH-400
67
### 1 0
(no debugging symbols found)
QString::arg: Argument missing: , /usr/share/kde4/apps/kdeui/about/kde_infopage.css
QString::arg: Argument missing: , 
QString::arg: Argument missing: , 21
QString::arg: Argument missing: , 
QString::arg: Argument missing: , 
QString::arg: Argument missing: , The KDE email client.
QString::arg: Argument missing: , Loading message...
posting retrieval request for item 5  there are  0  queues and  0  items in mine 
request for item 5 still pending - waiting 
processing retrieval request for item 5  parts: ("RFC822")  of resource: "akonadi_imap_resource_1" 
continuing 
request for item 5 "8" failed: "Unable to retrieve item from resource: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." 
ItemRetrieverException :  Unable to retrieve item from resource: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
kmail-mobile(1576) KMimeTypePrivate::ensureXmlDataLoaded: No file found for "/.xml" , even though the file appeared in a directory listing. 
kmail-mobile(1576) KMimeTypePrivate::ensureXmlDataLoaded: Either it was just removed, or the directory doesn't have executable permission... 
kmail-mobile(1576) KMimeTypePrivate::ensureXmlDataLoaded: ("/home/user/.local/share/mime/", "/usr/share/mime/", "/opt/maemo/usr/share/mime/") 
kmail-mobile(1576) KMimeTypePrivate::ensureXmlDataLoaded: No file found for "/.xml" , even though the file appeared in a directory listing. 
kmail-mobile(1576) KMimeTypePrivate::ensureXmlDataLoaded: Either it was just removed, or the directory doesn't have executable permission... 
kmail-mobile(1576) KMimeTypePrivate::ensureXmlDataLoaded: ("/home/user/.local/share/mime/", "/usr/share/mime/", "/opt/maemo/usr/share/mime/") 
kmail-mobile(1576) KMimeTypePrivate::ensureXmlDataLoaded: No file found for "/.xml" , even though the file appeared in a directory listing. 
kmail-mobile(1576) KMimeTypePrivate::ensureXmlDataLoaded: Either it was just removed, or the directory doesn't have executable permission... 
kmail-mobile(1576) KMimeTypePrivate::ensureXmlDataLoaded: ("/home/user/.local/share/mime/", "/usr/share/mime/", "/opt/maemo/usr/share/mime/") 

Program received signal SIGSEGV, Segmentation fault.
0x4146fb48 in QAction::setText(QString const&) () from /opt/qt4-maemo5/lib/libQtGui.so.4
0x4146fb48 <_ZN7QAction7setTextERK7QString+4>:	ldr	r5, [r0, #4]

(gdb) bt
#0  0x4146fb48 in QAction::setText(QString const&) () from /opt/qt4-maemo5/lib/libQtGui.so.4
#1  0x409023e8 in ?? () from /usr/lib/libmessageviewer.so.4
#2  0x409023e8 in ?? () from /usr/lib/libmessageviewer.so.4
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Comment 3 Bernhard E. Reiter 2010-09-15 15:12:19 UTC
It also happens when touching the menu "reply" too long
on 4:4.5~20100910.1175159-1maemo3.1174786
Comment 4 Bernhard E. Reiter 2010-09-15 16:12:05 UTC
When installing libqt4-experimental-gui-dbg              4.7.0~git20100908-0maemo1  the backtrace looks like
Program received signal SIGSEGV, Segmentation fault.
QAction::setText (this=0x0, text=...) at kernel/qaction.h:67
67      kernel/qaction.h: No such file or directory.
        in kernel/qaction.h
Current language:  auto; currently c++
(gdb) bt
#0  QAction::setText (this=0x0, text=...) at kernel/qaction.h:67
#1  0x409283c8 in ?? () from /usr/lib/libmessageviewer.so.4
#2  0x409283c8 in ?? () from /usr/lib/libmessageviewer.so.4
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Comment 5 Bernhard E. Reiter 2010-09-15 18:02:12 UTC
Created attachment 51693 [details]
backtrace of n900 20100910-3 when pressing reply long
Comment 6 Till Adam 2010-09-15 19:21:37 UTC
SVN commit 1175721 by tilladam:

Don't crash on context menu events.

We do want to pass them to webkit, so let's handle it in webview
for now, until we have an action collection there to
actually handle URL clicks and such.

BUG: 249620
BUG: 249905

 M  +1 -0      mailwebview_webkit.cpp  
 M  +3 -0      viewer_p.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1175721
Comment 7 Sabine Faure 2010-09-16 22:59:51 UTC
It is corrected now.

I could not reproduce either of the crashes.

Feel free to reopen if needed.

N900, 4:4.5~20100916.1175939-1maemo1.1174921
Comment 8 Felix Wolfsteller 2010-09-20 13:20:56 UTC
Doesnt happen anymore in version 4:4.5~20100917.1176295-1maemo1.1174921 , closing.