Skip to content
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

bug in comparisons of infinite values #13326

Closed
xcaruso opened this issue Aug 2, 2012 · 10 comments
Closed

bug in comparisons of infinite values #13326

xcaruso opened this issue Aug 2, 2012 · 10 comments

Comments

@xcaruso
Copy link
Contributor

xcaruso commented Aug 2, 2012

sage: if log(2)*Infinity == Infinity: print "Hello"
....: 
type = 214729600
** Hit STUB**: invalid type: is_zero() type not handled
terminate called after throwing an instance of 'std::runtime_error'
  what():  stub

------------------------------------------------------------------------
Unhandled SIGABRT: An abort() occurred in Sage.
This probably occurred because a *compiled* component of Sage has a bug
in it and is not properly wrapped with sig_on(), sig_off(). You might
want to run Sage under gdb with 'sage -gdb' to debug this.
Sage will now terminate.
------------------------------------------------------------------------

Depends on #18362

Component: symbolics

Keywords: comparaison Infinity pynac

Author: Ralf Stephan

Branch/Commit: f4fc186

Reviewer: Marc Mezzarobba

Issue created by migration from https://trac.sagemath.org/ticket/13326

@xcaruso xcaruso added this to the sage-5.11 milestone Aug 2, 2012
@jdemeyer jdemeyer modified the milestones: sage-5.11, sage-5.12 Aug 13, 2013
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@videlec
Copy link
Contributor

videlec commented Apr 19, 2015

comment:5

The bug is still here on sage-6.7.beta1!

@videlec videlec modified the milestones: sage-6.4, sage-6.7 Apr 19, 2015
@rwst
Copy link

rwst commented Apr 21, 2015

Changed keywords from comparaison Infinity to comparaison Infinity pynac

@rwst rwst assigned burcin and unassigned aghitza Apr 21, 2015
@rwst rwst unassigned burcin Apr 21, 2015
@rwst
Copy link

rwst commented May 3, 2015

comment:8

The crash itself is unnecessary and will be fixed by #14211.

The invalid type in Pynac is pynac/pynac#35

@rwst rwst changed the title Bug in comparisons of infinite values bug in comparisons of infinite values May 3, 2015
@rwst
Copy link

rwst commented May 4, 2015

@rwst
Copy link

rwst commented May 4, 2015

New commits:

23892cb18362: upgrade to pynac-0.3.7; fix one changed doctest result
f4fc18613326: doctest

@rwst
Copy link

rwst commented May 4, 2015

Author: Ralf Stephan

@rwst
Copy link

rwst commented May 4, 2015

Dependencies: #18362

@rwst
Copy link

rwst commented May 4, 2015

Commit: f4fc186

@mezzarobba
Copy link
Member

Reviewer: Marc Mezzarobba

@vbraun
Copy link
Member

vbraun commented May 24, 2015

Changed branch from u/rws/bug_in_comparisons_of_infinite_values to f4fc186

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants