FS#58067 - Krita: No file found for ".xml" , even though update-mime-info said it would exist.

Attached to Project: Community Packages
Opened by Milan (verymilan) - Sunday, 01 April 2018, 19:47 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 01 April 2018, 20:20 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Hi, i can't use Krita nomore,
it crashes as soon as i request a save/export dialog (gdb below).

Krita Version: 4.0.0-3
DE: GNOME (gnome-shell 3.28.0-1)

Application Error:
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/home/milan/.local/share/mime", "/usr/share/mime")

I tried to do a workaround i read somewhere with the packages kimageformats and qt5-imageformats without success.

l /usr/share/mime
insgesamt 320
-rw-r--r-- 1 root root 10419 25. Mär 21:06 aliases
drwxr-xr-x 1 root root 18010 25. Mär 21:06 application
drwxr-xr-x 1 root root 1230 25. Mär 21:06 audio
drwxr-xr-x 1 root root 72 25. Mär 21:06 font
-rw-r--r-- 1 root root 17307 25. Mär 21:06 generic-icons
-rw-r--r-- 1 root root 31398 25. Mär 21:06 globs
-rw-r--r-- 1 root root 34861 25. Mär 21:06 globs2
-rw-r--r-- 1 root root 0 25. Mär 21:06 icons
drwxr-xr-x 1 root root 2458 25. Mär 21:06 image
drwxr-xr-x 1 root root 172 25. Mär 21:06 inode
-rw-r--r-- 1 root root 28649 25. Mär 21:06 magic
drwxr-xr-x 1 root root 216 25. Mär 21:06 message
-rw-r--r-- 1 root root 142024 25. Mär 21:06 mime.cache
drwxr-xr-x 1 root root 94 25. Mär 21:06 model
drwxr-xr-x 1 root root 224 25. Mär 21:06 multipart
drwxr-xr-x 1 root root 252 25. Mär 21:06 packages
-rw-r--r-- 1 root root 17252 25. Mär 21:06 subclasses
drwxr-xr-x 1 root root 3076 25. Mär 21:06 text
-rw-r--r-- 1 root root 964 25. Mär 21:06 treemagic
-rw-r--r-- 1 root root 18904 25. Mär 21:06 types
-rw-r--r-- 1 root root 4 25. Mär 21:06 version
drwxr-xr-x 1 root root 666 25. Mär 21:06 video
drwxr-xr-x 1 root root 522 25. Mär 21:06 x-content
drwxr-xr-x 1 root root 28 25. Mär 21:06 x-epoc
-rw-r--r-- 1 root root 1773 25. Mär 21:06 XMLnamespaces

l ~/.local/share/mime
insgesamt 32
-rw-r--r-- 1 milan users 0 8. Aug 2017 aliases
drwxr-xr-x 1 milan users 262 8. Aug 2017 application
-rw-r--r-- 1 milan users 0 8. Aug 2017 generic-icons
-rw-r--r-- 1 milan users 516 8. Aug 2017 globs
-rw-r--r-- 1 milan users 563 8. Aug 2017 globs2
-rw-r--r-- 1 milan users 45 8. Aug 2017 icons
-rw-r--r-- 1 milan users 12 8. Aug 2017 magic
-rw-r--r-- 1 milan users 1224 8. Aug 2017 mime.cache
drwx------ 1 milan users 326 8. Aug 2017 packages
-rw-r--r-- 1 milan users 0 8. Aug 2017 subclasses
-rw-r--r-- 1 milan users 16 8. Aug 2017 treemagic
-rw-r--r-- 1 milan users 205 8. Aug 2017 types
-rw-r--r-- 1 milan users 4 8. Aug 2017 version
drwxr-xr-x 1 milan users 16 8. Aug 2017 video
-rw-r--r-- 1 milan users 0 8. Aug 2017 XMLnamespaces

yaourt xml|grep installed :(
1 core/expat 2.2.5-1 [installed]
3 extra/docbook-xml 4.5-6 [installed]
4 extra/docbook-xsl 1.79.2-4 [installed]
6 extra/foomatic-db-engine 4:4.0.13-1 [installed]
10 extra/kxmlgui 5.44.0-1 (kf5) [installed]
13 extra/libplist 2.0.0+11+gec9ba8b-1 [installed]
18 extra/libxml2 2.9.8-2 [installed]
19 extra/libxslt 1.1.32+3+g32c88216-1 [installed]
21 extra/perl-xml-libxml 2.0132-1 [installed]
22 extra/perl-xml-namespacesupport 1.12-2 [installed]
24 extra/perl-xml-sax 1.00-1 [installed]
25 extra/perl-xml-sax-base 1.09-2 [installed]
30 extra/python-lxml 4.1.1-1 [installed]
34 extra/python2-lxml 4.1.1-1 [installed]
37 extra/qt5-xmlpatterns 5.10.1-1 (qt qt5) [installed]
38 extra/raptor 2.0.15-8 [installed]
42 extra/xcb-proto 1.13-1 [installed]
73 community/lua52-expat 1.3.0-3 [installed]
90 community/pugixml 1.8-1 [installed]
113 community/tinyxml 2.6.2-6 [installed]

gdb output:
Thread 14 (Thread 0x7f0e11a37700 (LWP 5355)):
#0 0x00007f0e64af397b in poll () at /usr/lib/libc.so.6
#1 0x00007f0e5cb04613 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f0e5cb0472e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 0x00007f0e65659241 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4 0x00007f0e655fb32b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5 0x00007f0e6540a72e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6 0x00007f0e274c8379 in () at /usr/lib/libQt5Qml.so.5
#7 0x00007f0e6540facd in () at /usr/lib/libQt5Core.so.5
#8 0x00007f0e5e6bf08c in start_thread () at /usr/lib/libpthread.so.0
#9 0x00007f0e64afde7f in clone () at /usr/lib/libc.so.6

Thread 13 (Thread 0x7f0e0bfff700 (LWP 5356)):
#0 0x00007f0e64af397b in poll () at /usr/lib/libc.so.6
#1 0x00007f0e5cb04613 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f0e5cb0472e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 0x00007f0e65659241 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4 0x00007f0e655fb32b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5 0x00007f0e6540a72e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6 0x00007f0e26c6850b in () at /usr/lib/libQt5Quick.so.5
#7 0x00007f0e6540facd in () at /usr/lib/libQt5Core.so.5
#8 0x00007f0e5e6bf08c in start_thread () at /usr/lib/libpthread.so.0
#9 0x00007f0e64afde7f in clone () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7f0e0978c700 (LWP 5401)):
#0 0x00007f0e5e6c53bd in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f0e65410fac in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2 0x00007f0e665a2546 in () at /usr/lib/libQt5Widgets.so.5
#3 0x00007f0e6540facd in () at /usr/lib/libQt5Core.so.5
#4 0x00007f0e5e6bf08c in start_thread () at /usr/lib/libpthread.so.0
#5 0x00007f0e64afde7f in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7f0e4742e700 (LWP 5343)):
#0 0x00007f0e64af397b in poll () at /usr/lib/libc.so.6
#1 0x00007f0e5cb04613 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f0e5cb049d2 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3 0x00007f0e4a18fb78 in () at /usr/lib/libgio-2.0.so.0
#4 0x00007f0e5cb2ccea in () at /usr/lib/libglib-2.0.so.0
#5 0x00007f0e5e6bf08c in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f0e64afde7f in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7f0e08f8b700 (LWP 5402)):
#0 0x00007f0e64af397b in poll () at /usr/lib/libc.so.6
#1 0x00007f0e5cb04613 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f0e5cb0472e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 0x00007f0e09e8bf4e in () at /usr/lib/gio/modules/libdconfsettings.so
#4 0x00007f0e5cb2ccea in () at /usr/lib/libglib-2.0.so.0
#5 0x00007f0e5e6bf08c in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f0e64afde7f in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7f0e26226700 (LWP 5354)):
#0 0x00007f0e5e6c53bd in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f0e65410fac in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2 0x00007f0e65409269 in QSemaphore::tryAcquire(int, int) () at /usr/lib/libQt5Core.so.5
#3 0x00007f0e6265e7ed in KisTileDataSwapper::run() () at /usr/lib/libkritaimage.so.16
#4 0x00007f0e6540facd in () at /usr/lib/libQt5Core.so.5
#5 0x00007f0e5e6bf08c in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f0e64afde7f in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7f0df57fd700 (LWP 5399)):
#0 0x00007f0e64af8879 in syscall () at /usr/lib/libc.so.6
#1 0x00007f0e5cb4b7ed in g_cond_wait_until () at /usr/lib/libglib-2.0.so.0
#2 0x00007f0e5cad6953 in () at /usr/lib/libglib-2.0.so.0
#3 0x00007f0e5cb2d6f6 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f0e5cb2ccea in () at /usr/lib/libglib-2.0.so.0
#5 0x00007f0e5e6bf08c in start_thread () at /usr/lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#6 0x00007f0e64afde7f in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f0df4ffc700 (LWP 5398)):
#0 0x00007f0e64af8879 in syscall () at /usr/lib/libc.so.6
#1 0x00007f0e5cb4b7ed in g_cond_wait_until () at /usr/lib/libglib-2.0.so.0
#2 0x00007f0e5cad6953 in () at /usr/lib/libglib-2.0.so.0
#3 0x00007f0e5cb2d6f6 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f0e5cb2ccea in () at /usr/lib/libglib-2.0.so.0
#5 0x00007f0e5e6bf08c in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f0e64afde7f in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f0e26a27700 (LWP 5353)):
#0 0x00007f0e5e6c53bd in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f0e65410fac in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2 0x00007f0e65408ffc in QSemaphore::acquire(int) () at /usr/lib/libQt5Core.so.5
#3 0x00007f0e626422fb in () at /usr/lib/libkritaimage.so.16
#4 0x00007f0e62642b7d in () at /usr/lib/libkritaimage.so.16
#5 0x00007f0e6540facd in () at /usr/lib/libQt5Core.so.5
#6 0x00007f0e5e6bf08c in start_thread () at /usr/lib/libpthread.so.0
#7 0x00007f0e64afde7f in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f0e47c2f700 (LWP 5342)):
#0 0x00007f0e64af397b in poll () at /usr/lib/libc.so.6
#1 0x00007f0e5cb04613 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f0e5cb0472e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 0x00007f0e5cb04782 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f0e5cb2ccea in () at /usr/lib/libglib-2.0.so.0
#5 0x00007f0e5e6bf08c in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f0e64afde7f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f0e51f07700 (LWP 5341)):
#0 0x00007f0e64af397b in poll () at /usr/lib/libc.so.6
#1 0x00007f0e62dcc180 in () at /usr/lib/libxcb.so.1
#2 0x00007f0e62dcde4b in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3 0x00007f0e548a582a in () at /usr/lib/libQt5XcbQpa.so.5
#4 0x00007f0e6540facd in () at /usr/lib/libQt5Core.so.5
#5 0x00007f0e5e6bf08c in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f0e64afde7f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f0e45ce7700 (LWP 5344)):
#0 0x00007f0e64af397b in poll () at /usr/lib/libc.so.6
#1 0x00007f0e5cb04613 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f0e5cb0472e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 0x00007f0e65659241 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4 0x00007f0e655fb32b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5 0x00007f0e6540a72e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6 0x00007f0e5e8ec416 in () at /usr/lib/libQt5DBus.so.5
#7 0x00007f0e6540facd in () at /usr/lib/libQt5Core.so.5
#8 0x00007f0e5e6bf08c in start_thread () at /usr/lib/libpthread.so.0
#9 0x00007f0e64afde7f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f0df5ffe700 (LWP 5400)):
#0 0x00007f0e64af8879 in syscall () at /usr/lib/libc.so.6
#1 0x00007f0e5cb4b7ed in g_cond_wait_until () at /usr/lib/libglib-2.0.so.0
#2 0x00007f0e5cad6953 in () at /usr/lib/libglib-2.0.so.0
#3 0x00007f0e5cb2d6f6 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f0e5cb2ccea in () at /usr/lib/libglib-2.0.so.0
#5 0x00007f0e5e6bf08c in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f0e64afde7f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f0e68259800 (LWP 5340)):
#0 0x00007f0e50576eff in gtk_list_box_get_selected_row () at /usr/lib/libgtk-3.so.0
#1 0x00007f0e505cd05b in () at /usr/lib/libgtk-3.so.0
#2 0x00007f0e48c361c8 in ffi_call_unix64 () at /usr/lib/libffi.so.6
#3 0x00007f0e48c35c2a in ffi_call () at /usr/lib/libffi.so.6
#4 0x00007f0e4bb70453 in g_cclosure_marshal_generic () at /usr/lib/libgobject-2.0.so.0
#5 0x00007f0e4bb6fc2d in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#6 0x00007f0e4bb83bb0 in () at /usr/lib/libgobject-2.0.so.0
#7 0x00007f0e4bb8c746 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#8 0x00007f0e4bb8d65c in g_signal_emit_by_name () at /usr/lib/libgobject-2.0.so.0
#9 0x00007f0e4b950240 in () at /usr/lib/libcloudproviders.so.0
#10 0x00007f0e4b950ca2 in () at /usr/lib/libcloudproviders.so.0
#11 0x00007f0e4a14918c in () at /usr/lib/libgio-2.0.so.0
#12 0x00007f0e4a149e57 in () at /usr/lib/libgio-2.0.so.0
#13 0x00007f0e4a17b913 in () at /usr/lib/libgio-2.0.so.0
#14 0x00007f0e4a14918c in () at /usr/lib/libgio-2.0.so.0
#15 0x00007f0e4a1491c9 in () at /usr/lib/libgio-2.0.so.0
#16 0x00007f0e5cb042c6 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#17 0x00007f0e5cb046a1 in () at /usr/lib/libglib-2.0.so.0
#18 0x00007f0e5cb0472e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#19 0x00007f0e65659241 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#20 0x00007f0e5492d482 in () at /usr/lib/libQt5XcbQpa.so.5
#21 0x00007f0e655fb32b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#22 0x00007f0e6657969b in QDialog::exec() () at /usr/lib/libQt5Widgets.so.5
#23 0x00007f0e66f7bde9 in KoFileDialog::filename() () at /usr/lib/libkritawidgetutils.so.16
#24 0x00007f0e67acffc8 in KisMainWindow::saveDocument(KisDocument*, bool, bool) () at /usr/lib/libkritaui.so.16
#25 0x00007f0e67ad1580 in KisMainWindow::slotFileSave() () at /usr/lib/libkritaui.so.16
#26 0x00007f0e67ad6031 in () at /usr/lib/libkritaui.so.16
#27 0x00007f0e6562d616 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#28 0x00007f0e6637b533 in QAction::triggered(bool) () at /usr/lib/libQt5Widgets.so.5
#29 0x00007f0e6637ddb6 in QAction::activate(QAction::ActionEvent) () at /usr/lib/libQt5Widgets.so.5
#30 0x00007f0e6637e766 in QAction::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#31 0x00007f0e66381fec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#32 0x00007f0e663899c6 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#33 0x00007f0e67a93a68 in KisApplication::notify(QObject*, QEvent*) () at /usr/lib/libkritaui.so.16
#34 0x00007f0e655fccf0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#35 0x00007f0e65b9fbd9 in QShortcutMap::dispatchEvent(QKeyEvent*) () at /usr/lib/libQt5Gui.so.5
#36 0x00007f0e65b9fcae in QShortcutMap::tryShortcut(QKeyEvent*) () at /usr/lib/libQt5Gui.so.5
#37 0x00007f0e65b4d1ed in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () at /usr/lib/libQt5Gui.so.5
#38 0x00007f0e65b6cd18 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () at /usr/lib/libQt5Gui.so.5
#39 0x00007f0e65b71f66 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
at /usr/lib/libQt5Gui.so.5
#40 0x00007f0e65b4929c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#41 0x00007f0e5492d48d in () at /usr/lib/libQt5XcbQpa.so.5
#42 0x00007f0e655fb32b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#43 0x00007f0e65604728 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#44 0x0000565395c22486 in main ()
This task depends upon

Closed by  Antonio Rojas (arojas)
Sunday, 01 April 2018, 20:20 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#57984 

Loading...