On 2012-06-01 04:49, Iwao Kimura wrote:
> Hi all,
>
> Sage-5.0 fails to compute the Gauss sum of Dirichlet character of
> conductor 1009:
>
> iwao@dodeca:~$ ./sage-5.0/sage
> ----------------------------------------------------------------------
> | Sage Version 5.0, Release Date: 2012-05-14 |
> | Type notebook() for the GUI, and license() for information. |
> ----------------------------------------------------------------------
> sage: p=1009
> sage: p.is_prime()
> True
> sage: DG=DirichletGroup(p)
> sage: chi=DG.gen()
> sage: chi
> Dirichlet character modulo 1009 of conductor 1009 mapping 11 |--> zeta1008
> sage: g=chi.gauss_sum()
> /home/iwao/sage-5.0/spkg/bin/sage: line 312: 10960 Segmentation fault
> (core dumped) sage-ipython "$@" -i
>
> iwao@dodeca:~$ uname -a
> Linux dodeca 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17 UTC
> 2012 x86_64 x86_64 x86_64 GNU/Linux
>
> Is this known issue? chi.gauss_sum_numerical() works fine.
>
> regards.
Looks like an infinite recursion, leading to stack exhaustion, leading
to a SIGSEGV:
(gdb) bt
#0 0x00007f98724920eb in
__pyx_f_4sage_5rings_9real_lazy_9LazyBinop_eval (__pyx_v_self=0xaed4208,
__pyx_v_R=0x1c00f30,
__pyx_skip_dispatch=<value optimized out>) at
sage/rings/real_lazy.c:14344
#1 0x00007f98724920f1 in
__pyx_f_4sage_5rings_9real_lazy_9LazyBinop_eval (__pyx_v_self=0xaed4260,
__pyx_v_R=0x1c00f30,
__pyx_skip_dispatch=<value optimized out>) at
sage/rings/real_lazy.c:14344
#2 0x00007f98724920f1 in
__pyx_f_4sage_5rings_9real_lazy_9LazyBinop_eval (__pyx_v_self=0xaed42b8,
__pyx_v_R=0x1c00f30,
__pyx_skip_dispatch=<value optimized out>) at
sage/rings/real_lazy.c:14344
#3 0x00007f98724920f1 in
__pyx_f_4sage_5rings_9real_lazy_9LazyBinop_eval (__pyx_v_self=0xaed4310,
__pyx_v_R=0x1c00f30,
__pyx_skip_dispatch=<value optimized out>) at
sage/rings/real_lazy.c:14344
#4 0x00007f98724920f1 in
__pyx_f_4sage_5rings_9real_lazy_9LazyBinop_eval (__pyx_v_self=0xaed4368,
__pyx_v_R=0x1c00f30,
__pyx_skip_dispatch=<value optimized out>) at
sage/rings/real_lazy.c:14344
#5 0x00007f98724920f1 in
__pyx_f_4sage_5rings_9real_lazy_9LazyBinop_eval (__pyx_v_self=0xaed43c0,
__pyx_v_R=0x1c00f30,
__pyx_skip_dispatch=<value optimized out>) at
sage/rings/real_lazy.c:14344
[...]
--
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-support
URL: http://www.sagemath.org