What's the best way to go about debugging a Sage which wont start up? I've tried running it under gdb, and that don't help me a lot. Also tried loading the core file, and again its not being very useful.

Both python and ipython seem functional.

I guess the fact the source code has been deleted in the build process makes this more difficult to debug. I assume putting the source code back would be helpful.

I don't really know where to start looking here.


Dave


drkir...@hawk:~/sage-4.5.alpha1$ ./sage -gdb
----------------------------------------------------------------------
| Sage Version 4.5.alpha1, Release Date: 2010-06-29                  |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
**********************************************************************
*                                                                    *
* Warning: this is a prerelease version, and it may be unstable.     *
*                                                                    *
**********************************************************************
/export/home/drkirkby/sage-4.5.alpha1/local/bin/sage-ipython
GNU gdb 6.8
Copyright (C) 2008 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 "i386-pc-solaris2.11"...
warning: Lowest section in /lib/amd64/libdl.so.1 is .dynamic at 00000000000000b0
Python 2.6.4 (r264:75706, Jul  1 2010, 02:37:37)
[GCC 4.4.4] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
warning: Lowest section in /lib/amd64/libintl.so.1 is .dynamic at 
00000000000000b0
warning: Lowest section in /lib/amd64/libpthread.so.1 is .dynamic at 00000000000000b0

Program received signal SIGSEGV, Segmentation fault.
0x00000000004d3cad in ?? ()
(gdb) list
14      Modules/python.c: No such file or directory.
        in Modules/python.c
(gdb)

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to