Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
oldguy2
Wizard


Joined: 17 Jun 2006
Posts: 1201

PostPosted: Mon Aug 10, 2009 2:13 am   

Unsure of Problem...
 
I have a forging script that worked fine in previous versions. However, it crashes as soon as I start the script now.

When I begin running the script, Cmud crashes. I'm not sure what causes it because I can't do anything to see. I can't even hit a key on the keyboard because it causes it to crash. I will try to narrow this down more but here is the bug reports where it crashed online and offline just now when I tested. I thought it had to do with the buttons I use that are updated when the script starts but I disabled that class and started the script and it crashed again.


operating system : Windows XP Service Pack 3 build 2600
system language : English
system up time : 8 days 8 hours
program up time : 14 minutes 36 seconds
processor : AMD Athlon(tm) 64 Processor 3800+
physical memory : 1265/2047 MB (free/total)
free disk space : (C:) 136.55 GB
display mode : 1024x768, 32 bit
process id : $139c
allocated memory : 40.01 MB
executable : cMUD.exe
exec. date/time : 2009-07-28 17:46
version : 3.10.0.1
compiled with : BCB 2006/07
madExcept version : 3.0h
contact name : xxxx
contact email : xxxxxxxxxx
callstack crc : $0e9bf9e5, $68a516c1, $68a516c1
exception number : 2
exception class : EAccessViolation
exception message : Access violation at address 00A69ECD in module 'cMUD.exe'. Read of address 00000129.

Main ($4a4):
00a69ecd +011 cMUD.exe MapFrame3 5573 +0 TMapFr.GetGrid
00cf184d +009 cMUD.exe MapNew3 2960 +1 TNewMapF.ActionGridUpdate
0047b75b +00f cMUD.exe Classes TBasicAction.Update
004cbd0d +031 cMUD.exe ActnList TContainedAction.Update
0047b651 +005 cMUD.exe Classes TBasicActionLink.Update
00692473 +027 cMUD.exe dxBar 21996 +1 TdxBarItemLink.InitiateAction
006937f3 +01f cMUD.exe dxBar 22659 +1 TdxBarItemLinks.InitiateActions
00693816 +016 cMUD.exe dxBar 22668 +3 TdxBarItemLinks.IsShortCut
006adbd3 +057 cMUD.exe dxBar 36903 +10 TdxBarItem.IsShortCut
00693840 +040 cMUD.exe dxBar 22671 +6 TdxBarItemLinks.IsShortCut
0068f956 +006 cMUD.exe dxBar 20515 +0 TdxBar.IsShortCut
006888c9 +025 cMUD.exe dxBar 16932 +1 IsBarManagerShortCut
00688a4c +0a8 cMUD.exe dxBar 16980 +23 TdxBarManager.HandleShortCut
006816e0 +020 cMUD.exe dxBar 12828 +1 HandleKey
00681ba2 +182 cMUD.exe dxBar 12966 +34 MenuActivateIfNeeded
00681ed3 +083 cMUD.exe dxBar 13075 +16 dxBarKeyboardHook
7c90e470 +010 ntdll.dll KiUserCallbackDispatcher
7c912c21 +069 ntdll.dll RtlUnicodeStringToAnsiString

error details:
While running the forging script and showing the forging toolbar on screen.

operating system : Windows XP Service Pack 3 build 2600
system language : English
system up time : 1 day 7 hours
program up time : 46 seconds
processor : AMD Athlon(tm) 64 Processor 3800+
physical memory : 1244/2047 MB (free/total)
free disk space : (C:) 136.40 GB
display mode : 1024x768, 32 bit
process id : $1fc
allocated memory : 35.31 MB
executable : cMUD.exe
exec. date/time : 2009-07-28 17:46
version : 3.10.0.1
compiled with : BCB 2006/07
madExcept version : 3.0h
contact name : xxxxx
contact email : xxxxxxxxx
callstack crc : $0e9bf9e5, $2013b7ff, $2013b7ff
exception number : 1
exception class : Unknown
exception message : Unknown.

Main ($e60):
00a69ecd +011 cMUD.exe MapFrame3 5573 +0 TMapFr.GetGrid
00cf184d +009 cMUD.exe MapNew3 2960 +1 TNewMapF.ActionGridUpdate
0047b75b +00f cMUD.exe Classes TBasicAction.Update
004cbd0d +031 cMUD.exe ActnList TContainedAction.Update
0047b651 +005 cMUD.exe Classes TBasicActionLink.Update
00692473 +027 cMUD.exe dxBar 21996 +1 TdxBarItemLink.InitiateAction
006937f3 +01f cMUD.exe dxBar 22659 +1 TdxBarItemLinks.InitiateActions
00693816 +016 cMUD.exe dxBar 22668 +3 TdxBarItemLinks.IsShortCut
006adbd3 +057 cMUD.exe dxBar 36903 +10 TdxBarItem.IsShortCut
00693840 +040 cMUD.exe dxBar 22671 +6 TdxBarItemLinks.IsShortCut
0068f956 +006 cMUD.exe dxBar 20515 +0 TdxBar.IsShortCut
006888c9 +025 cMUD.exe dxBar 16932 +1 IsBarManagerShortCut
00688a4c +0a8 cMUD.exe dxBar 16980 +23 TdxBarManager.HandleShortCut
7c90e470 +010 ntdll.dll KiUserCallbackDispatcher
00405152 +002 cMUD.exe System 38 +0 @ClassDestroy
00404d95 +009 cMUD.exe System 38 +0 TObject.Destroy
00404da4 +008 cMUD.exe System 38 +0 TObject.Free
0044d6b9 +009 cMUD.exe madExcept InterceptFreeExceptObject
004057a6 +016 cMUD.exe System 38 +0 @DoneExcept
004a9a4a +0d2 cMUD.exe Forms TApplication.Run
7c90e485 +009 ntdll.dll KiUserExceptionDispatcher
004c0ce8 +01c cMUD.exe Controls TWinControl.WMNCHitTest
004bb023 +2bb cMUD.exe Controls TControl.WndProc
004becb9 +18d cMUD.exe Controls TWinControl.WndProc
009e5148 +030 cMUD.exe term 1069 +8 TTerm.WndProc
004be750 +02c cMUD.exe Controls TWinControl.MainWndProc
0047c400 +014 cMUD.exe Classes StdWndProc
7c912c21 +069 ntdll.dll RtlUnicodeStringToAnsiString

also just now...

callstack crc : $0e9bf9e5, $366f28dc, $366f28dc
exception number : 1
exception class : Unknown
exception message : Unknown.

Main ($d80):
00a69ecd +011 cMUD.exe MapFrame3 5573 +0 TMapFr.GetGrid
004c0ce8 +01c cMUD.exe Controls TWinControl.WMNCHitTest
004bb023 +2bb cMUD.exe Controls TControl.WndProc
004becb9 +18d cMUD.exe Controls TWinControl.WndProc
009e5148 +030 cMUD.exe term 1069 +8 TTerm.WndProc
004be750 +02c cMUD.exe Controls TWinControl.MainWndProc
0047c400 +014 cMUD.exe Classes StdWndProc
7c912c21 +069 ntdll.dll RtlUnicodeStringToAnsiString

I don't see anything wrong with the script at all. It displays a #pick, then a #prompt, then a #yesno. Once those are done it starts the script. However as soon as I try hitting a key on keyboard it crashes. It seems it is the dialog boxes causing the problem.
Reply with quote
Arde
Enchanter


Joined: 09 Sep 2007
Posts: 605

PostPosted: Mon Aug 10, 2009 5:42 am   
 
oldguy2 wrote:

Main ($4a4):
00a69ecd +011 cMUD.exe MapFrame3 5573 +0 TMapFr.GetGrid
00cf184d +009 cMUD.exe MapNew3 2960 +1 TNewMapF.ActionGridUpdate
0047b75b +00f cMUD.exe Classes TBasicAction.Update
004cbd0d +031 cMUD.exe ActnList TContainedAction.Update
...skipped...

It is a new mapper stuff. Something goes wrong when the mapper tries to update its own window. There are several different crash reports for 3.10a in Beta Forum, all start with a call to TBasicAction.Update with subsequent crash somewhere within the mapper.
So I more than sure there is nothing wrong with your script.
_________________
My personal bug|wish list:
-Wrong Priority when copy-paste setting
-1 prompt trigger for Mapper, Session and General Options, not 3 different!
-#SECTION can terminate threads
-Buttons can't start threads
Reply with quote
oldguy2
Wizard


Joined: 17 Jun 2006
Posts: 1201

PostPosted: Mon Aug 10, 2009 8:54 am   
 
Well that is weird because I don't use the mapper and don't have the mapper open.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Aug 10, 2009 4:47 pm   
 
Reset your layout (hold down the SHIFT Key when you connect to your session). It looks like you have a mapper window being created left over from a previous docking layout, but the window is just hidden.

Arde is correct that there are several bug reports related to this same issue when you have a left-over mapper window in your layout file that isn't actually attached to any particular map.
Reply with quote
Arde
Enchanter


Joined: 09 Sep 2007
Posts: 605

PostPosted: Mon Aug 10, 2009 7:19 pm   
 
oldguy2
Try to rename your default.xly file in CMUD installation folder. Run CMUD. Save new default layout (Layout\Save default layout).
Now try to open your session and check your script once again.
_________________
My personal bug|wish list:
-Wrong Priority when copy-paste setting
-1 prompt trigger for Mapper, Session and General Options, not 3 different!
-#SECTION can terminate threads
-Buttons can't start threads
Reply with quote
oldguy2
Wizard


Joined: 17 Jun 2006
Posts: 1201

PostPosted: Thu Aug 13, 2009 9:15 pm   
 
Well this was indeed the problem. I deleted the xly file in the session folder and reset my layout and it works fine now.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net