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
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Wed Oct 24, 2007 12:16 am   

[2.08] Deleting a class in PE can cause crash
 
It would seem that when a class is deleted within the Package Editor no provision is made to undo the default class status. I checked command line versions of this bug with #UNCLASS and #DELCLASS and found only the PE had this fault.
Code:
date/time         : 2007-10-23, 20:12:40, 949ms
operating system  : Windows XP Service Pack 2 build 2600
system language   : English
system up time    : 4 days 12 hours
program up time   : 17 seconds
processor         : AMD Athlon(tm) Processor
physical memory   : 124/383 MB (free/total)
free disk space   : (C:) 13.93 GB
display mode      : 1024x768, 32 bit
process id        : $14a0
allocated memory  : 26.87 MB
executable        : cMUD.exe
exec. date/time   : 2007-10-22 21:55
version           : 2.8.0.0
madExcept version : 3.0b
callstack crc     : $618d9868, $634f38e7, $634f38e7
count             : 2
exception number  : 1
exception class   : Exception
exception message : Setting invalid module class: 2.

Main ($13dc):
00d3651e +0d6 cMUD.exe     PrefDat  10085 +10 PkgData.SetDefaultModule
00c96fec +394 cMUD.exe     MAIN      6135 +41 TMUDForm.NewProcessStr
00c9612e +026 cMUD.exe     MAIN      5837  +2 TMUDForm.ProcessStr
00c95c0a +04a cMUD.exe     MAIN      5712 +12 TMUDForm.ParseCommand
00ca4153 +223 cMUD.exe     MAIN     11058 +34 TMUDForm.Command
00ca5484 +250 cMUD.exe     MAIN     11407 +37 TMUDForm.FormKeyDown
00ccc2ae +012 cMUD.exe     MAIN     19903  +1 TMUDForm.UserInKeyDown
0050b5a0 +030 cMUD.exe     Controls  7026  +1 TWinControl.KeyDown
009a9fa6 +012 cMUD.exe     RVScroll   548  +1 TRVScroller.KeyDown
00958bad +011 cMUD.exe     RichView  1842  +1 TCustomRichView.KeyDown
00935184 +090 cMUD.exe     RVEdit    1625 +14 TCustomRichViewEdit.KeyDown
0050b618 +06c cMUD.exe     Controls  7043 +10 TWinControl.DoKeyDown
0050b646 +012 cMUD.exe     Controls  7052  +1 TWinControl.WMKeyDown
0093505d +1d5 cMUD.exe     RVEdit    1591 +36 TCustomRichViewEdit.WMKeyDown
00505c9e +036 cMUD.exe     Controls  4552  +5 TControl.Perform
0050c3c9 +0dd cMUD.exe     Controls  7471 +18 TWinControl.CNKeyDown
00505f93 +1df cMUD.exe     Controls  4645 +53 TControl.WndProc
00509cc2 +18e cMUD.exe     Controls  6342 +33 TWinControl.WndProc
00509894 +034 cMUD.exe     Controls  6237  +3 TWinControl.MainWndProc
0047fef8 +014 cMUD.exe     Classes  10966  +8 StdWndProc
77d4bcc7 +00a USER32.dll                      DispatchMessageA
0052ee48 +0ac cMUD.exe     Forms     6873 +13 TApplication.ProcessMessage
0052ee8f +00f cMUD.exe     Forms     6892  +1 TApplication.HandleMessage
0052f12a +0a6 cMUD.exe     Forms     6976 +16 TApplication.Run
00dbafc0 +088 cMUD.exe     CMUD       344 +18 initialization
7c91312f +069 ntdll.dll                       RtlUnicodeStringToAnsiString
7c812907 +0b6 kernel32.dll                    GetVersionExA

Procedure
1. Launch CMud
2. Close Sessions Window (ESC)
3. Enter at the command line
Code:
#CLASS A

4. Open Package Editor (CTRL-G)
5. Right-click on the A class and select Delete from the popup menu
6. Click in untitled sessions window to return focus to the command line
7. Hit enter to repeat the existing command
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Zugg
MASTER


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

PostPosted: Thu Oct 25, 2007 7:42 pm   
 
Confirmed and fixed for v2.09. Thanks for catching that one...it was related to a similar problem with moving a class to a different package, but I didn't catch it when deleting the class.
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