David Bernier on Sun, 01 Apr 2018 06:08:52 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

main: bug in PARI/GP (Segmentation Fault), please report.


In a project led by Dr Tao of UCLA, we are trying to use gp2c in the form:

"gp2c-run main.gp", main.gp being a GP script. (to compile a *.gp script).


(1) Compilation was successful.

(2) The "main" function is main() with no arguments, and output to the

    screen.

(3) All the scripts in the examples/ directory compile and run all right.


(4) At the gp session prompt, I type:

   ? main()

result:

"  ***   at top-level: main()
  ***                 ^------
  *** main: bug in PARI/GP (Segmentation Fault), please report.
  ***   Break loop: type 'break' to go back to GP prompt "



I don't know what is going on...

I'm attaching the script "main.gp" based on code by KM in the group of collaborators.


Thank you for any help,

David Bernier


Attachment: main.gp
Description: application/gnuplot