#10018: Unhandled SIGSEGV after bnfcertify()
------------------------+---------------------------------------------------
Reporter: jdemeyer | Owner: tba
Type: defect | Status: new
Priority: critical | Milestone: sage-4.6
Component: c_lib | Keywords: segfault segmentation fault bnfcertify
allocatemem
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
Changes (by jdemeyer):
* keywords: segfault segmentation fault bnfcertify => segfault
segmentation fault bnfcertify allocatemem
Comment:
This might be a bug with the handling of {{{allocatemem()}}} in PARI. The
same computation in {{{gp}}} gives:
{{{
bash$ sage -gp --fast --stacksize=10000000
GP/PARI CALCULATOR Version 2.4.3
(development svn-12577:12605)
amd64 running linux
(x86-64/GMP-4.2.1 kernel) 64-bit version
compiled: Sep 24 2010, gcc-4.6.0
20100705 (experimental) (GCC)
(readline v6.0 enabled,
extended help enabled)
Copyright (C) 2000-2008
The PARI Group
PARI/GP is free software, covered by the GNU General Public License, and
comes WITHOUT ANY WARRANTY WHATSOEVER.
Type ? for help, \q to quit.
Type ?12 for how to get moral (and possibly technical) support.
parisize = 10000000, primelimit = 500509
? bnf = bnfinit(polcyclo(23));
? bnfcertify(bnf)
*** at top-level: bnfcertify(bnf)
*** ^---------------
*** bnfcertify: the PARI stack overflows !
current stack size: 10000000 (9.537 Mbytes)
[hint] you can increase GP stack with allocatemem()
*** Break loop: type 'break' to go back to GP
break>
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10018#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.