Bug 325194 - Crash on pdf page forward
Summary: Crash on pdf page forward
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.16.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-09-23 11:33 UTC by Con Kolivas
Modified: 2017-03-29 08:54 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Con Kolivas 2013-09-23 11:33:22 UTC
Application: konqueror (4.10.5)
KDE Platform Version: 4.10.5
Qt Version: 4.8.4
Operating System: Linux 3.11.0-ck1 x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
Clicked forward on viewing a pdf file within konqueror and it crashed.

-- Backtrace:
Application: Konqueror (konqueror), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0566cbb7c0 (LWP 13358))]

Thread 3 (Thread 0x7f0547d04700 (LWP 13359)):
#0  0x00007f0566520b0d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f054c2c6e41 in ?? () from /usr/lib/tls/libnvidia-tls.so.325.15
#2  0x00007f055f50b6cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f055f4ccd3c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f055f4cd175 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f055f4cd304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f0563196036 in QEventDispatcherGlib::processEvents (this=0x7f05400008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f056316638f in QEventLoop::processEvents (this=this@entry=0x7f0547d03d90, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f0563166618 in QEventLoop::exec (this=this@entry=0x7f0547d03d90, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f0563068410 in QThread::exec (this=this@entry=0x1fffcb0) at thread/qthread.cpp:542
#10 0x00007f0563147edf in QInotifyFileSystemWatcherEngine::run (this=0x1fffcb0) at io/qfilesystemwatcher_inotify.cpp:256
#11 0x00007f056306abec in QThreadPrivate::start (arg=0x1fffcb0) at thread/qthread_unix.cpp:338
#12 0x00007f055f99ff8e in start_thread (arg=0x7f0547d04700) at pthread_create.c:311
#13 0x00007f056652ee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f053effd700 (LWP 14267)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f0563069694 in _q_futex (timeout=0x0, val=2, op=0, addr=0x1fdf020, addr2=<optimized out>, val2=<optimized out>) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=this@entry=0x1fdf020, timeout=timeout@entry=-1) at thread/qmutex_unix.cpp:113
#3  0x00007f05630658a5 in QMutex::lockInternal (this=this@entry=0x1fdefd8) at thread/qmutex.cpp:450
#4  0x00007f056306ac70 in lockInline (this=0x1fdefd8) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:190
#5  lockInline (this=0x1fdefd8) at thread/qthread_unix.cpp:299
#6  QMutexLocker (m=0x1fdefd8, this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:109
#7  QThreadPrivate::start (arg=0x1fdfe30) at thread/qthread_unix.cpp:317
#8  0x00007f055f99ff8e in start_thread (arg=0x7f053effd700) at pthread_create.c:311
#9  0x00007f056652ee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f0566cbb7c0 (LWP 13358)):
[KCrash Handler]
#6  0x00007f056646c037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f056646f698 in __GI_abort () at abort.c:90
#8  0x00007f05664a95ab in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7f05665bc860 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:199
#9  0x00007f05664b5a46 in malloc_printerr (ptr=0x2747ab50, str=0x7f05665bc948 "double free or corruption (!prev)", action=3) at malloc.c:4902
#10 _int_free (av=<optimized out>, p=0x2747ab40, have_lock=0) at malloc.c:3758
#11 0x00007f054d48a4dc in ?? () from /usr/lib/libGL.so.1
#12 0x00007f054c2c617a in ?? () from /usr/lib/tls/libnvidia-tls.so.325.15
#13 0x00007f056306a3be in QThread::start (this=0x1fdfe30, priority=priority@entry=QThread::InheritPriority) at thread/qthread_unix.cpp:640
#14 0x00007f054654a96e in Okular::TextPageGenerationThread::startGeneration (this=<optimized out>, page=page@entry=0x257dd70) at ../core/generator_p.cpp:80
#15 0x00007f054654a0f6 in Okular::Generator::generatePixmap (this=0x206a960, request=<optimized out>) at ../core/generator.cpp:234
#16 0x00007f054653df9a in Okular::DocumentPrivate::sendGeneratorPixmapRequest (this=this@entry=0x20f2920) at ../core/document.cpp:1209
#17 0x00007f054653f334 in Okular::DocumentPrivate::requestDone (this=0x20f2920, req=0x23d6f040) at ../core/document.cpp:4096
#18 0x00007f054654a2e4 in Okular::GeneratorPrivate::pixmapGenerationFinished (this=0x206b9f0) at ../core/generator.cpp:108
#19 0x00007f05631815be in QObject::event (this=0x206a960, e=<optimized out>) at kernel/qobject.cpp:1194
#20 0x00007f0563b518ec in QApplicationPrivate::notify_helper (this=this@entry=0x1a20490, receiver=receiver@entry=0x206a960, e=e@entry=0x7f05300f7fc0) at kernel/qapplication.cpp:4567
#21 0x00007f0563b5425b in QApplication::notify (this=this@entry=0x7fffa7bacb00, receiver=receiver@entry=0x206a960, e=e@entry=0x7f05300f7fc0) at kernel/qapplication.cpp:4428
#22 0x00007f056485d1a6 in KApplication::notify (this=0x7fffa7bacb00, receiver=0x206a960, event=0x7f05300f7fc0) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00007f056316763e in QCoreApplication::notifyInternal (this=0x7fffa7bacb00, receiver=receiver@entry=0x206a960, event=event@entry=0x7f05300f7fc0) at kernel/qcoreapplication.cpp:946
#24 0x00007f056316b171 in sendEvent (event=0x7f05300f7fc0, receiver=0x206a960) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x19c4670) at kernel/qcoreapplication.cpp:1570
#26 0x00007f056316b4a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#27 0x00007f0563195e83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#28 postEventSourceDispatch (s=0x1a02260) at kernel/qeventdispatcher_glib.cpp:279
#29 0x00007f055f4ccf05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f055f4cd248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f055f4cd304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f0563196016 in QEventDispatcherGlib::processEvents (this=0x19c5b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#33 0x00007f0563bf713e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f056316638f in QEventLoop::processEvents (this=this@entry=0x7fffa7bac7f0, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f0563166618 in QEventLoop::exec (this=this@entry=0x7fffa7bac7f0, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007f056316bcf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#37 0x00007f0563b4fffc in QApplication::exec () at kernel/qapplication.cpp:3828
#38 0x00007f05668b173e in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../../konqueror/src/konqmain.cpp:242
#39 0x00007f0566456ea5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=2, ubp_av=0x7fffa7bacdc8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffa7bacdb8) at libc-start.c:260
#40 0x0000000000400701 in _start ()

Possible duplicates by query: bug 325075, bug 324099, bug 322518, bug 321764, bug 321465.

Reported using DrKonqi
Comment 1 Christoph Feck 2013-09-23 21:34:39 UTC
If this is reproducible without the nvidia binary driver, please add an updated backtrace. Developers looking at the current backtrace could easily believe the crash to be caused by nvidia memory management patches, while the real issue might indeed be double-free in Okular code.

If possible, please try to run this in valgrind. For more information, please see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_with_Valgrind
Comment 2 Luigi Toscano 2014-05-08 14:51:07 UTC
Hi, can you reproduce the issue with the more updated konqueror and okular, and provide the (address to the) fils where it failed? Can you please also consider the information requested in comment 1 ?
Comment 3 Albert Astals Cid 2017-03-28 22:25:37 UTC
No answer for years
Comment 4 Con Kolivas 2017-03-29 08:54:11 UTC
Sorry, I've long since moved off this version of kde and the current version does not have this issue so it can be quietly forgotten.