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
Arde
Enchanter


Joined: 09 Sep 2007
Posts: 605

PostPosted: Sun Oct 07, 2007 11:04 am   

[2.05] Crash on closing session
 
I've got this error in first time on the second day of using 2.05, after that point it became permanent.

At that first time I've made some changes in Preferences menu (I turn on Automatically bring to front... option) and, after playing for a while, have disconnect from MUD, chose Work Offline in pop-up dialog and then chose "Exit" from CMUD main menu without closing session preliminarily. CMUD hide all my session buttons (empty toolbars stays on their places) and stopped. Any following activity like clicking on Main window, choosing Exit or Close Session menu results in CMUD Error dialog.

Code:

exception class   : EAccessViolation
exception message : Access violation at address 00D2FEAB in module 'cMUD.exe'. Read of address 0000017C.

Main ($b8c):
00d2feab +003 cMUD.exe     PrefDat   8701  +0 PrefRec.GetPkg
00d31921 +005 cMUD.exe     PrefDat   9245  +2 PrefRec.GetPackage
00d361cd +005 cMUD.exe     PrefDat  11108  +1 ModuleRec.GetSession
00cca303 +00f cMUD.exe     MAIN     20002  +1 TMUDForm.GetSessionRec
00c5aaf4 +018 cMUD.exe     PARENT    8838  +1 TParentForm.CloseSession
00c532e9 +0c5 cMUD.exe     PARENT    3741 +13 TParentForm.CloseWindow1Click
0047ef95 +01d cMUD.exe     Classes  10464  +3 TBasicAction.Execute
00514387 +03f cMUD.exe     ActnList   375  +1 TContainedAction.Execute
005155f3 +077 cMUD.exe     ActnList   961  +7 TCustomAction.Execute
0047ed91 +025 cMUD.exe     Classes  10394  +2 TBasicActionLink.Execute
0075f81e +046 cMUD.exe     dxBar    23488  +5 TdxBarItem.DoClick
0075f7a9 +039 cMUD.exe     dxBar    23476  +4 TdxBarItem.DirectClick
007623a5 +155 cMUD.exe     dxBar    24997 +31 TdxBarItemControl.ControlUnclick
00763ad7 +037 cMUD.exe     dxBar    25833  +6 TdxBarButtonControl.ControlUnclick
00752d58 +118 cMUD.exe     dxBar    16938 +28 TCustomdxBarControl.WMLButtonUp
00505f8b +1df cMUD.exe     Controls  4645 +53 TControl.WndProc
00509cba +18e cMUD.exe     Controls  6342 +33 TWinControl.WndProc
007536f5 +225 cMUD.exe     dxBar    17258 +53 TCustomdxBarControl.WndProc
0050988c +034 cMUD.exe     Controls  6237  +3 TWinControl.MainWndProc
0047fef0 +014 cMUD.exe     Classes  10966  +8 StdWndProc
77d3bcc7 +00a USER32.dll                      DispatchMessageA
0052ee40 +0ac cMUD.exe     Forms     6873 +13 TApplication.ProcessMessage
0052ee87 +00f cMUD.exe     Forms     6892  +1 TApplication.HandleMessage
0052f122 +0a6 cMUD.exe     Forms     6976 +16 TApplication.Run
00db7500 +088 cMUD.exe     CMUD       344 +18 initialization
7c91312f +069 ntdll.dll                       RtlUnicodeStringToAnsiString
7c812907 +0b6 kernel32.dll                    GetVersionExA


What have I try:
1) Create another empty session.
2) Create another empty session and add a setting in it (I add a button)
3) Reinstall CMUD, create another empty session.
4) Reinstall CMUD, create another empty session and add a setting in it.
5) From 4) I deleted every files except .pkg
6) Load the settings from my package.

I've got crashes in every 1...6 if I choose Close Session.

Strange, in every case it now crash if I choose Close Session menu and not crashes if I choose Exit menu without having close session preliminarily (i.e. reverse situation with that when this crash occurs in first time). All settings in package files saves properly. Judging from error report, something going wrong with saving preferences.
Reply with quote
Arde
Enchanter


Joined: 09 Sep 2007
Posts: 605

PostPosted: Sun Oct 07, 2007 11:21 am   
 
Ahh... I've found what happening here. It is Lock Layout setting in main menu cause this crash. More, with this option active CMUD still allows change child windows styles (tabbed, floating, etc.) in Editor without any visible result. Think, it is better disable this editor option while Lock Layout is on (or may be show some message to user with notification of locked layout?)
Damn, I wonder about this crash for a day and now found the reason for it almost instantly...
_________________
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
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