octave-maintainers
[Top][All Lists]
Advanced

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

Re: wait_for_file ?? [GL2PS error: Bad file pointer] gdb bt.


From: Michael D Godfrey
Subject: Re: wait_for_file ?? [GL2PS error: Bad file pointer] gdb bt.
Date: Mon, 04 Oct 2010 19:13:17 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Thunderbird/3.1.4

Shai,

I should have just sent this bt, from build of a day or 2 ago.

octave:1> plot(1:200)
Xlib:  extension "NV-GLX" missing on display ":1187.0".
octave:2> print("testpdf.pdf")
Detaching after fork from child process 9399.
octave:3> GL2PS error: Bad file pointer

Program received signal SIGSEGV, Segmentation fault.
_IO_new_fclose (fp=0x0) at iofclose.c:57
57      if (fp->_IO_file_flags & _IO_IS_FILEBUF)
(gdb) bt
#0  _IO_new_fclose (fp=0x0) at iofclose.c:57
#1  0x00007ffff7403b5f in glps_renderer::draw (this=0xe61370, go=...) at gl2ps-renderer.cc:83
#2  0x00007ffff74020fb in opengl_renderer::draw(graphics_handle const&) ()
   from /usr/local/lib/octave-3.3.52+/liboctinterp-3.3.52+.so
#3  0x00007fffe975db9f in OpenGL_fltk::draw (this=0xe3b370) at DLD-FUNCTIONS/fltk_backend.cc:142
#4  0x00007ffff46f843f in Fl_Gl_Window::flush (this=0xe3b370) at Fl_Gl_Window.cxx:347
#5  0x00000036ef631912 in flush () at ../FL/x.H:126
#6  Fl::flush () at Fl.cxx:481
#7  0x00000036ef631ba4 in Fl::wait (time_to_wait=<value optimized out>) at Fl.cxx:369
#8  0x00000036ef631c3d in Fl::check () at Fl.cxx:412
#9  0x00007fffe975a595 in __fltk_redraw__ () at DLD-FUNCTIONS/fltk_backend.cc:1167
#10 0x00007fffe975a9a0 in F__fltk_redraw__ () at DLD-FUNCTIONS/fltk_backend.cc:1266
#11 0x00007ffff7696c81 in octave_builtin::do_multi_index_op (this=0x6da450, nargout=0, args=...,
    lvalue_list=<value optimized out>) at ov-builtin.cc:129
#12 0x00007ffff76973ec in octave_builtin::do_multi_index_op (this=<value optimized out>,
    nargout=<value optimized out>, args=<value optimized out>) at ov-builtin.cc:99
#13 0x00007ffff775cb91 in octave_value::do_multi_index_op (this=<value optimized out>,
    nargout=<value optimized out>, idx=<value optimized out>) at ov.cc:1267
#14 0x00007ffff7567f7a in feval (name="__fltk_redraw__", args=..., nargout=0) at oct-parse.yy:4116
#15 0x00007ffff74e8504 in input_event_hook () at input.cc:1262
#16 0x00007ffff6d2127b in command_editor::event_handler () at cmd-edit.cc:889
#17 0x00000036f8e29e5a in rl_read_key () at ../input.c:432
#18 0x00000036f8e158cf in readline_internal_char () at ../readline.c:517
#19 0x00000036f8e15e15 in readline_internal_charloop (prompt=<value optimized out>)
    at ../readline.c:579
---Type <return> to continue, or q <return> to quit---
#20 readline_internal (prompt=<value optimized out>) at ../readline.c:593
#21 readline (prompt=<value optimized out>) at ../readline.c:342
#22 0x00007ffff6d21084 in gnu_readline::do_readline (this=<value optimized out>,
    prompt=<value optimized out>, address@hidden) at cmd-edit.cc:253
#23 0x00007ffff6d227b9 in command_editor::readline (prompt="octave:3> ", address@hidden)
    at cmd-edit.cc:914
#24 0x00007ffff74e3ca6 in gnu_readline (s="octave:3> ", force_readline=<value optimized out>)
    at input.cc:205
#25 0x00007ffff74e54b9 in interactive_input (s="octave:3> ", force_readline=false) at input.cc:251
#26 0x00007ffff74e58bd in octave_gets (buf=0xccee10 "", max_size=8192) at input.cc:281
#27 get_user_input (buf=0xccee10 "", max_size=8192) at input.cc:352
#28 octave_read (buf=0xccee10 "", max_size=8192) at input.cc:374
#29 0x00007ffff74ec7c9 in yy_get_next_buffer () at lex.cc:3084
#30 0x00007ffff74f7756 in octave_lex () at lex.cc:2926
#31 0x00007ffff756cc76 in octave_parse () at oct-parse.cc:2425
#32 0x00007ffff7634727 in main_loop () at toplev.cc:564
#33 0x00007ffff75e368b in octave_main (argc=<value optimized out>, argv=0x7fffffffe1b8, embedded=0)
    at octave.cc:882
#34 0x00000036eda1ec5d in __libc_start_main (main=0x4007d0 <main>, argc=1, ubp_av=0x7fffffffe1b8,
    init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>,
    stack_end=0x7fffffffe1a8) at libc-start.c:226
#35 0x0000000000400709 in _start ()
(gdb)
===========================
Michael


reply via email to

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