• Welcome to PlanetSquires Forums.
 

Solved - WinFBE 3.0.0 BETA 2 x64 crashes when trying to open a file

Started by Bruce Huber, April 09, 2022, 05:21:13 PM

Previous topic - Next topic

Paul Squires

That is unfortunate.

I have attached two very simple console programs that simply load the scintilla(32/64).dll and lexilla(32/64).dll and report the pointer values. The source code is also provided.

I encourage people here that read this post to download it and test on your computers to see if the 64 bit version fails to load the DLL's and return zero values for the pointers.

Simply unzip the attachment to an empty folder. Open a Windows terminal in that folder and run these two programs:
./dll_test32.exe
./dll_test64.exe

I would be very interested to hear of others get zero values on their Windows 64 bit systems.

Thanks
Paul

Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Bruce Huber

WinFBE BETA 3 x64 is still doing an access violation GPF... but... I will get back to debugging it more in a little while after I tell you about getting past loading the scintilla DLLs.

I ran Dependencies against the scintilla DLLs and found that my system was missing VCRUNTIME140_1.dll. After I updated the VC rtlibs, the scintilla DLLs load and give me good pointers - (but it still GPFs later).

Dependencies - An open-source modern Dependency Walker
https://github.com/lucasg/Dependencies

Microsoft Visual C++ Redistributable latest supported downloads
Visual Studio 2015, 2017, 2019, and 2022
https://docs.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170

(Back to debugging...)

Johan Klassen

Paul, the programs work ok but windows defender is suspicious and wants me to do a cloud security scan

Bruce Huber

Yay!!! Went back to original source, now that Scintilla.dll resolves, (in case I added a bug while debugging) - compiled - and it runs WONDERFULLY WELL!!!

Thanks a LOT for the help, Paul!!!
CBruce

Joerg B.

Hello Paul

For me, no zero values are returned in either program.
I have tested it on different PC's with Windows 10 and 11.

Even with windows 11 under VirtualBox on a macOS computer it works. :-)

Greeting from Germany

Joerg

Paul Squires

Quote from: Bruce Huber on April 12, 2022, 10:48:08 PM
Yay!!! Went back to original source, now that Scintilla.dll resolves, (in case I added a bug while debugging) - compiled - and it runs WONDERFULLY WELL!!!

Thanks a LOT for the help, Paul!!!
CBruce

This is fantastic news!  Looks like we can put this bug behind us now.

I will package up a BETA 3 and release it just so that we can all test a version before I send out the final Version 3 to the world at large.

Thanks Joerg and Johan for testing the sample program - I appreciate it.
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

jermy

Hello Paul,

maybe you're still working on it, but I can't open or save projects with 64 bits version, Winfbe crashes.
Opening a single file works.

starting WinFBE64 with administrator rights; the file menu looks crippled.

SeaVipe

Hi Paul, FYI, my Windows 10 Pro machine opens projects and files in both 32bit and 64bit WinFBE versions without issues. (Older Dell 9010 with lots of HDD space and RAM.)
Clive Richey

Paul Squires

Hi guys, yes, there is an array access error that could result in GPF. That was fixed. I will release a BEAT 3 asap so that we can ll be working from a common code base.
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer