[Okular-devel] [okular] [Bug 338061] New: Okular modify a PDF page when highlight and crashed when it's removed

Brallan Aguilar apcomptec at gmail.com
Tue Aug 5 19:31:07 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=338061

            Bug ID: 338061
           Summary: Okular modify a PDF page when highlight and crashed
                    when it's removed
           Product: okular
           Version: 0.19.3
          Platform: Fedora RPMs
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: apcomptec at gmail.com

Application: okular (0.19.3)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.15.7-200.fc20.i686 i686
Distribution: "Fedora release 20 (Heisenbug)"

-- Information about the crash:
- What I was doing when the application crashed: 
1. Open a PDF eBook
2. Highlight a pair of lines (accessed pressing F6)
3. Occured and odd behaviour: All content in the page where I highlight simply
dissapeared and the blue color of the highlight (because I'm using the 'Inverse
colors' from 'Accessibilty') is the only showed (excluding their text). The
content in other pages was also modified (only pictures can be viewed, no text)
4. Delete the highlight
5. Crash occur

When I reopen the eBook, I see the same as before deleting the highlight.

The crash can be reproduced every time.

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

Thread 2 (Thread 0xb55dfb40 (LWP 2771)):
[KCrash Handler]
#7  0xb7791b1c in __kernel_vsyscall ()
#8  0x49eeab96 in __GI_raise (sig=sig at entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#9  0x49eec3d3 in __GI_abort () at abort.c:89
#10 0x49ee3c27 in __assert_fail_base (fmt=0x4a033eb8 "%s%s%s:%u: %s%sAssertion
`%s' failed.\n%n", assertion=assertion at entry=0x4860f713 "pageobj != __null",
file=file at entry=0x4860f6ba "Annot.cc", line=line at entry=1808,
function=function at entry=0x48613554 <Annot::getRotation()
const::__PRETTY_FUNCTION__> "int Annot::getRotation() const") at assert.c:92
#11 0x49ee3cd7 in __GI___assert_fail (assertion=0x4860f713 "pageobj != __null",
file=0x4860f6ba "Annot.cc", line=1808, function=0x48613554
<Annot::getRotation() const::__PRETTY_FUNCTION__> "int Annot::getRotation()
const") at assert.c:101
#12 0x48506a83 in Annot::getRotation (this=0xa142600) at Annot.cc:1808
#13 0x48507410 in AnnotTextMarkup::draw (this=0xa142600, gfx=0xb3e46fa0,
printing=false) at Annot.cc:3823
#14 0x48591165 in Page::displaySlice (this=0x9e70a68, out=out at entry=0xb3e00610,
hDPI=hDPI at entry=169.52433046515054, vDPI=vDPI at entry=169.40000000000001,
rotate=rotate at entry=0, useMediaBox=useMediaBox at entry=false,
crop=crop at entry=true, sliceX=sliceX at entry=-1, sliceY=sliceY at entry=-1,
sliceW=sliceW at entry=-1, sliceH=sliceH at entry=-1, printing=printing at entry=false,
abortCheckCbk=abortCheckCbk at entry=0x0,
abortCheckCbkData=abortCheckCbkData at entry=0x0,
annotDisplayDecideCbk=annotDisplayDecideCbk at entry=0x0,
annotDisplayDecideCbkData=annotDisplayDecideCbkData at entry=0x0,
copyXRef=copyXRef at entry=true) at Page.cc:605
#15 0x4859944f in PDFDoc::displayPageSlice (this=0x9e288a0,
out=out at entry=0xb3e00610, page=21, hDPI=hDPI at entry=169.52433046515054,
vDPI=vDPI at entry=169.40000000000001, rotate=rotate at entry=0,
useMediaBox=useMediaBox at entry=false, crop=crop at entry=true,
printing=printing at entry=false, sliceX=sliceX at entry=-1, sliceY=sliceY at entry=-1,
sliceW=sliceW at entry=-1, sliceH=sliceH at entry=-1,
abortCheckCbk=abortCheckCbk at entry=0x0,
abortCheckCbkData=abortCheckCbkData at entry=0x0,
annotDisplayDecideCbk=annotDisplayDecideCbk at entry=0x0,
annotDisplayDecideCbkData=annotDisplayDecideCbkData at entry=0x0,
copyXRef=copyXRef at entry=true) at PDFDoc.cc:498
#16 0xb56ae2d3 in Poppler::Page::renderToImage (this=0xb3e4cd00,
xres=169.52433046515054, yres=169.40000000000001, x=-1, y=-1, w=-1, h=-1,
rotate=Poppler::Page::Rotate0) at poppler-page.cc:317
#17 0xb573470a in PDFGenerator::image (this=0x9df2b50, request=0x9cec690) at
/usr/src/debug/okular-4.13.3/generators/poppler/generator_pdf.cpp:934
#18 0xb668a1f5 in Okular::PixmapGenerationThread::run (this=0xa284d08) at
/usr/src/debug/okular-4.13.3/core/generator_p.cpp:64
#19 0x4e7f2bdb in QThreadPrivate::start (arg=0xa284d08) at
thread/qthread_unix.cpp:349
#20 0x4a089d8a in start_thread (arg=0xb55dfb40) at pthread_create.c:309
#21 0x49fb3a0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 1 (Thread 0xb77537c0 (LWP 2743)):
#0  0xb7791b1c in __kernel_vsyscall ()
#1  0x4a0906ab in read () at ../sysdeps/unix/syscall-template.S:81
#2  0x4a2aa106 in read (__nbytes=16, __buf=0xbfae5bcc, __fd=<optimized out>) at
/usr/include/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x99a0898) at gwakeup.c:212
#4  0x4a26534b in g_main_context_check (context=context at entry=0x99c8448,
max_priority=2147483647, fds=fds at entry=0x99c5dc8, n_fds=n_fds at entry=6) at
gmain.c:3514
#5  0x4a265822 in g_main_context_iterate (context=context at entry=0x99c8448,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
gmain.c:3710
#6  0x4a2659e9 in g_main_context_iteration (context=0x99c8448, may_block=1) at
gmain.c:3774
#7  0x4e941dcf in QEventDispatcherGlib::processEvents
(this=this at entry=0x99a6e48, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#8  0x4ec8d25c in QGuiEventDispatcherGlib::processEvents (this=0x99a6e48,
flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#9  0x4e90eac0 in QEventLoop::processEvents (this=this at entry=0xbfae5dc4,
flags=...) at kernel/qeventloop.cpp:149
#10 0x4e90ee51 in QEventLoop::exec (this=this at entry=0xbfae5dc4, flags=...) at
kernel/qeventloop.cpp:204
#11 0x4e914c7b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#12 0x4ebd4e95 in QApplication::exec () at kernel/qapplication.cpp:3823
#13 0x0804f876 in main (argc=6, argv=0xbfae5ff4) at
/usr/src/debug/okular-4.13.3/shell/main.cpp:174

Possible duplicates by query: bug 336885, bug 335915.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list