| [ Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]
STR #1410
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 4 - High, e.g. key functionality not working |
Scope: | 3 - Applies to all machines and operating systems |
Subsystem: | Core Library |
Summary: | fl_file_chooser crashes on second call |
Version: | 1.1-current |
Created By: | christoph |
Assigned To: | matt |
Fix Version: | 1.1-current (SVN: v5417) |
Update Notification: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#1 | christoph 09:10 Sep 03, 2006 |
| fl_file_chooser() crashes when first canceled and then called a second time. Replacing src/fl_file_dir.cxx with an older version solves the problem, so it must be related to this file. | |
|
#2 | matt 11:26 Sep 04, 2006 |
| I can't duplicate that behavior usung 'test/file_chooser'. Please make sure that after updating via SVN to do a "make clean" before you do a "make". If the problem is still there, please post simplified source code and describe exactly what to do to make the app crash. | |
|
#3 | christoph 02:13 Sep 05, 2006 |
| It seems that the error only occurs ehen the last argument in fl_file_chooser() is an empty string. Here is a minimal example:
#include <FL/Fl_File_Chooser.H> int main() { fl_file_chooser("Press Cancel", "*", ""); fl_file_chooser("Press Cancel", "*", ""); return 0; }
When you press cancel in the first file chooser, the second file chooser will crash (tested on OSX with fltk-1.1 svn form 05/09/2006 (DD/MM/YYYY). | |
|
#4 | matt 02:58 Sep 05, 2006 |
| Fixed in Subversion repository.
Thanks for the sample code. | |
[ Return to Bugs & Features ]
|
| |