Package: pari
Version: 2.6.0

If a program reads or writes to files too often, gp stops with an error. �The easiest to replicate is the bug when writing to files:

� � � � � � � � � � GP/PARI CALCULATOR Version 2.6.0 (alpha)
� � � � � amd64 running linux (x86-64/GMP-5.0.2 kernel) 64-bit version
� � compiled: May 15 2013, gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)�
� � � � � � � � �(readline v6.2 enabled, extended help enabled)

� � � � � � � � � � �Copyright (C) 2000-2013 The PARI Group

PARI/GP is free software, covered by the GNU General Public License, and comes�
WITHOUT ANY WARRANTY WHATSOEVER.

Type ? for help, \q to quit.
Type ?12 for how to get moral (and possibly technical) support.

parisize = 8000000, primelimit = 500000

? for(j=1,10^5, print(j); write("deleteme", j))

...
1020
1021
1022
� *** � at top-level: for(j=1,10^5,print(j);write("deleteme",j))
� *** � � � � � � � � � � � � � � � � � � � ^--------------------
� *** write: error opening output file: `deleteme'.
� *** � Break loop: type 'break' to go back to GP prompt
break>�

This command works for me in 2.5.4.

John