Before I spent a lot of time getting RewriteDemo to fail in the same way, any short answer to the following?
A program that was running under Linux is failing on a sunfire cluster with GPC recently installed. The "RewriteDemo" in the manual executes normally, and I've tried several variants of the following code segments with the same results.
var dmp_file : text; envname : string; ... assign(dmp_file,envname+'.output'); extend(dmp_file); ...
A gdb backtrace: (gdb) run Starting program: /home/hpc1014/fmtest/./a.out
Program received signal SIGSEGV, Segmentation fault. 0xff2b303c in strlen () from /usr/lib/libc.so.1 (gdb) bt #0 0xff2b303c in strlen () from /usr/lib/libc.so.1 #1 0xff302890 in _doprnt () from /usr/lib/libc.so.1 #2 0xff304658 in sprintf () from /usr/lib/libc.so.1 #3 0x2f664 in _p_get_file_name (File=0x690d8) at file.c:1512 #4 0x358b8 in Ioerrorfile (N=404, F=@0x690d8) at error.pas:849 #5 0x43050 in _p_unbind (File=0x690d8) at bind.c:271 #6 0x3d20c in Assignfile (T=@0x690d8, Name=@0xffbed128) at files.pas:198 #7 0x1bcec in Client_create (Environment=0x6da88, Starting_point=0x0, Starting_options=0x0) at /home/hpc1014/fmopt/fmopt_client.pas:215 #8 0x17804 in Fm_create (Environment=@0xffbed8b8, Fmobject=@0xffbed890, Starting_point=0x0, Starting_options=0x0, Sname=@0xffbed8a8) at /home/hpc1014/fmopt/fmopt.pas:86 #9 0x2b700 in Tmain () at /home/hpc1014/fmtest/testsh.pas:72 #10 0x2b794 in pascal_main_program () at /home/hpc1014/fmtest/testsh.pas:80 #11 0x2bb80 in main (argc=1, argv=0xffbefdec, envp=0xffbefdf4) at <implicit code>:81
Christopher Ferrall wrote:
Before I spent a lot of time getting RewriteDemo to fail in the same way, any short answer to the following?
A program that was running under Linux is failing on a sunfire cluster with GPC recently installed. The "RewriteDemo" in the manual executes normally, and I've tried several variants of the following code segments with the same results.
var dmp_file : text; envname : string; ... assign(dmp_file,envname+'.output'); extend(dmp_file); ...
Please send a complete test program if you expect any meaningful help.
Frank