Bug 159524 - Okular crashes on postscript file when viewed at page width
Summary: Okular crashes on postscript file when viewed at page width
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-18 15:32 UTC by Hao Chen
Modified: 2008-10-11 22:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
postscript file generated by R stat package that crashes okular (26.82 KB, application/postscript)
2008-03-18 15:34 UTC, Hao Chen
Details
Backtrace (9.18 KB, text/plain)
2008-04-01 00:34 UTC, Frank Reininghaus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hao Chen 2008-03-18 15:32:39 UTC
Version:            (using KDE 4.0.2)
Installed from:    Ubuntu Packages
OS:                Linux

Okular load the file, the size of the page zooms in a little, then zooms out a little, this goes on for a few rounds, then okular crashes.

View was set to page width
Comment 1 Hao Chen 2008-03-18 15:34:30 UTC
Created attachment 23951 [details]
postscript file generated by R stat package that crashes okular
Comment 2 Pino Toscano 2008-03-18 15:39:10 UTC
Backtrace and libgs version, please.
Comment 3 Frank Reininghaus 2008-04-01 00:33:11 UTC
I managed to reproduce this running KDE SVN (revision 792359) using libgs version 8.61.dfsg.1~svn8187-0ubuntu3.3 on Kubuntu 7.10. I'll attach a backtrace.

Opening the file, switching to the "Fit width" view mode and maximising/restoring Okular caused the crash.

I found this bug report because I found a similar behaviour when opening the GSL manual, available at 

http://www.gnu.org/software/gsl/manual/gsl-ref.ps.gz

and scrolling forward a few pages. This also made Okular crash, the backtrace looked similar.

That might be an issue related to Debian/Ubuntu-specific modifications to libgs though, see

http://tsdgeos.blogspot.com/2007/11/okular-libgs-and-crashes-on-debian-and.html
Comment 4 Frank Reininghaus 2008-04-01 00:34:16 UTC
Created attachment 24142 [details]
Backtrace
Comment 5 Pino Toscano 2008-04-01 00:57:38 UTC
@comment #3:
Cannot reproduce the crash with both:
- Okular 0.6.3 and (vanilla) libgs 8.57
- Okular 0.6.80 and (Debian's) libgs 8.62 and libspectre 0.2.0
Comment 6 Frank Reininghaus 2008-04-01 12:44:12 UTC
It looks like this really is related to the too old Debian/Ubuntu-specific libgs then.

This bug should probably be closed (or marked as a duplicate of bug #155674, because this seems to have the same origin) by someone who can do this.
Comment 7 Pino Toscano 2008-04-01 12:53:35 UTC
@comment #6:
looks like you are forgetting about the reporter.
I want to know more info from him.
Comment 8 Pino Toscano 2008-06-11 17:39:07 UTC
Hao, any news about this crash?
Comment 9 Pino Toscano 2008-10-11 22:47:55 UTC
No futher news from the reporter in the last 7 months, and the crash analysis in comment #3 and #6 look correct, so assuming it was not an Okular problem.
Please reopen if there are further useful information.