octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gl-render.cc: framework OpenGL on MacOSX


From: Ben Abbott
Subject: Re: gl-render.cc: framework OpenGL on MacOSX
Date: Thu, 12 Feb 2009 13:29:45 -0500


Ben
On Thursday, February 12, 2009, at 01:25PM, "Jonathan Stickel" <address@hidden> 
wrote:
>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)

I built with debugging on (-g) and have a bit more information.

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-darwin9.6.0".

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
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
octave:1> backend ('fltk') 
Reading symbols for shared libraries . done
octave:2> Reading symbols for shared libraries ...... done
exit

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00ace42c
0x013745e7 in ~graphics_backend [inlined] () at graphics.h:1507
1507            delete rep;

Ben




reply via email to

[Prev in Thread] Current Thread [Next in Thread]