#11551: Pari segfault on Sage startup in Cygwin
------------------------+---------------------------------------------------
   Reporter:  kcrisman  |          Owner:  tbd       
       Type:  defect    |         Status:  new       
   Priority:  major     |      Milestone:  sage-4.7.2
  Component:  cygwin    |       Keywords:  pari      
Work_issues:            |       Upstream:  N/A       
   Reviewer:            |         Author:            
     Merged:            |   Dependencies:            
------------------------+---------------------------------------------------

Comment(by leif):

 Replying to [comment:18 kcrisman]:
 > Unfortunately I sort of destroyed my installations trying to do #11130
 and I'm not sure how to fix that.

 I don't know how you managed that ;-) but you should be able to just
 reinstall the "old" PARI (2.4.3.alpha.p7) at least (assuming you also have
 a Sage branch without #11130's patches applied, though these only change
 doctests IIRC).

 If you think something may get mixed up with a previous installation, you
 can also
 {{{
 #!sh
 $ rm -rf $SAGE_ROOT/local/include/pari/
 $ rm $SAGE_ROOT/local/lib/libpari*
 $ rm $SAGE_ROOT/local/bin/{libpari,gp}*
 }}}
 before reinstalling the PARI package.
 (And perhaps also run `./sage -ba-force` after you've reinstalled it.)

 > I didn't know what the `#0` error was, so I just started at `#1`, which
 at least I could interpret [...]

 No idea what the `#0` and `#1` refer to...

 [[BR]]

 > So it looks like the GEN gets defined before the !PariInstance - is that
 a problem for some reason?

 No. The weird trailer just explicitly uses the one and only global
 "`PariInstance`" `pari_instance` alias `P` alias `sage.libs.pari.gen.pari`
 alias `sage.libs.pari.all.pari` (which should get initialized as soon as
 you import from that module (`sage.libs.pari.gen`), which is done far
 above in `real_mpfr.pyx`), because `new_gen()` is only available as a
 member function (or "method") of an instance, for whatever reason.

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