PlanetSquires Forums

Support Forums => PlanetSquires Software => Topic started by: Paul Squires on February 21, 2020, 09:35:27 AM

Title: Can anyone here replicate this error?
Post by: Paul Squires on February 21, 2020, 09:35:27 AM
A user reported a crash bug over on WinFBE's GitHub page:
https://github.com/PaulSquires/WinFBE/issues/13

There was a problemwhen pressing the down arrow next to the Open Templates toolbar icon would cause a crash on 64-bit. That was fixed a long time ago.
Title: Re: Can anyone here replicate this error?
Post by: SeaVipe on February 21, 2020, 12:37:18 PM
Hi Paul, No problems with the "Open" button or down arrow. The "New" button functions properly but the down arrow caused 2.0.5 to crash.
Upon further review, I found that whichever version of WinFBE was run from the "C:\WinFBE_Suite" folder will exhibit the crashing issue. I tested all versions from 2.0.0 through to 2.0.5 and they all had the same issue with the "New" down arrow but not the "New" button or the "Open" button or the "Open" down arrow.
I keep the 10 most recent versions of WinFBE_Suite on the root of my C: drive in this format: C:\WinFBE_Suite.2.0.0 etc. To test, I simply opened the appropriate folder and double-clicked WinFBE64.exe.
Title: Re: Can anyone here replicate this error?
Post by: Paul Squires on February 21, 2020, 01:15:12 PM
Thanks Clive - I really appreciate the report because I can't replicate the crash on my computer. I will re-evaluate the code that loads the list of Jose's templates and see if there is a stray pointer or something else in there that is causing the blow up.
Title: Re: Can anyone here replicate this error?
Post by: Paul Squires on February 21, 2020, 01:55:54 PM
Hi Clive, can you please test the attached new 64 bit exe? I made a couple of small changes and added a test to ensure that the I only pass non-zero length text descriptions to the listbox because I remember that FB has trouble with @ references to null strings.

Please let me know if it works or if I am still on the hunt for the cause of the crash. Thanks!
Title: Re: Can anyone here replicate this error?
Post by: Paul Squires on February 21, 2020, 02:35:49 PM
Oh, and I also wanted to ask: Does the program crash when you select "Open Templates" from the "File" menu? If it opens successfully via the File menu then I know that the problem must be in the way that I am handling the toolbar dropdown notification.
Title: Re: Can anyone here replicate this error?
Post by: SeaVipe on February 21, 2020, 05:17:24 PM
Hi Paul, 7-zip can't open WinFBE64.rar.
Title: Re: Can anyone here replicate this error?
Post by: SeaVipe on February 21, 2020, 08:52:27 PM
Hi Paul, managed to open the RAR file with WinRar.
Yes, WinFBE64 2.0.5 crashes when attempting File>Open Templates.
The test version you posted does not. It would appear as though you fixed it!

Title: Re: Can anyone here replicate this error?
Post by: Paul Squires on February 21, 2020, 08:56:43 PM
Awesome! Thanks for testing.