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
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Thu Nov 01, 2007 9:05 pm   

[2.10] Nameless window crash
 
1)open CMud
2)navigate into session (ie, press ESC or click offline)
3)open package editor
4)select Window from New button list
5)click off Window object

At this point, when CMud crashes depends on what you did to the window settings. As soon as you edit any of the settings (even if you go back and restore them to a default value), CMud will crash when you click off the window object to apply the settings. If you leave all the data set at the default, the crash will happen only when you click on the newly-created window tab or click back onto the Window object in the Package Editor. In both cases, sometimes the window you just created will remain (in its nameless, default-value state) in your settings and from there the window can be edited normally without issue (except for the below note.)

It is something directly related with the window creation itself, as the use of #WINDOW or similar command will safely create the window and allow you to edit the properties without a crash (except for the below note.)

NOTE: despite the method used to create the window, it appears you cannot safely change the Default Window Position as shown in the Package Editor. Doing so always produces an AV crash, even if you used #WINDOW to create the window. Using the mouse to drag the window around works without problem.

Edit by Vijilante: Changed the title to reflect 2.10 status and better describe the crash cause.
_________________
EDIT: I didn't like my old signature
Reply with quote
Arde
Enchanter


Joined: 09 Sep 2007
Posts: 605

PostPosted: Thu Nov 01, 2007 9:17 pm   
 
Nothing happened for me after your step 5 in the untitled session. I end up with 3 nameless windows, 2 of them floated, one - tabbed... Not a crash.
Reply with quote
Alcander
Wanderer


Joined: 04 Aug 2001
Posts: 79
Location: USA

PostPosted: Thu Nov 01, 2007 11:38 pm   
 
Confirmed.
Reply with quote
Zugg
MASTER


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

PostPosted: Thu Nov 01, 2007 11:46 pm   
 
"Confirmed"?? Do you mean the crash is confirmed, or that you confirmed Arde's post that he couldn't get it to crash?

The only crash I'm aware of is the one mentioned in the NOTE where you try changing the default window position. If you don't touch this properly, I can't get this to crash here either.
Reply with quote
Alcander
Wanderer


Joined: 04 Aug 2001
Posts: 79
Location: USA

PostPosted: Thu Nov 01, 2007 11:47 pm   
 
Sorry. I should have been more specific. I was able to reproduce the crash. I'll do it again and send in the bug report.
Reply with quote
Arde
Enchanter


Joined: 09 Sep 2007
Posts: 605

PostPosted: Fri Nov 02, 2007 4:57 am   
 
Just tried it again in the untitled session. Have 10 nameless windows already - nothing. I can freely edit their settings, change their default position setting in the editor. Hope your crash reports will help to narrow this problem.

Ok, the only issue I see for now is that if you select "New window" menu item several times, no windows will be shown at all. You need to change any setting of any of newly created windows - then they instantly appear as 10 nameless tabs.
_________________
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
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Fri Nov 02, 2007 5:33 am   
 
I was able to get a crash out of this after a while, but the procedure was slightly more complex. Might be the same bug or another.

1. Launch CMud
2. Close Sessions wndow (ESC)
3. Open Package Editor (CTRL-G)
4. Create a new window, by the button drop down, do no supply a name
5. Uncheck the Command Line option for your new window
6. Click on the untitled window in the tree
7. Click on your new window in the tree so that it gives a rename cursor in the tree
8. Click on the untitled window in the tree
Code:
date/time         : 2007-11-02, 01:46:13, 290ms
operating system  : Windows XP Service Pack 2 build 2600
system language   : English
system up time    : 13 days 17 hours
program up time   : 24 seconds
processor         : AMD Athlon(tm) Processor
physical memory   : 167/383 MB (free/total)
free disk space   : (C:) 14.97 GB
display mode      : 1024x768, 32 bit
process id        : $4e6c
allocated memory  : 28.38 MB
executable        : cMUD.exe
exec. date/time   : 2007-10-26 22:15
version           : 2.9.0.0
madExcept version : 3.0b
callstack crc     : $68fe8687, $c257d3b4, $c257d3b4
count             : 2
exception number  : 1
exception class   : EAccessViolation
exception message : Access violation at address 0065B867 in module 'cMUD.exe'. Read of address 00000000.

Main ($4e44):
0065b867 +007 cMUD.exe     kbmMemTable         3720  +2 GetInt32
0065b913 +003 cMUD.exe     kbmMemTable         3816  +1 GetVarLengthSize
0066a51c +038 cMUD.exe     kbmMemTable        16473 +26 TkbmBlobStream.ReadBlobData
0066a286 +1a2 cMUD.exe     kbmMemTable        16313 +59 TkbmBlobStream.Create
00662481 +01d cMUD.exe     kbmMemTable        10132  +1 TkbmCustomMemTable.CreateBlobStream
00648e42 +01a cMUD.exe     DB                  5953  +1 TBlobField.GetAsString
00648ecb +027 cMUD.exe     DB                  5965  +1 TBlobField.GetAsVariant
00d70b14 +2f0 cMUD.exe     PkgDM               3953 +29 TPkg.MemSettingsBeforePost
00900c7b +07b cMUD.exe     DataSetHandler       179  +7 THandlerList.CallHandlers
00901388 +004 cMUD.exe     DataSetHandler       285  +0 THandlerList.DoBeforePost
00653741 +021 cMUD.exe     DB                 10808  +1 TDataSet.DoBeforePost
0066219d +005 cMUD.exe     kbmMemTable        10016  +1 TkbmCustomMemTable.DoBeforePost
0065290b +033 cMUD.exe     DB                 10256  +6 TDataSet.Post
00c2cda7 +0bf cMUD.exe     PkgMain             4277  +9 TPkgMainF.EditTreeEdited
007f11eb +017 cMUD.exe     cxInplaceContainer  6558  +1 TcxEditingControl.DoEdited
00814a9b +013 cMUD.exe     cxTL               18871  +2 TcxCustomTreeListControl.DoEdited
007ec5fc +12c cMUD.exe     cxInplaceContainer  3599 +20 TcxEditingController.HideEdit
007ec21c +03c cMUD.exe     cxInplaceContainer  3486  +3 TcxEditingController.EditExit
0050af5d +021 cMUD.exe     Controls            6866  +1 TWinControl.DoExit
005992c4 +11c cMUD.exe     cxEdit              6279 +24 TcxCustomEdit.DoHideEdit
00597d4e +032 cMUD.exe     cxEdit              5484  +4 TcxCustomEdit.DoExit
005c7d2d +005 cMUD.exe     cxTextEdit          4948  +1 TcxCustomTextEdit.DoExit
0050bd54 +014 cMUD.exe     Controls            7268  +1 TWinControl.CMExit
00505f93 +1df cMUD.exe     Controls            4645 +53 TControl.WndProc
00509cc2 +18e cMUD.exe     Controls            6342 +33 TWinControl.WndProc
00561432 +102 cMUD.exe     cxControls          2446 +20 TcxControl.WndProc
0057776a +0aa cMUD.exe     cxContainer         4067 +23 TcxContainer.WndProc
0059862d +019 cMUD.exe     cxEdit              5832  +8 TcxCustomEdit.WndProc
00509894 +034 cMUD.exe     Controls            6237  +3 TWinControl.MainWndProc
0047fef8 +014 cMUD.exe     Classes            10966  +8 StdWndProc
7c90eae0 +010 ntdll.dll                                 KiUserCallbackDispatcher
00509ba3 +06f cMUD.exe     Controls            6314  +5 TWinControl.WndProc
00561432 +102 cMUD.exe     cxControls          2446 +20 TcxControl.WndProc
007f18e2 +01e cMUD.exe     cxInplaceContainer  6861  +3 TcxEditingControl.WndProc
00509894 +034 cMUD.exe     Controls            6237  +3 TWinControl.MainWndProc
0047fef8 +014 cMUD.exe     Classes            10966  +8 StdWndProc
7c90eae0 +010 ntdll.dll                                 KiUserCallbackDispatcher
005617ed +075 cMUD.exe     cxControls          2699  +6 TcxControl.MouseDown
007f16ad +049 cMUD.exe     cxInplaceContainer  6797  +6 TcxEditingControl.MouseDown
005062cd +091 cMUD.exe     Controls            4728  +7 TControl.DoMouseDown
00506330 +054 cMUD.exe     Controls            4737  +5 TControl.WMLButtonDown
00561408 +0d8 cMUD.exe     cxControls          2441 +15 TcxControl.WndProc
007f18e2 +01e cMUD.exe     cxInplaceContainer  6861  +3 TcxEditingControl.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
00dbbfb8 +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
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sat Nov 03, 2007 3:46 pm   
 
Bumped for 2.10 I am still seeing this with a shorter procedure.

1. Launch CMud
2. Close Session window (ESC)
3. Open Package Editor (CTRL-G)
4. Create a new window by the button drop down, do not supply a name
5. Uncheck the Command Line option for your new window
Critical item, do not click save changes, if you click it the crash will not happen
6. Click on the untitled window in the tree
7. Click on you new nameless window in the tree

Crash dump is nearly identical to my previous, but I will include it anyway.
Code:
date/time         : 2007-11-03, 11:56:39, 312ms
operating system  : Windows XP Service Pack 2 build 2600
system language   : English
system up time    : 15 days 3 hours
program up time   : 17 seconds
processor         : AMD Athlon(tm) Processor
physical memory   : 168/383 MB (free/total)
free disk space   : (C:) 14.90 GB
display mode      : 1024x768, 32 bit
process id        : $427c
allocated memory  : 28.40 MB
executable        : cMUD.exe
exec. date/time   : 2007-11-02 17:51
version           : 2.10.0.0
madExcept version : 3.0b
callstack crc     : $68fe8687, $05a9c248, $05a9c248
count             : 2
exception number  : 1
exception class   : EAccessViolation
exception message : Access violation at address 0065B867 in module 'cMUD.exe'. Read of address 00000000.

Main ($4264):
0065b867 +007 cMUD.exe     kbmMemTable         3720  +2 GetInt32
0065b913 +003 cMUD.exe     kbmMemTable         3816  +1 GetVarLengthSize
0066a51c +038 cMUD.exe     kbmMemTable        16473 +26 TkbmBlobStream.ReadBlobData
0066a286 +1a2 cMUD.exe     kbmMemTable        16313 +59 TkbmBlobStream.Create
00662481 +01d cMUD.exe     kbmMemTable        10132  +1 TkbmCustomMemTable.CreateBlobStream
00648e42 +01a cMUD.exe     DB                  5953  +1 TBlobField.GetAsString
00d72b23 +0cf cMUD.exe     PkgDM               4122  +9 TPkg.LoadXMLOptions
00d743e6 +06a cMUD.exe     PkgDM               4604  +5 TPkg.MemSettingsAfterScroll
00900c53 +07b cMUD.exe     DataSetHandler       179  +7 THandlerList.CallHandlers
00901324 +004 cMUD.exe     DataSetHandler       260  +0 THandlerList.DoAfterScroll
0065360d +021 cMUD.exe     DB                 10773  +1 TDataSet.DoAfterScroll
0066831f +053 cMUD.exe     kbmMemTable        15056  +9 TkbmCustomMemTable.Locate
00ab6990 +0a4 cMUD.exe     cxDBData            4891 +18 TcxDBDataController.TryFocusRecord
00ab44c2 +0d6 cMUD.exe     cxDBData            3754 +20 TcxDBDataController.CanFocusRecord
005a915e +03e cMUD.exe     cxCustomData        6155  +4 TcxCustomDataControllerInfo.CanFocusedRowChanging
005a92ba +07a cMUD.exe     cxCustomData        6203 +10 TcxCustomDataControllerInfo.DoChangeFocusedRow
005ab2c1 +02d cMUD.exe     cxCustomData        7368  +4 TcxCustomDataControllerInfo.SetFocusedRowIndex
005b17f0 +06c cMUD.exe     cxCustomData       11260  +8 TcxCustomDataController.ChangeFocusedRowIndex
007ef277 +03b cMUD.exe     cxInplaceContainer  5354  +3 TcxCustomControlController.SetFocusedRecordIndex
008015ed +01d cMUD.exe     cxTL                8016  +2 TcxTreeListController.SetFocusedRecordIndex
007ef609 +049 cMUD.exe     cxInplaceContainer  5472  +5 TcxCustomControlController.SetFocusedRecordItem
008036cb +01f cMUD.exe     cxTL                8848  +2 TcxTreeListController.SetFocusedRecordItem
007eebb1 +10d cMUD.exe     cxInplaceContainer  5097 +20 TcxCustomControlController.DoMouseDown
00802713 +06f cMUD.exe     cxTL                8456  +8 TcxTreeListController.DoMouseDown
007f16b3 +077 cMUD.exe     cxInplaceContainer  6800  +9 TcxEditingControl.MouseDown
005062cd +091 cMUD.exe     Controls            4728  +7 TControl.DoMouseDown
00506330 +054 cMUD.exe     Controls            4737  +5 TControl.WMLButtonDown
00561408 +0d8 cMUD.exe     cxControls          2441 +15 TcxControl.WndProc
007f18ba +01e cMUD.exe     cxInplaceContainer  6861  +3 TcxEditingControl.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
00dbda08 +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
Tech
GURU


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

PostPosted: Sun Nov 04, 2007 8:02 am   
 
Confirmed.
_________________
Asati di tempari!
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Nov 05, 2007 5:52 pm   
 
Put this back on the bug list.
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