Bug 130383 - when clicking "Open Contact in Address book" on a message, kmail crashes
Summary: when clicking "Open Contact in Address book" on a message, kmail crashes
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.9.1
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 134728 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-07 01:37 UTC by Matej Cepl
Modified: 2007-09-14 12:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
backtrace (11.79 KB, text/plain)
2006-07-07 01:38 UTC, Matej Cepl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matej Cepl 2006-07-07 01:37:59 UTC
Version:           1.9.1 (using KDE 3.5.3, Debian Package 4:3.5.3-1 (testing/unstable))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.17.3.chelcicky.2

not much to add to it -- just when clicking on right-button-menu over the address in email which is supposed to open contact in the address book kmail crashes.
Comment 1 Matej Cepl 2006-07-07 01:38:52 UTC
Created attachment 16914 [details]
backtrace
Comment 2 Philip Rodrigues 2006-09-20 10:55:51 UTC
Please paste the first 20 or so calls from the backtrace, as it allows the "search for similar crashes" link to work, and makes it easier for developers to see the problem. Thanks!

#6  0xb7598e55 in QString::setLength () from /usr/lib/libqt-mt.so.3
#7  0xb75991a8 in QString::grow () from /usr/lib/libqt-mt.so.3
#8  0xb7599206 in QString::operator+= () from /usr/lib/libqt-mt.so.3
#9  0xb6e6cd9c in KConfigBase::readListEntry (this=0x80c4660, 
    pKey=0xb6f5a315 "Language", sep=58 ':')
    at /build/buildd/kdelibs-3.5.3/./kdecore/kconfigbase.cpp:510
#10 0xb6e65273 in KLocale::initLanguageList (this=0x89daf10, 
    config=0x80c4660, useEnv=true)
    at /build/buildd/kdelibs-3.5.3/./kdecore/klocale.cpp:152
#11 0xb6e65da9 in KLocale (this=0x89daf10, catalog=@0xbfe3a258, config=0x0)
    at /build/buildd/kdelibs-3.5.3/./kdecore/klocale.cpp:101
#12 0xb6e65f9b in KLocale::initInstance ()
    at /build/buildd/kdelibs-3.5.3/./kdecore/klocale.cpp:1995
#13 0xb6e6603d in KGlobal::locale ()
    at /build/buildd/kdelibs-3.5.3/./kdecore/kglobal.cpp:96
#14 0xb688010e in KDoubleSpinBox::mapValueToText (this=0x9191150, 
    value=-90000000) at /build/buildd/kdelibs-3.5.3/./kdeui/knuminput.cpp:1129
#15 0xb73bae1e in QSpinBox::sizeHint () from /usr/lib/libqt-mt.so.3
#16 0xb720a3b5 in QWidgetItem::sizeHint () from /usr/lib/libqt-mt.so.3
#17 0xb72601ad in QGridBox::sizeHint () from /usr/lib/libqt-mt.so.3
#18 0xb725918d in QGridLayoutData::addData () from /usr/lib/libqt-mt.so.3
#19 0xb725ca1d in QGridLayoutData::setupLayoutData ()
   from /usr/lib/libqt-mt.so.3
#20 0xb725d584 in QGridLayoutData::findSize () from /usr/lib/libqt-mt.so.3
#21 0xb725d9be in QGridLayoutData::sizeHint () from /usr/lib/libqt-mt.so.3
Comment 3 Philip Rodrigues 2006-09-20 11:43:40 UTC
Odd, I could reproduce this the first few times I tried, with kmail running in kontact, but can't now. Maybe it depends on some config file entry (not) being available?
Comment 4 Thiago Macieira 2006-09-20 11:50:39 UTC
From the looks of the backtrace, it looks like kontactrc is corrupt. Can you check if it looks sane?
Comment 5 Philip Rodrigues 2006-09-27 11:59:31 UTC
*** Bug 134728 has been marked as a duplicate of this bug. ***
Comment 6 Allen Winter 2006-09-28 02:14:50 UTC
SVN commit 589345 by winterz:

No longer crash if "Open in Addressbook" menu item is selected.
I found some BRs associated with this crash under the KMail product,
but there might be some under KNode too (I was too lazy too look).

The i18n string is re-used from other parts of KMail so it is not new.
Notice I'd like a better message once another string unfreeze happens.

Also note that a better solution is to disable this menu item if
we can precompute that the email address under the mouse is not
in the addressbook.  Perhaps for KDE4.