Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#17773 closed defect (fixed)

Disable PARI_stack_limit

Reported by: jdemeyer Owned by:
Priority: major Milestone: sage-6.6
Component: interfaces Keywords:
Cc: cremona Merged in:
Authors: Jeroen Demeyer Reviewers: John Cremona
Report Upstream: N/A Work issues:
Branch: c51a265 (Commits, GitHub, GitLab) Commit:
Dependencies: Stopgaps:

Status badges

Description

In a multi-threaded program, PARI's mechanism to check for overflow can lead to false positives. Calling pari_stackcheck_init(NULL) will disable this check.

Change History (6)

comment:1 Changed 7 years ago by jdemeyer

  • Branch set to u/jdemeyer/ticket/17773
  • Created changed from 02/12/15 20:13:25 to 02/12/15 20:13:25
  • Modified changed from 02/12/15 20:13:25 to 02/12/15 20:13:25

comment:2 Changed 7 years ago by jdemeyer

  • Commit set to c51a26581882ecad0acc0a5798d93837bb209543
  • Status changed from new to needs_review

New commits:

c51a265Disable PARI stack overflow checking

comment:3 Changed 7 years ago by cremona

  • Status changed from needs_review to positive_review

I tried this out and it solved the problem I had been having (which was running the lmfdb website code in --debug mode causing a spurious PariError? when pari.get_debug_level() was called).

comment:4 Changed 7 years ago by jdemeyer

  • Reviewers set to John Cremona

comment:5 Changed 7 years ago by vbraun

  • Branch changed from u/jdemeyer/ticket/17773 to c51a26581882ecad0acc0a5798d93837bb209543
  • Resolution set to fixed
  • Status changed from positive_review to closed

comment:6 Changed 7 years ago by jdemeyer

  • Commit c51a26581882ecad0acc0a5798d93837bb209543 deleted
  • Milestone changed from sage-6.5 to sage-6.6
Note: See TracTickets for help on using tickets.