octave-bug-tracker
[Top][All Lists]
Advanced

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

Re: [Octave-bug-tracker] [bug #31931] figure (1, "visible", "off") -> Bu


From: Kai Habel
Subject: Re: [Octave-bug-tracker] [bug #31931] figure (1, "visible", "off") -> Bus error
Date: Sun, 31 Jul 2011 20:52:52 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Lightning/1.0b2 Thunderbird/3.1.8

On 31.07.2011 20:46, Ben Abbott wrote:
Follow-up Comment #27, bug #31931 (project octave):

Unfortunately, I still see the core dump. My tip is ...

$ hg tip
changeset:   12903:35ea8b9b2a8e
tag:         tip
user:        Kai Habel<address@hidden>
date:        Sun Jul 31 20:15:09 2011 +0200
summary:     __init_fltk__.cc: show canvas only, when figure is visible (bug
#33321)

The backtrace is below.


graphics_toolkit fltk ; figure (1, "visible", "off")
Reading symbols for shared libraries . done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x98a4a25e in glMatrixMode ()
(gdb) bt
#0  0x98a4a25e in glMatrixMode ()
#1  0x034af6a0 in OpenGL_fltk::setup_viewport () at
/Users/bpabbott/Development/mercurial/default/src/DLD-FUNCTIONS/__init_fltk__.cc:146
#2  0x034af6a0 in OpenGL_fltk::resize (this=0x30727b0, xx=0, yy=20, ww=640,
hh=440) at DLD-FUNCTIONS/__init_fltk__.cc:129
#3  0x034be849 in fltk_uimenu::show () at
/Users/bpabbott/Development/mercurial/default/src/DLD-FUNCTIONS/__init_fltk__.cc:787
#4  0x034be849 in plot_window::show_menubar () at
/Users/bpabbott/Development/mercurial/default/src/DLD-FUNCTIONS/__init_fltk__.cc:788
#5  0x034be849 in plot_window::plot_window (this=0x337b390, xx=0, yy=0,
ww=640, hh=480, address@hidden) at DLD-FUNCTIONS/__init_fltk__.cc:751
#6  0x034bee2a in plot_window [inlined] () at
/Users/bpabbott/Development/mercurial/default/src/DLD-FUNCTIONS/__init_fltk__.cc:754
#7  0x034bee2a in figure_manager::do_new_window (this=0x33b5760,
address@hidden) at DLD-FUNCTIONS/__init_fltk__.cc:1574
#8  0x034ad20e in figure_manager::new_window () at
/Users/bpabbott/Development/mercurial/default/src/DLD-FUNCTIONS/__init_fltk__.cc:1452
#9  0x034ad20e in __fltk_redraw__ () at DLD-FUNCTIONS/__init_fltk__.cc:1769
#10 0x034ad2fb in F__fltk_redraw__ () at DLD-FUNCTIONS/__init_fltk__.cc:1930
#11 0x004a35fc in octave_builtin::do_multi_index_op (this=0x386b3e0,
nargout=0, address@hidden, lvalue_list=0x0) at ov-builtin.cc:131
#12 0x004a39f7 in octave_builtin::do_multi_index_op (this=0x386b3e0,
nargout=0, address@hidden) at ov-builtin.cc:99
#13 0x0007f1b8 in octave_value::do_multi_index_op (this=0xbfffa248, nargout=0,
address@hidden) at ov.cc:1266
#14 0x0005dd25 in feval (address@hidden, address@hidden, nargout=0) at
oct-parse.yy:4132
#15 0x002a9844 in input_event_hook () at input.cc:1265
#16 0x01953815 in command_editor::event_handler () at cmd-edit.cc:894
#17 0x02ce75ec in rl_read_key ()
#18 0x02ccf9f8 in readline_internal_char ()
#19 0x02ccfbc4 in readline_internal_charloop ()
#20 0x02ccfbec in readline_internal ()
#21 0x02ccf6ac in readline ()
#22 0x01954b10 in gnu_readline::do_readline (this=0x3056170,
address@hidden, address@hidden) at cmd-edit.cc:252
#23 0x019547e3 in command_editor::readline (address@hidden,
address@hidden) at cmd-edit.cc:919
#24 0x0003a03d in gnu_readline (address@hidden, force_readline=false) at
input.cc:204
#25 0x0003bd9c in interactive_input (address@hidden, force_readline=<value
temporarily unavailable, due to optimizations>) at input.cc:250
#26 0x0003bfc1 in std::string::operator= () at
/usr/include/c++/4.2.1/bits/basic_string.h:280
#27 0x0003bfc1 in octave_gets [inlined] () at
/Users/bpabbott/Development/mercurial/default/src/input.cc:280
#28 get_user_input [inlined] () at
/Users/bpabbott/Development/mercurial/default/src/input.cc:351
#29 0x0003bfc1 in octave_read (buf=0x3a75200 "", max_size=8192) at
input.cc:373
#30 0x0003d26f in yy_get_next_buffer () at lex.cc:3112
#31 0x0004e4b9 in octave_lex () at lex.cc:2954
#32 0x000641e3 in octave_parse () at oct-parse.cc:2408
#33 0x00424dc3 in main_loop () at toplev.cc:567
#34 0x003bacb1 in octave_main (argc=6, argv=0xbfffb3dc, embedded=0) at
octave.cc:935
#35 0x00001f80 in main (argc=6, argv=0xbfffb3dc) at main.c:35


     _______________________________________________________

Reply to this item at:

   <http://savannah.gnu.org/bugs/?31931>

_______________________________________________
   Message sent via/by Savannah
   http://savannah.gnu.org/

Ben,

am I right that you get the crash when you just do:

graphics_toolkit fltk ; figure (1, "visible", "off")



Kai



reply via email to

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