Bug 180573

Summary: kmail crash Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7f3650cfc750 (LWP 16030)]
Product: [Unmaintained] kmail Reporter: FernandoMiguel <kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: fenris, n.pinhao
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description FernandoMiguel 2009-01-13 19:13:30 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Posted at LP: https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/316837



Binary package hint: kdepim

$ kmail --nofork
kmail(15665): The kwalletd service has been disabled
kmail(15665): The kwalletd service has been disabled
kmail(15665): The kwalletd service has been disabled
kmail(15665): The kwalletd service has been disabled
kmail(15665): The kwalletd service has been disabled
kmail(15665): The kwalletd service has been disabled
kmail(15665): The kwalletd service has been disabled
kmail(15665): The kwalletd service has been disabled
"/usr/bin/kmail(15665)" Error in thread 140598895826768 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/kmail(15665)" Error in thread 140598895826768 : "QLocalSocket::connectToServer: Invalid name"
kmail(15665) <unnamed>::GlobalModelContainer::init: Failed to connect to Nepomuk server via local socket "/home/bugabundo/.kde/share/apps/nepomuk/socket"
kmail(15665) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_hspell.desktop"
kmail(15665) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_enchant.desktop"
*** KMail got signal 11 (Crashing)
KCrash: Application 'kmail' crashing...
Segmentation fault (core dumped)

$ gdb --args kmail --nofork
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(gdb) run
Starting program: /usr/bin/kmail --nofork
[Thread debugging using libthread_db enabled]
[New Thread 0x7f3650cfc750 (LWP 16030)]
kmail(16030): The kwalletd service has been disabled
kmail(16030): The kwalletd service has been disabled
kmail(16030): The kwalletd service has been disabled
kmail(16030): The kwalletd service has been disabled
kmail(16030): The kwalletd service has been disabled
kmail(16030): The kwalletd service has been disabled
kmail(16030): The kwalletd service has been disabled
kmail(16030): The kwalletd service has been disabled
"/usr/bin/kmail(16030)" Error in thread 139871260755792 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
"/usr/bin/kmail(16030)" Error in thread 139871260755792 : "QLocalSocket::connectToServer: Invalid name"
kmail(16030) <unnamed>::GlobalModelContainer::init: Failed to connect to Nepomuk server via local socket "/home/bugabundo/.kde/share/apps/nepomuk/socket"
kmail(16030) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_hspell.desktop"
kmail(16030) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_enchant.desktop"

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f3650cfc750 (LWP 16030)]
0x00007f36482f367b in QObject::setProperty () from /usr/lib/libQtCore.so.4
(gdb) bt full
#0 0x00007f36482f367b in QObject::setProperty () from /usr/lib/libQtCore.so.4
No symbol table info available.
#1 0x00007f3650662362 in KAction::setShortcut () from /usr/lib/libkdeui.so.5
No symbol table info available.
#2 0x00007f364f89f3e0 in KMReaderWin::createWidgets (this=0x1b13c60)
    at /build/buildd/kdepim-4.1.85/kmail/kmreaderwin.cpp:452
 vlay = <value optimized out>
#3 0x00007f364f8b0d5e in KMReaderWin (this=0x1b13c60, aParent=<value optimized out>, mainWindow=<value optimized out>,
    actionCollection=0x18ba8a0, aFlags=<value optimized out>) at /build/buildd/kdepim-4.1.85/kmail/kmreaderwin.cpp:511
No locals.
#4 0x00007f364fa8f60e in KMMainWidget::createWidgets (this=0x1ada220)
    at /build/buildd/kdepim-4.1.85/kmail/kmmainwidget.cpp:748
 vboxlayout = <value optimized out>
#5 0x00007f364faa6519 in KMMainWidget (this=0x1ada220, parent=<value optimized out>, aGUIClient=0x1ad9e60,
    actionCollection=<value optimized out>, config=0xfe1940) at /build/buildd/kdepim-4.1.85/kmail/kmmainwidget.cpp:231
 sb = <value optimized out>
#6 0x00007f364f7d1e86 in KMMainWin (this=0x1ad9e00) at /build/buildd/kdepim-4.1.85/kmail/kmmainwin.cpp:41
 action = <value optimized out>
#7 0x00007f364f9c3c17 in KMKernel::openReader (this=0x7fff58d4cc10, onlyCheck=false)
    at /build/buildd/kdepim-4.1.85/kmail/kmkernel.cpp:373
 ktmw = (struct KMainWindow *) 0x7fff58d4cc10
 __PRETTY_FUNCTION__ = "void KMKernel::openReader(bool)"
#8 0x00007f364f9c3e98 in KMKernel::action (this=0x7fff58d4cc10, mailto=<value optimized out>, check=153,
    to=@0x7fff58d4c0c0, cc=@0x7fff58d4c0b0, bcc=@0x7fff58d4c0a0, subj=@0x7fff58d4c090, body=@0x7fff58d4c080,
    messageFile=@0x7fff58d4be10, attachURLs=@0x7fff58d4c060, customHeaders=@0x7fff58d4c070)
    at /build/buildd/kdepim-4.1.85/kmail/kmkernel.cpp:1826
No locals.
#9 0x00007f364f9c53c8 in KMKernel::handleCommandLine (this=0x7fff58d4cc10, noArgsOpensReader=true)
    at /build/buildd/kdepim-4.1.85/kmail/kmkernel.cpp:319
---Type <return> to continue, or q <return> to quit---
 to = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 7141}, alloc = 0, size = 0,
    data = 0x7f36485c92da, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {
      0}}, static shared_empty = {ref = {_q_value = 1068}, alloc = 0, size = 0, data = 0x7f36485c92fa, clean = 0,
    simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7f36485c92c0,
  static codecForCStrings = 0x0}
 cc = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 7141}, alloc = 0, size = 0,
    data = 0x7f36485c92da, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {
      0}}, static shared_empty = {ref = {_q_value = 1068}, alloc = 0, size = 0, data = 0x7f36485c92fa, clean = 0,
    simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7f36485c92c0,
  static codecForCStrings = 0x0}
 bcc = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 7141}, alloc = 0, size = 0,
    data = 0x7f36485c92da, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {
      0}}, static shared_empty = {ref = {_q_value = 1068}, alloc = 0, size = 0, data = 0x7f36485c92fa, clean = 0,
    simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7f36485c92c0,
  static codecForCStrings = 0x0}
 subj = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 7141}, alloc = 0, size = 0,
    data = 0x7f36485c92da, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {
      0}}, static shared_empty = {ref = {_q_value = 1068}, alloc = 0, size = 0, data = 0x7f36485c92fa, clean = 0,
    simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7f36485c92c0,
  static codecForCStrings = 0x0}
 body = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 7141}, alloc = 0, size = 0,
    data = 0x7f36485c92da, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {
      0}}, static shared_empty = {ref = {_q_value = 1068}, alloc = 0, size = 0, data = 0x7f36485c92fa, clean = 0,
    simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7f36485c92c0,
  static codecForCStrings = 0x0}
 customHeaders = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 14462}, alloc = 0, begin = 0,
          end = 0, sharable = 1, array = {0x0}}, d = 0x7f36485c9220}, d = 0x7f36485c9220}}, <No data fields>}
 messageFile = {<QUrl> = {d = 0x1ad8ae0}, d = 0x0}
 attachURLs = {<QList<KUrl>> = {{p = {static shared_null = {ref = {_q_value = 14462}, alloc = 0, begin = 0, end = 0,
---Type <return> to continue, or q <return> to quit---
          sharable = 1, array = {0x0}}, d = 0x7f36485c9220}, d = 0x7f36485c9220}}, <No data fields>}
 mailto = 153
 checkMail = 96
 viewOnly = false
 calledWithSession = false
 args = (KCmdLineArgs *) 0xfd84a0
 attachList = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 14462}, alloc = 0, begin = 0,
          end = 0, sharable = 1, array = {0x0}}, d = 0x7f36485c9220}, d = 0x7f36485c9220}}, <No data fields>}
#10 0x0000000000403a24 in KMailApplication::newInstance (this=0x7fff58d4cd60)
    at /build/buildd/kdepim-4.1.85/kmail/main.cpp:84
 __PRETTY_FUNCTION__ = "virtual int KMailApplication::newInstance()"
#11 0x00007f3650740aa9 in KUniqueApplication::Private::_k_newInstanceNoFork () from /usr/lib/libkdeui.so.5
No symbol table info available.
#12 0x00007f3650740b1d in KUniqueApplication::qt_metacall () from /usr/lib/libkdeui.so.5
No symbol table info available.
#13 0x00007f36482f6154 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
No symbol table info available.
#14 0x00007f36482fc3bf in ?? () from /usr/lib/libQtCore.so.4
No symbol table info available.
#15 0x00007f36482f0a63 in QObject::event () from /usr/lib/libQtCore.so.4
No symbol table info available.
#16 0x00007f3648a05bfd in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
No symbol table info available.
#17 0x00007f3648a0d9ba in QApplication::notify () from /usr/lib/libQtGui.so.4
No symbol table info available.
#18 0x00007f365073933b in KApplication::notify () from /usr/lib/libkdeui.so.5
No symbol table info available.
#19 0x00007f36482e1d81 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#20 0x00007f364830dac6 in ?? () from /usr/lib/libQtCore.so.4
No symbol table info available.
#21 0x00007f364830a22d in ?? () from /usr/lib/libQtCore.so.4
No symbol table info available.
#22 0x00007f36420071db in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#23 0x00007f364200a99d in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#24 0x00007f364200ab5b in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#25 0x00007f364830a18f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
No symbol table info available.
#26 0x00007f3648a97adf in ?? () from /usr/lib/libQtGui.so.4
No symbol table info available.
#27 0x00007f36482e06a2 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
No symbol table info available.
#28 0x00007f36482e082d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
No symbol table info available.
#29 0x00007f36482e2cdd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
No symbol table info available.
#30 0x000000000040324b in main (argc=<value optimized out>, argv=<value optimized out>)
    at /build/buildd/kdepim-4.1.85/kmail/main.cpp:146
 about = {<KAboutData> = {d = 0xfc01c0}, <No data fields>}
 app = {<KPIM::PimApplication> = {<> = {<No data fields>}, <No data fields>}, mDelayedInstanceCreation = false,
  mEventLoopReached = true}
 kmailKernel = {<> = {<No data fields>}, static staticMetaObject = {d = {superdata = 0x7f36485be260,
      stringdata = 0x7f364fd60140 "KMKernel", data = 0x7f364fd610a0, extradata = 0x0}}, the_inboxFolder = 0x14d4dc0,
  the_outboxFolder = 0x14c9450, the_sentFolder = 0x14cacc0, the_trashFolder = 0x10347a0, the_draftsFolder = 0x1025c90,
  the_templatesFolder = 0x14e0460, the_folderMgr = 0x1026ff0, the_imapFolderMgr = 0x1567dc0, the_dimapFolderMgr = 0x1886940,
---Type <return> to continue, or q <return> to quit---
  the_searchFolderMgr = 0x10285a0, the_undoStack = 0x1021200, the_acctMgr = 0x1026dc0, the_filterMgr = 0x1abe7a0,
  the_popFilterMgr = 0x1999b70, the_filterActionDict = 0x195e2d0, mIdentityManager = 0x1027a30, the_msgSender = 0x1ac7040,
  the_msgTagMgr = 0x101a9b0, mPutJobs = {{d = 0x7f36485c9240, e = 0x7f36485c9240}}, the_previousVersion = {
    static null = {<No data fields>}, static shared_null = {ref = {_q_value = 7141}, alloc = 0, size = 0,
      data = 0x7f36485c92da, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0,
      array = {0}}, static shared_empty = {ref = {_q_value = 1068}, alloc = 0, size = 0, data = 0x7f36485c92fa, clean = 0,
      simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x1021810,
    static codecForCStrings = 0x0}, the_firstStart = false, the_startingUp = false, the_shuttingDown = false,
  the_server_is_ready = true, closed_by_user = true, the_firstInstance = true, mMailCheckAborted = false, mConfig = {
    d = 0xfe1940}, netCodec = 0xfca5e0, mXmlGuiInstance = <incomplete type>, mConfigureDialog = 0x0,
  mBackgroundTasksTimer = 0x12897e0, mICalIface = 0x1419da0, mJobScheduler = 0x141c270, mWin = 0x0,
  mMailService = 0x1ac8e80, mTimeOfLastMessageCountChange = 1490341520, mContextMenuShown = false, systemTrayApplets = {{
      p = {static shared_null = {ref = {_q_value = 14462}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}},
        d = 0x7f36485c9220}, d = 0x7f36485c9220}}, the_weaver = 0x1ac73c0, mWallet = 0x0,
  mAddMessageMsgIds = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 14462}, alloc = 0, begin = 0,
            end = 0, sharable = 1, array = {0x0}}, d = 0x7f36485c9220}, d = 0x7f36485c9220}}, <No data fields>},
  mAddMessageLastFolder = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 7141}, alloc = 0,
      size = 0, data = 0x7f36485c92da, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
      reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1068}, alloc = 0, size = 0,
      data = 0x7f36485c92fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0,
      array = {0}}, d = 0x7f36485c92c0, static codecForCStrings = 0x0}, mAddMsgCurrentFolder = 0x7f364776ba00,
  folderAdaptor = 0x0}
 ret = <value optimized out>

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: kmail 4:4.1.85-0ubuntu1
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_US.UTF-8
SourcePackage: kdepim
Uname: Linux 2.6.28-4-generic x86_64


$ apt-cache policy kdepim
kdepim:
  Installed: (none)
  Candidate: 4:4.1.85-0ubuntu1
  Version table:
     4:4.1.85-0ubuntu1 0
        500 ftp://darkstar.ist.utl.pt jaunty/main Packages
        500 ftp://archive.ubuntu.com jaunty/main Packages
$ apt-cache policy kmail
kmail:
  Installed: 4:4.1.85-0ubuntu1
  Candidate: 4:4.1.85-0ubuntu1
  Version table:
 *** 4:4.1.85-0ubuntu1 0
        500 ftp://darkstar.ist.utl.pt jaunty/main Packages
        500 ftp://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status
Comment 1 Thomas McGuire 2009-01-14 17:49:11 UTC
*** Bug 180635 has been marked as a duplicate of this bug. ***
Comment 2 Thomas McGuire 2009-01-14 17:49:12 UTC
*** Bug 180611 has been marked as a duplicate of this bug. ***
Comment 3 Thomas McGuire 2009-01-14 17:51:08 UTC
This should bee fixed with http://websvn.kde.org/?view=rev&revision=905260 and http://websvn.kde.org/?view=rev&revision=905273.