On Thu, Jul 30, 2009 at 4:22 AM, Michael Brickenstein <[email protected]>wrote:
> > I just tried a new clean Sage 4.1.0 installation, everything > unmodified > using your 64 bit Mac OS X intel binary. > The same error as before (I always used your binary, > I don't have difficulties to make use of my laptops CPU cycles). Then why don't you try building from source and see what happens? > > > gcc --version > i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493) > Mac OS 10.5.7 > 4 GB > Mac Book Pro 2.5 GHz Core 2 Duo > Michael > > On 29 Jul., 15:18, William Stein <[email protected]> wrote: > > On Wed, Jul 29, 2009 at 4:46 AM, Michael > > > > Brickenstein<[email protected]> wrote: > > > > > Hi! > > > I have a problem with gdb in sage-4.1.0: > > > Maybe, there is some -arch x86_64 missing. > > > > Interesting. Did you build 64-bit OS X sage yourself? > > > > When I try with a binary, I *don't* get that error, but I do get a > > different error: > > > > sage -gdb > > ... > > > > RuntimeError: unable to determine branch?! > > Error importing ipy_profile_sage - perhaps you should run %upgrade? > > WARNING: Loading of ipy_profile_sage failed. > > sage: > > > > That's a completely different error than you got. This was from a > > binary install of Sage 64-bit. > > > > On the original build machine with the same compiler, etc., "sage > > -gdb" works perfectly. Maybe using "sage -gdb" is very sensitive to > > the XCode compiler version. > > > > sage -gdb > > ... > > sage: is_64_bit > > True > > sage: g = cython_lambda('double x, double y', 'x*x + y*y + x + y + > > 17*x + 3.2/x + (<int*>(0))[0]') > > Reading symbols for shared libraries . done > > sage: g(0,1) > > > > Program received signal EXC_BAD_ACCESS, Could not access memory. > > Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000 > > 0x000000010b76dc5c in > > __pyx_pf_50_Users_was__sage_temp_bsd_local_28530_tmp_4_spyx_0_f > > (__pyx_self=<value temporarily unavailable, due to optimizations>, > > __pyx_args=0x10b697050, __pyx_kwds=0x0) at > > _Users_was__sage_temp_bsd_local_28530_tmp_4_spyx_0.c:540 > > 540 __pyx_t_1 = PyFloat_FromDouble((((((((__pyx_v_x * __pyx_v_x) + > > (__pyx_v_y * __pyx_v_y)) + __pyx_v_x) + __pyx_v_y) + (17 * __pyx_v_x)) > > + (3.2000000000000002 / __pyx_v_x)) + (((int *)0)[0]))); if > > (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = > > 14; __pyx_clineno = __LINE__; goto __pyx_L1_error;} > > (gdb) > > > > > > > > > > > > > Michael > > > > > sage -gdb > > > ---------------------------------------------------------------------- > > > | Sage Version 4.1, Release Date: 2009-07-09 | > > > | Type notebook() for the GUI, and license() for information. | > > > ---------------------------------------------------------------------- > > > /Applications/sage/local/bin/sage-ipython > > > GNU gdb 6.3.50-20050815 (Apple version gdb-966) (Tue Mar 10 02:43:13 > > > UTC 2009) > > > Copyright 2004 Free Software Foundation, Inc. > > > GDB is free software, covered by the GNU General Public License, and > > > you are > > > welcome to change it and/or distribute copies of it under certain > > > conditions. > > > Type "show copying" to see the conditions. > > > There is absolutely no warranty for GDB. Type "show warranty" for > > > details. > > > This GDB was configured as "i386-apple-darwin"... > > > warning: A handler for the OS ABI "Darwin" is not built into this > > > configuration > > > of GDB. Attempting to continue with the default i386:x86-64 settings. > > > > > Architecture of file "/Applications/sage/local/bin/python" does not > > > match user selected architecture. > > > > > arch: posix_spawnp: /Applications/sage/local/bin/python: Bad CPU type > > > in executable > > > > > Program exited with code 01. > > > > -- > > William Stein > > Associate Professor of Mathematics > > University of Washingtonhttp://wstein.org > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
