[krita] [Bug 387334] Crash on Open and then Save As

2018-01-03 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=387334

--- Comment #6 from Boudewijn Rempt  ---
lxqt definitely. In Krita, you can probably avoid the crash by disabling native
file dialogs in the settings.

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

[krita] [Bug 387334] Crash on Open and then Save As

2018-01-03 Thread comicfans44
https://bugs.kde.org/show_bug.cgi?id=387334

comicfans44  changed:

   What|Removed |Added

 CC||comicfan...@gmail.com

--- Comment #5 from comicfans44  ---
I've confirmed this bug , seems it's triggered by lxqt customized qt plugin

a lxqt filedialog (as LXQtFileDialogHelper member) is created as following
steps:

create
0x7fffdcef400c in LXQtFileDialogHelper::LXQtFileDialogHelper()
(this=0x6040002b1d10)
at
/srv/nfs4/working/lxqt-qtplugin/src/lxqt-qtplugin-0.12.0/src/lxqtfiledialoghelper.cpp:22
#1  0x7fffdcef5365 in non-virtual thunk to
LXQtPlatformTheme::createPlatformDialogHelper(QPlatformTheme::DialogType) const
()
at /usr/include/qt/QtCore/qcoreapplication.h:116
#2  0x754a7b20 in QDialogPrivate::platformHelper() const () at
/usr/lib/libQt5Widgets.so.5
#3  0x754ba3fd in QFileDialogPrivate::init(QUrl const&, QString const&,
QString const&) () at /usr/lib/libQt5Widgets.so.5
#4  0x754ba822 in QFileDialog::QFileDialog(QWidget*, QString const&,
QString const&, QString const&) () at /usr/lib/libQt5Widgets.so.5
#5  0x75e7e46c in KoFileDialog::createFileDialog() () at
/usr/lib/libkritawidgetutils.so.18
#6  0x75e7efd7 in KoFileDialog::filename() () at
/usr/lib/libkritawidgetutils.so.18
#7  0x7692592a in KisMainWindow::saveDocument(KisDocument*, bool, bool,
int) () at /usr/lib/libkritaui.so.18




but when save as triggered, it's deleted during QFileDialog::setOptions

#0  0x7fffdceecec0 in LXQtFileDialogHelper::~LXQtFileDialogHelper()
(this=0x6040002b1d10)
at
/srv/nfs4/working/lxqt-qtplugin/src/lxqt-qtplugin-0.12.0/src/lxqtfiledialoghelper.cpp:39
#1  0x754a7dc6 in QDialogPrivate::deletePlatformHelper() () at
/usr/lib/libQt5Widgets.so.5
#2  0x754b9b19 in  () at /usr/lib/libQt5Widgets.so.5
#3  0x754b9d69 in QFileDialog::setOptions(QFlags)
() at /usr/lib/libQt5Widgets.so.5
#4  0x75e7e603 in KoFileDialog::createFileDialog() () at
/usr/lib/libkritawidgetutils.so.18
#5  0x75e7efd7 in KoFileDialog::filename() () at
/usr/lib/libkritawidgetutils.so.18
#6  0x7692592a in KisMainWindow::saveDocument(KisDocument*, bool, bool,
int) () at /usr/lib/libkritaui.so.18


after this, Krita called dialog exec
QString KoFileDialog::filename()
{
QString url;
createFileDialog();  --- > already deleted lxqt FileDialog
if (d->fileDialog->exec() == 

and exec triggered the already-destructed lxqt FileDialog's timer slot 

#0 0x7fffdc77aaa6 in operator()
/home/comicfans/working/pacman/src/libfm-qt-0.12.0/src/filedialog.cpp:425
#1 0x7fffdc77aaa6 in call /usr/include/qt/QtCore/qobjectdefs_impl.h:130
#2 0x7fffdc77aaa6 in call /usr/include/qt/QtCore/qobjectdefs_impl.h:240
#3 0x7fffdc77aaa6 in
QtPrivate::QFunctorSlotObject, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) [clone .lto_priv.363]
/usr/include/qt/QtCore/qobjectdefs_impl.h:423
#4 0x74574a03  (/usr/lib/libQt5Core.so.5+0x2d9a03)
#5 0x7456840a in QObject::event(QEvent*)
(/usr/lib/libQt5Core.so.5+0x2cd40a)
#6 0x752b1e3b in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(/usr/lib/libQt5Widgets.so.5+0x151e3b)
#7 0x752b9815 in QApplication::notify(QObject*, QEvent*)
(/usr/lib/libQt5Widgets.so.5+0x159815)
#8 0x768ead97 in KisApplication::notify(QObject*, QEvent*)
(/usr/lib/libkritaui.so.18+0x57ed97)
#9 0x745371df in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(/usr/lib/libQt5Core.so.5+0x29c1df)
#10 0x74592ad7 in QTimerInfoList::activateTimers()
(/usr/lib/libQt5Core.so.5+0x2f7ad7)
#11 0x745932d1  (/usr/lib/libQt5Core.so.5+0x2f82d1)
#12 0x7fffebb0c26f in g_main_context_dispatch
(/usr/lib/libglib-2.0.so.0+0x6b26f)
#13 0x7fffebb0df68  (/usr/lib/libglib-2.0.so.0+0x6cf68)
#14 0x7fffebb0dfad in g_main_context_iteration
(/usr/lib/libglib-2.0.so.0+0x6cfad)
#15 0x74593690 in
QEventDispatcherGlib::processEvents(QFlags)
(/usr/lib/libQt5Core.so.5+0x2f8690)
#16 0x7fffe0b46281  (/usr/lib/libQt5XcbQpa.so.5+0xc5281)
#17 0x7453582a in
QEventLoop::exec(QFlags)
(/usr/lib/libQt5Core.so.5+0x29a82a)
#18 0x754a8dca in QDialog::exec()
(/usr/lib/libQt5Widgets.so.5+0x348dca)
#19 0x75e7efe8 in KoFileDialog::filename()
(/usr/lib/libkritawidgetutils.so.18+0x61fe8)
#20 0x76925929 in KisMainWindow::saveDocument(KisDocument*, bool, bool,
int) (/usr/lib/libkritaui.so.18+0x5b9929)
#21 0x76926d45 in KisMainWindow::slotFileSaveAs()
(/usr/lib/libkritaui.so.18+0x5bad45)
#22 0x7692b706  (/usr/lib/libkritaui.so.18+0x5bf706)

this leads crash. 

lxqt connect this callback as:

QTimer::singleShot(0, [this, path]() {
   ...

[krita] [Bug 387334] Crash on Open and then Save As

2017-11-27 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=387334

Boudewijn Rempt  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |DOWNSTREAM
 Status|NEEDSINFO   |RESOLVED

--- Comment #4 from Boudewijn Rempt  ---
If you're not that good with compiling, you probably should not be using Arch
Linux. Arch Linux is a distribution for people who know what they're doing or
are eager to learn. You can try to report this issue to Arch, and someone from
that community might be able to help you, but it's a distribution issue.

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

[krita] [Bug 387334] Crash on Open and then Save As

2017-11-27 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=387334

--- Comment #3 from i...@o.opendns.ro ---
@Christoph Feck
Thanks. But I see this in the article:
> Arch
> Arch currently doesn't offer debug packages with symbols (Feature Request). 
> You therefore need to recompile all concerned packages with debugging 
> symbols. See their informative document Getting Traces. 

So, I would need to recompile from source with debugging symbols.
Unfortunately, I am not that good with compiling.

@Boudewijn Rempt
I am sure that you take care of this. But it was working with the previous
version. I just updated and I noticed this issue.

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

[krita] [Bug 387334] Crash on Open and then Save As

2017-11-26 Thread Boudewijn Rempt
https://bugs.kde.org/show_bug.cgi?id=387334

Boudewijn Rempt  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|UNCONFIRMED |NEEDSINFO
 CC||b...@valdyas.org

--- Comment #2 from Boudewijn Rempt  ---
This is unlikely to be a bug in Krita: we don't release a version of Krita that
cannot open or save files. It must be a problem with the archlinux
installation. 
A backtrace could possibly help figure out what is wrong there. Without more
information, it's impossible to help you.

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

[krita] [Bug 387334] Crash on Open and then Save As

2017-11-26 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=387334

--- Comment #1 from Christoph Feck  ---
Could you try running Krita in gdb or otherwise produce a backtrace, even if
incomplete (i.e. without debug symbols)?

For more information, please see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

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