Во время сборки swig команда make check вываливается в Segfault нановом guile22: [test@dcsin class]$ env GUILE_AUTO_COMPILE=0 /usr/bin/guile22 -l runme.scm Ошибка сегментирования На старой версии guile18 такого падения не происходит: [test@dcsin class]$ env GUILE_AUTO_COMPILE=0 /usr/bin/guile18 -l runme.scm Creating some objects: Created circle #<collectable-swig-pointer Circle * 649e10> Created square #<collectable-swig-pointer Square * 649e40> A total of 2 shapes were created Here is their current position: Circle = (20.0,30.0) Square = (-10.0,5.0) Here are some properties of the shapes: #<collectable-swig-pointer Circle * 649e10> area = 314.159265358979 perimeter = 62.8318530717959 #<collectable-swig-pointer Square * 649e40> area = 100.0 perimeter = 40.0 Guess I'll clean up now 0 shapes remain Goodbye
Created attachment 7216 [details] Лог вывода ошибки
Created attachment 7217 [details] Лог вывода ошибки тестирования
Вотб что бываетб если загрузить guile18 модуль в guile22. [test@dcsin class]$ env GUILE_AUTO_COMPILE=0 /usr/bin/guile -l runme.scm Ошибка сегментирования [test@dcsin class]$ /usr/bin/guile -l runme.scm ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /home/test/RPM/BUILD/swig-3.0.12/Examples/guile/class/runme.scm ;;; /home/test/RPM/BUILD/swig-3.0.12/Examples/guile/class/runme.scm:18:10: warning: possibly unbound variable `new-Circle' ;;; /home/test/RPM/BUILD/swig-3.0.12/Examples/guile/class/runme.scm:20:10: warning: possibly unbound variable `new-Square' ;;; /home/test/RPM/BUILD/swig-3.0.12/Examples/guile/class/runme.scm:25:34: warning: possibly unbound variable `Shape-nshapes' ;;; /home/test/RPM/BUILD/swig-3.0.12/Examples/guile/class/runme.scm:31:0: warning: possibly unbound variable `Shape-x-set' ;;; /home/test/RPM/BUILD/swig-3.0.12/Examples/guile/class/runme.scm:32:0: warning: possibly unbound variable `Shape-y-set' ;;; /home/test/RPM/BUILD/swig-3.0.12/Examples/guile/class/runme.scm:34:0: warning: possibly unbound variable `Shape-x-set' ;;; /home/test/RPM/BUILD/swig-3.0.12/Examples/guile/class/runme.scm:35:0: warning: possibly unbound variable `Shape-y-set' ;;; /home/test/RPM/BUILD/swig-3.0.12/Examples/guile/class/runme.scm:38:35: warning: possibly unbound variable `Shape-x-get' ;;; /home/test/RPM/BUILD/swig-3.0.12/Examples/guile/class/runme.scm:38:55: warning: possibly unbound variable `Shape-y-get' ;;; /home/test/RPM/BUILD/swig-3.0.12/Examples/guile/class/runme.scm:39:35: warning: possibly unbound variable `Shape-x-get' ;;; /home/test/RPM/BUILD/swig-3.0.12/Examples/guile/class/runme.scm:39:55: warning: possibly unbound variable `Shape-y-get' ;;; /home/test/RPM/BUILD/swig-3.0.12/Examples/guile/class/runme.scm:46:38: warning: possibly unbound variable `Shape-area' ;;; /home/test/RPM/BUILD/swig-3.0.12/Examples/guile/class/runme.scm:47:38: warning: possibly unbound variable `Shape-perimeter' ;;; /home/test/RPM/BUILD/swig-3.0.12/Examples/guile/class/runme.scm:53:0: warning: possibly unbound variable `delete-Shape' ;;; /home/test/RPM/BUILD/swig-3.0.12/Examples/guile/class/runme.scm:54:0: warning: possibly unbound variable `delete-Shape' ;;; /home/test/RPM/BUILD/swig-3.0.12/Examples/guile/class/runme.scm:57:18: warning: possibly unbound variable `Shape-nshapes' ;;; compiled /home/test/.cache/guile/ccache/2.2-LE-8-3.A/home/test/RPM/BUILD/swig-3.0.12/Examples/guile/class/runme.scm.go Ошибка сегментирования [test@dcsin class]$ rpm -qa | grep guile guile18-devel-1.8.7-alt4.x86_64 guile22-2.2.2-alt1.x86_64 libguile-vhttpd-0.7.7-alt2.x86_64 guile18-1.8.7-alt4.x86_64