<?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>233659</bug_id>
          
          <creation_ts>2010-04-07 23:53:40 +0000</creation_ts>
          <short_desc>Crash when closing Okular after &quot;Save Copy As ...&quot;</short_desc>
          <delta_ts>2010-05-22 22:23:29 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>okular</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Unlisted Binaries</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>213008</dup_id>
          
          <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="Dominik">dominik</reporter>
          <assigned_to name="Okular developers">okular-devel</assigned_to>
          <cc>andresbajotierra</cc>
          
          <cf_commitlink></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>946575</commentid>
    <comment_count>0</comment_count>
    <who name="Dominik">dominik</who>
    <bug_when>2010-04-07 23:53:40 +0000</bug_when>
    <thetext>Application that crashed: okular
Version of the application: 0.9.5
KDE Version: 4.3.5 (KDE 4.3.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.31-gentoo-r10-04 x86_64

What I was doing when the application crashed:
All details in title

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f67a8c51740 (LWP 20228))]

Thread 3 (Thread 0x7f6797958910 (LWP 20243)):
#0  0x00007f67a66f441d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f678f25d3ae in metronom_sync_loop (this=0xd64ed0) at metronom.c:851
#2  0x00007f67a66f02a7 in start_thread () from /lib/libpthread.so.0
#3  0x00007f67a4f816ad in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f677e9e6910 (LWP 20263)):
#0  0x00007f67a4f78896 in poll () from /lib/libc.so.6
#1  0x00007f67a0333b5a in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f67a0335770 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#3  0x00007f677f7fc7c3 in xv_restore_port_attributes (this_gen=&lt;value optimized out&gt;) at video_out_xcbxv.c:1049
#4  xv_dispose (this_gen=&lt;value optimized out&gt;) at video_out_xcbxv.c:1070
#5  0x00007f678f26a58c in vo_exit (this_gen=&lt;value optimized out&gt;) at video_out.c:1615
#6  0x00007f678f4ee481 in ~VideoWidgetXT (this=0xd6fcb0, __in_chrg=&lt;value optimized out&gt;, __vtt_parm=&lt;value optimized out&gt;)
    at /var/tmp/portage/media-sound/phonon-4.3.80-r1/work/phonon-4.3.80/xine/videowidget.cpp:241
#7  0x00007f678f4ba991 in ~QExplicitlySharedDataPointer (this=0xd7d1d0, __in_chrg=&lt;value optimized out&gt;) at /usr/include/qt4/QtCore/qshareddata.h:159
#8  QList&lt;QExplicitlySharedDataPointer&lt;Phonon::Xine::SharedData&gt; &gt;::node_destruct (this=0xd7d1d0, __in_chrg=&lt;value optimized out&gt;) at /usr/include/qt4/QtCore/qlist.h:402
#9  QList&lt;QExplicitlySharedDataPointer&lt;Phonon::Xine::SharedData&gt; &gt;::free (this=0xd7d1d0, __in_chrg=&lt;value optimized out&gt;) at /usr/include/qt4/QtCore/qlist.h:646
#10 ~QList (this=0xd7d1d0, __in_chrg=&lt;value optimized out&gt;) at /usr/include/qt4/QtCore/qlist.h:621
#11 ~KeepReference (this=0xd7d1d0, __in_chrg=&lt;value optimized out&gt;) at /var/tmp/portage/media-sound/phonon-4.3.80-r1/work/phonon-4.3.80/xine/keepreference.h:45
#12 0x00007f67a6ab0ba5 in QObject::event (this=0xd7d1d0, e=0x1) at kernel/qobject.cpp:1223
#13 0x00007f67a5b6b64d in QApplicationPrivate::notify_helper (this=0x62b5b0, receiver=0xd7d1d0, e=0x15c5480) at kernel/qapplication.cpp:4300
#14 0x00007f67a5b6e444 in QApplication::notify (this=0x7fff48e91fa0, receiver=0xd7d1d0, e=0x15c5480) at kernel/qapplication.cpp:3704
#15 0x00007f67a798392b in KApplication::notify (this=0x7fff48e91fa0, receiver=0xd7d1d0, event=0x15c5480)
    at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kdeui/kernel/kapplication.cpp:302
#16 0x00007f67a6a97d8b in QCoreApplication::notifyInternal (this=0x7fff48e91fa0, receiver=0xd7d1d0, event=0x15c5480) at kernel/qcoreapplication.cpp:704
#17 0x00007f67a6a99039 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x1613200) at kernel/qcoreapplication.h:215
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1613200) at kernel/qcoreapplication.cpp:1345
#19 0x00007f67a6ac7063 in QCoreApplication::sendPostedEvents (s=&lt;value optimized out&gt;) at kernel/qcoreapplication.h:220
#20 postEventSourceDispatch (s=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:276
#21 0x00007f67a24afead in ?? () from /usr/lib/libglib-2.0.so.0
#22 0x00007f67a24b1c85 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0x00007f67a24b1dcc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#24 0x00007f67a6ac6c1c in QEventDispatcherGlib::processEvents (this=0x1601e70, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:412
#25 0x00007f67a6a969b2 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#26 0x00007f67a6a96d84 in QEventLoop::exec (this=0x7f677e9e5ff0, flags=...) at kernel/qeventloop.cpp:201
#27 0x00007f67a697f0f7 in QThread::exec (this=&lt;value optimized out&gt;) at thread/qthread.cpp:487
#28 0x00007f678f4bca4c in Phonon::Xine::XineThread::run (this=0x1611720) at /var/tmp/portage/media-sound/phonon-4.3.80-r1/work/phonon-4.3.80/xine/xinethread.cpp:143
#29 0x00007f67a6981eb5 in QThreadPrivate::start (arg=0x1611720) at thread/qthread_unix.cpp:248
#30 0x00007f67a66f02a7 in start_thread () from /lib/libpthread.so.0
#31 0x00007f67a4f816ad in clone () from /lib/libc.so.6
#32 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f67a8c51740 (LWP 20228)):
[KCrash Handler]
#5  QAbstractButton::isChecked (this=0x69007600650072) at widgets/qabstractbutton.cpp:769
#6  0x00007f678fbf5b76 in ~KFileAudioPreview (this=0xc1c720, __in_chrg=&lt;value optimized out&gt;)
    at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/interfaces/kmediaplayer/kfileaudiopreview/kfileaudiopreview.cpp:105
#7  0x00007f67a6ab0425 in QObjectPrivate::deleteChildren (this=0xb8a4a0) at kernel/qobject.cpp:1978
#8  0x00007f67a5bcca91 in ~QWidget (this=0xb8a470, __in_chrg=&lt;value optimized out&gt;) at kernel/qwidget.cpp:1469
#9  0x00007f67a6026831 in ~QStackedWidget (this=0x69007600650072, __in_chrg=&lt;value optimized out&gt;) at widgets/qstackedwidget.cpp:151
#10 0x00007f67a6ab0425 in QObjectPrivate::deleteChildren (this=0xb89fe0) at kernel/qobject.cpp:1978
#11 0x00007f67a5bcca91 in ~QWidget (this=0xb89f80, __in_chrg=&lt;value optimized out&gt;) at kernel/qwidget.cpp:1469
#12 0x00007f67a855a316 in ~KFileMetaPreview (this=0xb89f80, __in_chrg=&lt;value optimized out&gt;) at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kio/kfile/kfilemetapreview.cpp:36
#13 0x00007f679f7048b9 in ~Private (this=0xada070, __in_chrg=&lt;value optimized out&gt;) at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kfile/kdiroperator.cpp:346
#14 0x00007f679f704b4f in ~KDirOperator (this=0xadac50, __in_chrg=&lt;value optimized out&gt;) at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kfile/kdiroperator.cpp:423
#15 0x00007f679f721f9d in ~KFileWidgetPrivate (this=0xa73690, __in_chrg=&lt;value optimized out&gt;) at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kfile/kfilewidget.cpp:107
#16 ~KFileWidget (this=0xa73690, __in_chrg=&lt;value optimized out&gt;) at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kfile/kfilewidget.cpp:624
#17 0x00007f67a6ab0425 in QObjectPrivate::deleteChildren (this=0xabd500) at kernel/qobject.cpp:1978
#18 0x00007f67a5bcca91 in ~QWidget (this=0x7fff48e90040, __in_chrg=&lt;value optimized out&gt;) at kernel/qwidget.cpp:1469
#19 0x00007f67a85536ca in ~KFileDialog (this=0x7fff48e90040, __in_chrg=&lt;value optimized out&gt;) at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kio/kfile/kfiledialog.cpp:290
#20 0x00007f67a6ab0425 in QObjectPrivate::deleteChildren (this=0x7137b0) at kernel/qobject.cpp:1978
#21 0x00007f67a5bcca91 in ~QWidget (this=0x713750, __in_chrg=&lt;value optimized out&gt;) at kernel/qwidget.cpp:1469
#22 0x00007f679d8bb652 in ?? () from /usr/lib64/kde4/okularpart.so
#23 0x00007f67a88526c7 in ~Part (this=0x706090, __vtt_parm=0x7f679dae94f0, __in_chrg=&lt;value optimized out&gt;) at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kparts/part.cpp:208
#24 0x00007f679d83a7a0 in ?? () from /usr/lib64/kde4/okularpart.so
#25 0x000000000040b625 in _start ()

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>946582</commentid>
    <comment_count>1</comment_count>
    <who name="Pino Toscano">pino</who>
    <bug_when>2010-04-08 00:05:13 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; What I was doing when the application crashed:
&gt; All details in title

Not really; did you have the preview active in the file saving dialog? If so, what if you disable it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>946615</commentid>
    <comment_count>2</comment_count>
    <who name="Dominik">dominik</who>
    <bug_when>2010-04-08 00:56:08 +0000</bug_when>
    <thetext>On Thu,  8 Apr 2010 00:05:18 +0200 (CEST)
Pino Toscano &lt;pino@kde.org&gt; wrote:

&gt; https://bugs.kde.org/show_bug.cgi?id=233659
&gt; 
&gt; 
&gt; 
&gt; 
&gt; 
&gt; --- Comment #1 from Pino Toscano &lt;pino kde org&gt;  2010-04-08 00:05:13
&gt; --- (In reply to comment #0)
&gt; &gt; What I was doing when the application crashed:
&gt; &gt; All details in title
&gt; 
&gt; Not really; did you have the preview active in the file saving
&gt; dialog? If so, what if you disable it?
&gt; 

Sorry, I was in a hurry when I filed the bug, but yet would not want to
miss the opportunity to inform the bug tracker of a problem now that
it&apos;s so easy with the automatic bug tracking mechanism in KDE —
particularly as it was the first one I brought through (I had to
compile a lot with -ggdb and splitdebug on to generate useful stack
traces) ... and on top of that: without some routine you just don&apos;t know
what really is useful information to pass along.

I tried to reproduce the failure with and without preview on: 

The problem does not occur systematically, not even with preview on;
which leads me to suspect that it has to do with concurrency (maybe
a race condition), and that it may happen if I close Okular while it is
still saving the PDF copy... the files that crashed (3 in number) were
all downloaded VISA account reports — that might be another reason
(something foul in the PS-code? Still, the document showed up
flawlessly, and Okular only crashed immediately after closing the
frame).

I have preview off now and will add to the bug report if crashes still
occur.

Don&apos;t hesitate to ask more questions to pinpoint the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>947368</commentid>
    <comment_count>3</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2010-04-09 15:10:58 +0000</bug_when>
    <thetext>BTW, this is probably bug 213008; so with the Previews disabled it shouldn&apos;t happen...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>965823</commentid>
    <comment_count>4</comment_count>
    <who name="Pino Toscano">pino</who>
    <bug_when>2010-05-22 22:23:29 +0000</bug_when>
    <thetext>Right, thanks Dario!

*** This bug has been marked as a duplicate of bug 213008 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>