Bug 178026 - crash when clicking toplevel item in contents tree view
Summary: crash when clicking toplevel item in contents tree view
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-18 01:21 UTC by Kevin Sopp
Modified: 2008-12-18 01:39 UTC (History)
0 users

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 Kevin Sopp 2008-12-18 01:21:06 UTC
Version:            (using KDE 4.1.3)
Compiler:          gcc-4.3.2 
OS:                Linux
Installed from:    Unlisted Binary Package

I open this file:
http://www.ishiboo.com/~nirva/c++/C++STANDARD-ISOIEC14882-1998.pdf

I click on the Contents button on the left hand side to get a tree view of the index.
I click on the toplevel item in the tree view named 'AAA00025.PDF', at that point okular crashes.

Backtrace:
Application: Okular (okular), signal SIGSEGV
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb63d4a70 (LWP 5315)]
(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  0xb4cee8a7 in Okular::Page::height () from /usr/lib/libokularcore.so.1
#7  0xb4d9ff58 in PageSizeLabel::notifyViewportChanged ()
   from /usr/lib/kde4/okularpart.so
#8  0xb4cd1450 in Okular::Document::setViewport ()
   from /usr/lib/libokularcore.so.1
#9  0xb4dda8b2 in TOC::slotExecuted () from /usr/lib/kde4/okularpart.so
#10 0xb4dda924 in TOC::qt_metacall () from /usr/lib/kde4/okularpart.so
#11 0xb7fe182b in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#12 0xb7fe1d82 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#13 0xb70b04f3 in QAbstractItemView::clicked () from /usr/lib/libQtGui.so.4
#14 0xb70bd2e3 in QAbstractItemView::mouseReleaseEvent ()
   from /usr/lib/libQtGui.so.4
#15 0xb70f2264 in QTreeView::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#16 0xb6cb1d56 in QWidget::event () from /usr/lib/libQtGui.so.4
#17 0xb6f9a623 in QFrame::event () from /usr/lib/libQtGui.so.4
#18 0xb702413f in QAbstractScrollArea::viewportEvent ()
   from /usr/lib/libQtGui.so.4
#19 0xb70bdb7f in QAbstractItemView::viewportEvent ()
   from /usr/lib/libQtGui.so.4
#20 0xb70f24ba in QTreeView::viewportEvent () from /usr/lib/libQtGui.so.4
#21 0xb7026535 in ?? () from /usr/lib/libQtGui.so.4
#22 0x09d55408 in ?? ()
#23 0xbfb8a2fc in ?? ()
#24 0xbfb89e38 in ?? ()
#25 0xb7fcf1da in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
   from /usr/lib/libQtCore.so.4
Backtrace stopped: frame did not save the PC
#0  0xb806f424 in __kernel_vsyscall ()
Comment 1 Pino Toscano 2008-12-18 01:39:36 UTC
I found and fixed this problem few weeks ago while investigating another bug.
r890803 for KDE 4.2 and r890804 for KDE 4.1.4.