[krita] [Bug 382153] Krita crashes when saving or exporting new files

2017-07-09 Thread Victor Wåhlström
https://bugs.kde.org/show_bug.cgi?id=382153

Victor Wåhlström  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://commits.kde.org/kri
   ||ta/377027476ca6f945ebe2c953
   ||5eed47095e32e374
 Status|CONFIRMED   |RESOLVED

--- Comment #2 from Victor Wåhlström  ---
Git commit 377027476ca6f945ebe2c9535eed47095e32e374 by Victor Wåhlström.
Committed on 09/07/2017 at 15:17.
Pushed by victorw into branch 'master'.

* Don't crash and default to "All supported files" when passing an empty
default to KoFileDialog::setMimeTypeFilters()
* Default to .kra when saving newly created files
* Added docs to KoFileDialog::setMimeTypeFilters() and renamed parameters to
better reflect the expected contents

M  +2-1libs/ui/KisMainWindow.cpp
M  +12   -10   libs/widgetutils/KoFileDialog.cpp
M  +7-2libs/widgetutils/KoFileDialog.h

https://commits.kde.org/krita/377027476ca6f945ebe2c9535eed47095e32e374

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 382153] Krita crashes when saving or exporting new files

2017-07-09 Thread Raghavendra kamath
https://bugs.kde.org/show_bug.cgi?id=382153

Raghavendra kamath  changed:

   What|Removed |Added

 CC||raghavendr.ra...@gmail.com
 Ever confirmed|0   |1
 Status|UNCONFIRMED |CONFIRMED

--- Comment #1 from Raghavendra kamath  ---
I can confirm this on master. 

To reproduce 
open Krita and create a new file
the press ctrl + s to trigger save.

here is a back trace - > 

Application: Krita (krita), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f73abe8fcc0 (LWP 29980))]

Thread 13 (Thread 0x7f734ccfb700 (LWP 29993)):
#0  0x7f739f64b39d in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x7f73a14747ab in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/libQt5Core.so.5
#2  0x7f73a2797975 in ?? () from /usr/lib/libQt5Widgets.so.5
#3  0x7f73a147337d in ?? () from /usr/lib/libQt5Core.so.5
#4  0x7f739f645297 in start_thread () from /usr/lib/libpthread.so.0
#5  0x7f73a085e1ef in clone () from /usr/lib/libc.so.6

Thread 12 (Thread 0x7f734c4fa700 (LWP 29992)):
#0  0x7f739f64b39d in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x7f73a14747ab in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/libQt5Core.so.5
#2  0x7f73a146d353 in QSemaphore::tryAcquire(int, int) () from
/usr/lib/libQt5Core.so.5
#3  0x7f73aa3b78e3 in KisTileDataSwapper::waitForWork (this=) at
/run/media/raghu/Data/krita-build/src/krita/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#4  0x7f73aa3b7aea in KisTileDataSwapper::run (this=0x7f73aa86ca20
<_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder+64>) at
/run/media/raghu/Data/krita-build/src/krita/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#5  0x7f73a147337d in ?? () from /usr/lib/libQt5Core.so.5
#6  0x7f739f645297 in start_thread () from /usr/lib/libpthread.so.0
#7  0x7f73a085e1ef in clone () from /usr/lib/libc.so.6

Thread 11 (Thread 0x7f7371ffb700 (LWP 29990)):
#0  0x7f739f64b6cc in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x7f73a1474668 in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/libQt5Core.so.5
#2  0x7f73a146f8c4 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x7f73a147337d in ?? () from /usr/lib/libQt5Core.so.5
#4  0x7f739f645297 in start_thread () from /usr/lib/libpthread.so.0
#5  0x7f73a085e1ef in clone () from /usr/lib/libc.so.6

Thread 10 (Thread 0x7f73727fc700 (LWP 29989)):
#0  0x7f739f64b6cc in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x7f73a1474668 in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/libQt5Core.so.5
#2  0x7f73a146f8c4 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x7f73a147337d in ?? () from /usr/lib/libQt5Core.so.5
#4  0x7f739f645297 in start_thread () from /usr/lib/libpthread.so.0
#5  0x7f73a085e1ef in clone () from /usr/lib/libc.so.6

Thread 9 (Thread 0x7f7372ffd700 (LWP 29988)):
#0  0x7f739f64b6cc in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x7f73a1474668 in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/libQt5Core.so.5
#2  0x7f73a146f8c4 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x7f73a147337d in ?? () from /usr/lib/libQt5Core.so.5
#4  0x7f739f645297 in start_thread () from /usr/lib/libpthread.so.0
#5  0x7f73a085e1ef in clone () from /usr/lib/libc.so.6

Thread 8 (Thread 0x7f73737fe700 (LWP 29987)):
#0  0x7f739f64b6cc in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x7f73a1474668 in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/libQt5Core.so.5
#2  0x7f73a146f8c4 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x7f73a147337d in ?? () from /usr/lib/libQt5Core.so.5
#4  0x7f739f645297 in start_thread () from /usr/lib/libpthread.so.0
#5  0x7f73a085e1ef in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7f7373fff700 (LWP 29986)):
#0  0x7f739f64b6cc in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x7f73a1474668 in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/libQt5Core.so.5
#2  0x7f73a146f8c4 in ?? () from /usr/lib/libQt5Core.so.5
#3  0x7f73a147337d in ?? () from /usr/lib/libQt5Core.so.5
#4  0x7f739f645297 in start_thread () from /usr/lib/libpthread.so.0
#5  0x7f73a085e1ef in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7f73789eb700 (LWP 29985)):
#0  0x7f739f64b6cc in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x7f73a1474668 in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/libQt5Core.so.5
#2  0x7f73a146f8c4 in ?? () from /usr/lib/libQt5Core.so.