Gentoo Archives: gentoo-science

From: v_2e@×××.net
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] [sage-on-gentoo] Sage-4.5.3 segmentation fault
Date: Wed, 27 Oct 2010 21:34:37
Message-Id: 20101028003411.3bd77fb7.v_2e@ukr.net
In Reply to: Re: [gentoo-science] [sage-on-gentoo] Sage-4.5.3 segmentation fault by Christopher Schwan
1 Hello!
2
3 On Wed, 27 Oct 2010 10:07:25 +0200
4 Christopher Schwan <cschwan@××××××××××××××××××.de> wrote:
5 >
6 > If you do not find anything, please try the following:
7 >
8 > USE=debug emerge -1 sage-baselayout
9 >
10 > Also, make sure that the GNU Debugger is installed (emerge gdb). You may now
11 > start Sage with
12 >
13 > sage -gdb
14 >
15 > which spawns Sage in a gdb session. Sage will crash just as before, but you
16 > may retrieve a backtrace via typing
17 >
18 > bt
19 >
20 > That output would be interesting and may directly lead us to the root of the
21 > problem.
22 >
23 I have re-emerged
24 - Cython-0.12.1
25 - numpy
26 - scipy
27 - pexpect
28 - ipython
29 - matplotlib
30 - mpmath
31 - sympy
32 - pynac
33 - networx
34 -sphinx
35 and rebuild sage-clib and sage after that. But it didn't help.
36
37 Then I run 'sage -gdb' and here is the output:
38 ########## Output starts ##########
39 ----------------------------------------------------------------------
40 | Sage Version 4.5.3, Release Date: 2010-09-04 |
41 | Type notebook() for the GUI, and license() for information. |
42 ----------------------------------------------------------------------
43 /usr/bin/sage-ipython
44 GNU gdb (Gentoo 7.2 p1) 7.2
45 Copyright (C) 2010 Free Software Foundation, Inc.
46 License GPLv3+: GNU GPL version 3 or later
47 <http://gnu.org/licenses/gpl.html> This is free software: you are free
48 to change and redistribute it. There is NO WARRANTY, to the extent
49 permitted by law. Type "show copying" and "show warranty" for details.
50 This GDB was configured as "x86_64-pc-linux-gnu". For bug reporting
51 instructions, please see: <http://bugs.gentoo.org/>...
52 Reading symbols from /usr/bin/python...(no debugging symbols
53 found)...done. process 21451 is executing new
54 program: /usr/bin/python2.6 [Thread debugging using libthread_db
55 enabled] Python 2.6.6 (r266:84292, Oct 23 2010, 17:23:31)
56 [GCC 4.4.4] on linux2
57 Type "help", "copyright", "credits" or "license" for more information.
58
59 Program received signal SIGSEGV, Segmentation fault.
60 0x00007fffe9b7c274 in __cxa_allocate_exception ()
61 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/libstdc++.so.6 (gdb) bt
62 #0 0x00007fffe9b7c274 in __cxa_allocate_exception ()
63 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/libstdc++.so.6
64 #1 0x00007fffcabb3037 in GiNaC::function::find_function(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int) ()
65 from /usr/lib/libpynac-0.2.so.0
66 #2 0x00007fffca3cdb16 in ?? ()
67 from /usr/lib64/python2.6/site-packages/sage/symbolic/function.so
68 #3 0x00007fffca3cc780 in ?? ()
69 from /usr/lib64/python2.6/site-packages/sage/symbolic/function.so
70 #4 0x00007ffff7ad384c in ?? () from /usr/lib/libpython2.6.so.1.0
71 #5 0x00007ffff7a85f92 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0
72 #6 0x00007ffff7b10b42 in PyEval_CallObjectWithKeywords ()
73 from /usr/lib/libpython2.6.so.1.0
74 #7 0x00007ffff7a9d499 in ?? () from /usr/lib/libpython2.6.so.1.0
75 #8 0x00007ffff7a85f92 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0
76 #9 0x00007fffca3c327f in ?? ()
77 from /usr/lib64/python2.6/site-packages/sage/symbolic/function.so
78 #10 0x00007ffff7ad384c in ?? () from /usr/lib/libpython2.6.so.1.0
79 #11 0x00007ffff7a85f92 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0
80 #12 0x00007ffff7b10b42 in PyEval_CallObjectWithKeywords ()
81 from /usr/lib/libpython2.6.so.1.0
82 #13 0x00007ffff7a9d499 in ?? () from /usr/lib/libpython2.6.so.1.0
83 #14 0x00007ffff7a85f92 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0
84 #15 0x00007ffff7b15fb4 in PyEval_EvalFrameEx ()
85 ---Type <return> to continue, or q <return> to quit---q
86 from /usr/lib/libpython2.6.so.1.Quit
87 (gdb) quit
88 A debugging session is active.
89
90 Inferior 1 [process 21451] will be killed.
91
92 Quit anyway? (y or n) y
93 ########### Output ends ###########
94
95 -----
96 <v_2e@×××.net>

Replies

Subject Author
Re: [gentoo-science] [sage-on-gentoo] Sage-4.5.3 segmentation fault "François Bissey" <f.r.bissey@×××××××××.nz>