#4527: Exception in
'sage.matrix.matrix_integer_dense.Matrix_integer_dense._hnf_modn_impl'
---------------------------+------------------------------------------------
 Reporter:  syazdani       |        Owner:  craigcitro
     Type:  defect         |       Status:  new       
 Priority:  major          |    Milestone:  sage-3.2.1
Component:  modular forms  |   Resolution:            
 Keywords:  segfault       |  
---------------------------+------------------------------------------------
Changes (by mabshoff):

  * keywords:  => segfault
  * owner:  tbd => craigcitro
  * component:  algebra => modular forms
  * milestone:  => sage-3.2.1

Comment:

 I can reproduce this with the latest and greatest Sage. Gdb says:
 {{{
 ----------------------------------------------------------------------
 | Sage Version 3.2.rc0, Release Date: 2008-11-10                     |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------
 /scratch/mabshoff/release-cycle/sage-3.2.rc1/local/bin/sage-ipython
 GNU gdb 6.4.90-debian
 Copyright (C) 2006 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you
 are
 welcome to change it and/or distribute copies of it under certain
 conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for
 details.
 This GDB was configured as "x86_64-linux-gnu"...Using host libthread_db
 library "/lib/libthread_db.so.1".

 [Thread debugging using libthread_db enabled]
 [New Thread 47755945320288 (LWP 13573)]
 Python 2.5.2 (r252:60911, Nov 10 2008, 22:40:35)
 [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
 Type "help", "copyright", "credits" or "license" for more information.

 sage: cond=206
 sage: J=J0(206)
 sage: D=J.new_subvariety().decomposition()
 sage: Jp=J.old_subvariety(2)
 sage: Jpc=Jp.cuspidal_subgroup()
 sage: Ac=D[3].cuspidal_subgroup()
 sage: Ac.intersection(Jpc)
 Exception  in
 'sage.matrix.matrix_integer_dense.Matrix_integer_dense._hnf_modn_impl'
 ignored

 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 47755945320288 (LWP 13573)]
 0x00002b6f1c26f88d in
 __pyx_f_4sage_6matrix_20matrix_integer_dense_20Matrix_integer_dense__hnf_modn
 (
     __pyx_v_self=0x2b6f2485a560, __pyx_v_res=0x2b6f2485a830,
 __pyx_v_det=<value optimized out>)
     at sage/matrix/matrix_integer_dense.c:26964
 26964
 mpz_init_set_si(((__pyx_v_res->_matrix[__pyx_v_i])[__pyx_v_j]),
 (__pyx_v_res_l[__pyx_v_k]));
 (gdb) bt
 #0  0x00002b6f1c26f88d in
 __pyx_f_4sage_6matrix_20matrix_integer_dense_20Matrix_integer_dense__hnf_modn
 (
     __pyx_v_self=0x2b6f2485a560, __pyx_v_res=0x2b6f2485a830,
 __pyx_v_det=<value optimized out>)
     at sage/matrix/matrix_integer_dense.c:26964
 #1  0x00002b6f1c2ac2e7 in
 __pyx_pf_4sage_6matrix_20matrix_integer_dense_20Matrix_integer_dense__hnf_mod
 (
     __pyx_v_self=0x2b6f2485a560, __pyx_v_D=0x7451450) at
 sage/matrix/matrix_integer_dense.c:26853
 #2  0x0000000000484afc in PyEval_EvalFrameEx (f=0xd7283d0,
 throwflag=<value optimized out>) at Python/ceval.c:3561
 #3  0x0000000000486182 in PyEval_EvalCodeEx (co=0x2b6f0cf973f0,
 globals=<value optimized out>,
     locals=<value optimized out>, args=0x2b6f11211d80, argcount=1,
 kws=0xd770a78, kwcount=1, defs=0x0, defcount=0,
     closure=0x0) at Python/ceval.c:2836
 #4  0x0000000000484347 in PyEval_EvalFrameEx (f=0xd770810,
 throwflag=<value optimized out>) at Python/ceval.c:3669
 #5  0x0000000000486182 in PyEval_EvalCodeEx (co=0x2b6f0c8afe40,
 globals=<value optimized out>,
     locals=<value optimized out>, args=0x2b6f11211d80, argcount=1,
 kws=0xd6fd708, kwcount=2, defs=0x0, defcount=0,
     closure=0x0) at Python/ceval.c:2836
 <SNIP>
 }}}

 I am running the computation under valgrind now if it catches anything.

 Cheers,

 Michael

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4527#comment:1>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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