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

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

[Octave-bug-tracker] [bug #31305] slow contour plot


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #31305] slow contour plot
Date: Sat, 30 Oct 2010 00:26:06 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7

Follow-up Comment #27, bug #31305 (project octave):

After David's changeset (11168) and without patch.contour4, I get the proper
patches result for ...

    contour (rand (20))

and 

    contourf (rand (20))

However, the axis limits are not correct. If I do a "axis tight", the
"contour" patches are no longer visible but those from "contourf" are ok. I
tried to print the result, but ...

print -dpdfwrite contourf_11168.pdf
panic: Segmentation fault -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete

The back-trace is ...

(gdb) bt
#0  0x1c478054 in gleClipLinesPlane ()
#1  0x1c47842c in gleFeedbackLineLoopFunc ()
#2  0x1c389bd8 in glEnd_Exec ()
#3  0x93d0f557 in glEnd ()
#4  0x0016ac18 in opengl_renderer::patch_tesselator::end (this=0xbfff6f4c) at
gl-render.cc:429
#5  0x0016a858 in opengl_tesselator::tess_end (t=0xbfff6f4c) at
gl-render.cc:307
#6  0x9547d0b3 in __gl_renderBoundary ()
#7  0x954802ba in gluTessEndPolygon ()
#8  0x00165e7d in opengl_renderer::draw_patch (this=0x16f2f970,
address@hidden) at gl-render.cc:256
#9  0x001456f7 in opengl_renderer::draw (this=0x16f2f970, address@hidden) at
gl-render.cc:550
#10 0x0016e5df in glps_renderer::draw (this=0x16f2f970, address@hidden) at
gl2ps-renderer.cc:88
#11 0x0016bce2 in opengl_renderer::draw (this=0x16f2f970, address@hidden) at
gl-render.h:56
#12 0x0016abf8 in opengl_renderer::draw (this=0x16f2f970, address@hidden)
at gl-render.h:69
#13 0x001445a5 in opengl_renderer::draw_hggroup (this=0x16f2f970,
address@hidden) at gl-render.cc:2747
#14 0x0014580c in opengl_renderer::draw (this=0x16f2f970, address@hidden) at
gl-render.cc:552
#15 0x0016e5df in glps_renderer::draw (this=0x16f2f970, address@hidden) at
gl2ps-renderer.cc:88
#16 0x0016205e in opengl_renderer::draw_axes (this=0x16f2f970,
address@hidden) at gl-render.cc:1742
#17 0x001453b8 in opengl_renderer::draw (this=0x16f2f970, address@hidden) at
gl-render.cc:544
#18 0x0016e5df in glps_renderer::draw (this=0x16f2f970, address@hidden) at
gl2ps-renderer.cc:88
#19 0x0016bce2 in opengl_renderer::draw (this=0x16f2f970, address@hidden) at
gl-render.h:56
#20 0x0016abf8 in opengl_renderer::draw (this=0x16f2f970, address@hidden)
at gl-render.h:69
#21 0x00147821 in opengl_renderer::draw_figure (this=0x16f2f970,
address@hidden) at gl-render.cc:598
#22 0x001452a3 in opengl_renderer::draw (this=0x16f2f970, address@hidden) at
gl-render.cc:542
#23 0x0016e5ab in glps_renderer::draw (this=0x16f2f970, address@hidden) at
gl2ps-renderer.cc:79
#24 0x0016bce2 in opengl_renderer::draw (this=0x16f2f970, address@hidden) at
gl-render.h:56
#25 0x17810749 in OpenGL_fltk::draw (this=0x1912eee0) at
DLD-FUNCTIONS/fltk_backend.cc:155
#26 0x027d0058 in Fl_Gl_Window::flush ()
#27 0x027edd0e in Fl_X::flush ()
#28 0x027ede5d in Fl::flush ()
#29 0x027eeca2 in Fl::wait ()
#30 0x1780919b in plot_window::print () at
/Users/bpabbott/Development/mercurial/local_clone/src/DLD-FUNCTIONS/fltk_backend.cc:753
#31 0x1780919b in figure_manager::do_print () at
/Users/bpabbott/Development/mercurial/local_clone/src/DLD-FUNCTIONS/fltk_backend.cc:1622
#32 0x1780919b in figure_manager::print () at
/Users/bpabbott/Development/mercurial/local_clone/src/DLD-FUNCTIONS/fltk_backend.cc:1481
#33 0x1780919b in fltk_backend::print_figure (this=0x2d57400, address@hidden,
address@hidden, address@hidden) at DLD-FUNCTIONS/fltk_backend.cc:1847
#34 0x00205c30 in graphics_backend::print_figure () at
/Users/bpabbott/Development/mercurial/local_clone/src/graphics.h:6540
#35 0x00205c30 in Fdrawnow (address@hidden) at graphics.cc:6540
#36 0x004a45e6 in octave_builtin::do_multi_index_op (this=0x3063b40,
nargout=0, address@hidden, lvalue_list=0x0) at ov-builtin.cc:129
#37 0x004a3414 in octave_builtin::subsref (this=0x3063b40, address@hidden,
address@hidden, nargout=0, lvalue_list=0x0) at ov-builtin.cc:64
#38 0x004a3d0c in octave_builtin::subsref (this=0x3063b40, address@hidden,
address@hidden, nargout=0) at ov-builtin.cc:47
#39 0x005c8704 in octave_value::subsref (this=0xbfff97d0, address@hidden,
address@hidden, nargout=0) at ov.cc:1202
#40 0x005c8779 in octave_value::subsref (this=0xbfff97d0, address@hidden,
address@hidden, nargout=0, lvalue_list=0x0) at ov.cc:1213
#41 0x006a5445 in tree_index_expression::rvalue (this=0x1f47c030, nargout=0,
lvalue_list=0x0) at pt-idx.cc:408
#42 0x006a570c in tree_index_expression::rvalue (this=0x1f47c030, nargout=0)
at pt-idx.cc:278
#43 0x006a3f5e in tree_index_expression::rvalue1 (this=0x1f47c030, nargout=0)
at pt-idx.cc:419
#44 0x006987ac in tree_evaluator::visit_statement (this=0xe66760,
address@hidden) at pt-eval.cc:729
#45 0x006cb3df in tree_statement::accept (this=0x1f47c100, address@hidden) at
pt-stmt.cc:152
#46 0x006955ab in tree_evaluator::visit_statement_list (this=0xe66760,
address@hidden) at pt-eval.cc:765
#47 0x00084681 in tree_statement_list::accept (this=0x1f47c150, address@hidden)
at pt-stmt.cc:216
#48 0x00694d3b in tree_evaluator::visit_unwind_protect_command
(this=0xe66760, address@hidden) at pt-eval.cc:996
#49 0x0069bed9 in tree_unwind_protect_command::accept (this=0x1f47c170,
address@hidden) at pt-except.cc:100
#50 0x006986fc in tree_evaluator::visit_statement (this=0xe66760,
address@hidden) at pt-eval.cc:700
#51 0x006cb3df in tree_statement::accept (this=0x1f47c650, address@hidden) at
pt-stmt.cc:152
#52 0x006955ab in tree_evaluator::visit_statement_list (this=0xe66760,
address@hidden) at pt-eval.cc:765
#53 0x00084681 in tree_statement_list::accept (this=0x1f47b0d0, address@hidden)
at pt-stmt.cc:216
#54 0x00699b07 in octave_quit [inlined] () at
/Users/bpabbott/Development/mercurial/local_clone/libcruft/misc/quit.h:359
#55 0x00699b07 in quit_loop_now [inlined] () at
/Users/bpabbott/Development/mercurial/local_clone/src/pt-eval.cc:265
#56 0x00699b07 in tree_evaluator::visit_simple_for_command (this=0xe66760,
address@hidden) at pt-eval.cc:359
#57 0x006a9cf4 in tree_simple_for_command::accept (this=0x1f47c620,
address@hidden) at pt-loop.cc:116
#58 0x006986fc in tree_evaluator::visit_statement (this=0xe66760,
address@hidden) at pt-eval.cc:700
#59 0x006cb3df in tree_statement::accept (this=0x1f47a6c0, address@hidden) at
pt-stmt.cc:152
#60 0x006955ab in tree_evaluator::visit_statement_list (this=0xe66760,
address@hidden) at pt-eval.cc:765
#61 0x00084681 in tree_statement_list::accept (this=0x1f462bb0, address@hidden)
at pt-stmt.cc:216
#62 0x005b9365 in octave_user_function::do_multi_index_op (this=0x30682d8,
nargout=1, address@hidden, lvalue_list=0x0) at ov-usr-fcn.cc:450
#63 0x005b4945 in octave_user_function::subsref (this=0x30682d8,
address@hidden, address@hidden, nargout=1, lvalue_list=0x0) at
ov-usr-fcn.cc:303
#64 0x005b579c in octave_user_function::subsref (this=0x30682d8,
address@hidden, address@hidden, nargout=1) at ov-usr-fcn.cc:286
#65 0x005b991f in octave_user_function::subsref (this=0x30682d8,
address@hidden, address@hidden) at ov-usr-fcn.h:263
#66 0x005c83b4 in octave_value::subsref (this=0xbfffa280, address@hidden,
address@hidden, nargout=1) at ov.cc:1200
#67 0x005c8779 in octave_value::subsref (this=0xbfffa280, address@hidden,
address@hidden, nargout=1, lvalue_list=0x0) at ov.cc:1213
#68 0x006a5445 in tree_index_expression::rvalue (this=0x19192b30, nargout=1,
lvalue_list=0x0) at pt-idx.cc:408
#69 0x006a570c in tree_index_expression::rvalue (this=0x19192b30, nargout=1)
at pt-idx.cc:278
#70 0x006a3f5e in tree_index_expression::rvalue1 (this=0x19192b30, nargout=1)
at pt-idx.cc:419
#71 0x0068499e in tree_simple_assignment::rvalue1 (this=0x1f0cd6c0) at
pt-assign.cc:206
#72 0x006987ac in tree_evaluator::visit_statement (this=0xe66760,
address@hidden) at pt-eval.cc:729
#73 0x006cb3df in tree_statement::accept (this=0x4ad3f90, address@hidden) at
pt-stmt.cc:152
#74 0x006955ab in tree_evaluator::visit_statement_list (this=0xe66760,
address@hidden) at pt-eval.cc:765
#75 0x00084681 in tree_statement_list::accept (this=0x4ad3fa0, address@hidden)
at pt-stmt.cc:216
#76 0x006985c1 in tree_evaluator::visit_switch_command (this=0xe66760,
address@hidden) at pt-eval.cc:847
#77 0x006ca12c in tree_switch_command::accept (this=0x4a84e50, address@hidden)
at pt-select.cc:223
#78 0x006986fc in tree_evaluator::visit_statement (this=0xe66760,
address@hidden) at pt-eval.cc:700
#79 0x006cb3df in tree_statement::accept (this=0x4a8fc60, address@hidden) at
pt-stmt.cc:152
#80 0x006955ab in tree_evaluator::visit_statement_list (this=0xe66760,
address@hidden) at pt-eval.cc:765
#81 0x00084681 in tree_statement_list::accept (this=0x2e4a9c0, address@hidden)
at pt-stmt.cc:216
#82 0x00694d3b in tree_evaluator::visit_unwind_protect_command
(this=0xe66760, address@hidden) at pt-eval.cc:996
#83 0x0069bed9 in tree_unwind_protect_command::accept (this=0x1f0f3740,
address@hidden) at pt-except.cc:100
#84 0x006986fc in tree_evaluator::visit_statement (this=0xe66760,
address@hidden) at pt-eval.cc:700
#85 0x006cb3df in tree_statement::accept (this=0x1f0f2fb0, address@hidden) at
pt-stmt.cc:152
#86 0x006955ab in tree_evaluator::visit_statement_list (this=0xe66760,
address@hidden) at pt-eval.cc:765
#87 0x00084681 in tree_statement_list::accept (this=0x2e472e0, address@hidden)
at pt-stmt.cc:216
#88 0x005b9365 in octave_user_function::do_multi_index_op (this=0x3067aa4,
nargout=0, address@hidden, lvalue_list=0x0) at ov-usr-fcn.cc:450
#89 0x005b4945 in octave_user_function::subsref (this=0x3067aa4,
address@hidden, address@hidden, nargout=0, lvalue_list=0x0) at
ov-usr-fcn.cc:303
#90 0x005b579c in octave_user_function::subsref (this=0x3067aa4,
address@hidden, address@hidden, nargout=0) at ov-usr-fcn.cc:286
#91 0x005c8704 in octave_value::subsref (this=0xbfffacc0, address@hidden,
address@hidden, nargout=0) at ov.cc:1202
#92 0x005c8779 in octave_value::subsref (this=0xbfffacc0, address@hidden,
address@hidden, nargout=0, lvalue_list=0x0) at ov.cc:1213
#93 0x006a5445 in tree_index_expression::rvalue (this=0x2e46c80, nargout=0,
lvalue_list=0x0) at pt-idx.cc:408
#94 0x006a570c in tree_index_expression::rvalue (this=0x2e46c80, nargout=0)
at pt-idx.cc:278
#95 0x006a3f5e in tree_index_expression::rvalue1 (this=0x2e46c80, nargout=0)
at pt-idx.cc:419
#96 0x006987ac in tree_evaluator::visit_statement (this=0xe66760,
address@hidden) at pt-eval.cc:729
#97 0x006cb3df in tree_statement::accept (this=0x2e46d20, address@hidden) at
pt-stmt.cc:152
#98 0x006955ab in tree_evaluator::visit_statement_list (this=0xe66760,
address@hidden) at pt-eval.cc:765
#99 0x00084681 in tree_statement_list::accept (this=0x2e46d80, address@hidden)
at pt-stmt.cc:216
#100 0x00424a81 in main_loop () at toplev.cc:570
#101 0x003c04ea in octave_main (argc=6, argv=0xbfffb040, embedded=0) at
octave.cc:894
#102 0x00001f80 in main (argc=6, argv=0xbfffb040) at main.c:35
(gdb) 

I have errands to run. If someone doesn't get to it first I'll test
patch.contour4, with tip 11168, when I return. 


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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