[kmail2] [Bug 318093] New: kmail 4.10.2 hangs on startup

Fabio Coatti fabio.coatti at gmail.com
Tue Apr 9 16:23:31 BST 2013


https://bugs.kde.org/show_bug.cgi?id=318093

            Bug ID: 318093
           Summary: kmail 4.10.2 hangs on startup
    Classification: Unclassified
           Product: kmail2
           Version: 4.10.2
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: grave
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: fabio.coatti at gmail.com

I recently upgraded kde 4.10.1 to 4.10.2 on gentoo. on 4.10.1 kmail was
working, not perfectly due to html parsing bug, but worked.
Since the update, kmail is not working at all, basically it does not starts up.
starting from command line, kmail does not even asks for kdewallet unlock.
strace reveals the following behaviour:
[pid 10521] sched_getaffinity(10521, 32, {f}) = 8
[pid 10521] write(3, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 10521] mmap(NULL, 8392704, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f2a50532000
[pid 10521] mprotect(0x7f2a50532000, 4096, PROT_NONE) = 0
[pid 10521] clone(child_stack=0x7f2a50d31f70,
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
parent_tidptr=0x7f2a50d329d0, tls=0x7f2a50d32700, child_tidptr=0x7f2a50d329d0)
= 15434
[pid 10521] stat("/home/cova/.config/Trolltech.conf", {st_mode=S_IFREG|0644,
st_size=61804, ...}) = 0
[pid 10521] stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2652, ...}) =
0
[pid 10521] lstat("/etc/qt4/Trolltech.conf", 0x7fffc5a05e30) = -1 ENOENT (No
such file or directory)
[pid 10521] open("/etc/qt4/Trolltech.conf", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
such file or directory)
[pid 10521] stat("/etc/qt4/Trolltech.conf", 0x7fffc5a05ea0) = -1 ENOENT (No
such file or directory)
[pid 10521] stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2652, ...}) =
0
[pid 10521] stat("/usr/lib64/qt4/plugins/bearer/.", Process 15434 attached
0x7fffc5a05dc0) = -1 ENOENT (No such file or directory)
[pid 10521] stat("/usr/lib64/kde4/plugins/bearer/.", 0x7fffc5a05dc0) = -1
ENOENT (No such file or directory)
[pid 10521] stat("/usr/bin/bearer/.", 0x7fffc5a05dc0) = -1 ENOENT (No such file
or directory)
[pid 15434] set_robust_list(0x7f2a50d329e0, 24) = 0
[pid 15434] mmap(NULL, 134217728, PROT_NONE,
MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x7f2a48532000
[pid 15434] munmap(0x7f2a48532000, 61661184) = 0
[pid 15434] munmap(0x7f2a50000000, 5447680) = 0
[pid 15434] mprotect(0x7f2a4c000000, 135168, PROT_READ|PROT_WRITE) = 0
[pid 15434] eventfd2(0, O_NONBLOCK|O_CLOEXEC) = 12
[pid 15434] write(12, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 15434] prctl(PR_SET_NAME, 0x7f2a6d4eb820, 0, 0, 0) = 0
[pid 15434] poll([{fd=12, events=POLLIN}], 1, 0) = 1 ([{fd=12,
revents=POLLIN}])
[pid 15434] poll([{fd=12, events=POLLIN}], 1, 4294967295) = 1 ([{fd=12,
revents=POLLIN}])
[pid 15434] read(12, "\1\0\0\0\0\0\0\0", 16) = 8
[pid 15434] poll([{fd=12, events=POLLIN}], 1, 4294967295
(**LOCKED HERE**)

ls -la /proc/15434/fd/12
/proc/15434/fd/12 -> anon_inode:[eventfd]

and kmail remains locked here eating 100% cpu, nothing appears on screen or in
system dock.

launching kmail with 
dbus-launch kmail

the situation is a bit different, as kmail asks for kdewallet unlock, but after
that no kmail windows shows up.

console output for dbus-launch:

kmail2(29371)/libakonadi Akonadi::AgentManagerPrivate::createDBusInterface:
AgentManager failed to get a valid AgentManager DBus interface. Error is: 1
"org.freedesktop.DBus.Error.NameHasNoOwner" "Could not get owner of name
'org.freedesktop.Akonadi.Control': no such name" 
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
search paths:  ("/opt/android-sdk-update-manager/platform-tools/",
"/usr/local/bin", "/usr/bin", "/bin", "/opt/bin",
"/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.2",
"/opt/android-sdk-update-manager/tools",
"/opt/android-sdk-update-manager/platform-tools", "/usr/games/bin",
"/home/cova/bin", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec",
"/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin",
"/opt/mysql/sbin") 
QSqlDatabasePrivate::removeDatabase: connection 'initConnection' is still in
use, all queries will cease to work.
kdeinit4: Shutting down running client.
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kbuildsycoca4 running...
X Error: BadAccess (attempt to access private resource denied) 10
  Major opcode: 33 (X_GrabKey)
  Resource id:  0xb4
X Error: BadAccess (attempt to access private resource denied) 10
  Major opcode: 33 (X_GrabKey)
  Resource id:  0xb4
X Error: BadAccess (attempt to access private resource denied) 10
  Major opcode: 33 (X_GrabKey)
  Resource id:  0xb4
QDBusConnection: name 'org.kde.kwalletd' had owner '' but we thought it was
':1.11'
kwalletd(29439)/kdeui (Wallet) KWalletD::setupDialog: Application ' "KMail" '
using kwallet without parent window! 
QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was
':1.9'
Module  "resources" is registered 
"/org/freedesktop/UDisks2/drives/MTFDDAK256MAM_1K12_124203513FF1" : property
"Drive" does not exist 
"/org/freedesktop/UDisks2/drives/MTFDDAK256MAM_1K12_124203513FF1" : property
"DeviceNumber" does not exist 
"/org/freedesktop/UDisks2/drives/MTFDDAK256MAM_1K12_124203513FF1" : property
"Device" does not exist 
kded(29408)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
Module  "activities" is registered 
Module  "features" is registered 
This is the current thread id for Activities 140477584246528 QThread(0xa135e0) 
These are the disabled plugins: ("activitymanager_plugin_dummy",
"activitymanager_plugin_nepomuk") 
Initializing plugin: "activitymanager_plugin_globalshortcuts" 
This is the current thread id for Activities 140477898913664 QThread(0x8a3120) 
Initializing plugin: "activitymanager_plugin_slc" 
Initializing plugin: "activitymanager_plugin_virtualdesktopswitch" 
VirtualDesktopSwitch::init 
Module  "org.kde.ActivityManager.VirtualDesktopSwitch" is registered 
Initializing plugin: "activitymanager_plugin_activityranking" 
running in thread ActivityRanking 
Initializing plugin: "activitymanager_plugin_sqlite" 
Module  "org.kde.ActivityManager.Resources.Scoring" is registered 
Nepomuk Query Server not available
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
search paths:  ("/opt/android-sdk-update-manager/platform-tools/",
"/usr/local/bin", "/usr/bin", "/bin", "/opt/bin",
"/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.2",
"/opt/android-sdk-update-manager/tools",
"/opt/android-sdk-update-manager/platform-tools", "/usr/games/bin",
"/home/cova/bin") 
search paths:  ("/usr/lib64/kde4/plugins",
"/home/cova/.kde4/lib64/kde4/plugins/", "/usr/lib64/kde4/plugins/",
"/usr/lib64/qt4/plugins", "/usr/bin", "/home/cova/.kde4/lib64/kde4/",
"/usr/lib64/kde4/") 
search paths:  ("/usr/lib64/kde4/plugins",
"/home/cova/.kde4/lib64/kde4/plugins/", "/usr/lib64/kde4/plugins/",
"/usr/lib64/qt4/plugins", "/usr/bin", "/home/cova/.kde4/lib64/kde4/",
"/usr/lib64/kde4/") 
search paths:  ("/usr/lib64/kde4/plugins",
"/home/cova/.kde4/lib64/kde4/plugins/", "/usr/lib64/kde4/plugins/",
"/usr/lib64/qt4/plugins", "/usr/bin", "/home/cova/.kde4/lib64/kde4/",
"/usr/lib64/kde4/") 
search paths:  ("/usr/lib64/kde4/plugins",
"/home/cova/.kde4/lib64/kde4/plugins/", "/usr/lib64/kde4/plugins/",
"/usr/lib64/qt4/plugins", "/usr/bin", "/home/cova/.kde4/lib64/kde4/",
"/usr/lib64/kde4/") 
search paths:  ("/usr/lib64/kde4/plugins",
"/home/cova/.kde4/lib64/kde4/plugins/", "/usr/lib64/kde4/plugins/",
"/usr/lib64/qt4/plugins", "/usr/bin", "/home/cova/.kde4/lib64/kde4/",
"/usr/lib64/kde4/") 
kio_ldap(29541)/kio (kioslave) KIO::KPasswdServer::checkAuthInfo: kioslave is
not a QCoreApplication! 
kio_ldap(29541)/kio (kioslave) KIO::KPasswdServer::legacyCheckAuthInfo:
Querying old kded_kpasswdserver. 
kio_ldap(29541)/kio (kioslave) KIO::SlaveBase::finished: finished() called
after error()! Please fix the KIO slave. 
akonadi_kabc_resource_3(29485): Loading error:  "Impossibile connettersi
all'host ldaps://XXXX
Informazioni aggiuntive: error:14090086:SSL
routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed (unable to get
local issuer certificate)." 
klauncher: Exiting on signal 15

and kmail is eating 100% cpu without doing nothing, not even appearing on
screen.

maybe it is not related, but even launching akonadiconsole from console yelds
no results.

it makes no difference having nepomuk active or turned off.








Reproducible: Always




cova at calvin ~ $ gcc --version
gcc (Gentoo 4.7.2-r1 p1.5, pie-0.5.5) 4.7.2

CFLAGS="-march=native -mtune=native -O2 -pipe "
CXXFLAGS="${CFLAGS}"

calvin ~ # ldd --version
ldd (Gentoo 2.17 p4) 2.17

Linux 3.8.6 X86_64

QT 4.8.4

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list