[Okular-devel] [Bug 250728] crash when opening xps files

Peng Zhang pczhang at gmail.com
Sat Sep 11 03:24:35 CEST 2010


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





--- Comment #4 from Peng Zhang <pczhang gmail com>  2010-09-11 03:24:34 ---
(In reply to comment #3)
> Works for me, can you please run
> valgrind okular /path/to/my/file.xps
> and paste the output?

==3019== Memcheck, a memory error detector
==3019== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==3019== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for
copyright info
==3019== Command: okular /media/PZHANG/mzdhl.xps
==3019== 
okular(3019)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(3019)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(3019)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
==3019== Thread 3:
==3019== Invalid read of size 4
==3019==    at 0x15721330: XpsFile::getFontByName(QString const&, float)
(qatomic_x86_64.h:121)
==3019==    by 0x15722690: XpsPage::textPage() (generator_xps.cpp:1643)
==3019==    by 0x15723295: XpsGenerator::textPage(Okular::Page*)
(generator_xps.cpp:2128)
==3019==    by 0x11B99A21: Okular::TextPageGenerationThread::run()
(generator_p.cpp:103)
==3019==    by 0x6321774: QThreadPrivate::start(void*) (qthread_unix.cpp:248)
==3019==    by 0x92A39C9: start_thread (pthread_create.c:300)
==3019==    by 0x77BC72C: clone (clone.S:112)
==3019==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==3019== 
KCrash: Application 'okular' crashing...
sock_file=/home/pczhang/.kde/socket-W500/kdeinit4__0

[1]+  Stopped                 valgrind okular /media/PZHANG/mzdhl.xps

-- 
Configure bugmail: https://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