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

[STR New]

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


Hi,

the test/editor.cxx application shipped with fltk-1.3.x-r7647.tar.gz
crashes on both Solaris 10 u8 x86 and Windows XP SP3.

I did not modify the editor.cxx source file.

How to provoke the bug: Start editor, open a text file of at least 20k via
the Open File menu, and try to search for a substring in the file loaded.

Solaris 10 u8 64 bit:

FLTK 1.3 r7647 compiled with GCC 4.4.3. Symptom: CDE (Common Desktop
Environment) restarts the X-server and you have to log-in again. Logged as
root.

Windows XP SP 3, 32 bit, German version

FLTK 1.3 r7647 compiled with MinGW/GCC 4.4.0. The application crashes and
XP asks to send a bug report to Microsoft.

At least on Solaris, the editor does seem to work flawlessly with FLTK
1.1.10.

It would be quite fine if this bug could be fixed for I would like to
extend the editor to a programming IDE.

Thank you,

Alexander Walz


PS.: Could you please also have a look at bsearch C functions used in
editor.cxx ?  

          if (bsearch(&bufptr, code_types,
                      sizeof(code_types) / sizeof(code_types[0]),
                      sizeof(code_types[0]), compare_keywords)) { ...

and the respective other bsearch statement does not _seem_ to conform with
respect to its third and fourth argument to the description of the bsearch
function in the GNU C Library documentation:

`bsearch (const void *key, const void *array, size_t count, size_t size,
comparison_fn_t compare)

... The array contains count elements, each of which is of size size
bytes.` (But I am not very familiar with using bsearch.)

(If this report was sent multiple times, please apologize.)


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

Attachment: linalg.agn
Description: Binary data

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

Reply via email to