Flowcode V5.4 Crash *** Bug Alert ***

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
Sefi
Posts: 56
Joined: Mon Sep 29, 2008 10:26 am
Has thanked: 9 times
Been thanked: 14 times

Flowcode V5.4 Crash *** Bug Alert ***

Post by Sefi »

I have found a bug which I wanted to bring to your attention.

When creating Custom Components, in the MacroParameters definitions section, the keyword "Count" is case sensitive which in itself is not an issue. However if you inadvertently enter "count" in place of "Count" it will crash Flowcode and lead to sever loss of hair as you pull clumps of hair off your head while trying to work out what it is you are doing that causes Flowcode to crash.

Cheers
Sefi

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times

Re: Flowcode V5.4 Crash *** Bug Alert ***

Post by Enamul »

Can you please post some example as I can't replicate that in my machine?
Enamul
University of Nottingham
enamul4mm@gmail.com

Sefi
Posts: 56
Joined: Mon Sep 29, 2008 10:26 am
Has thanked: 9 times
Been thanked: 14 times

Re: Flowcode V5.4 Crash *** Bug Alert ***

Post by Sefi »

Hi Enamul,

Thanks for looking into this. I have attached a very simple Custom Component with only one macro. Please do the following to replicate the situation:

1- Open a new project with whatever PIC type you like.
2- Add the attached custom component to your project

** All OK so far - The component is added normally ***

3- Now go into the Components directory of Flowcode (where you have saved the attached Custom Component) and open FC5_PIC_Custom.c in your normal editor
4- Now, do a search fro this line "[MacroParameters_LCD_Writ_Bus]"
5- On the next line you will find ==>> "Count=2"
6- Change "Count" to "count"
7- Save this file
8- Go to Flowcode and reload the FC5_PIC_Custom.c file by "Saving" the project.
9- Flowcode will ask you where you want to save this new project, choose wherever you like and attempt a save.
10- Flowcode will now crash and disappear.

Please let me know if you can replicate the problem.

Many thanks
Sefi
Attachments
FC5_PIC_Custom.c
(3.98 KiB) Downloaded 252 times

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times

Re: Flowcode V5.4 Crash *** Bug Alert ***

Post by Enamul »

Yes..you are right. Flowcode simply disappears. I have tried to open the flowcode again..It opens but it again disappears when I click in custom component. Really strange :!:
Enamul
University of Nottingham
enamul4mm@gmail.com

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: Flowcode V5.4 Crash *** Bug Alert ***

Post by DavidA »

Oh, thanks for bringing this to our attention.... !

Post Reply