#4814: [with patch; needs review] serious bug in Sage/GMP-ECM interface
------------------------+---------------------------------------------------
Reporter: was | Owner: was
Type: defect | Status: new
Priority: blocker | Milestone: sage-3.2.2
Component: interfaces | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Comment (by justin):
"4095" is reasonable as a magic number, but I'm concerned that it's more
random than magic in this case :-}
Since we have a failure at precisely 4095 (or 6), I think we should err on
the side of caution here: there's no direct evidence (from looking at the
kernel source for Mac OS X) that 4095+/- 1 is magic, so we could trip over
this later with a smaller value (3071 for example). Linux may have
similar limits, but not necessarily the same ones; their tty code differs.
As I noted above, dropping characters (which is what's being done here)
can occur when this limit is hit, or for other "resource-limit" issues,
and it's hard to predict what the number is in those cases.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4814#comment:4>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---