>> Something seems to have changed in fluid [..r6905 crashes on build..]
> Linking editor...
> Generating fast_slow.cxx and header from fast_slow.fl...
> *** glibc detected *** ../fluid/fluid: double free or corruption (out):
> 0x080dc9f8 ***
> ======= Backtrace: =========
> /lib/tls/i686/cmov/libc.so.6[0x40347a85]
Problem seems to be r6905. Maybe the new enum stuff for Fl_Widget.
r6904 doesn't have the problem.
Stacktrace from gdb:
% gdb ../fluid/fluid
[..]
(gdb) run -c fast_slow.fl
[..]
Program received signal SIGABRT, Aborted.
(gdb) where
#0 0xb7fac410 in __kernel_vsyscall ()
#1 0xb7bc9085 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7bcaa01 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7c01b7c in ?? () from /lib/tls/i686/cmov/libc.so.6
#4 0xb7c09a85 in ?? () from /lib/tls/i686/cmov/libc.so.6
#5 0xb7c0d4f0 in free () from /lib/tls/i686/cmov/libc.so.6
#6 0x080ddc0e in Fl_Widget::label (this=0x8188310, a=0x8189a28 "fast_slow.fl")
at Fl_Widget.cxx:275
#7 0x080e2d6c in Fl_Window::label (this=0x8188310, name=0x8189a28
"fast_slow.fl", iname=0x0) at Fl_x.cxx:1673
#8 0x080de7e5 in Fl_Window::label (this=0x8188310, name=0x8189a28
"fast_slow.fl") at Fl_Window.cxx:139
#9 0x0807d5e0 in set_modflag (mf=0) at fluid.cxx:2217
#10 0x0807e19e in set_filename (c=0xbfe39daa "fast_slow.fl") at fluid.cxx:2088
#11 0x08082406 in main (argc=3, argv=0xbfe38aa4) at fluid.cxx:2297
(gdb) list
270 Fl_Widget::label(const char *a) {
271 if (flags() & COPIED_LABEL) { *** CONDITION ***
272 // reassigning a copied label remains the same copied label
273 if (label_.value == a)
274 return;
275 free((void *)(label_.value)); *** DIES HERE ***
276 clear_flag(COPIED_LABEL);
277 }
278 label_.value=a;
279 redraw_label();
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev