PDA

View Full Version : ThinAir problem in last release



Petr Schreiber
12-10-2008, 15:15
Hi Roberto,

thinAir is very good in last release, but there are still some problems.
I do not know how, but I managed to get thinAir in following state:

- when I create new file from template, tab shows just .TBASIC
- when I press CTRL+S it closes thinAir!

So I reset the ThinAir options and then it disappeard, but it was really odd.


Petr

P.S. Found a way how to replicate:
- reset thinAir
- specify thinBasic path in options
- click new / new from template
- choose template
- once the richedit appears, click on close button of richedit ( not whole thinAir )
- it might GPF already at this moment
- next time I start thinAir F2 browser appears ( don't know why )
- creating new file results in GPF

P.P.S. I had to reinstall thinBasic, thinAir refused to listen to my commands :D

P.P.P.S Hmm, now the behavior persists, could it be something in registry? I cannot work now :'(

Petr Schreiber
12-10-2008, 15:57
Ok,

when I go for "Use Empty", I do not get closing of thinAir on save.
Using any template means immediae closing of thinAir, that is odd.

I tried to delete everything except scripts from TB directory and reinstall, but it somehow still behaves bad.

Petr

EDIT: Changing Richedit to Scintilla and then back to default seems to fix the GPFs ( but not the bad tab name of new file )

Michael Hartlef
12-10-2008, 15:58
even deleting the ini files didn't help?

Petr Schreiber
12-10-2008, 16:08
Hi Mike,

I deleted whole thinBasic directory nothing ... I ended in using just Scintilla, which was a bit more stable, the standard richedit seemed to be the troublemaker.

I now just uninstalled thinBasic and installed from fresh ... seems to fix the GPFs.
But I am curious why this problem happened.


Petr

Petr Schreiber
12-10-2008, 16:10
:'( :'( :'(

It is back.
It seems to me closing not yet saved template output screws something.


Petr

Petr Schreiber
12-10-2008, 16:22
Here are some logs,

for "creating using TBGL template, clicking on MDI window close button and choosing no":


10-12-2008 16:19:38 Program entry, version 1.7.0.0
10-12-2008 16:19:38 Loaded address 0x00460EAA
10-12-2008 16:19:38 Requested stack size 0x00100000
10-12-2008 16:19:38 Stack pointer 0x0013FD68
10-12-2008 16:19:38 Stack base pointer 0x0013FF00
10-12-2008 16:19:38 Running on Windows XP Build 2600 (Service Pack 2)
10-12-2008 16:19:38 Load library
10-12-2008 16:19:38 Load setting from ini Entry
10-12-2008 16:19:38 Load setting from ini exit
10-12-2008 16:19:38 Settings loaded from e:\util\thinbasic\thinair\thinairdat.ini
10-12-2008 16:19:38 IDE Path = e:\util\thinbasic\thinair\
10-12-2008 16:19:38 Option Save Workspace = 1
10-12-2008 16:19:38 Option Position X,Y =-4,-4
10-12-2008 16:19:38 Option Size X,Y = 1288,998
10-12-2008 16:19:38 Using Standard edit control
10-12-2008 16:19:38 Loading keywords from files
10-12-2008 16:19:38 Loaded 4234 keywords from .\Syntax\BASKeyWords.txt
10-12-2008 16:19:38 Reallocated 4234 BASIC kyewords
10-12-2008 16:19:38 Loaded 232 keywords from .\Syntax\HTMLKeyWords.txt
10-12-2008 16:19:38 Reallocated 232 HTML kyewords
10-12-2008 16:19:38 Loaded 108 keywords from .\Syntax\RCKeyWords.txt
10-12-2008 16:19:38 Reallocated 108 RC kyewords
10-12-2008 16:19:38 Loaded 315 keywords from .\Syntax\ASMKeyWords.txt
10-12-2008 16:19:38 Reallocated 315 ASM kyewords
10-12-2008 16:19:38 Frame Create Entry
10-12-2008 16:19:38 Get recent files Entry
10-12-2008 16:19:38 Get recent files Exit 1
10-12-2008 16:19:38 Recent files loaded from e:\util\thinbasic\thinair\thinair.ini
10-12-2008 16:19:38 Get recent projects Entry
10-12-2008 16:19:38 Get recent projects Exit 0
10-12-2008 16:19:38 Recent projects loaded from e:\util\thinbasic\thinair\thinair.ini
10-12-2008 16:19:38 Frame Create exit
10-12-2008 16:19:38 Created frame window : 3146072
10-12-2008 16:19:38 Help initialized
10-12-2008 16:19:42 Child Create Entry 2687412
10-12-2008 16:19:42 Edit Create Entry 2490800
10-12-2008 16:19:42 Edit Create Exit 2490800
10-12-2008 16:19:42 Child Create exit 2687412


for situation when I use TBGL template and want save:


10-12-2008 16:20:59 Program entry, version 1.7.0.0
10-12-2008 16:20:59 Loaded address 0x00460EAA
10-12-2008 16:20:59 Requested stack size 0x00100000
10-12-2008 16:20:59 Stack pointer 0x0013FD68
10-12-2008 16:20:59 Stack base pointer 0x0013FF00
10-12-2008 16:20:59 Running on Windows XP Build 2600 (Service Pack 2)
10-12-2008 16:20:59 Load library
10-12-2008 16:20:59 Load setting from ini Entry
10-12-2008 16:20:59 Load setting from ini exit
10-12-2008 16:20:59 Settings loaded from e:\util\thinbasic\thinair\thinairdat.ini
10-12-2008 16:20:59 IDE Path = e:\util\thinbasic\thinair\
10-12-2008 16:20:59 Option Save Workspace = 1
10-12-2008 16:20:59 Option Position X,Y =-4,-4
10-12-2008 16:20:59 Option Size X,Y = 1288,998
10-12-2008 16:20:59 Using Standard edit control
10-12-2008 16:20:59 Loading keywords from files
10-12-2008 16:20:59 Loaded 4234 keywords from .\Syntax\BASKeyWords.txt
10-12-2008 16:20:59 Reallocated 4234 BASIC kyewords
10-12-2008 16:20:59 Loaded 232 keywords from .\Syntax\HTMLKeyWords.txt
10-12-2008 16:20:59 Reallocated 232 HTML kyewords
10-12-2008 16:20:59 Loaded 108 keywords from .\Syntax\RCKeyWords.txt
10-12-2008 16:20:59 Reallocated 108 RC kyewords
10-12-2008 16:20:59 Loaded 315 keywords from .\Syntax\ASMKeyWords.txt
10-12-2008 16:20:59 Reallocated 315 ASM kyewords
10-12-2008 16:20:59 Frame Create Entry
10-12-2008 16:20:59 Get recent files Entry
10-12-2008 16:20:59 Get recent files Exit 1
10-12-2008 16:20:59 Recent files loaded from e:\util\thinbasic\thinair\thinair.ini
10-12-2008 16:20:59 Get recent projects Entry
10-12-2008 16:20:59 Get recent projects Exit 0
10-12-2008 16:20:59 Recent projects loaded from e:\util\thinbasic\thinair\thinair.ini
10-12-2008 16:20:59 Frame Create exit
10-12-2008 16:20:59 Created frame window : 3998284
10-12-2008 16:20:59 Help initialized
10-12-2008 16:21:02 Child Create Entry 1639186
10-12-2008 16:21:02 Edit Create Entry 1377274
10-12-2008 16:21:02 Edit Create Exit 1377274
10-12-2008 16:21:02 Child Create exit 1639186


Another crash on saving fresh template ( after fresh installation moved from e:\util to e:\programFiles ):


10-12-2008 16:43:18 Program entry, version 1.7.0.0
10-12-2008 16:43:18 Loaded address 0x00460EAA
10-12-2008 16:43:18 Requested stack size 0x00100000
10-12-2008 16:43:18 Stack pointer 0x0012FD68
10-12-2008 16:43:18 Stack base pointer 0x0012FF00
10-12-2008 16:43:18 Running on Windows XP Build 2600 (Service Pack 2)
10-12-2008 16:43:18 Load library
10-12-2008 16:43:18 Load setting from ini Entry
10-12-2008 16:43:18 Load setting from ini exit
10-12-2008 16:43:18 Settings loaded from e:\program files\thinbasic\thinair\thinairdat.ini
10-12-2008 16:43:18 IDE Path = e:\program files\thinbasic\thinair\
10-12-2008 16:43:18 Option Save Workspace = 1
10-12-2008 16:43:18 Option Position X,Y =-4,-4
10-12-2008 16:43:18 Option Size X,Y = 1288,998
10-12-2008 16:43:18 Using Standard edit control
10-12-2008 16:43:18 Loading keywords from files
10-12-2008 16:43:18 Loaded 4234 keywords from .\Syntax\BASKeyWords.txt
10-12-2008 16:43:18 Reallocated 4234 BASIC kyewords
10-12-2008 16:43:18 Loaded 232 keywords from .\Syntax\HTMLKeyWords.txt
10-12-2008 16:43:18 Reallocated 232 HTML kyewords
10-12-2008 16:43:18 Loaded 108 keywords from .\Syntax\RCKeyWords.txt
10-12-2008 16:43:18 Reallocated 108 RC kyewords
10-12-2008 16:43:18 Loaded 315 keywords from .\Syntax\ASMKeyWords.txt
10-12-2008 16:43:18 Reallocated 315 ASM kyewords
10-12-2008 16:43:18 Frame Create Entry
10-12-2008 16:43:18 Get recent files Entry
10-12-2008 16:43:18 Get recent files Exit 1
10-12-2008 16:43:18 Recent files loaded from e:\program files\thinbasic\thinair\thinair.ini
10-12-2008 16:43:18 Get recent projects Entry
10-12-2008 16:43:18 Get recent projects Exit 0
10-12-2008 16:43:18 Recent projects loaded from e:\program files\thinbasic\thinair\thinair.ini
10-12-2008 16:43:18 Frame Create exit
10-12-2008 16:43:18 Created frame window : 1442262
10-12-2008 16:43:18 Entry Open file E:\Program Files\thinBasic\SampleScripts\COMM\TestModems.tBasic
10-12-2008 16:43:18 Child Create Entry 918198
10-12-2008 16:43:18 Edit Create Entry 918204
10-12-2008 16:43:18 Edit Create Exit 918204
10-12-2008 16:43:18 Child Create exit 918198
10-12-2008 16:43:18 Exit Open file 918198
10-12-2008 16:43:18 Help initialized
10-12-2008 16:43:21 Save file entry
10-12-2008 16:43:21 File E:\Program Files\thinBasic\SampleScripts\COMM\TestModems.tBasic saved successfully
10-12-2008 16:43:21 Get recent files Entry
10-12-2008 16:43:21 Get recent files Exit 1
10-12-2008 16:43:21 Recent files loaded from e:\program files\thinbasic\thinair\thinair.ini
10-12-2008 16:43:21 Save file exit
10-12-2008 16:43:28 Child Create Entry 787344
10-12-2008 16:43:28 Edit Create Entry 1180670
10-12-2008 16:43:28 Edit Create Exit 1180670
10-12-2008 16:43:28 Child Create exit 787344
10-12-2008 16:43:30 Save file entry


Maybe good to know the second case raises doctorWatson32
Now when I click something on toolbar it usually goes to GPF or closing thinAir.

ThinAir become very fragile, I basically cannot do anything ( except editing files in notepad and launching them by double click )


Petr

RobertoBianchi
13-10-2008, 15:21
Petr,

I am sorry for the problems in the latest ThinAIR, could you please try to use the attached ThinAIR version and let me know if solve the troubles?

Ciao,
Roberto

Petr Schreiber
13-10-2008, 16:11
Ciao Roberto,

no problem, I understand there are some bugs harder to catch.
Sadly your patch did not solved it.

I now still do get two behaviors:
- when I choose template and click use, new MDI window is allocated but GPF follows ( and 2x drwtsn32 too )
- sometimes I manage to load template ok, but when I hit F5 ( so thinAir should ask me if I want to save ) it again GPFs



10-13-2008 16:05:39 Program entry, version 1.7.0.1
10-13-2008 16:05:39 Loaded address 0x00460F3A
10-13-2008 16:05:39 Requested stack size 0x00100000
10-13-2008 16:05:39 Stack pointer 0x0013FD68
10-13-2008 16:05:39 Stack base pointer 0x0013FF00
10-13-2008 16:05:39 Running on Windows XP Build 2600 (Service Pack 2)
10-13-2008 16:05:39 Load library
10-13-2008 16:05:39 Load setting from ini Entry



Petr

RobertoBianchi
13-10-2008, 18:20
Petr,

thanks for the info, what are you using the advance (scintilla) or standard edit control when you got GPF?

Petr Schreiber
13-10-2008, 18:42
Hi Roberto,

I use the standard editor.
Scintilla works ok.


Petr

Michael Hartlef
16-10-2008, 22:14
Now it hit me too! :-\

Michael Hartlef
16-10-2008, 22:18
Arrgggh, nothing works right in thinAir anymore. Used the standard editor too. It happend when I try to save a new source created from a template.

And I wanted to test my new zone commands. :'( Well gotta wait till this is fixed.

Petr Schreiber
16-10-2008, 22:24
My only solution is to use Scintilla,

on other side it does not feature Undo, Search is not working too (yet) ... so it needs lot of concentration and mental powers :D


Petr

Michael Hartlef
23-10-2008, 15:31
Ok, still GPF's when I open a new template. Btw. Standard Editor!

Here is the tracelog:


10-23-2008 15:27:53 Trace log flag enabled
10-23-2008 15:27:56 Close frame window 2622526
10-23-2008 15:27:56 Save Setting to ini Entry
10-23-2008 15:27:56 Resetting position from-4,-4 to-4,-4
10-23-2008 15:27:56 Resetting size from 1292,878 to 1292,878
10-23-2008 15:27:57 Save Setting to ini Exit
10-23-2008 15:27:57 Quit
10-23-2008 15:27:57 Help unitialized
10-23-2008 15:27:57 Library unloaded
10-23-2008 15:27:57 *-----------------------------------Exit program with 20-----------------------------------*
10-23-2008 15:27:59 Program entry, version 1.7.0.0
10-23-2008 15:27:59 Loaded address 0x00460EAA
10-23-2008 15:27:59 Requested stack size 0x00100000
10-23-2008 15:27:59 Stack pointer 0x0012FD68
10-23-2008 15:27:59 Stack base pointer 0x0012FF00
10-23-2008 15:27:59 Running on Windows XP Build 2600 (Service Pack 2)
10-23-2008 15:27:59 Load library
10-23-2008 15:27:59 Load setting from ini Entry
10-23-2008 15:27:59 Load setting from ini exit
10-23-2008 15:27:59 Settings loaded from e:\thinbasic\thinair\thinairdat.ini
10-23-2008 15:27:59 IDE Path = e:\thinbasic\thinair\
10-23-2008 15:27:59 Option Save Workspace = 1
10-23-2008 15:27:59 Option Position X,Y =-4,-4
10-23-2008 15:27:59 Option Size X,Y = 1292,878
10-23-2008 15:27:59 Using Standard edit control
10-23-2008 15:27:59 Loading keywords from files
10-23-2008 15:27:59 Loaded 4261 keywords from .\Syntax\BASKeyWords.txt
10-23-2008 15:27:59 Reallocated 4261 BASIC kyewords
10-23-2008 15:27:59 Loaded 232 keywords from .\Syntax\HTMLKeyWords.txt
10-23-2008 15:27:59 Reallocated 232 HTML kyewords
10-23-2008 15:27:59 Loaded 108 keywords from .\Syntax\RCKeyWords.txt
10-23-2008 15:27:59 Reallocated 108 RC kyewords
10-23-2008 15:27:59 Loaded 315 keywords from .\Syntax\ASMKeyWords.txt
10-23-2008 15:27:59 Reallocated 315 ASM kyewords
10-23-2008 15:27:59 Frame Create Entry
10-23-2008 15:27:59 Get recent files Entry
10-23-2008 15:27:59 Get recent files Exit 1
10-23-2008 15:27:59 Recent files loaded from e:\thinbasic\thinair\thinair.ini
10-23-2008 15:27:59 Get recent projects Entry
10-23-2008 15:27:59 Get recent projects Exit 0
10-23-2008 15:27:59 Recent projects loaded from e:\thinbasic\thinair\thinair.ini
10-23-2008 15:27:59 Frame Create exit
10-23-2008 15:27:59 Created frame window : 2688062
10-23-2008 15:27:59 Help initialized
10-23-2008 15:28:05 Child Create Entry 1181308
10-23-2008 15:28:05 Edit Create Entry 1508996
10-23-2008 15:28:05 Edit Create Exit 1508996
10-23-2008 15:28:05 Child Create exit 1181308