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

Segmentation fault when accessing documentation. #15359

Closed
sagetrac-fschulze mannequin opened this issue Nov 6, 2013 · 5 comments
Closed

Segmentation fault when accessing documentation. #15359

sagetrac-fschulze mannequin opened this issue Nov 6, 2013 · 5 comments

Comments

@sagetrac-fschulze
Copy link
Mannequin

sagetrac-fschulze mannequin commented Nov 6, 2013

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.

Component: packages: standard

Reviewer: Frithjof Schulze

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

@sagetrac-fschulze sagetrac-fschulze mannequin added this to the sage-5.13 milestone Nov 6, 2013
@sagetrac-fschulze
Copy link
Mannequin Author

sagetrac-fschulze mannequin commented Nov 6, 2013

comment:1

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)
...

@sagetrac-fschulze
Copy link
Mannequin Author

sagetrac-fschulze mannequin commented Nov 6, 2013

comment:2

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.

@jdemeyer
Copy link

comment:3

And, is it fixed now with #15268?

@sagetrac-fschulze
Copy link
Mannequin Author

sagetrac-fschulze mannequin commented Nov 26, 2013

comment:4

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

@jdemeyer
Copy link

Reviewer: Frithjof Schulze

@jdemeyer jdemeyer removed this from the sage-5.13 milestone Nov 26, 2013
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

1 participant