Ticket #852 (closed defect: fixed)
[with patches] Singular's Factorisation crashes under OSX
| Reported by: | malb | Owned by: | mabshoff |
|---|---|---|---|
| Priority: | critical | Milestone: | sage-2.8.7 |
| Component: | packages | Keywords: | |
| Cc: | Author(s): | ||
| Report Upstream: | Reviewer(s): | ||
| Merged in: | Work issues: |
Description
Since we pass --with-NTL to the Singular build scripts and work around/fix the resulting build problems (see #842) Singular crashes when attempting to factor a simple multivariate polynomial.
> ring r= 0,(x,y),dp; > poly f = x + y*y; > factorize(f); Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x0000001b 0x0021c0e7 in fREe ()
The backtrace is:
#0 0x0021c0e7 in fREe () #1 0x000a95f2 in omFreeSizeToSystem () #2 0x0009f815 in operator delete[] () #3 0x0055ae48 in NTL::SetSeed () #4 0x0055afbb in NTL::ran_bytes () #5 0x0055b06c in NTL::RandomBits () #6 0x0055b4a0 in NTL::RandomBnd () #7 0x0055b69f in NTL::RandomBnd () #8 0x00507595 in NTL::NextFFTPrime () #9 0x00507796 in NTL::UseFFTPrime () #10 0x005b4a88 in NTL::zz_pInfoT::zz_pInfoT () #11 0x005b4c55 in NTL::zz_pContext::zz_pContext () #12 0x005b4ca8 in NTL::zz_p::FFTInit () #13 0x005693f5 in NTL::GCD () #14 0x005704c0 in NTL::SquareFreeDecomp () #15 0x00579a18 in NTL::factor () #16 0x0021adb2 in factorize () #17 0x0024df2f in ZFactorizeMulti () #18 0x0024f19f in ZFactorizeMultivariate () #19 0x0021aadd in factorize () #20 0x001358e3 in singclap_factorize () #21 0x000122fd in jjFAC_P () #22 0x0000cff9 in iiExprArith1 () #23 0x0002eca5 in yyparse () #24 0x0000292f in main ()
However, this backtrace was different before I rebuilt the NTL library. I assume some linkage is wrong but I have no idea how to figure this one out.
Change History
Note: See
TracTickets for help on using
tickets.
