#10058: Segfault in backward and inverse FFT for 2**n elements
-------------------------+--------------------------------------------------
   Reporter:  mpatel     |       Owner:  jason, jkantor
       Type:  defect     |      Status:  new           
   Priority:  major      |   Milestone:  sage-4.6.1    
  Component:  numerical  |    Keywords:                
     Author:             |    Upstream:  N/A           
   Reviewer:             |      Merged:                
Work_issues:             |  
-------------------------+--------------------------------------------------
Description changed by mpatel:

Old description:

> Sage crashes when asked to do a backward or inverse FFT for sizes that
> are powers of two:
> {{{
> sage: a = FFT(5)
> sage: a[1] = 2
> sage: a.forward_transform()
> sage: a.backward_transform()
> sage: a = FFT(4)
> sage: a[1] = 2
> sage: a.forward_transform()
> sage: a.backward_transform()
>

> ------------------------------------------------------------
> Unhandled SIGSEGV: A segmentation fault occurred in Sage.
> This probably occurred because a *compiled* component
> of Sage has a bug in it (typically accessing invalid memory)
> or is not properly wrapped with _sig_on, _sig_off.
> You might want to run Sage under gdb with 'sage -gdb' to debug this.
> Sage will now terminate (sorry).
> ------------------------------------------------------------
> }}}
>
> Joal Heagney reported this problem on [http://groups.google.com/group
> /sage-devel/browse_thread/thread/7830e0c484a0f38d sage-devel].

New description:

 Sage crashes when asked to do a backward or inverse FFT for sizes that are
 powers of two:
 {{{
 sage: a = FFT(5)
 sage: a[1] = 2
 sage: a.forward_transform()
 sage: a.backward_transform()
 sage: a = FFT(4)
 sage: a[1] = 2
 sage: a.forward_transform()
 sage: a.backward_transform()


 ------------------------------------------------------------
 Unhandled SIGSEGV: A segmentation fault occurred in Sage.
 This probably occurred because a *compiled* component
 of Sage has a bug in it (typically accessing invalid memory)
 or is not properly wrapped with _sig_on, _sig_off.
 You might want to run Sage under gdb with 'sage -gdb' to debug this.
 Sage will now terminate (sorry).
 ------------------------------------------------------------
 }}}
 This is with 4.6.alpha2.

 Joal Heagney reported this problem on [http://groups.google.com/group
 /sage-devel/browse_thread/thread/7830e0c484a0f38d sage-devel].

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10058#comment:2>
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