DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2592
Version: 1.3-current


Note: lowered prio to 3 (Moderate).

I can't replicate this behavior on my WinXP system with MinGW. Here is the
result from compiling and running your test program with gdb:

$ ./fltk-config --compile /e/vm-data/fltk/examples/str_2592.cxx
g++ -I. -I./png -I./zlib -I./jpeg -mwindows -DWIN32 -DUSE_OPENGL32 
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -o 'str_2592' 
'/work/fltk/examples/str_2592.cxx' -mwindows -static-libgcc
-static-libstdc++ ./lib/libfltk.a -lole32 -luuid -lcomctl32

$ gdb str_2592.exe
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from d:\work\fltk\svn\fltk-1.3/str_2592.exe...done.
(gdb) r
Starting program: d:\work\fltk\svn\fltk-1.3/str_2592.exe
[New Thread 2464.0x518]

Program exited normally.
(gdb) q

This works the same with fltk 1.1.10/11 svn, and it also works
if I run the program w/o gdb. I also ran clock.exe with gdb
w/o problems. I didn't run 1.1.9, but this is probably not the
problem here. If you want to use FLTK 1.1, please try a newer
version as well (preferred: 1.1.11 from svn).

A difference I can see is that your run command starts 2 threads,
whereas I see only one here. One reason might be a virus (checker)
or something else that injects itself somehow and starts its own
thread (that's a wild guess, but maybe...).

Another reason for such unusual behavior can be that you mixed both
FLTK 1.1 and FLTK 1.3 libraries somehow. You can either remove both
libraries and install only one to be sure, or you can work and test
without installing at all (that's what I would recommend for now).

Look at my commandline above: I used fltk-config to compile your
single-file program directly from the build directory. Please try
this too to exclude any library mixture.

More system info:

$ uname -a
MINGW32_NT-5.1 HOST 1.0.16(0.48/3/2) 2010-09-29 00:07 i686 Msys

$ gcc --version
gcc.exe (GCC) 4.5.2
...

If you still have problems, please report your system info as I showed
above.


Link: http://www.fltk.org/str.php?L2592
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to