DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2294 Version: 1.3-current How to reproduce the crash: 1. Open âtest/editorâ. 2. Open a new view. 3. Close the new view (the original view should be focused now). 4. Start typing. I usually get this backtrace: 0x000000000040cdbc in Fl_Text_Buffer::length (this=0x0) at ../FL/Fl_Text_Buffer.H:104 104 int length() const { return mLength; } (gdb) backtrace #0 0x000000000040cdbc in Fl_Text_Buffer::length (this=0x0) at ../FL/Fl_Text_Buffer.H:104 #1 0x0000000000420890 in Fl_Text_Display::redisplay_range (this=0x7c2380, startpos=0, endpos=2) at Fl_Text_Display.cxx:560 #2 0x000000000040ca5d in style_update (pos=1, nInserted=1, nDeleted=0, cbArg=0x7c2380) at editor.cxx:396 #3 0x000000000041ac7b in Fl_Text_Buffer::call_modify_callbacks (this=0x6c5120, pos=1, nDeleted=0, nInserted=1, nRestyled=0, deletedText=0x0) at Fl_Text_Buffer.cxx:2023 #4 0x000000000041cc6d in Fl_Text_Buffer::insert (this=0x6c5120, pos=1, text=0x7c4e20 "f") at Fl_Text_Buffer.cxx:257 #5 0x0000000000420fa9 in Fl_Text_Display::insert (this=0x6c6890, text=0x7c4e20 "f") at Fl_Text_Display.cxx:738 #6 0x000000000042957f in Fl_Text_Editor::handle_key (this=0x6c6890) at Fl_Text_Editor.cxx:523 #7 0x00000000004297f9 in Fl_Text_Editor::handle (this=0x6c6890, event=8) at Fl_Text_Editor.cxx:569 #8 0x000000000040d64e in send (event=8, to=0x6c6890, window=0x6c5c70) at Fl.cxx:938 #9 0x000000000040ebca in Fl::handle (e=8, window=0x6c5c70) at Fl.cxx:1068 #10 0x0000000000432f50 in fl_handle (thisevent=...) at Fl_x.cxx:1345 #11 0x0000000000433379 in do_queued_events () at Fl_x.cxx:182 #12 0x0000000000433400 in fd_callback () at Fl_x.cxx:306 #13 0x000000000043391e in fl_wait (time_to_wait=1e+20) at Fl_x.cxx:248 #14 0x000000000040f8d0 in Fl::wait (time_to_wait=1e+20) at Fl.cxx:460 #15 0x000000000040f95d in Fl::run () at Fl.cxx:475 #16 0x000000000040ccb9 in main (argc=1, argv=0x7fffffffe608) at editor.cxx:790 But once I got this: 0x000000000040fa78 in Fl_Widget::type (this=0x1b4) at ../FL/Fl_Widget.H:251 251 uchar type() const {return type_;} (gdb) backtrace #0 0x000000000040fa78 in Fl_Widget::type (this=0x1b4) at ../FL/Fl_Widget.H:251 #1 0x000000000040dae5 in Fl_Widget::damage (this=0x7c4f70, fl=1 '\001', X=213, Y=0, W=512, H=0) at Fl.cxx:1422 #2 0x000000000040dcf8 in Fl_Widget::damage (this=0x7c4f70, fl=4 '\004') at Fl.cxx:1408 #3 0x00000000004209e2 in Fl_Text_Display::redisplay_range (this=0x7c4f70, startpos=0, endpos=2) at Fl_Text_Display.cxx:582 #4 0x000000000040ca5d in style_update (pos=1, nInserted=1, nDeleted=0, cbArg=0x7c4f70) at editor.cxx:396 #5 0x000000000041ac7b in Fl_Text_Buffer::call_modify_callbacks (this=0x6c5120, pos=1, nDeleted=0, nInserted=1, nRestyled=0, deletedText=0x0) at Fl_Text_Buffer.cxx:2023 #6 0x000000000041cc6d in Fl_Text_Buffer::insert (this=0x6c5120, pos=1, text=0x7c3710 "d") at Fl_Text_Buffer.cxx:257 #7 0x0000000000420fa9 in Fl_Text_Display::insert (this=0x6c6890, text=0x7c3710 "d") at Fl_Text_Display.cxx:738 #8 0x000000000042957f in Fl_Text_Editor::handle_key (this=0x6c6890) at Fl_Text_Editor.cxx:523 #9 0x00000000004297f9 in Fl_Text_Editor::handle (this=0x6c6890, event=8) at Fl_Text_Editor.cxx:569 #10 0x000000000040d64e in send (event=8, to=0x6c6890, window=0x6c5c70) at Fl.cxx:938 #11 0x000000000040ebca in Fl::handle (e=8, window=0x6c5c70) at Fl.cxx:1068 #12 0x0000000000432f50 in fl_handle (thisevent=...) at Fl_x.cxx:1345 #13 0x0000000000433379 in do_queued_events () at Fl_x.cxx:182 #14 0x0000000000433400 in fd_callback () at Fl_x.cxx:306 #15 0x000000000043391e in fl_wait (time_to_wait=1e+20) at Fl_x.cxx:248 #16 0x000000000040f8d0 in Fl::wait (time_to_wait=1e+20) at Fl.cxx:460 #17 0x000000000040f95d in Fl::run () at Fl.cxx:475 #18 0x000000000040ccb9 in main (argc=1, argv=0x7fffffffe608) at editor.cxx:790 Unfortunately I do not seem to be able to reproduce it. OS: x86_64 GNU/Linux (Debian Squeeze) GCC: 4.3.4 Kernel: 2.6.30 FLTK: SVN rev. 6943 Link: http://www.fltk.org/str.php?L2294 Version: 1.3-current
_______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
