[Okular-devel] [Bug 176304] crash on opening a certain pdf file

Ryan Ren archx at 163.com
Mon Jan 12 04:31:59 CET 2009


http://bugs.kde.org/show_bug.cgi?id=176304





--- Comment #5 from Ryan Ren <archx 163 com>  2009-01-12 04:31:57 ---
Hello,

I download kdegraphics-4.1.87.tar.bz2 and build it on my machine and reproduced
this crash with self-built okular. Hope this helps.


bash-3.2$ gdb ./okular
GNU gdb 6.8           
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.           
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"   
and "show warranty" for details.                                             
This GDB was configured as "x86_64-unknown-linux-gnu"...                     
(gdb) run                                                                    
Starting program: /home/pem/tmp/kde-beta/build.kdegraphics/okular/shell/okular 
[Thread debugging using libthread_db enabled]                                  
[New Thread 0x7f4cda92b750 (LWP 9689)]                                         
QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const
Solid::DeviceInterface::Type&)  error: 
"org.freedesktop.DBus.Error.Disconnected" 

QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const
Solid::DeviceInterface::Type&)  error: 
"org.freedesktop.DBus.Error.Disconnected" 

QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const
Solid::DeviceInterface::Type&)  error: 
"org.freedesktop.DBus.Error.Disconnected" 

[New Thread 0x7f4cca643950 (LWP 9705)]
[Thread 0x7f4cca643950 (LWP 9705) exited]
[New Thread 0x7f4cca643950 (LWP 9706)]   
[Thread 0x7f4cca643950 (LWP 9706) exited]
[New Thread 0x7f4cca643950 (LWP 9707)]   
[New Thread 0x7f4cc9e42950 (LWP 9708)]   
[Thread 0x7f4cca643950 (LWP 9707) exited]

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0x7f4cc9e42950 (LWP 9708)]      
0x00007f4cd36f257f in cff_parse_real () from /usr/lib/libfreetype.so.6
(gdb) where                                                           
#0  0x00007f4cd36f257f in cff_parse_real () from /usr/lib/libfreetype.so.6
#1  0x00007f4cd36f6a65 in cff_parse_font_bbox () from /usr/lib/libfreetype.so.6
#2  0x00007f4cd36f2892 in cff_parser_run () from /usr/lib/libfreetype.so.6      
#3  0x00007f4cd36f688b in cff_subfont_load () from /usr/lib/libfreetype.so.6    
#4  0x00007f4cd36f6eae in cff_face_init () from /usr/lib/libfreetype.so.6       
#5  0x00007f4cd36d7200 in open_face () from /usr/lib/libfreetype.so.6           
#6  0x00007f4cd36d961e in FT_Open_Face () from /usr/lib/libfreetype.so.6        
#7  0x00007f4cd36da330 in FT_New_Memory_Face () from /usr/lib/libfreetype.so.6  
#8  0x00007f4cca9c807b in SplashFTFontFile::loadType1Font () from
/usr/lib/libpoppler.so.4                                                        
---Type <return> to continue, or q <return> to quit---                          
#9  0x00007f4cca9c8dd4 in SplashFontEngine::loadType1CFont () from
/usr/lib/libpoppler.so.4                                                        
#10 0x00007f4cca8f5c0a in SplashOutputDev::doUpdateFont () from
/usr/lib/libpoppler.so.4                                                        
#11 0x00007f4cca8f5eec in SplashOutputDev::drawChar () from
/usr/lib/libpoppler.so.4                                                        
#12 0x00007f4cca9342d2 in Gfx::doShowText () from /usr/lib/libpoppler.so.4      
#13 0x00007f4cca934624 in Gfx::opShowText () from /usr/lib/libpoppler.so.4      
#14 0x00007f4cca92b80d in Gfx::go () from /usr/lib/libpoppler.so.4              
#15 0x00007f4cca92fd26 in Gfx::display () from /usr/lib/libpoppler.so.4         
#16 0x00007f4cca972430 in Page::displaySlice () from /usr/lib/libpoppler.so.4   
#17 0x00007f4ccac87e1d in Poppler::Page::renderToImage () from
/usr/lib/libpoppler-qt4.so.3                                                    
---Type <return> to continue, or q <return> to quit---                          
#18 0x00007f4ccaee95b2 in PDFPixmapGeneratorThread::run () from
/usr/lib/kde4/okularGenerator_poppler.so                                        
#19 0x00007f4cda493d79 in ?? () from /usr/lib/libQtCore.so.4
#20 0x00007f4cda222fc7 in start_thread () from /lib/libpthread.so.0
#21 0x00007f4cd4b355dd in clone () from /lib/libc.so.6
#22 0x0000000000000000 in ?? ()
(gdb) list
27          QDBusInterface iface("org.kde.okular", "/okular",
"org.kde.okular");
28          if (!iface.isValid())
29              return false;
30
31          iface.call("openDocument", args->url(0).pathOrUrl());
32
33          return true;
34      }
35
---Type <return> to continue, or q <return> to quit---
36      int main(int argc, char** argv)
(gdb)


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list