https://bugs.kde.org/show_bug.cgi?id=389339
Bug ID: 389339
Summary: Kontact crashes when creating a new contact
Product: kontact
Version: 5.7.0
Platform: Fedora RPMs
OS: Linux
Status: UNCONFIRMED
Keywords: drkonqi
Severity: crash
Priority: NOR
Component: general
Assignee: kdepim-b...@kde.org
Reporter: wohn...@gmx.de
Target Milestone: ---
Application: kontact (5.7.0)
Qt Version: 5.9.2
Frameworks Version: 5.42.0
Operating System: Linux 4.14.13-300.fc27.x86_64 x86_64
Distribution (Platform): Fedora RPMs
-- Information about the crash:
- What I was doing when the application crashed:
Creation of a new contact in kontact, when pressing the "OK" button
Crashes indepentently of the address book chosen: Default "Persönliche
Kontakte" (= Personal contacts?) or CardDAV
- Unusual behavior I noticed:
The tab "Ort" (= Location) of the window "Neuer Kontakt" (=New contact) shows
the error message
"Fehlende Module. Bitte überprüfen Sie Ihre Installation"
(=Missing module, please check your installation)
Trying to find missing modules:
root@machine ubuntiger]# kontact --list
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
"KConfigIni: In file
/usr/share/applications/fedora-release-notes.webapp.desktop, line 7: " "Invalid
escape sequence \"\\\"\"."
"KConfigIni: In file
/usr/share/applications/fedora-release-notes.webapp.desktop, line 7: " "Invalid
escape sequence \"\\$\"."
"KConfigIni: In file
/usr/share/applications/fedora-release-notes.webapp.desktop, line 7: " "Invalid
escape sequence \"\\\"\"."
"KConfigIni: In file
/usr/share/applications/fedora-release-notes.webapp.desktop, line 7: " "Invalid
escape sequence \"\\$\"."
"KConfigIni: In file
/usr/share/applications/fedora-release-notes.webapp.desktop, line 7: " "Invalid
escape sequence \"\\$\"."
"KConfigIni: In file
/usr/share/applications/fedora-release-notes.webapp.desktop, line 7: " "Invalid
escape sequence \"\\$\"."
"KConfigIni: In file
/usr/share/applications/fedora-release-notes.webapp.desktop, line 7: " "Invalid
escape sequence \"\\$\"."
"KConfigIni: In file
/usr/share/applications/fedora-release-notes.webapp.desktop, line 7: " "Invalid
escape sequence \"\\$\"."
lib name korganizerplugin
lib name kmailplugin
lib name kaddressbookplugin
lib name akregatorplugin
lib name journalplugin
lib name todoplugin
lib name summaryplugin
Changing line 7 of /usr/share/applications/fedora-release-notes.webapp.desktop
from
Original:
Exec=sh -c
"PROFILEDIR=\"\$HOME/.config/epiphany/fedora-release-notes\";DOC="/usr/share/doc/fedora-release-notes/index.html";
[ -d \$PROFILEDIR ] || mkdir \$PROFILEDIR;epiphany --application-mode
--profile=\$PROFILEDIR \$DOC || xdg-open \$DOC "
to New:
Exec=sh -c
"PROFILEDIR=$HOME"/.config/epiphany/fedora-release-notes";DOC="/usr/share/doc/fedora-release-notes/index.html";
[ -d $PROFILEDIR ] || mkdir $PROFILEDIR;epiphany --application-mode
--profile=$PROFILEDIR $DOC || xdg-open $DOC
seems to be formally correct. But I do NOT understand that line, so I do NOT
know if this is also technically correct.
And I have no idea if this is related to the problem or if it is another topic.
At least it looks better:
[root@machine ubuntiger]# kontact --list
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
lib name journalplugin
lib name akregatorplugin
lib name todoplugin
lib name kaddressbookplugin
lib name kmailplugin
lib name korganizerplugin
lib name summaryplugin
System is original Fedora 27 with all updates (dnf update) available as of
today.
The crash can be reproduced every time.
-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe78ae04900 (LWP 7123))]
Thread 29 (Thread 0x7fe61eac0700 (LWP 7295)):
#0 0x7fe78441836b in poll () at /lib64/libc.so.6
#1 0x7fe774569ed9 in g_main_context_iterate.isra () at
/lib64/libglib-2.0.so.0
#2 0x7fe774569fec in g_main_context_iteration () at
/lib64/libglib-2.0.so.0
#3 0x7fe78528335b in
QEventDispatcherGlib::processEvents(QFlags) ()
at /lib64/libQt5Core.so.5
#4 0x7fe7852310ea in
QEventLoop::exec(QFlags) () at
/lib64/libQt5Core.so.5
#5 0x7fe7850828ba in QThread::exec() () at /lib64/libQt5Core.so.5
#6 0x7fe785086b92