Ticket #880 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

[with patch] 2.8.7-alpha0: many segfaults when running doctests on 32-bit x86 Linux

Reported by: cwitty Owned by: failure
Priority: blocker Milestone: sage-2.8.7
Component: doctest Keywords:
Cc: Author(s):
Report Upstream: Reviewer(s):
Merged in: Work issues:

Description

On my laptop, many of the doctests crash with SIGSEGV. Here's one example:

sage -t  devel/sage-main/sage/categories/category_types.py  

------------------------------------------------------------
Unhandled SIGSEGV: A segmentation fault 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).
------------------------------------------------------------


A mysterious error (perphaps a memory error?) occurred, which may have crashed doctest.
         [1.0 s]

My laptop is 32-bit x86 Debian testing. I think probably Jaap Spies is seeing the same thing on Fedora 7 (his report on the mailing list doesn't have enough detail to be positive).

Attachments

6929.patch Download (1.1 KB) - added by cwitty 3 years ago.

Change History

Changed 3 years ago by cwitty

Changed 3 years ago by cwitty

  • summary changed from 2.8.7-alpha0: many segfaults when running doctests on 32-bit x86 Linux to [with patch] 2.8.7-alpha0: many segfaults when running doctests on 32-bit x86 Linux

There was a copy-and-paste error that ended up reading uninitialized local variables, causing crashes on some machines. Remove this incorrect, redundant code.

Changed 3 years ago by was

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.