> Attached is a zip file that more closely emulates the PLPlot > situation, with plmap written in C but with the callback, mapform19, > written in Ada. Could a few of you test it to see if it runs or > crashes on your machines? Either way, I'd like to report back to the > geniuses at comp.lang.ada.
Fedora Rawhide x86_64: $ ./compile_and_run.sh gcc -c x19a_temp.adb x19a_temp.adb:10:38: warning: type of argument "mapform19.x" is unconstrained array x19a_temp.adb:10:38: warning: foreign caller must pass bounds explicitly gcc -c type_declaration.ads gnatbind -x x19a_temp.ali gnatlink x19a_temp.ali plmap.o raised STORAGE_ERROR : stack overflow (or erroneous memory access) -bash-3.2$ uname -a Linux xenmock1 2.6.18-105.el5xen #1 SMP Thu Aug 21 12:06:33 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux -bash-3.2$ gnat --version GNAT 4.3.2 20080829 (Red Hat 4.3.2-1) Fedora Rawhide i386: -bash-3.2$ ./compile_and_run.sh gcc -c x19a_temp.adb x19a_temp.adb:10:38: warning: type of argument "mapform19.x" is unconstrained array x19a_temp.adb:10:38: warning: foreign caller must pass bounds explicitly gcc -c type_declaration.ads gnatbind -x x19a_temp.ali gnatlink x19a_temp.ali plmap.o 0.00000000000000E+00 1.00000000000000E+00 2.00000000000000E+00 3.00000000000000E+00 4.00000000000000E+00 5.00000000000000E+00 6.00000000000000E+00 7.00000000000000E+00 8.00000000000000E+00 9.00000000000000E+00 -bash-3.2$ uname -a Linux xenmock1 2.6.18-105.el5xen #1 SMP Thu Aug 21 12:06:33 EDT 2008 i686 athlon i386 GNU/Linux -bash-3.2$ gnat --version GNAT 4.3.2 20080829 (Red Hat 4.3.2-1) I don't appear to be seeing the hanging behavior that I saw before with 32-bit rawhide. - Orion ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel