<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>400627</bug_id>
          
          <creation_ts>2018-11-03 15:56:00 +0000</creation_ts>
          <short_desc>Exporting Compositions results in crash</short_desc>
          <delta_ts>2018-11-20 08:58:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>krita</product>
          <component>General</component>
          <version>4.1.3</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Microsoft Windows</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Bollebib">kwadraatnope</reporter>
          <assigned_to name="Krita Bugs">krita-bugs-null</assigned_to>
          <cc>griffinvalley</cc>
          
          <cf_commitlink>https://commits.kde.org/krita/44401191a0e8dd8faf798731a401c5a252af926c</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1807339</commentid>
    <comment_count>0</comment_count>
    <who name="Bollebib">kwadraatnope</who>
    <bug_when>2018-11-03 15:56:00 +0000</bug_when>
    <thetext>1)Just make a number of compositions in a new file (composition docker)

2) try to export

3) this will result in a crash</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1807346</commentid>
    <comment_count>1</comment_count>
    <who name="wolthera">griffinvalley</who>
    <bug_when>2018-11-03 16:31:54 +0000</bug_when>
    <thetext>GDB backtrace for exporting a composition:
------------------------------------------

Thread 1 &quot;krita&quot; received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) thread apply all backtrace

Thread 9 (Thread 0x7fff9b7fe700 (LWP 30674)):
#0  0x00007ffff3f8ebf9 in __GI___poll (fds=0x7fff8c003ce0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffebd64439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffebd6454c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff4ae153b in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4a857fa in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff48b0bba in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff48bbadb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffed6606db in start_thread (arg=0x7fff9b7fe700) at pthread_create.c:463
#8  0x00007ffff3f9b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fff9bfff700 (LWP 30661)):
#0  0x00007ffff3f8ebf9 in __GI___poll (fds=0x7fff940049d0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffebd64439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffebd6454c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff4ae151f in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4a857fa in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff48b0bba in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5

#6  0x00007fffd5556826 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007ffff48bbadb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffed6606db in start_thread (arg=0x7fff9bfff700) at pthread_create.c:463
#9  0x00007ffff3f9b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fffae9a5700 (LWP 30652)):
#0  0x00007ffff3f8ebf9 in __GI___poll (fds=0x7fff9c004ee0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit---
#1  0x00007fffebd64439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffebd6454c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff4ae151f in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4a857fa in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff48b0bba in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffd50db4f5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007ffff48bbadb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffed6606db in start_thread (arg=0x7fffae9a5700) at pthread_create.c:463
#9  0x00007ffff3f9b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fffae1a4700 (LWP 30606)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff48af870 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007ffff48af6e2 in QSemaphore::tryAcquire(int, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5


#3  0x00007ffff1c19e4c in KisTileDataSwapper::waitForWork (this=
    0x7ffff23894e0 &lt;(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64&gt;)
    at /home/wolthera/krita/src/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#4  0x00007ffff1c19e68 in KisTileDataSwapper::run (
    this=0x7ffff23894e0 &lt;(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder+64&gt;)
    at /home/wolthera/krita/src/libs/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#5  0x00007ffff48bbadb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffed6606db in start_thread (arg=0x7fffae1a4700) at pthread_create.c:463
#7  0x00007ffff3f9b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fffb5310700 (LWP 30600)):
#0  0x00007ffff3f8ebf9 in __GI___poll (fds=0x7fffb0004ae0, nfds=1, timeout=9990) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffebd64439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffebd6454c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit---
#3  0x00007ffff4ae151f in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4a857fa in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff48b0bba in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff48bbadb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fffed6606db in start_thread (arg=0x7fffb5310700) at pthread_create.c:463
#8  0x00007ffff3f9b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fffcd9c3700 (LWP 30335)):
#0  0x00007ffff3f8ebf9 in __GI___poll (fds=0x7fffc8019490, nfds=4, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fffebd64439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffebd6454c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff4ae151f in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4a857fa in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5

#5  0x00007ffff48b0bba in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fffed88de45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007ffff48bbadb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fffed6606db in start_thread (arg=0x7fffcd9c3700) at pthread_create.c:463
#9  0x00007ffff3f9b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fffdc9b2700 (LWP 30329)):
#0  0x00007ffff3f8ebf9 in __GI___poll (fds=0x7fffdc9b1c68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff25e9747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007ffff25eb36a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fffdf31eed9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007ffff48bbadb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fffed6606db in start_thread (arg=0x7fffdc9b2700) at pthread_create.c:463
---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit---
#6  0x00007ffff3f9b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ffff7f82cc0 (LWP 30133)):
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff3eba801 in __GI_abort () at abort.c:79
#2  0x00007ffff488c5db in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ffff488bdd1 in qt_assert(char const*, char const*, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5

#4  0x00007ffff1eff5fc in KisPaintLayer::KisPaintLayer (this=0x5555717d19b0, image=..., name=..., opacity=255 &apos;\377&apos;)
    at /home/wolthera/krita/src/libs/image/kis_paint_layer.cc:79
#5  0x00007fffb83e994a in CompositionDockerDock::exportClicked (this=0x55556796a4b0)
    at /home/wolthera/krita/src/plugins/dockers/compositiondocker/compositiondocker_dock.cpp:228


#6  0x00007fffb83f03a0 in CompositionDockerDock::qt_static_metacall (_o=0x55556796a4b0, _c=QMetaObject::InvokeMetaMethod, 
    _id=4, _a=0x7fffffffd310)
    at /home/wolthera/krita/build/plugins/dockers/compositiondocker/kritacompositiondocker_autogen/EWIEGA46WW/moc_compositiondocker_dock.cpp:109
#7  0x00007ffff4ab6565 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ffff58fafb2 in QAbstractButton::clicked(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007ffff58fb1ca in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007ffff58fc5aa in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5

#11 0x00007ffff58fc79d in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007ffff5854a98 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007ffff5815e1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff581df87 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff72d688f in KisApplication::notify (this=0x7fffffffe0b0, receiver=0x555567994d70, event=0x7fffffffd850)
    at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:608
#16 0x00007ffff4a874d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit---
#17 0x00007ffff581c8d2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&lt;QWidget&gt;&amp;, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ffff586fc13 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ffff5872229 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff5815e1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff581d3ef in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ffff72d688f in KisApplication::notify (this=0x7fffffffe0b0, receiver=0x555564050220, event=0x7fffffffdce0)
    at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:608
#23 0x00007ffff4a874d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007ffff50197bb in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5

#25 0x00007ffff501b335 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#26 0x00007ffff4ff3f5b in QWindowSystemInterface::sendWindowSystemEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#27 0x00007fffdf3aa76b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#28 0x00007ffff4a857fa in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007ffff4a8e9c0 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x0000555555e91dc2 in main (argc=1, argv=0x7fffffffe218) at /home/wolthera/krita/src/krita/main.cc:456</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1807350</commentid>
    <comment_count>2</comment_count>
    <who name="wolthera">griffinvalley</who>
    <bug_when>2018-11-03 17:00:38 +0000</bug_when>
    <thetext>Okay, so only exporting compositions from the docker gives a crash, not saving to kra.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1814556</commentid>
    <comment_count>3</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2018-11-15 09:31:57 +0000</bug_when>
    <thetext>Git commit 22e7da27e219d5d15fb32193f0f6e6c71af3cc6c by Boudewijn Rempt.
Committed on 15/11/2018 at 09:31.
Pushed by rempt into branch &apos;master&apos;.

M  +1    -1    plugins/dockers/compositiondocker/compositiondocker_dock.cpp

https://commits.kde.org/krita/22e7da27e219d5d15fb32193f0f6e6c71af3cc6c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1819214</commentid>
    <comment_count>4</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2018-11-20 08:58:17 +0000</bug_when>
    <thetext>Git commit 44401191a0e8dd8faf798731a401c5a252af926c by Boudewijn Rempt.
Committed on 20/11/2018 at 08:25.
Pushed by rempt into branch &apos;krita/4.1&apos;.

M  +1    -1    plugins/dockers/compositiondocker/compositiondocker_dock.cpp

https://commits.kde.org/krita/44401191a0e8dd8faf798731a401c5a252af926c</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>