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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
haiku
Wanderer


Joined: 19 Nov 2004
Posts: 70

PostPosted: Sat Dec 15, 2007 6:40 pm   

Error in cMUD.exe after upgrade
 
An error occurred in the application.

Access violation at address 00C5D3D5 in module 'cMUD.exe'. Read of address 0020013D.

Code:

date/time         : 2007-12-15, 12:33:06, 265ms
computer name     : HAIKUHOME
user name         : <censored> <admin>
operating system  : Windows XP Service Pack 2 build 2600
system language   : English
system up time    : 2 days 5 hours
program up time   : 35 seconds
processors        : 2x Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
physical memory   : 1470/2046 MB (free/total)
free disk space   : (C:) 178.49 GB
display mode      : 1280x1024, 32 bit
process id        : $584
allocated memory  : 30.16 MB
executable        : cMUD.exe
exec. date/time   : 2007-12-14 14:39
version           : 2.18.0.0
madExcept version : 3.0b
contact name      : <censored>
contact email     : <censored>
callstack crc     : $8987966e, $ed52c0be, $ed52c0be
exception number  : 1
exception class   : EAccessViolation
exception message : Access violation at address 00C5D3D5 in module 'cMUD.exe'. Read of address 0020013D.

Main ($e4c):
00c5d3d5 +0dd cMUD.exe     PARENT          2075   +8 TParentForm.DockModule
00c5d660 +07c cMUD.exe     PARENT          2125   +7 InitWindow
00c5d8c4 +214 cMUD.exe     PARENT          2202  +64 NewWindow
00c5da01 +08d cMUD.exe     PARENT          2242  +12 TParentForm.CreateWindows
00d36acd +011 cMUD.exe     PrefDat         3137   +1 PkgData.CreateWindows
00d370e2 +4c2 cMUD.exe     PrefDat         3319  +95 PkgData.Load
00c5dcd0 +1e0 cMUD.exe     PARENT          2381 +106 TParentForm.NewWindow
00c61fa1 +399 cMUD.exe     PARENT          3986  +44 TParentForm.NewMUD
00c5e19a +01a cMUD.exe     PARENT          2657   +2 MUDWindow
00c5e245 +081 cMUD.exe     PARENT          2674  +13 TParentForm.CharAction
00c5e2f9 +005 cMUD.exe     PARENT          2701   +0 TParentForm.DoAction
004e281f +1df cMUD.exe     Controls        4645  +53 TControl.WndProc
004e654e +18e cMUD.exe     Controls        6342  +33 TWinControl.WndProc
0050362c +478 cMUD.exe     Forms           3098 +103 TCustomForm.WndProc
004e252a +036 cMUD.exe     Controls        4552   +5 TControl.Perform
00c012cc +020 cMUD.exe     DXSounds        2013   +9 TCustomDXSound.FormWndProc
00bfea28 +00c cMUD.exe     DXClass          572   +1 TControlSubClass.WndProc
004e6120 +034 cMUD.exe     Controls        6237   +3 TWinControl.MainWndProc
00480398 +014 cMUD.exe     Classes        10966   +8 StdWndProc
7e41f658 +016 USER32.dll                             CallWindowProcA
006d7087 +0a7 cMUD.exe     aqDockingUtils  1728   +7 CallDefWndProc
006d7175 +0dd cMUD.exe     aqDockingUtils  1776  +41 TaqWindowEventFilter.WndProc
00480398 +014 cMUD.exe     Classes        10966   +8 StdWndProc
7e4196c2 +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
7c812b94 +0b6 kernel32.dll                           GetVersionExA

error details:
I upgraded from a previous beta version of cmud to the current public version.  Now when I try to open my old package and connect to the mud, I get this error.
Reply with quote
haiku
Wanderer


Joined: 19 Nov 2004
Posts: 70

PostPosted: Sat Dec 15, 2007 6:42 pm   
 
creating a new session allows me to log onto the mud.
Reply with quote
haiku
Wanderer


Joined: 19 Nov 2004
Posts: 70

PostPosted: Sat Dec 15, 2007 8:44 pm   
 
also getting null pointers (read of address 00000000) everywhere. the tabbed/floating windows problem has been consistant across versions for me. I recently tried to import the xml that I was able to export from the beta version, and I now have reoccuring crashes. Can someone please explain what the correct settings are in the package explorer for different windows?

Currently, I have 4 windows. My main window which has a status bar, a command line, and is visible. The other 3 windows are to capture text, be it clan channel communications/public channels, group talk, and one to capture improves. Those three windows are supposed to be without a command line, status bar, and should be visible. I get multiple versions of the same windows popping up seemingly randomly. When I create a new session and import the xml (instead of loading the package), I get the same behavior.

I take it the export all to xml/import stuff is still not working?

Anyway, as I'm completely unable to mud in any way other than manually, can someone please take a look at the call stack and see if there's a way I can modify the xml so I can import it and log on? Meanwhile, I'll manually start looking through the xml for the windows section and see what I can find out on my own.
Reply with quote
haiku
Wanderer


Joined: 19 Nov 2004
Posts: 70

PostPosted: Sat Dec 15, 2007 8:51 pm   
 
Code:

<window name="ClericBot" usesession="false">
  <uid>{D7FADE90-A361-4085-9BEF-C7615592FE5D}</uid>
.... a bajillion triggers....
</window>

<window name="gtells" visible="false" dockalign="3" dockwith="0" usesession="false">
  <uid>{FC568AEF-4314-4500-BB66-7C06D07F4037}</uid>
  <packages>English Keypad|ClericBot|English Directions|tfe</packages>
</window>
<window name="tells" dockwith="268" usesession="false">
  <uid>{FD02F59C-2A78-4C68-A57F-4041ADB4326A}</uid>
  <packages>English Keypad|ClericBot|English Directions|tfe</packages>
</window>
<window name="improves" dockwith="268" usesession="false">
  <uid>{BB8063DA-DD03-4585-AE69-5098D79F170A}</uid>
  <packages>English Keypad|ClericBot|English Directions|tfe</packages>
</window>
<window name="gtells" commandline="false" statusbar="false" visible="false" dockalign="3" dockwith="0" host="-2" usesession="false">
  <uid>{9D9F1867-70C5-45E9-B316-1458A6411A7F}</uid>
  <packages>English Keypad|ClericBot|English Directions|tfe</packages>
</window>
<window name="tells" commandline="false" statusbar="false" dockwith="477" host="-2" usesession="false">
  <uid>{F31F7B21-E3A5-4F50-8454-C7C6BC128938}</uid>
  <packages>English Keypad|ClericBot|English Directions|tfe</packages>
</window>
<window name="gtells" commandline="false" statusbar="false" dockalign="3" dockwith="0" host="-2" usesession="false">
  <uid>{790640EA-AA4D-4967-8D33-E88A41E8E6CF}</uid>
  <packages>English Keypad|ClericBot|English Directions|tfe</packages>
</window>


So it looks like the export was still showing some incorrect information. Anyone know what host="-2" means? Or just in general how to clean up this section of the xml so I can start over from a clean slate and import it?
Reply with quote
Larkin
Wizard


Joined: 25 Mar 2003
Posts: 1113
Location: USA

PostPosted: Sat Dec 15, 2007 9:25 pm   
 
With three windows all named gtells and two named tells, doesn't it get confusing? And, I'm fairly sure that the host=-2 is what tells CMUD whether the window uses it's connection, no connection, or the master connection, but not certain about which one -2 is, if that is the case.
Reply with quote
haiku
Wanderer


Joined: 19 Nov 2004
Posts: 70

PostPosted: Sat Dec 15, 2007 9:37 pm   
 
Larkin wrote:
With three windows all named gtells and two named tells, doesn't it get confusing? And, I'm fairly sure that the host=-2 is what tells CMUD whether the window uses it's connection, no connection, or the master connection, but not certain about which one -2 is, if that is the case.


actually there's only supposed to be one named gtells/tells/improves. I removed those entries, deleted all settings, reimported all settings (after removing the lines), and am working on other issues like lost triggers (apparently it didn't export everything -- wtf?)
Reply with quote
haiku
Wanderer


Joined: 19 Nov 2004
Posts: 70

PostPosted: Sun Dec 16, 2007 4:47 am   
 
is there any way to recover the setup I had before I upgraded? This "upgrade" is removing my desire to mud completely. I can't believe I lost over 100 new triggers and haven't been able to completely start up cmud without these errors or just some weird windowing problem. Frankly, I prefer the previous beta.
Reply with quote
haiku
Wanderer


Joined: 19 Nov 2004
Posts: 70

PostPosted: Sun Dec 16, 2007 4:53 am   
 
Wow. Now I can't even import the xml (after removing all window entries except the main one) without cmud hanging (no call stack this time -- cmud doesn't get that far before the task has to be killed).
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sun Dec 16, 2007 10:25 pm   
 
It sounds like you have a corrupted layout. I would suggest deleteing the .xly and .tbz files for that specific session then reopening it. Removing the window settings that are using the corrupted data only keeps it from doing immediate damage when the session is loaded, but the bad data from those 2 files is still around waiting like a bomb.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
chewbacon
Beginner


Joined: 02 Oct 2004
Posts: 20
Location: Florida

PostPosted: Tue Dec 18, 2007 3:51 pm   
 
I'm having a similar problem. After starting the application, I open my session and get the error. It happens for every session I load. I even got the error when opening a connection without a session. After rebooting, I can open a connection but not a session without getting the error.

I tried Vijilante's solution, but it didn't work.

Code:
date/time         : 2007-12-18, 09:14:33, 418ms
computer name     : HYDRIA
user name         : **********
operating system  : Windows Vista build 6000
system language   : English
system up time    : 2 days 22 hours
program up time   : 8 minutes 43 seconds
processors        : 2x Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz
physical memory   : 215/1022 MB (free/total)
free disk space   : (C:) 10.90 GB
display mode      : 1680x1050, 32 bit
process id        : $1ea8
allocated memory  : 55.86 MB
executable        : CMUD.exe
exec. date/time   : 2007-12-14 14:39
version           : 2.18.0.0
madExcept version : 3.0b
callstack crc     : $c08d1786, $e296693b, $e296693b
exception number  : 2
exception class   : EAccessViolation
exception message : Access violation at address 00C6FA6E in module 'CMUD.exe'. Read of address 00000014.

Main ($1c84):
00c6fa6e +0ca CMUD.exe     PARENT         11718  +15 TParentForm.UpdateDefClass
00d44f24 +018 CMUD.exe     PrefDat         9216   +1 ClassRec.Remove
00d4b546 +072 CMUD.exe     PrefDat        11627   +7 ModuleRec.Remove
00d33adb +00f CMUD.exe     PrefDat         1913   +1 PrefRec.Destroy
00d3542d +069 CMUD.exe     PrefDat         2553   +8 ModuleRec.Destroy
00404be0 +008 CMUD.exe     System                    TObject.Free
0077a1c8 +090 CMUD.exe     Lister            93   +4 pNode.Destroy
00404be0 +008 CMUD.exe     System                    TObject.Free
0077a314 +04c CMUD.exe     Lister           138   +8 pList.Clear
00d39bab +0f3 CMUD.exe     PrefDat         4563  +21 PkgData.ClearAllPkg
00c5db49 +059 CMUD.exe     PARENT          2292  +17 TParentForm.NewWindow
00c61fa1 +399 CMUD.exe     PARENT          3986  +44 TParentForm.NewMUD
00c5e19a +01a CMUD.exe     PARENT          2657   +2 MUDWindow
00c5e245 +081 CMUD.exe     PARENT          2674  +13 TParentForm.CharAction
00c5e2f9 +005 CMUD.exe     PARENT          2701   +0 TParentForm.DoAction
004e281f +1df CMUD.exe     Controls        4645  +53 TControl.WndProc
004e654e +18e CMUD.exe     Controls        6342  +33 TWinControl.WndProc
0050362c +478 CMUD.exe     Forms           3098 +103 TCustomForm.WndProc
00c012cc +020 CMUD.exe     DXSounds        2013   +9 TCustomDXSound.FormWndProc
00bfea28 +00c CMUD.exe     DXClass          572   +1 TControlSubClass.WndProc
004e6120 +034 CMUD.exe     Controls        6237   +3 TWinControl.MainWndProc
00480398 +014 CMUD.exe     Classes        10966   +8 StdWndProc
77ab991f +016 USER32.dll                             CallWindowProcA
006d7087 +0a7 CMUD.exe     aqDockingUtils  1728   +7 CallDefWndProc
006d7175 +0dd CMUD.exe     aqDockingUtils  1776  +41 TaqWindowEventFilter.WndProc
00480398 +014 CMUD.exe     Classes        10966   +8 StdWndProc
77ac3c85 +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
77823831 +010 kernel32.dll                           BaseThreadInitThunk
779ba9bb +04b ntdll.dll                              LdrInitializeThunk
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Tue Dec 18, 2007 5:38 pm   
 
Chewbacon, your crash and error is different from the one haiku originally presented. Also some of the the things in your crash dump don't quite add up for the procedure your saying. From your description the procedure you are using is:
1. Launch CMud
2. Select session from Sessions window
3. Click Open Offline in the Sessions window

If you are using a different procedure to generate the crash we would need that detail. Also after you reply I will split this off into a seperate topic.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Tue Dec 18, 2007 11:32 pm   
 
haiku wrote:
Wow. Now I can't even import the xml (after removing all window entries except the main one) without cmud hanging (no call stack this time -- cmud doesn't get that far before the task has to be killed).

Is the xml file from the previous beta or the previous public version? Have you tried to start CMUD and then hit escape at start, and import the xml file to that temporary session? Does that give different result?

You might also want to try to manually edit(make backup first) the xml file to see if you can find where the import fails.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion 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