Opened 7 years ago

Closed 7 years ago

#15359 closed defect (duplicate)

Segmentation fault when accessing documentation.

Reported by: fschulze Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: packages: standard Keywords:
Cc: Merged in:
Authors: Reviewers: Frithjof Schulze
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

With 5.13.beta2 I get the following

sage: QuadraticField(-5)
Number Field in a with defining polynomial x^2 + 5
sage: QuadraticField?
------------------------------------------------------------------------
/home/schulze/sage-5.13.beta2/local/lib/libcsage.so(print_backtrace+0x31)[0x7f0a1f8615f5]
/home/schulze/sage-5.13.beta2/local/lib/libcsage.so(sigdie+0x1e)[0x7f0a1f86176c]
/home/schulze/sage-5.13.beta2/local/lib/libcsage.so(sage_signal_handler+0x1c0)[0x7f0a1f860f56]
/lib64/libpthread.so.0[0x359c40f500]
/home/schulze/sage-5.13.beta2/local/lib/libtinfo.so.5(_nc_init_acs+0x59)[0x7f0a1bc77519]
/lib64/libncursesw.so.5(_nc_setupscreen+0x581)[0x359e017c71]
/lib64/libncursesw.so.5(newterm+0xc9)[0x359e014949]
/lib64/libncursesw.so.5(initscr+0x59)[0x359e011129]
/home/schulze/sage-5.13.beta2/local/lib/python2.7/lib-dynload/_curses.so(+0x98e6)[0x7f0a1bea38e6]
/home/schulze/sage-5.13.beta2/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5719)[0x7f0a27eef3f9]
/home/schulze/sage-5.13.beta2/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x637e)[0x7f0a27ef005e]
------------------------------------------------------------------------
Attaching gdb to process id 9632.
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
(gdb) Hangup detected on fd 0
error detected on stdin

Your system GDB is an old version that does not work with pipes
Install the gdb spkg (sage -f gdb) for enhanced tracebacks.
------------------------------------------------------------------------
Unhandled SIGSEGV: A segmentation fault 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().
Sage will now terminate.
------------------------------------------------------------------------

Using ? on other objects has the same effect.

Change History (5)

comment:1 Changed 7 years ago by fschulze

I will try to install the gdb package. This is in Scientific Linux

uname -a
Linux ... 2.6.32-358.23.2.el6.x86_64 #1 SMP Wed Oct 16 11:13:47 CDT 2013 x86_64 x86_64 x86_64 GNU/Linux
gcc --version
gcc (GCC) 4.4.6 20110731 (Red Hat 4.4.6-3)
...

comment:2 Changed 7 years ago by fschulze

The problem seems to be that Sage picks up my systems ncurses instead of sage-5.13.beta2/local/lib/libncurses.so.

I don't have a wide version of ncurses in sage-5.13.beta2/local/lib, so it might be that #15080 would fix my problems.

comment:3 Changed 7 years ago by jdemeyer

  • Component changed from c_lib to packages: standard

And, is it fixed now with #15268?

comment:4 Changed 7 years ago by fschulze

Yes. 5.13.beta3 with #15268 fixed works fine.

comment:5 Changed 7 years ago by jdemeyer

  • Milestone changed from sage-5.13 to sage-duplicate/invalid/wontfix
  • Resolution set to duplicate
  • Reviewers set to Frithjof Schulze
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.