Bug 328511 - Okular auto-shutdown when I'm reading a pdf file
Summary: Okular auto-shutdown when I'm reading a pdf file
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.17.2
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-12-07 14:30 UTC by xiao
Modified: 2013-12-07 16:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xiao 2013-12-07 14:30:48 UTC
Application: okular (0.17.2)
KDE Platform Version: 4.11.2 (Compiled from sources)
Qt Version: 4.8.5
Operating System: Linux 3.11.6-4-default i686
Distribution: "openSUSE 13.1 (Bottle) (i586)"

-- Information about the crash:
I was reading a PDF file,and when I was reading page 94(500 + pages in total),the okular exited itself.I reopened the file,and okular still exits when I read to that page.This situation has never happened to other pdf file before.
You can access this PDf file at
http://linux.linuxidc.com(The user name and password is " www.linuxidc.com"),
select->2012年资料->6月->4日,the pdf file is in "C++ GUI Qt 4编程(第二版)(中文高清PDF扫描版)+随书源码".

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb4b887c0 (LWP 6593))]

Thread 4 (Thread 0x9f811b40 (LWP 6598)):
#0  0xb56af2e0 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#1  0xb5d85b14 in pthread_mutex_unlock () from /lib/libc.so.6
#2  0xb546eca0 in g_mutex_unlock () from /usr/lib/libglib-2.0.so.0
#3  0xb542bc42 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb615360f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0xb6122a03 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb6122d29 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb601130d in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0xb6102e14 in ?? () from /usr/lib/libQtCore.so.4
#9  0xb6013c5f in ?? () from /usr/lib/libQtCore.so.4
#10 0xb56ac07a in start_thread () from /lib/libpthread.so.0
#11 0xb5d7880e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa153fb40 (LWP 6621)):
[KCrash Handler]
#6  0xb5d0dfe6 in __strlen_sse2_bsf () from /lib/libc.so.6
#7  0xa17b38f5 in GooString::appendfv(char const*, char*) () from /usr/lib/libpoppler.so.43
#8  0xa17b3a7e in GooString::formatv(char const*, char*) () from /usr/lib/libpoppler.so.43
#9  0xa170e134 in error(ErrorCategory, long long, char const*, ...) () from /usr/lib/libpoppler.so.43
#10 0xa17636cb in JBIG2Stream::readSegments() () from /usr/lib/libpoppler.so.43
#11 0xa1763b68 in JBIG2Stream::reset() () from /usr/lib/libpoppler.so.43
#12 0xa177d791 in ImageStream::reset() () from /usr/lib/libpoppler.so.43
#13 0xa16dfe83 in SplashOutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, int*, bool) () from /usr/lib/libpoppler.so.43
#14 0xa172dbff in Gfx::doImage(Object*, Stream*, bool) () from /usr/lib/libpoppler.so.43
#15 0xa172f181 in Gfx::opXObject(Object*, int) () from /usr/lib/libpoppler.so.43
#16 0xa171f90d in Gfx::execOp(Object*, Object*, int) () from /usr/lib/libpoppler.so.43
#17 0xa1728a71 in Gfx::go(bool) () from /usr/lib/libpoppler.so.43
#18 0xa1728fce in Gfx::display(Object*, bool) () from /usr/lib/libpoppler.so.43
#19 0xa17706fe in Page::displaySlice(OutputDev*, double, double, int, bool, bool, int, int, int, int, bool, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) () from /usr/lib/libpoppler.so.43
#20 0xa17782de in PDFDoc::displayPageSlice(OutputDev*, int, double, double, int, bool, bool, bool, int, int, int, int, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) () from /usr/lib/libpoppler.so.43
#21 0xa18b205a in Poppler::Page::renderToImage(double, double, int, int, int, int, Poppler::Page::Rotation) const () from /usr/lib/libpoppler-qt4.so.4
#22 0xa191c0a7 in ?? () from /usr/lib/kde4/okularGenerator_poppler.so
#23 0xb1e06c99 in ?? () from /usr/lib/libokularcore.so.3
#24 0xb6013c5f in ?? () from /usr/lib/libQtCore.so.4
#25 0xb56ac07a in start_thread () from /lib/libpthread.so.0
#26 0xb5d7880e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa0d3eb40 (LWP 6622)):
#0  0xb7764430 in __kernel_vsyscall ()
#1  0xb5d73ee7 in syscall () from /lib/libc.so.6
#2  0xb60125fc in ?? () from /usr/lib/libQtCore.so.4
#3  0xb600e4cc in QMutex::lockInternal() () from /usr/lib/libQtCore.so.4
#4  0xb600e7b0 in QMutex::lock() () from /usr/lib/libQtCore.so.4
#5  0xa191b40a in ?? () from /usr/lib/kde4/okularGenerator_poppler.so
#6  0xb1e064f8 in ?? () from /usr/lib/libokularcore.so.3
#7  0xb6013c5f in ?? () from /usr/lib/libQtCore.so.4
#8  0xb56ac07a in start_thread () from /lib/libpthread.so.0
#9  0xb5d7880e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb4b887c0 (LWP 6593)):
#0  0xb7764430 in __kernel_vsyscall ()
#1  0xb5d6688b in read () from /lib/libc.so.6
#2  0xb546de3e in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb542b5eb in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#4  0xb542ba8a in ?? () from /usr/lib/libglib-2.0.so.0
#5  0xb542bc38 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#6  0xb61535ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb674d51e in ?? () from /usr/lib/libQtGui.so.4
#8  0xb6122a03 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0xb6122d29 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb61284fe in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#11 0xb669b944 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#12 0x0804ef36 in ?? ()
#13 0xb5ca39d3 in __libc_start_main () from /lib/libc.so.6
#14 0x0804fd1d in _start ()

Reported using DrKonqi
Comment 1 Fabio D'Urso 2013-12-07 16:42:16 UTC
Thank you for the bug report.
It was a libpoppler issue and we've patched it ( http://cgit.freedesktop.org/poppler/poppler/commit/?h=poppler-0.24&id=58e04a08afee39370283c494ee2e4e392fd3b684 ). It will be fixed in poppler 0.24.5