On Fri, 23 May 2008 22:30:02 +0200 Francesco Poli wrote: > On Fri, 23 May 2008 11:25:19 +0200 Martin Fiedler wrote: > > > The problem here is certainly insufficient space in /tmp. [...] > > However, > > you are right that KeyJnote shouldn't crash then -- this will be rectified > > in the next upstream version. > > Thank you a lot!
Hi Martin, this bug (http://bugs.debian.org/482336) is unfortunately still present in the impressive version currently in Debian wheezy (that is to say: 0.10.3~WIP+svn31-1). I am still able to reproduce (see below). Have you by chance managed to find a way to avoid the crash when a required resource is not available? As I said previously, I think that impressive should check (by catching relevant exceptions) whether a required resource (mass memory, central/virtual memory, ...) could be successfully acquired. In case it could not, impressive should refrain from caching the entire presentation and cache only a (moving) part of it... without crashing! Here's the output I obtained when I reproduced the bug: $ impressive ep2004-Poli-remailers.pdf Welcome to Impressive version 0.10.3-WIP jack_client_new: deprecated Cannot lock down memory area (Cannot allocate memory) jack_client_new: deprecated Cannot lock down memory area (Cannot allocate memory) cannot connect alsa-jack.jackP.2576.1:out_000 to alsa_pcm:playback_1 ALSA write failed (unrecoverable): Input/output error Detected screen size: 1600x900 pixels OpenGL renderer: Mesa DRI Intel(R) 965G GEM 20100330 DEVELOPMENT Using GL_ARB_texture_non_power_of_two. Unhandled exception in thread started by <function RenderThread at 0x1dd47d0> Traceback (most recent call last): File "/usr/bin/impressive", line 1924, in RenderThread PageImage(page) File "/usr/bin/impressive", line 1892, in PageImage AddToCache(page, data) File "/usr/bin/impressive", line 1566, in AddToCache CacheFile.write(data) IOError: [Errno 28] No space left on device Error: pdftoppm produced an unreadable file (page 84) =============================================================================== OOPS! Impressive crashed! This shouldn't happen. Please report this incident to the author, including the full output of the program, particularly the following lines. Python version: 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) [GCC 4.4.5] PyGame version: 1.8.1release PIL version: 1.1.7 PyOpenGL version: 3.0.1b2 Traceback (most recent call last): File "/usr/bin/impressive", line 4244, in <module> run_main() File "/usr/bin/impressive", line 3747, in run_main main() File "/usr/bin/impressive", line 3739, in main HandleEvent(pygame.event.wait()) File "/usr/bin/impressive", line 3222, in HandleEvent DoOverview() File "/usr/bin/impressive", line 3043, in DoOverview if not PreloadNextPage(GetNextPage(Pcurrent, 1)): File "/usr/bin/impressive", line 2451, in PreloadNextPage RenderPage(page, Tnext) File "/usr/bin/impressive", line 1900, in RenderPage GL_RGB, GL_UNSIGNED_BYTE, PageImage(page)) File "/usr/bin/impressive", line 1892, in PageImage AddToCache(page, data) File "/usr/bin/impressive", line 1566, in AddToCache CacheFile.write(data) IOError: [Errno 28] No space left on device -- http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt New GnuPG key, see the transition document! ..................................................... Francesco Poli . GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE
pgpn9eeTAREGH.pgp
Description: PGP signature