<?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>318777</bug_id>
          
          <creation_ts>2013-04-23 18:25:15 +0000</creation_ts>
          <short_desc>karbon crashes on closing</short_desc>
          <delta_ts>2013-04-25 08:01:44 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>karbon</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</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>0</everconfirmed>
          <reporter name="Halla Rempt">halla</reporter>
          <assigned_to name="Jan Hambrecht">jaham</assigned_to>
          
          
          <cf_commitlink>http://commits.kde.org/calligra/1c73799957c8af7690494009bb0047f05df40188</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>1363443</commentid>
    <comment_count>0</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2013-04-23 18:25:15 +0000</bug_when>
    <thetext>Application: karbon (2.7 Pre-Alpha)
KDE Platform Version: 4.10.2 &quot;release 556&quot;
Qt Version: 4.8.4
Operating System: Linux 3.7.10-1.1-desktop x86_64
Distribution: &quot;openSUSE 12.3 (x86_64)&quot;

-- Information about the crash:
Load an svg file, close karbon -- poof!. This is the same issue as 
318775 in Krita.

The crash can be reproduced every time.

-- Backtrace:
Application: Karbon (karbon), signal: Segmentation fault
Using host libthread_db library &quot;/lib64/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0x7f1cfe406780 (LWP 16397))]

Thread 2 (Thread 0x7f1cd7cfc700 (LWP 16402)):
#0  0x00007f1cf8ec5d11 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1cf9158587 in wait (time=30000, this=0x3b60a90) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=&lt;optimized out&gt;, mutex=0x3b5bbc8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f1cf914bd8f in QThreadPoolThread::run (this=0x3b5bc80) at concurrent/qthreadpool.cpp:141
#4  0x00007f1cf91580cc in QThreadPrivate::start (arg=0x3b5bc80) at thread/qthread_unix.cpp:338
#5  0x00007f1cf8ec1e0f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f1cf724d7dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f1cfe406780 (LWP 16397)):
[KCrash Handler]
#6  0x0000000000000021 in ?? ()
#7  0x00007f1cfdd6435e in qDeleteAll&lt;QList&lt;KoShape*&gt;::const_iterator&gt; (end=..., begin=...) at /usr/include/QtCore/qalgorithms.h:322
#8  qDeleteAll&lt;QList&lt;KoShape*&gt; &gt; (c=...) at /usr/include/QtCore/qalgorithms.h:330
#9  ~Private (this=0xb75120, __in_chrg=&lt;optimized out&gt;) at /home/boud/kde/src/calligra/karbon/ui/KarbonDocument.cpp:113
#10 KarbonDocument::~KarbonDocument (this=0xb7c460, __in_chrg=&lt;optimized out&gt;) at /home/boud/kde/src/calligra/karbon/ui/KarbonDocument.cpp:175
#11 0x00007f1cfdd64619 in KarbonDocument::~KarbonDocument (this=0xb7c460, __in_chrg=&lt;optimized out&gt;) at /home/boud/kde/src/calligra/karbon/ui/KarbonDocument.cpp:176
#12 0x00007f1cfd84aa40 in KoMainWindow::setRootDocument (this=this@entry=0xa9f9e0, doc=doc@entry=0x0, rootPart=rootPart@entry=0x0) at /home/boud/kde/src/calligra/libs/main/KoMainWindow.cpp:537
#13 0x00007f1cfd84b8ac in KoMainWindow::closeEvent (this=0xa9f9e0, e=0x7fffa79bf570) at /home/boud/kde/src/calligra/libs/main/KoMainWindow.cpp:1136
#14 0x00007f1cf81b4360 in QWidget::event (this=0xa9f9e0, event=0x7fffa79bf570) at kernel/qwidget.cpp:8544
#15 0x00007f1cf85784fb in QMainWindow::event (this=0xa9f9e0, event=0x7fffa79bf570) at widgets/qmainwindow.cpp:1478
#16 0x00007f1cf9dab098 in KXmlGuiWindow::event (this=0xa9f9e0, ev=0x7fffa79bf570) at /usr/src/debug/kdelibs-4.10.2/kdeui/xmlgui/kxmlguiwindow.cpp:126
#17 0x00007f1cf816486c in QApplicationPrivate::notify_helper (this=this@entry=0x7e3f70, receiver=receiver@entry=0xa9f9e0, e=e@entry=0x7fffa79bf570) at kernel/qapplication.cpp:4562
#18 0x00007f1cf8168ceb in QApplication::notify (this=0x7fffa79bffd0, receiver=0xa9f9e0, e=0x7fffa79bf570) at kernel/qapplication.cpp:4423
#19 0x00007f1cfd805d98 in KoApplication::notify (this=&lt;optimized out&gt;, receiver=0xa9f9e0, event=0x7fffa79bf570) at /home/boud/kde/src/calligra/libs/main/KoApplication.cpp:558
#20 0x00007f1cf9253c9e in QCoreApplication::notifyInternal (this=0x7fffa79bffd0, receiver=0xa9f9e0, event=0x7fffa79bf570) at kernel/qcoreapplication.cpp:946
#21 0x00007f1cf81ade51 in sendEvent (event=&lt;optimized out&gt;, receiver=&lt;optimized out&gt;) at ../../src/corelib/kernel/qcoreapplication.h:231
#22 QWidgetPrivate::close_helper (this=0xca2fb0, mode=QWidgetPrivate::CloseWithSpontaneousEvent) at kernel/qwidget.cpp:7941
#23 0x00007f1cf81e094f in QApplication::x11ClientMessage (this=&lt;optimized out&gt;, w=0xa9f9e0, event=&lt;optimized out&gt;, passive_only=&lt;optimized out&gt;) at kernel/qapplication_x11.cpp:3164
#24 0x00007f1cf81df172 in QApplication::x11ProcessEvent (this=0x7fffa79bffd0, event=0x7fffa79bfb30) at kernel/qapplication_x11.cpp:3789
#25 0x00007f1cf8204fa2 in x11EventSourceDispatch (s=0x7e5200, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#26 0x00007f1cf1f0c7d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f1cf1f0cb08 in ?? () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f1cf1f0cbc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f1cf92821d6 in QEventDispatcherGlib::processEvents (this=0x758c30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#30 0x00007f1cf8204c1e in QGuiEventDispatcherGlib::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f1cf92529ef in QEventLoop::processEvents (this=this@entry=0x7fffa79bff00, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f1cf9252c78 in QEventLoop::exec (this=0x7fffa79bff00, flags=...) at kernel/qeventloop.cpp:204
#33 0x00007f1cf9257918 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#34 0x00007f1cfdfdf1ed in kdemain (argc=&lt;optimized out&gt;, argv=0x7fffa79c00e8) at /home/boud/kde/src/calligra/karbon/main.cpp:75
#35 0x00007f1cf7186a15 in __libc_start_main () from /lib64/libc.so.6
#36 0x0000000000400981 in _start () at ../sysdeps/x86_64/start.S:123

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1363805</commentid>
    <comment_count>1</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2013-04-25 08:01:44 +0000</bug_when>
    <thetext>Git commit 1c73799957c8af7690494009bb0047f05df40188 by Boudewijn Rempt.
Committed on 25/04/2013 at 09:52.
Pushed by rempt into branch &apos;master&apos;.

Don&apos;t crash on closing karbon (or importing an svg in Krita)
Related: bug 318775

M  +0    -2    karbon/ui/KarbonDocument.cpp

http://commits.kde.org/calligra/1c73799957c8af7690494009bb0047f05df40188</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>