Bug 294633

Summary: okular crash when i try opening an xps document (word2003>printer xps with xp pro
Product: [Applications] okular Reporter: lapekine <lapekine>
Component: XPS backendAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: crash CC: lapekine
Priority: NOR    
Version: 0.14.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 4.8.1
Sentry Crash Report:
Attachments: my xps doc

Description lapekine 2012-02-22 19:57:59 UTC
Created attachment 69016 [details]
my xps doc

Version:           0.14.0 (using KDE 4.8.0) 
OS:                MS Windows

i made a xps doc with word2003 under xp pro
my original doc have only header an footer with one picture.
i can look and convert it with xps2image 
but crash when i try with okular
sorry for my english (i'am french and old...two problem)

Reproducible: Always

Steps to Reproduce:
shut down pc or not
open okular
try to open my xps document
crash

Actual Results:  
crash and the program automaticly closed

Expected Results:  
open xps
and perhaps save as very good picture...

OS: WindowsNT (i686) release Windows XP
Compiler: cl.exe
win xp sp3 -pentium 4 840 ht- 3Go mem
Comment 1 lapekine 2012-02-22 20:06:37 UTC
*** Bug 294634 has been marked as a duplicate of this bug. ***
Comment 2 Albert Astals Cid 2012-02-22 22:22:58 UTC
Git commit 04716f9fd185a2f4253bfdac027595f792621558 by Albert Astals Cid.
Committed on 22/02/2012 at 23:20.
Pushed by aacid into branch 'KDE/4.8'.

Do not cache end() of a QList you are removing stuff from...

...makes it crash :D
FIXED-IN: 4.8.1

M  +2    -2    core/textpage.cpp

http://commits.kde.org/okular/04716f9fd185a2f4253bfdac027595f792621558
Comment 3 Albert Astals Cid 2012-02-22 22:23:57 UTC
Git commit d34bc7f2632af2fe17ea9e0d36d4b9923a7fdeef by Albert Astals Cid.
Committed on 22/02/2012 at 23:20.
Pushed by aacid into branch 'master'.

Do not cache end() of a QList you are removing stuff from...

...makes it crash :D
FIXED-IN: 4.8.1

M  +2    -2    core/textpage.cpp

http://commits.kde.org/okular/d34bc7f2632af2fe17ea9e0d36d4b9923a7fdeef
Comment 4 Albert Astals Cid 2012-02-22 22:23:59 UTC
Git commit d34bc7f2632af2fe17ea9e0d36d4b9923a7fdeef by Albert Astals Cid.
Committed on 22/02/2012 at 23:20.
Pushed by aacid into branch 'master'.

Do not cache end() of a QList you are removing stuff from...

...makes it crash :D
FIXED-IN: 4.8.1

M  +2    -2    core/textpage.cpp

http://commits.kde.org/okular/d34bc7f2632af2fe17ea9e0d36d4b9923a7fdeef
Comment 5 lapekine 2012-02-23 10:51:53 UTC
many thanks i try to do something...
the 4.8.1 is not available in french
i begin in linux
i understand english like a french cow
but have many time and you make a very good job
perhaps i intall the english version
thanks of normandy
Comment 6 Albert Astals Cid 2012-02-23 17:31:19 UTC
KDE 4.8.1 is still not released. It will be released next week.
Comment 7 lapekine 2012-02-23 19:15:14 UTC
ok thanks
i wait
heu...i work on a vista update to seven with hp writing...one usb and one network link...conflict with virtual usb  and network tcpip host under seven 64...only twain under paint run well
good job too...lol
thanks for your presence and very good information
see you soon (in normandy because health)