Thursday, November 29, 2007

okular, libgs and crashes on Debian and derivatives

If you are trying postscript rendering on okular, be advised you need to have a recent version, the more recent the best. (around 8.60 or so should good enough)

Unless you use Debian or any of its derivatives that reuse their patches (like Ubuntu) because they are using a patch (06_libpaper_support.dpatch) that makes libgs crash when you reuse the gs instance.

Fortunately for the patch creator there is not any program i know that reused the gs instance, until now. Okular is reusing it and now we crash because of someone patching library code and not being prudent.

So next time you touch library code be prudent! And if you are not the main developer of it be more than prudent!

2 comments:

Anonymous said...

Please report a bug against the libgs package in Debian to get this patch removed/fixed!

http://www.debian.org/Bugs/Reporting

Albert Astals Cid said...

i've contacted debian and ubuntu maintainers of the package