Bug 33926 - Новый guile22 падает на тестах при сборке swig-3.0.12
Summary: Новый guile22 падает на тестах при сборке swig-3.0.12
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: guile22 (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Sergey Bolshakov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-26 20:14 MSK by Evgeny Sinelnikov
Modified: 2017-09-26 20:47 MSK (History)
1 user (show)

See Also:


Attachments
Лог вывода ошибки (4.00 KB, application/octet-stream)
2017-09-26 20:15 MSK, Evgeny Sinelnikov
no flags Details
Лог вывода ошибки тестирования (4.00 KB, text/plain)
2017-09-26 20:16 MSK, Evgeny Sinelnikov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evgeny Sinelnikov 2017-09-26 20:14:22 MSK
Во время сборки 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
Comment 1 Evgeny Sinelnikov 2017-09-26 20:15:27 MSK
Created attachment 7216 [details]
Лог вывода ошибки
Comment 2 Evgeny Sinelnikov 2017-09-26 20:16:29 MSK
Created attachment 7217 [details]
 Лог вывода ошибки тестирования
Comment 3 Evgeny Sinelnikov 2017-09-26 20:47:48 MSK
Вотб что бываетб если загрузить 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