Hello all! Can anyone, please,suggest me what to do with this kind of error:
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb7a286d0 (LWP 25230)] 0xb7b95c13 in _int_malloc () from /lib/libc.so.6 (gdb) thread apply all bt Thread 2 (Thread 0xb7a27b90 (LWP 25232)): #0 0xb7e8f3f1 in write () from /lib/libpthread.so.0 #1 0x080acd05 in Fl::awake () #2 0x0804d056 in cnc_gui::setRemainingTime (this=0x80e30a0, RemainedTime=0) at cnc_gui.cxx:3106 #3 0x0807f059 in func4CmdMngrThread (pCmdMngrThread=0x80e30a0) at cmd_mngr.cpp:1552 #4 0xb7e88383 in start_thread () from /lib/libpthread.so.0 #5 0xb7c0005e in clone () from /lib/libc.so.6 Thread 1 (Thread 0xb7a286d0 (LWP 25230)): #0 0xb7b95c13 in _int_malloc () from /lib/libc.so.6 #1 0xb7b97b2d in malloc () from /lib/libc.so.6 #2 0xb7dbeccb in ?? () from /usr/lib/libX11.so.6 #3 0x00000010 in ?? () #4 0x081133d0 in ?? () #5 0xbfb165e8 in ?? () #6 0xb7dbf473 in XUnionRectWithRegion () from /usr/lib/libX11.so.6 #7 0xb7dbf51e in XIntersectRegion () from /usr/lib/libX11.so.6 #8 0x080b5991 in fl_push_clip () #9 0x080a614e in Fl_Input_::drawtext () #10 0x080a4658 in Fl_Input::draw () #11 0x080a2deb in Fl_Group::update_child () #12 0x080a2ecf in Fl_Group::draw_children () #13 0x080ab257 in Fl_Window::draw () #14 0x080a1397 in Fl_Double_Window::flush () #15 0x080a1426 in Fl_Double_Window::flush () #16 0x0809d1ae in Fl::flush () #17 0x0809d40d in Fl::wait () #18 0x0809d497 in Fl::run () #19 0x08089f52 in main (argc=-1078823452, argv=0x0) at main.cpp:1120 I have two threads in my program. This is backtrace from GDB. I had problems with threads some time ago. I used FL::flush in not appropriate place in thread #2. I've changed it to FL::awake. For some time there were no problems, but now I have above-mentioned error. I use FLTK 1.1.9. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

