-
-
Notifications
You must be signed in to change notification settings - Fork 488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cygwin: various heegner_index errors involving interval arithmetic on cygwin #9176
Comments
comment:1
This file passed doctests in a build of mine on XP. |
comment:2
But trying the first example by hand leads to a segfault (presumably related to the segfault currently bedeveling Cygwin startup, see #11551). That is weird. Is it possible that a silent segfault makes a doctest think it passed? |
comment:3
Got lots of failures, apparently because of forking issues, I'll try a rebase. |
comment:4
Also lots of MemoryError for PARI trying to allocate memory. |
comment:5
Glad at least one of the forking issues I had cropped up for you :-) Even if it does work on a rebase, don't forget to try by hand as well. |
comment:6
And indeed inside "./sage -gp" I cannot allocatemem(512000000), but only 256000000, not sure why though. |
comment:7
I think I only have one forking issue (among 202 failing tests) caused by ecl which I rebuilt in the end (and potentially did not rebase after that). |
comment:8
And I guess it is http://cygwin.com/cygwin-ug-net/setup-maxmem.html so was expected. So I'm left with the one forking issue :) |
comment:9
Ok I still get the forking issue after rebasing :( the only solution might be to get a clean install at once (I rebuilt ECL p1 spkg and dependencies after having installed all Sage with the p0). Not sure how to let Cygwin increase the mx mem used, using peflags on python tells me it could not open the file... |
comment:10
The max mem I can allocate is 502333407 and all the hacks I tried in the registry seem to have no (good or bad) effect. |
comment:11
Ok, I manage to use peflags to modify --cygwin-heap but if I set it to 1024MB then I get forking errors... |
comment:12
I can set it to 600MB without forking errors and that is enough to let the tests pass. |
comment:13
I propose to close it (as won't fix/worksforme), as it works now. |
comment:14
Replying to @dimpase:
Did you actually manage to run the test without hacking around with --cygwin-heap? |
comment:16
Anyway, I don't think we should deal with the peflags usage in another ticket as this was not the point of this ticket originally. So lets close this one. |
comment:17
This is #14207. |
comment:18
Okay, I finally got this to doctest without forking errors, and mostly am seeing the same problem you are. I'm not going to bother messing around with Pari's memory because I don't know how to do that and you guys are on it. I do get a lot of extra failures
which seems to be exactly one per example. Of course, there is no such doctest listed in the file, so this must be something in the framework. |
comment:19
Replying to @kcrisman:
I guess these extra failures are mostly due to the fact a previous doctest needing too much memory for PARI failed.
|
comment:20
Sorry for not following up - so you agree with Dima that this is a pure memory issue, and so should be closed? Should we at least put a mention in the doc for this file that "if you are on a system with not much memory allocated (such as default Cygwin, but perhaps others like tablets or something) then there is this trick, see the verbiage added by #14207"? |
comment:21
I do, lets close this one. |
comment:22
Please fill in Author/Reviewer. |
Author: Jean-Pierre Flori, Dmitrii Pasechnick, Karl-Dieter Crisman |
Changed author from Jean-Pierre Flori, Dmitrii Pasechnick, Karl-Dieter Crisman to none |
Reviewer: Jean-Pierre Flori, Dmitrii Pasechnick, Karl-Dieter Crisman |
Changed reviewer from Jean-Pierre Flori, Dmitrii Pasechnick, Karl-Dieter Crisman to Jean-Pierre Flori, Dmitrii Pasechnik, Karl-Dieter Crisman |
CC: @kcrisman @dimpase
Component: porting: Cygwin
Reviewer: Jean-Pierre Flori, Dmitrii Pasechnik, Karl-Dieter Crisman
Issue created by migration from https://trac.sagemath.org/ticket/9176
The text was updated successfully, but these errors were encountered: