[Okular-devel] Segfaults upon launch, cannot find RTTI symbols

Arjun AK arjunak234 at gmail.com
Mon Jun 30 20:53:53 UTC 2014


On Monday 30 Jun 2014 11:30:55 PM Albert Astals Cid wrote:
> El Dimecres, 25 de juny de 2014, a les 00:12:18, Arjun AK va escriure:
> > I've built okular from source. But when running it, it segfaults:
> > 
> > Application: Okular (okular), signal: Segmentation fault
> > Using host libthread_db library "/lib64/libthread_db.so.1".
> > [KCrash Handler]
> > #5  0x0000000000000000 in ?? ()
> > #6  0x000000000040e04b in Shell::openDocument (this=0x1ca0810, doc=...) at
> > /home/arjun/src/okular/shell/shell.cpp:182 #7  0x000000000040b921 in main
> > (argc=2, argv=0x7fff443756f8) at /home/arjun/src/okular/shell/main.cpp:163
> > The offending line is src/okular/shell/shell.cpp:
> > > if( !dynamic_cast<Okular::ViewerInterface*>(part)->openNewFilesInTabs() &&
> > > !part->url().isEmpty() )
> > "RTTI symbol not found for class 'Okular::Part'" is getting printed on the
> > terminal. I checked the build messages, '-fno-rtti' is not being passed
> > anywhere. So what is happening here?
> 
> Most probably? You're doing it wrong.
> 
> But since you didn't say what you did, we can't help spotting what you did 
> wrong.
> 
> I can point you to http://okular.kde.org/download.php that in the last section 
> says how to do it correctly.
> 
> Cheers,
>   Albert
> 
> > _______________________________________________
> > Okular-devel mailing list
> > Okular-devel at kde.org
> > https://mail.kde.org/mailman/listinfo/okular-devel
> 
> _______________________________________________
> Okular-devel mailing list
> Okular-devel at kde.org
> https://mail.kde.org/mailman/listinfo/okular-devel


This is how it was compiled and run:

$ cmake ../okular -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4
$ shell/okular foo



More information about the Okular-devel mailing list