Opened 12 years ago
Last modified 8 years ago
#9539 new defect
segfault after memory exhausted using GF(9001)((x))
Reported by: | fchyzak | Owned by: | rlm |
---|---|---|---|
Priority: | major | Milestone: | sage-6.4 |
Component: | memleak | Keywords: | |
Cc: | burcin | Merged in: | |
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
On a MacBook? Pro with 2Go (Mac OS X 10.4.11), filling the memory terminates with a seg fault:
code used:
from sage.all import LaurentSeriesRing, GF, timeit R = LaurentSeriesRing(GF(9001), 'x') f = R([1, 1]) for i in range(27): timeit('g = f*f', number=1, repeat=1) ; f = f*f
output is:
1 loops, best of 1: 16.5 s per loop 1 loops, best of 1: 28.4 s per loop 1 loops, best of 1: 88.6 s per loop python(6488) malloc: *** vm_allocate(size=2147614720) failed (error code=3) python(6488) malloc: *** error: can't allocate region python(6488) malloc: *** set a breakpoint in szone_error to debug ------------------------------------------------------------ Unhandled SIGBUS: A bus error occured in Sage. This probably occured because a *compiled* component of Sage has a bug in it (typically accessing invalid memory) or 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 (sorry). ------------------------------------------------------------
Change History (5)
comment:1 Changed 12 years ago by
- Cc burcin added
- Component changed from basic arithmetic to memleak
- Owner changed from AlexGhitza to rlm
comment:2 Changed 9 years ago by
- Milestone changed from sage-5.11 to sage-5.12
comment:3 Changed 8 years ago by
- Milestone changed from sage-6.1 to sage-6.2
comment:4 Changed 8 years ago by
- Milestone changed from sage-6.2 to sage-6.3
comment:5 Changed 8 years ago by
- Milestone changed from sage-6.3 to sage-6.4
Note: See
TracTickets for help on using
tickets.