Crash on start up

You need some new stunning features ? Tell us here.
Justin
Addict
Addict
Posts: 961
Joined: Sat Apr 26, 2003 2:49 pm

Crash on start up

Post by Justin »

Hi, the program worked but suddendly started to crash always on start up, i tried to reinstall(without unistall) with no luck.

A program error was detected:
Error message: Invalid memory access
Error code: -1073741819
Code address: 4762749
Target address: 32

XP SP3 32bit
PB 5.00
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Crash on start up

Post by Polo »

Apparently this is due to a problem in the preference file, which is located in the Appdata folder in Windows.
Sorry for that!
paulr
User
User
Posts: 70
Joined: Sat Sep 27, 2003 2:53 pm

Re: Crash on start up

Post by paulr »

I have the same crash-on-startup problem...

Background
The PB5 Demo worked fine for me, but when I uninstalled it and replaced it with the full version, the Form Designer stopped working.

Symptoms
I'm using windows XP. When I click Tools -> Visual Designer, a tab opens in the taskbar with the title 'Form Designer 5.00 beta 3', but no window appears. If I right click on it the 'close' option is there but all the others (restore, move etc) are greyed out. If I click close I get a 'not responding' window, and if I click 'end now' after a few seconds I get the crash window asking me to tell Microsoft about my problem.

Attempts to fix
I've made the following attempts to fix it but none have worked:

Uninstalling and reinstalling PureBasic.
Deleting everything in %APPDATA%\Purebasic and restarting.
Deleting registry references to PureBasic and reinstalling.
Reinstalling the Demo version. It doesn't work either now.

I'm stumped. Can anyone help?
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Crash on start up

Post by IdeasVacuum »

Apparently this is due to a problem in the preference file
...that error also occurs when the Form Designer has been minimised to the task bar for a while - what value in the preference file is actually at fault? Also, which preference file is it exactly Polo - can't find one for Form Designer specifically, only PureBasic.prefs, Templates.prefs and Tools.prefs :?
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: Crash on start up

Post by ts-soft »

IdeasVacuum wrote:Also, which preference file is it exactly Polo - can't find one for Form Designer specifically, only PureBasic.prefs, Templates.prefs and Tools.prefs :?

Code: Select all

Debug GetEnvironmentVariable("APPDATA") + "\gdpcomputing\formdesigner\settings.prefs"
:wink:
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Crash on start up

Post by IdeasVacuum »

...ah, expected it to be in the PureBasic folder. So, here we go:

Code: Select all

[Misc]
PBAny = 0
CaptionVariable = 0
GridVisible = 1
GridSize = 10
LeftPanel = 385
PanelPos = 1
Language = English
Form_OS = 1
Form_OSVersion = 7
NumCustGadgets = 0
WindowMax = 0
LeftPanel2 = 389
WindowKeepPos = 1
WindowX = 1280
WindowY = 0
WindowW = 1271
WindowH = 968
GenEventProc = 1
GenEventLoop = 1
...it all looks innocent? WindowX is 1280 because Form Designer is on Monitor 2.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Crash on start up

Post by Polo »

Not sure what's wrong here, will be fixed in next version anyway ;)
Post Reply