[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gl-render.cc: framework OpenGL on MacOSX
From: |
Jonathan Stickel |
Subject: |
Re: gl-render.cc: framework OpenGL on MacOSX |
Date: |
Thu, 12 Feb 2009 11:25:58 -0700 |
User-agent: |
Thunderbird 2.0.0.19 (Macintosh/20081209) |
John W. Eaton wrote:
On 12-Feb-2009, Jonathan Stickel wrote:
| I can use the fltk backend to make graphs. However, I see segfault
| every time I exit octave if I have initialized fltk:
|
|
| $ octave-3.1.52+
| GNU Octave, version 3.1.52+
| Copyright (C) 2008 John W. Eaton and others.
| This is free software; see the source code for copying conditions.
| There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
| FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
|
| Octave was configured for "i386-apple-darwin8.11.1".
|
| Additional information about Octave is available at http://www.octave.org.
|
| Please contribute if you find this software useful.
| For more information, visit http://www.octave.org/help-wanted.html
|
| Report bugs to <address@hidden> (but first, please read
| http://www.octave.org/bugs.html to learn how to write a helpful report).
|
| For information about changes from previous versions, type `news'.
|
| octave-3.1.52+:1> backend ('fltk')
| octave-3.1.52+:2> exit
| panic: Segmentation fault -- stopping myself...
| attempting to save variables to `'...
|
| ^C^CPress Control-C again to abort.
| ^Cpanic: attempted clean up apparently failed -- aborting...
| Abort trap
Please try running Octave under a debugger and find out where this
crash is happening.
jwe
OK, here is what happens (thanks John Swenson for indicating how to do
this):
$ ./run-octave -g
GNU gdb 6.3.50-20050815 (Apple version gdb-696) (Sat Oct 20 18:16:54 GMT
2007)
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: --arch option not supported in this gdb.
Reading symbols for shared libraries .................... done
(gdb) run
Starting program:
/Users/Shared/install/octave/dev-source/octave/build/src/octave
--no-initial-path
--path=/Users/Shared/install/octave/dev-source/octave/build/... (cut)
--info-file=/Users/Shared/install/octave/dev-source/octave/build/doc/interpreter/octave.info
Reading symbols for shared libraries
.......+++++........................................................+..+++..+
done
GNU Octave, version 3.1.52+
Copyright (C) 2008 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Octave was configured for "i386-apple-darwin8.11.1".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
Report bugs to <address@hidden> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).
For information about changes from previous versions, type `news'.
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
octave:1> backend ('fltk')
Reading symbols for shared libraries .. done
octave:2> exit
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x02f61b6c
0x01745bff in graphics_backend::~graphics_backend ()
(gdb)
- Re: gl-render.cc: framework OpenGL on MacOSX, (continued)
- Re: gl-render.cc: framework OpenGL on MacOSX, Ben Abbott, 2009/02/11
- Re: gl-render.cc: framework OpenGL on MacOSX, Thomas Treichl, 2009/02/11
- Re: gl-render.cc: framework OpenGL on MacOSX, Ben Abbott, 2009/02/11
- Re: gl-render.cc: framework OpenGL on MacOSX, Jonathan Stickel, 2009/02/11
- Re: gl-render.cc: framework OpenGL on MacOSX, Ben Abbott, 2009/02/11
- Re: gl-render.cc: framework OpenGL on MacOSX, Ben Abbott, 2009/02/11
- Re: gl-render.cc: framework OpenGL on MacOSX, Jonathan Stickel, 2009/02/12
- Re: gl-render.cc: framework OpenGL on MacOSX, John W. Eaton, 2009/02/12
- Re: gl-render.cc: framework OpenGL on MacOSX, John Swensen, 2009/02/12
- Re: gl-render.cc: framework OpenGL on MacOSX, John W. Eaton, 2009/02/12
- Re: gl-render.cc: framework OpenGL on MacOSX,
Jonathan Stickel <=
- Re: gl-render.cc: framework OpenGL on MacOSX, Ben Abbott, 2009/02/12
- Re: gl-render.cc: framework OpenGL on MacOSX, Thomas Treichl, 2009/02/12