IonicWind Software

IWBasic => IWB3.x Bug Reports => Topic started by: jayelbee on August 16, 2023, 01:43:17 PM

Title: IDE crashes
Post by: jayelbee on August 16, 2023, 01:43:17 PM
When I start the IDE and try to load one of the example files, the IDE does nothing for 2 seconds then crashes and closes?  I had an old version of IBS installed and uninstalled it.  Could that be a problem? Suggestions???
Title: Re: IDE crashes
Post by: LarryMc on August 17, 2023, 07:49:42 AM
which program were you trying to run?
were you trying to run a project as a non-project by any chance?

Title: Re: IDE crashes
Post by: jayelbee on August 17, 2023, 08:15:29 AM
No.  Just one of the examples.  Several different ones.
Title: Re: IDE crashes
Post by: jayelbee on August 17, 2023, 10:29:27 AM
I have also uninstalled iwb3, run CCleaner to fix the registry, rebooted computer, and reinstalled iwb3.  Same results.
Title: Re: IDE crashes
Post by: LarryMc on August 17, 2023, 12:24:58 PM
tell me the exact install procedure you followed when you installed IWB
Title: Re: IDE crashes
Post by: Egil on August 18, 2023, 05:35:05 AM
jayelbee,

Your problem sounds a bit familiar to me.
Several years ago similar things also happened to me. But I finally found that it was the security/antivirus package I used at that time (F-Secure) that caused my problems. This was suggested by another of the forum users at that time. And when I disabled the security program before compiling my own masterpieces the problems were gone. And software I had compiled this way never had any issues when running on other peoples computers.

I tried to figure out what could be done and invited the software providers to let me make exceptions for my own code. They never answered. And  when I finally changed antivirus provider, the same things happened again.

They were unwilling to state what criteria their program used to block my self-produced software, without even warning me.
So, to cut a long story short, I had to consider why should I really trust them, as long as they didn't trust me?
So I changed my security software provider. But history unfortunately repeated itself time and time again.

Finally, I ended up with a program package from Emsisoft (http://www.emsisoft.com). They deliver user-friendly solutions at reasonable prices. And even if their program also sometimes finds that my self-produced code is somewhat suspicious, the program does not do anything without asking me first.

I am not sure, but it is highly likely that you are facing the same problem that I had.


Good luck to you, and welcome to the forum!

Egil
Title: Re: IDE crashes
Post by: jayelbee on August 18, 2023, 10:55:19 AM
I removed the antivirus software Malwarebytes, which incidentally flags this website as having a trojan, rebooted and tried the ide again with same results.  Tries to open any of the example, i.e. addressbook.ibw, hangs for 2-3 seconds then closes the ide. 

Setup is Win 10 with 8gb memory and 1 tb ssd.
Installation was standard using the Memory stick option.  Watched as the messages regarding libraries being unpacked.  When done clicked the button to start IDE.  Try to load any example included with the package and IDE sits idle for 2-3 seconds and closes.
Title: Re: IDE crashes
Post by: billhsln on August 18, 2023, 11:08:57 AM
I use Eset Internet Security Antivirus and it never flags my programs.

I wish I could help with the crashing, but maybe it is due to installing it on a memory stick?

Bill
Title: Re: IDE crashes
Post by: jayelbee on August 18, 2023, 11:26:25 AM
Insralled on c drive with memory stick option.  Loads software into c:\ibwdev3 folder.  Shortcut points to c:\IBWDev3\bin\IBWDev.exe.  Have also tried using the iwb3starter.exe with same resumts.  The IBWDev.ini file looks correct pointing to the examples, templates,and tools subdirectories.

Also tried to create a new file and IDE crashes in the same manner.
Title: Re: IDE crashes
Post by: Brian on August 18, 2023, 12:30:43 PM
I run Malwarebytes, as well - I like it, but it also flags the IWB Forum as having a Trojan. I have added two exclusions, "c:\iwbdev3" and "www.ionicwind.com"

Still shows the Trojan message from time to time, but I can live with that. I do a Manual Scan on the IWBDev3 folder weekly - never finds anything worth worrying about

When you installed IWB, did you right-click and Install as Administrator? Just wondered... Also, maybe you have not given yourself the correct rights to the IWB folder

Brian
Title: Re: IDE crashes
Post by: LarryMc on August 18, 2023, 07:45:58 PM
Just for kicks I downloaded and re-installed IWB on my computer and I'm getting the same general corrupted indication. So, something has happened to the file on the server.  In installing it on my computer has messed up the install on my computer. It might take me a bit to sort things out. I don't want to mess up my backups. I will post a message when I get things sorted out.
Title: Re: IDE crashes
Post by: LarryMc on August 18, 2023, 09:56:08 PM
well, it might take longer to sort out than I thought. The IDe IS WRITTEN IN iWb, MY iwb IS CORRUPTED AND I can't find my backup right now. And I'm in a major house revamp because my daughter is fixingg to move in with me. Hopefully LarryS has a backup copy that will fix the problem.
Title: Re: IDE crashes
Post by: Brian on August 19, 2023, 04:51:01 AM
Larry,

Do you need the installation exe (iwb3setup.exe)? I can send it if you wish...

Brian
Title: Re: IDE crashes
Post by: LarryMc on August 19, 2023, 09:24:07 AM
Quote from: Brian on August 19, 2023, 04:51:01 AMLarry,

Do you need the installation exe (iwb3setup.exe)? I can send it if you wish...

Brian
that might be a quick fix  if you would.
Title: Re: IDE crashes
Post by: Rock Ridge Farm (Larry) on August 19, 2023, 03:23:38 PM
I found a copy of the iwb3 installer - LarryMc downloaded it and same issue.
I run it on Linux under wine and have no issues.
Therefore I suspect that Windoz has updated something.

Still researching

Larry and LarryMc
Title: Re: IDE crashes
Post by: Rock Ridge Farm (Larry) on August 19, 2023, 04:43:48 PM
Used old laptop and loaded fresh copy of win 10.
Did not allow it to update.
Loaded IWB and it work without issue.
Will allow it to update tonight and check in the AM.

Larry
Title: Re: IDE crashes
Post by: Rock Ridge Farm (Larry) on August 21, 2023, 02:24:18 PM
Allowed to update and still works.
After re-install it has issues.
I think this has to be a change in the Windoz registry.

Still investigating.

Larry
Title: Re: IDE crashes
Post by: Rock Ridge Farm (Larry) on August 24, 2023, 03:28:05 PM
Is this still a problem?
My puter is working now - strange.
Larry
Title: Re: IDE crashes
Post by: jayelbee on August 24, 2023, 03:49:16 PM
Yes. Still happening.  Ide hangs for 2-3 seconds when trying to open or create a new file then it just closes.  I have tried at lest eight of the example files and same result each time. 

System is win 10 home version 22H2 64 bit.  Core I5-6400 @ 2.70 ghz.  1Tb SSD WITH 631 gb free.
Desktop system with 27" monitor connected via hdmi
Usb keyboard  wireless mouse. Wireless printer.

No other user programs running.  Anti virus is currently just Windiws defender security.

Title: Re: IDE crashes
Post by: LarryMc on August 27, 2023, 07:04:11 AM
Here's the latest on my efforts to track down the "crash" problem with the IDE.

I have determined that every function/activity within the IDE works with the exception of being able to actually open a file. In other words. If you do something that causes the IDE to generate an internal FileOpen command the IDE will "crash".
This "crash" is occurring on all copies I have of the IDE source code dating back to 2016. This leads  me to firmly believe it is not a problem in the code (along with the fact that I haven't changed the code in several years). This is in line with LarryS's initial thoughts that it was something in the registry.

I've searched the registry and there are several entries that look like COpenFilexx associated definitions. I don't know enough about C or the registry to know what I'm looking at but the problem has to be there.

LarryMcC
Title: Re: IDE crashes
Post by: jayelbee on August 28, 2023, 11:29:02 AM
I must be missing something.  I thought the memory stick install option did not use the registry.

A couple of ideas to look at.  1) does Aurora use the same ide?  If so, does it work?  How about iwb 2.5?

Does the ide call the scintilla editot?  If so, is there a new version of it available?

Other than that I have no idea what to try next.
Title: Re: IDE crashes
Post by: LarryMc on August 28, 2023, 02:14:43 PM
Quote from: jayelbee on August 28, 2023, 11:29:02 AMI must be missing something.  I thought the memory stick install option did not use the registry.
A lot of Windows operating system constants are always stored in the registry regardless of where IWB is installed.
Quote from: jayelbee on August 28, 2023, 11:29:02 AM1) does Aurora use the same ide?  If so, does it work?
It uses a completely different IDE.
Quote from: jayelbee on August 28, 2023, 11:29:02 AM1) Does iwb 2.5 use the same ide?  If so, does it work? 
Yes, that's what I called the 3.0 IWB IDE while I was developing it.

Quote from: jayelbee on August 28, 2023, 11:29:02 AMDoes the ide call the scintilla editor?  If so, is there a new version of it available?
yes, the IDE uses the scintilla editor but the editor is not invoked by merely opening a file and the crash is occurring when an attempt is made to open a file.
Title: Re: IDE crashes
Post by: Rock Ridge Farm (Larry) on August 28, 2023, 02:20:56 PM
If your windoz system has update and you uninstall you will have problems when re-installed.
I am not a Windoz person so if there is a registery/windoz person here please step in.

Larry
Title: Re: IDE crashes
Post by: LarryMc on August 28, 2023, 07:00:48 PM
another piece of info to go with what I posted earlier today.
I pulled out a laptop that I haven't used in about 3 months that I was using strickly for family history pictures. It hadn't been powered up so it couldn't have had any Windows updates on it and it had never had IWB on it.

I powered it up and my plan was to use the IWB stick that I made fresh yesterday that failed like every other copy of IWB I have. I ran the stick on the laptop and IWB ran exactly as it was designed. Had no problem opening files whatsoever.
Title: Re: IDE crashes
Post by: Egil on August 29, 2023, 12:01:17 PM
I'm pretty sure that Microsoft have changed something in the file management routines for Windows.
This morning I started my SDR control software for the first time in a couple of months. The software conrtrols a SDR receiver from ELAD (https://www.eladit.com/en/software-defined-radio), type FDM-SW2. The first time you run this software you have to set it up the way you want. This setup is saved to a configuration file, and next time you start up, the software use this file instead of asking you.
But this morning I had to go through the setup process before the program started. And when I closed the program and restarted it, I had to go through the setup process again. I called a friend of mine that uses the same software, and he called back minutes later just to tell me that his setup acted the same way.
We both run Windows 10, using norwegian language, on a setup very much similar to what jayelbee described a few days ago.

To make the confusion complete: on my norwegian setup IWB has absolutely no issues!
But on my laptop, running Windows 10 with a similar hardware setup, but set up for the english language, I have the same problems with IWB as jayelbee and LarryMc described.

I don't understand what goes on, but now I'm quite sure that my next computer will be a Mac.


Good luck!
Egil


PS. Just when I was about to post this, my friend called back suggesting that I should try starting my laptop on Linux and try running IWB using Wine.
I don't have any Linux  here, but maybe Larry can try this and see what happens?
Title: Re: IDE crashes
Post by: Rock Ridge Farm (Larry) on August 29, 2023, 12:24:56 PM
I run wine on Linux and it works fine.

Larry
Title: Re: IDE crashes
Post by: jayelbee on August 31, 2023, 08:45:23 AM
.has anyone tried running an iwb compiled program that opens a file on the computer that crashes the ide?  Does that program also crash?
Title: Re: IDE crashes
Post by: Brian on August 31, 2023, 09:11:58 AM
Jayelbee,

If it was myself that was having the problems, I would first run this from Microsoft to get rid of any IWB installations first:
https://support.microsoft.com/en-gb/topic/fix-problems-that-block-programs-from-being-installed-or-removed-cca7d1b6-65a9-3d98-426b-e9f927e1eb4d

Then run the IWB installer as Administrator (right-click the exe and select 'Run as Administrator'). Choose 'Memory Stick' so the program is installed at "C:\IWBDev3"

Check the permissions on the IWBDev3 folder so that you have Full Control. Mine looks like this (attached)

Check your anti-virus, and make an exception not to scan on the IWBDev folder and files

Good luck!

Brian
Title: Re: IDE crashes
Post by: jayelbee on September 02, 2023, 09:15:03 AM
Brian. - tried your idea.  Same results. 

I guess if Larry/Larry can't come up with an answer, I'll have to give up and admit ionic wind is shelfware for me. 
Title: Re: IDE crashes
Post by: LarryMc on September 02, 2023, 10:07:47 AM
Quote from: jayelbee on September 02, 2023, 09:15:03 AMI guess if Larry/Larry can't come up with an answer, I'll have to give up and admit ionic wind is shelfware for me. 
I've  even paid a 3rd party to look into the problem to no avail.
Believe it or not the source code to IDE is pretty hard to follow (it built around a class) and it was written 5-7 years ago with the help of Sapero to debug it.  After not even looking at that code in all those years it's almost like looking at gibberish. So that has made it a relearning process in what else I might try in the code it self.

I'm at the point now I have dragged out the source code of the debugger I had started working on after I had finished IWB 3.0.  IF, and that's a big IF, I can get the debugger going maybe it can give me some insight as to the problem with the "crash" you(jayelbee) and I are having.
Title: Re: IDE crashes
Post by: Brian on September 03, 2023, 04:28:17 AM
I last downloaded the 'iwb3setup.exe' on July 26, 2023 from the subscribers' repository. I ran it again yesterday (Sat) from the Desktop, just to test, and it worked flawlessly. Only thing I noticed was that in the Uninstall section of the Registry, the URL for ionicwind.com was misspelt wrongly three times, which I have adjusted

There is a free uninstaller called Geek Uninstaller available to download, which will delete problem installations completely, and professes to get rid of all the pesky Registry items that get left behind

Brian
Title: Re: IDE crashes
Post by: Brian on September 03, 2023, 09:41:36 AM
Jayelbee,

You know, thinking about this problem, I don't recollect anyone else having this kind of problem before. Maybe you need to run a couple of Windows utilities

Start an Administrator Command Prompt (must be Administrator), and type:
chkdsk c: /f (or whatever drive letter your Windows installation is on)
This will find any errors on the drive, and fix them

Let this run, and then type, still as Administrator:
sfc /scannow
This looks for corrupt Windows System files, and replaces them. Could take a while, be patient

Let us know the outcome, if any

Brian

Title: Re: IDE crashes
Post by: jayelbee on September 03, 2023, 11:44:50 AM
No problems with chkdsk or sfc.  Same results- ide crashes when trying to open any file or create a new file.
Title: Re: IDE crashes
Post by: Brian on September 03, 2023, 12:02:40 PM
OK, worth a try, I guess, and won't have done any harm

Are you sure you have the correct rights on the IWBDev3 folder? Right-click the folder and select Properties > Security

Brian
Title: Re: IDE crashes
Post by: Egil on September 09, 2023, 02:34:48 AM
Now my norwegian language setup also have issues with IWB. It behaves exactly the same way as describel by jayelbee. The last time I used the package was monday. Then everything worked as intended. But this morning it did not work any more.
I came to think of something... Is there any way I can start the IWB compiling/linking process using keyboard commands or a batch file?


Egil
Title: Re: IDE crashes
Post by: jayelbee on September 19, 2023, 08:27:56 AM
This problem definitely seems to fall into the category of Windows breaking application software. I just read on another site that the FreeQ IDE suddenly no longer works
Title: Re: IDE crashes
Post by: Egil on September 20, 2023, 11:17:06 AM
Quote from: jayelbee on September 19, 2023, 08:27:56 AMThis problem definitely seems to fall into the category of Windows breaking application software. I just read on another site that the FreeQ IDE suddenly no longer works

Maybe you are right. Reason for saying maybe is that the three software packages I know have stopped working as intended, all are based on the Scintilla source code editing component. And when you now have found another code editing program not working, it might as well be a Scintilla problem.


Regards,
Egil

Title: Re: IDE crashes
Post by: LarryMc on September 20, 2023, 11:50:14 AM
Quote from: Egil on September 09, 2023, 02:34:48 AMIs there any way I can start the IWB compiling/linking process using keyboard commands or a batch file?
Egil

I am currently working on something along that line and LarryS is looking into the Scintilla library.
So we are not just letting it die a natural death.

LarryMc
Title: Re: IDE crashes
Post by: Egil on September 20, 2023, 01:09:19 PM
Quote from: LarryMc on September 20, 2023, 11:50:14 AMI am currently working on something along that line and LarryS is looking into the Scintilla library.

That's great Larry. And if it really is a Scintilla problem, do we really need it? I'm convinced that someone here on the forum will be able to write a suitable IDE, maybe one suitable for all three IW "dialects". By the way, has someone tried working with Aurora lately? If it still works, it might be a  good idea to inspect the source code for the Aurora IDE.


Good luck!
Egil
Title: Re: IDE crashes
Post by: LarryMc on September 20, 2023, 01:36:54 PM
When I built the IWB IDE I looked at the possibility of using what I had learned, codewise, and making an IDE for Creative Basic and Aurora. In both cases it was the compiler code portions of the code that I couldn't make mesh up for me to make it work. So, I agree totally with the idea with having an IDE that looked the same for all 3 but I couldn't make it happen back then.

My brainstorm now is to let you write a iwb file in any txt editor and then compile it in my program that I'm going to call IWB-.
I'm calling it that since we have IWB and IWB+
Title: Re: IDE crashes
Post by: jayelbee on September 21, 2023, 10:14:29 AM
For what its worth, wikipedia says that a new version

 of Scintilla was released on 7/23/23.
Title: Re: IDE crashes
Post by: Rock Ridge Farm (Larry) on September 21, 2023, 02:18:12 PM
I have the new src and comparing it to see what changed.

Larry
Title: Re: IDE crashes
Post by: Egil on September 30, 2023, 08:52:37 AM
I'm just back home for the weekend, and go back to the hospital monday morning.
Today I suddenly remembered  the old EB installer that is free for paid members to download.
Since I got rid of the EB IDE long time ago, I downloaded and tried it on the same computer that now refuse to run IWB properly.
There are no issues at all with running EB on this computer. And since the difference between IWB and EB is minimal, I think I'll use it instead of IWB until the problems the "Larries" are working on is fixed.
I realize that any source code made with EB must be adjusted slightly to be accepted by IWB at compile time, but this might just be helpful for those struggling right now.

If you doesn't already have a copy of EB, it can be downloaded from this locoation:
https://www.ionicwind.com/forums/index.php?topic=4728.0

This might possibly buy some extra time for the "Larries" to fix the problems as well.



Good luck!

Egil
Title: Re: IDE crashes
Post by: jayelbee on November 13, 2023, 08:41:34 PM
Any progress in the IDE problem?
Title: Re: IDE crashes
Post by: LarryMc on November 13, 2023, 10:49:00 PM
currently waiting on a response from Microsoft
Title: Re: IDE crashes
Post by: ckoehn on November 16, 2023, 06:42:04 AM
I have been reading this but have no explaination.  I personally have had no problem with Windows or the IWBasic program.  I am still on Windows 10 Pro though, and haven't tried uninstalling and reinstalling IWBasic.  With what has been reported here, I don't think I'm going to try it. 😊

Later,
Clint