#6391: libGAP!  -- create a Cython library interface to gap
----------------------------------------------------------------------------+
       Reporter:  was                                                       |   
      Owner:  was                                                     
           Type:  enhancement                                               |   
     Status:  needs_review                                            
       Priority:  major                                                     |   
  Milestone:  sage-5.3                                                
      Component:  group theory                                              |   
 Resolution:                                                          
       Keywords:                                                            |   
Work issues:                                                          
Report Upstream:  N/A                                                       |   
  Reviewers:  Dima Pasechnik, Ivan Andrus, Volker Braun, William Stein
        Authors:  Dima Pasechnik, Ivan Andrus, Volker Braun, William Stein  |   
  Merged in:                                                          
   Dependencies:  #13211                                                    |   
   Stopgaps:                                                          
----------------------------------------------------------------------------+

Comment (by dimpase):

 Replying to [comment:111 vbraun]:

 > The implicit declaration and pointer cast warnings are normal, GAP just
 predates ansi C :-)

 Well, anyhow... Could you confirm that my change of the code was OK, and
 this is a genuine issue?
 gdb tells me the following:
 {{{

 g:=FreeGroup(2);

 Program received signal SIGSEGV, Segmentation fault.
 0x00007ffff75a8d0f in libGAP_RNamName ()
    from /usr/local/src/sage/sage-5.4.beta1/local/lib/libgap.so.0
 (gdb) bt
 #0  0x00007ffff75a8d0f in libGAP_RNamName ()
    from /usr/local/src/sage/sage-5.4.beta1/local/lib/libgap.so.0
 #1  0x00007ffff76cb0e1 in libGAP_CallErrorInner ()
    from /usr/local/src/sage/sage-5.4.beta1/local/lib/libgap.so.0
 #2  0x00007ffff76cb2f4 in libGAP_ErrorQuit ()
    from /usr/local/src/sage/sage-5.4.beta1/local/lib/libgap.so.0
 #3  0x00007ffff757b8df in libGAP_ErrorMustHaveAssObjHandler ()
    from /usr/local/src/sage/sage-5.4.beta1/local/lib/libgap.so.0
 #4  0x00007ffff75b7b70 in libGAP_DoWrap2args ()
    from /usr/local/src/sage/sage-5.4.beta1/local/lib/libgap.so.0
 #5  0x00007ffff76cb299 in libGAP_CallErrorInner ()
    from /usr/local/src/sage/sage-5.4.beta1/local/lib/libgap.so.0
 #6  0x00007ffff76cb2f4 in libGAP_ErrorQuit ()
    from /usr/local/src/sage/sage-5.4.beta1/local/lib/libgap.so.0
 #7  0x00007ffff757b8df in libGAP_ErrorMustHaveAssObjHandler ()
    from /usr/local/src/sage/sage-5.4.beta1/local/lib/libgap.so.0
 #8  0x00007ffff75b7b70 in libGAP_DoWrap2args ()
    from /usr/local/src/sage/sage-5.4.beta1/local/lib/libgap.so.0
 #9  0x00007ffff76cb299 in libGAP_CallErrorInner ()
    from /usr/local/src/sage/sage-5.4.beta1/local/lib/libgap.so.0
 #10 0x00007ffff76cb2f4 in libGAP_ErrorQuit ()
    from /usr/local/src/sage/sage-5.4.beta1/local/lib/libgap.so.0
 #11 0x00007ffff757b8df in libGAP_ErrorMustHaveAssObjHandler ()
    from /usr/local/src/sage/sage-5.4.beta1/local/lib/libgap.so.0
 #12 0x00007ffff75b7b70 in libGAP_DoWrap2args ()
    from /usr/local/src/sage/sage-5.4.beta1/local/lib/libgap.so.0
 #13 0x00007ffff76cb299 in libGAP_CallErrorInner ()
    from /usr/local/src/sage/sage-5.4.beta1/local/lib/libgap.so.0
 #14 0x00007ffff76cb2f4 in libGAP_ErrorQuit ()
 .....
 }}}
 and it keeps repeating, ad nauseum...
 The x86_64 system runs Debian, here are the compiler specs:
 {{{
 (sage-sh) dima@spms-banana:test$ gcc -v
 Using built-in specs.
 Target: x86_64-linux-gnu
 Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-8'
 --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-
 languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4
 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-
 zlib --libexecdir=/usr/lib --without-included-gettext --enable-
 threads=posix --with-gxx-include-dir=/usr/include/c++/4.4
 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-
 debug --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-
 checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
 --target=x86_64-linux-gnu
 Thread model: posix
 gcc version 4.4.5 (Debian 4.4.5-8)
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6391#comment:112>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to