Bug 167353

Summary: Okular crashes when closing application after printing
Product: [Applications] okular Reporter: Christophe Contant <ccontant>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version First Reported In: 0.7   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christophe Contant 2008-07-24 15:08:10 UTC
Version:           0.7 (using KDE 4.0.98)
Installed from:    SuSE RPMs
OS:                Linux

When I close Okular after printing a PDF document, I get an application crash. The document is correctly printed.
Opening and closing the same document without printing it makes no problem

Here is the backtrace : 
Application: Okular (okular), signal SIGSEGV
[?1034h(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb66126d0 (LWP 4323)]
[New Thread 0xb1c5eb90 (LWP 4333)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0x00000001 in ?? ()
#7  0xb4ec0797 in ?? () from /usr/lib/libokularcore.so.1
#8  0xb4ed702d in Okular::Document::~Document ()
   from /usr/lib/libokularcore.so.1
#9  0xb4f65e67 in ?? () from /usr/lib/kde4/okularpart.so
#10 0x0804ed4a in _start ()
#0  0xffffe430 in __kernel_vsyscall ()
Comment 1 Christophe Contant 2008-07-24 15:10:07 UTC
KDE version was badly reported!

Okular Version 0.7
Using KDE 4.1.00 (KDE 4.0.99 (4.1 RC1+)) "release 13.8"
Comment 2 Pino Toscano 2008-07-24 15:32:09 UTC
SVN commit 837341 by pino:

properly keep a reference to the print option widget, and create it only when necessary

BUG: 167353


 M  +5 -2      generator_pdf.cpp  
 M  +2 -1      generator_pdf.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=837341
Comment 3 Pino Toscano 2008-07-24 15:32:55 UTC
SVN commit 837342 by pino:

backport: properly keep a reference to the print option widget, and create it only when necessary

CCBUG: 167353


 M  +5 -2      generator_pdf.cpp  
 M  +2 -1      generator_pdf.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=837342