chenke wrote: > my app working on fc6 , gcc . > > the gdb out put below: > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread -1208866592 (LWP 2843)] > 0x08272e6f in fl_xid (w=0x9bd32ec) at ../FL/x.H:129 > 129 return > Fl_X::i(w)->xid;} > (gdb) bt > #0 0x08272e6f in fl_xid (w=0x9bd32ec) at ../FL/x.H:129 > #1 0x08280e92 in Fl_X::make_xid (w=0x9bd4a3c, visual=0x9b7b878, colormap=32) > at Fl_x.cxx:982 > #2 0x08275ac7 in Fl_Double_Window::show (this=0x9bd4a3c) at > Fl_Double_Window.cxx:65 > #3 0x0827964d in Fl_Overlay_Window::show (this=0x9bd4a3c) at > Fl_Overlay_Window.cxx:37 > #4 0x08271c79 in Fl_Window::handle (this=0x9bd4a3c, event=16) at Fl.cxx:774 > #5 0x080f97f7 in COWin::handle (this=0x9bd4a18, iEvent=16) at > /root/workdir/ut6000f/src/rk_dtk_owin.cpp:352 > #6 0x08277720 in Fl_Group::handle (this=0x9bd4650, event=16) at > Fl_Group.cxx:235 > #7 0x080eafeb in CGroup::handle (this=0x9bd4630, iEvent=16) at > /root/workdir/ut6000f/src/rk_dtk_group.cpp:136 > #8 0x0827bfc3 in Fl_Widget::show (this=0x9bd4650) at Fl_Widget.cxx:223
Are you using threads? If yes, then your show() operations on windows _must_ be in the primary thread to be portable, otherwise you may see something not working or even crashes like this one. Your backtrace above is too little information. What is your program doing before the crash? You wrote in another post: > sorry my fltk is fltk-1.1.0b13 That's *way* too old to be supported by the fltk team. Also, "b13" means that it is a beta version before fltk-1.1.0 was released. Please upgrade to FLTK 1.1.9. Albrecht _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

