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: Sun Jan 27, 2008 9:15 pm   

[2.18] Crash casued by XML view of a large variable
 
I was working on debugging some problems with one of my latest map queries and in order to debug it I had to put the output into variables at different points for me to examine. The particular variable that found this crash for me is 957816 bytes in length. It also caused me to find a number of other bugs with PE display items that will be posted seperately.

Procedure
1. Launch CMud
2. Close Sessions window (ESC)
3. Enter at the command line
Code:
#VAR a "";#VAR b {%repeat("a",300000)};#ALIAS crash {crash}

4. Open Package Editor (CTRL-G)
5. Click variable 'a' in the tree panel
6. Click the XML tab in the variables view panel
7. Click variable 'b' in the tree panel
8. Click alias 'crash' in the tree panel
Code:
date/time         : 2008-01-27, 16:32:05, 179ms
operating system  : Windows XP Service Pack 2 build 2600
system language   : English
system up time    : 9 hours 58 minutes
program up time   : 20 seconds
processor         : AMD Athlon(tm) Processor
physical memory   : 144/383 MB (free/total)
free disk space   : (C:) 14.61 GB
display mode      : 1024x768, 32 bit
process id        : $5a4
allocated memory  : 30.07 MB
executable        : cMUD.exe
exec. date/time   : 2007-12-14 15:39
version           : 2.18.0.0
madExcept version : 3.0b
callstack crc     : $e0f687af, $ae71f00d, $ae71f00d
count             : 2
exception number  : 1
exception class   : EReadError
exception message : Error reading Editor.SelectedLanguage: A call to an OS function failed.

Main ($344):
004779c1 +0d9 cMUD.exe     Classes             6351  +5 HandleException
00477b9e +19a cMUD.exe     Classes             6395 +35 TReader.ReadProperty
004774a9 +015 cMUD.exe     Classes             6202  +1 TReader.ReadDataInner
0047745b +03b cMUD.exe     Classes             6189  +5 TReader.ReadData
0047eb96 +012 cMUD.exe     Classes             9987  +1 TComponent.ReadState
004dfc25 +03d cMUD.exe     Controls            3357  +3 TControl.ReadState
004e4458 +028 cMUD.exe     Controls            5475  +3 TWinControl.ReadState
0047831f +1d7 cMUD.exe     Classes             6566 +37 TReader.ReadRootComponent
00475133 +037 cMUD.exe     Classes             4975  +3 TStream.ReadComponent
00907200 +0cc cMUD.exe     SciLexer            1099 +12 TScintillaBase.CreateWnd
004e5cfa +01e cMUD.exe     Controls            6121  +3 TWinControl.CreateHandle
004dffe4 +144 cMUD.exe     Controls            3449 +29 TControl.UpdateAnchorRules
004e5f14 +050 cMUD.exe     Controls            6183  +6 TWinControl.UpdateShowing
004e5f53 +08f cMUD.exe     Controls            6186  +9 TWinControl.UpdateShowing
004e6024 +050 cMUD.exe     Controls            6211  +7 TWinControl.UpdateControlState
004e8701 +03d cMUD.exe     Controls            7305  +3 TWinControl.CMVisibleChanged
004e281f +1df cMUD.exe     Controls            4645 +53 TControl.WndProc
004e654e +18e cMUD.exe     Controls            6342 +33 TWinControl.WndProc
004e252a +036 cMUD.exe     Controls            4552  +5 TControl.Perform
004e0ab4 +03c cMUD.exe     Controls            3734  +5 TControl.SetVisible
00c29b58 +240 cMUD.exe     PkgMain             1574 +48 TPkgMainF.CreateFrame
00c2a34e +49e cMUD.exe     PkgMain             1713 +73 TPkgMainF.UpdateSetting
009024ff +07b cMUD.exe     DataSetHandler       179  +7 THandlerList.CallHandlers
00902bd0 +004 cMUD.exe     DataSetHandler       260  +0 THandlerList.DoAfterScroll
00654581 +021 cMUD.exe     DB                 10773  +1 TDataSet.DoAfterScroll
00669293 +053 cMUD.exe     kbmMemTable        15056  +9 TkbmCustomMemTable.Locate
00aba814 +0a4 cMUD.exe     cxDBData            4891 +18 TcxDBDataController.TryFocusRecord
00ab8346 +0d6 cMUD.exe     cxDBData            3754 +20 TcxDBDataController.CanFocusRecord
005aa10e +03e cMUD.exe     cxCustomData        6155  +4 TcxCustomDataControllerInfo.CanFocusedRowChanging
005aa26a +07a cMUD.exe     cxCustomData        6203 +10 TcxCustomDataControllerInfo.DoChangeFocusedRow
005ac271 +02d cMUD.exe     cxCustomData        7368  +4 TcxCustomDataControllerInfo.SetFocusedRowIndex
005b27a0 +06c cMUD.exe     cxCustomData       11260  +8 TcxCustomDataController.ChangeFocusedRowIndex
007f04fb +03b cMUD.exe     cxInplaceContainer  5354  +3 TcxCustomControlController.SetFocusedRecordIndex
00802871 +01d cMUD.exe     cxTL                8016  +2 TcxTreeListController.SetFocusedRecordIndex
007f088d +049 cMUD.exe     cxInplaceContainer  5472  +5 TcxCustomControlController.SetFocusedRecordItem
0080494f +01f cMUD.exe     cxTL                8848  +2 TcxTreeListController.SetFocusedRecordItem
007efe35 +10d cMUD.exe     cxInplaceContainer  5097 +20 TcxCustomControlController.DoMouseDown
00803997 +06f cMUD.exe     cxTL                8456  +8 TcxTreeListController.DoMouseDown
007f2937 +077 cMUD.exe     cxInplaceContainer  6800  +9 TcxEditingControl.MouseDown
004e2b59 +091 cMUD.exe     Controls            4728  +7 TControl.DoMouseDown
004e2bbc +054 cMUD.exe     Controls            4737  +5 TControl.WMLButtonDown
00562434 +0d8 cMUD.exe     cxControls          2441 +15 TcxControl.WndProc
007f2b3e +01e cMUD.exe     cxInplaceContainer  6861  +3 TcxEditingControl.WndProc
004e6120 +034 cMUD.exe     Controls            6237  +3 TWinControl.MainWndProc
00480398 +014 cMUD.exe     Classes            10966  +8 StdWndProc
77d4bcc7 +00a USER32.dll                                DispatchMessageA
0050b6d4 +0ac cMUD.exe     Forms               6873 +13 TApplication.ProcessMessage
0050b71b +00f cMUD.exe     Forms               6892  +1 TApplication.HandleMessage
0050b9b6 +0a6 cMUD.exe     Forms               6976 +16 TApplication.Run
00dce84c +088 cMUD.exe     CMUD                 344 +18 initialization
7c91312f +069 ntdll.dll                                 RtlUnicodeStringToAnsiString
7c812907 +0b6 kernel32.dll                              GetVersionExA
_________________
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: Wed Jan 30, 2008 5:43 pm   
 
Added to bug list.
Reply with quote
Zugg
MASTER


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

PostPosted: Thu Jun 05, 2008 9:16 pm   
 
I've tested this in v2.25 and cannot get it to fail. Can someone retest this to confirm whether it still happens?
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Thu Jun 05, 2008 9:52 pm   
 
This is working for me as well in 2.25.
_________________
Asati di tempari!
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