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
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Tue Jul 28, 2009 1:33 am   

[3.10 Pro] AV trying to enter Cmud
 
Steps:

1) Renamed my old cmud program directory
2) Installed 3.10 Pro
3) Clicked on Cmud to open the program for the first time
4) Access Violation:


Code:

date/time         : 2009-07-27, 18:30:51, 937ms
operating system  : Windows XP Service Pack 3 build 2600
system language   : English
system up time    : 4 days 23 hours
program up time   : 1 second
processors        : 2x Genuine Intel(R) CPU @ 2.93GHz
physical memory   : 2230/3326 MB (free/total)
free disk space   : (C:) 32.48 GB
display mode      : 1600x1200, 32 bit
process id        : $1d78
allocated memory  : 31.55 MB
executable        : cMUDPro.exe
exec. date/time   : 2009-07-27 16:10
version           : 3.10.0.0
compiled with     : BCB 2006/07
madExcept version : 3.0h
callstack crc     : $4cb0112d, $45a9b36c, $45a9b36c
exception number  : 1
exception class   : EAccessViolation
exception message : Access violation at address 004A4FFC in module 'cMUDPro.exe'. Read of address 0000001C.

Main ($16d0):
004a4ffc +000 cMUDPro.exe Forms                   TCustomForm.GetTop
00b164e9 +051 cMUDPro.exe Progress        42   +3 OpenProgress
00f08c67 +21b cMUDPro.exe PkgDM         1867  +29 TPkg.SetDBFile
00f096ee +1be cMUDPro.exe PkgDM         2073  +29 TPkg.Open
00ec03fb +11f cMUDPro.exe PrefDat       3359  +14 PkgData.Load
00d9cc49 +275 cMUDPro.exe PARENT        2584 +111 TParentForm.NewWindow
00daa783 +04f cMUDPro.exe PARENT        8800  +29 TParentForm.FormShow
004a51e5 +015 cMUDPro.exe Forms                   TCustomForm.DoShow
005255d4 +01c cMUDPro.exe CustomForm      76   +7 TzCustomForm.DoShow
00b01a7e +046 cMUDPro.exe MultiForm      264   +2 TMultForm.DoShow
004a951d +0a9 cMUDPro.exe Forms                   TCustomForm.CMShowingChanged
004bf5eb +2bb cMUDPro.exe Controls                TControl.WndProc
004c35ef +4fb cMUDPro.exe Controls                TWinControl.WndProc
004a5b4f +553 cMUDPro.exe Forms                   TCustomForm.WndProc
00d4bfac +020 cMUDPro.exe DXSounds      2128   +9 TCustomDXSound.FormWndProc
00d49750 +00c cMUDPro.exe DXClass        635   +1 TControlSubClass.WndProc
004bf278 +024 cMUDPro.exe Controls                TControl.Perform
004c2ab6 +112 cMUDPro.exe Controls                TWinControl.UpdateShowing
004c2bf9 +0e5 cMUDPro.exe Controls                TWinControl.UpdateControlState
004c54aa +026 cMUDPro.exe Controls                TWinControl.CMVisibleChanged
004bf5eb +2bb cMUDPro.exe Controls                TControl.WndProc
004c35ef +4fb cMUDPro.exe Controls                TWinControl.WndProc
004a5b4f +553 cMUDPro.exe Forms                   TCustomForm.WndProc
00d4bfac +020 cMUDPro.exe DXSounds      2128   +9 TCustomDXSound.FormWndProc
00d49750 +00c cMUDPro.exe DXClass        635   +1 TControlSubClass.WndProc
004bf278 +024 cMUDPro.exe Controls                TControl.Perform
004bde12 +026 cMUDPro.exe Controls                TControl.SetVisible
004a5486 +03a cMUDPro.exe Forms                   TCustomForm.SetVisible
004a47d9 +071 cMUDPro.exe Forms                   TCustomForm.DoCreate
004a4378 +124 cMUDPro.exe Forms                   TCustomForm.Create
00525571 +01d cMUDPro.exe CustomForm      60   +2 TzCustomForm.Create
0072d0c5 +029 cMUDPro.exe International   41   +3 TInterForm.Create
0072db79 +039 cMUDPro.exe zsForm          88   +6 TzForm.Create
00b017cc +0d0 cMUDPro.exe MultiForm      168  +12 TMultForm.Create
00da9e21 +0bd cMUDPro.exe PARENT        8562  +14 TParentForm.Create
004ade76 +06e cMUDPro.exe Forms                   TApplication.CreateForm
00f67f1c +07c cMUDPro.exe cMUDPro        359  +18 initialization
7c912c21 +069 ntdll.dll                           RtlUnicodeStringToAnsiString


I've been able to side-step it by setting up an empty data directory and then importing my data in.
Reply with quote
Zugg
MASTER


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

PostPosted: Tue Jul 28, 2009 4:14 am   
 
I have no idea on this one. The error is related to opening one of your package files. You'll need to give me a procedure to reproduce it here.
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Tue Jul 28, 2009 4:17 am   
 
Unfortunately the crash report is all there is. I didn't want to wait around with a non-opening Cmud when I could try flushing out my directory to get around it.

If the crash report I posted helps, great. Otherwise hopefully it doesn't affect anyone else and was just an anomaly with my data directory.
Reply with quote
Moo
Apprentice


Joined: 10 Apr 2009
Posts: 145

PostPosted: Tue Jul 28, 2009 9:48 am   
 
I get the same error upon opening 3.10 too.

But aren't the package files only opened when a session is chosen? Or are they all opened at the beginning?
"Forms/TCustomForm.GetTop" looks like a GUI thing and not a package type thing though..?

Next line is "Progress/OpenProgress".. So.. Could be an error with the new progress window/bar for package conversion?
Reply with quote
Moo
Apprentice


Joined: 10 Apr 2009
Posts: 145

PostPosted: Tue Jul 28, 2009 10:13 am   
 
Hmm.. Some updates:

Moving all the "mud-specific" folders didn't change the error.
Renaming the "packages" folder changed the error to a different one ("SQL Error: library routine called out of sequence").
Creating a new, empty "packages" folder cured the errors entirely. So.. It must be something in there causing the problem..
Reply with quote
Moo
Apprentice


Joined: 10 Apr 2009
Posts: 145

PostPosted: Tue Jul 28, 2009 10:18 am   
 
Aha

Renaming/moving the "default.pkg" cures the error.
Reply with quote
Doxedon
Novice


Joined: 01 Dec 2007
Posts: 49

PostPosted: Tue Jul 28, 2009 10:21 am   
 
Happening here too.. Occurs when immediately opening CMud. (Just installed it).

Code:

date/time         : 2009-07-28, 20:15:26, 109ms
operating system  : Windows XP Service Pack 3 build 2600
system language   : English
system up time    : 4 hours 7 minutes
program up time   : 1 second
processors        : 2x Intel(R) Pentium(R) 4 CPU 3.20GHz
physical memory   : 415/1014 MB (free/total)
free disk space   : (C:) 22.42 GB
display mode      : 1024x768, 32 bit
process id        : $1eb8
allocated memory  : 24.94 MB
executable        : cMUD.exe
exec. date/time   : 2009-07-28 09:09
version           : 3.10.0.0
compiled with     : BCB 2006/07
madExcept version : 3.0h
contact name      : fd
contact email     : sdf@sg.com
callstack crc     : $4671c045, $4f5b686f, $4f5b686f
exception number  : 1
exception class   : EAccessViolation
exception message : Access violation at address 004A0A34 in module 'cMUD.exe'. Read of address 0000001C.

Main ($1ec0):
004a0a34 +000 cMUD.exe  Forms                   TCustomForm.GetTop
00a265a9 +051 cMUD.exe  Progress        42   +3 OpenProgress
00da1cdf +21b cMUD.exe  PkgDM         1867  +29 TPkg.SetDBFile
00da2766 +1be cMUD.exe  PkgDM         2073  +29 TPkg.Open
00d5946f +11f cMUD.exe  PrefDat       3359  +14 PkgData.Load
00c4a8ad +275 cMUD.exe  PARENT        2584 +111 TParentForm.NewWindow
00c583e3 +04f cMUD.exe  PARENT        8800  +29 TParentForm.FormShow
004a0c1d +015 cMUD.exe  Forms                   TCustomForm.DoShow
00520e20 +01c cMUD.exe  CustomForm      76   +7 TzCustomForm.DoShow
00a11b3e +046 cMUD.exe  MultiForm      264   +2 TMultForm.DoShow
004a4f55 +0a9 cMUD.exe  Forms                   TCustomForm.CMShowingChanged
004bb023 +2bb cMUD.exe  Controls                TControl.WndProc
004bf027 +4fb cMUD.exe  Controls                TWinControl.WndProc
004a1587 +553 cMUD.exe  Forms                   TCustomForm.WndProc
00bf5904 +020 cMUD.exe  DXSounds      2128   +9 TCustomDXSound.FormWndProc
00bf30a8 +00c cMUD.exe  DXClass        635   +1 TControlSubClass.WndProc
004bacb0 +024 cMUD.exe  Controls                TControl.Perform
004be4ee +112 cMUD.exe  Controls                TWinControl.UpdateShowing
004be631 +0e5 cMUD.exe  Controls                TWinControl.UpdateControlState
004c0ee2 +026 cMUD.exe  Controls                TWinControl.CMVisibleChanged
004bb023 +2bb cMUD.exe  Controls                TControl.WndProc
004bf027 +4fb cMUD.exe  Controls                TWinControl.WndProc
004a1587 +553 cMUD.exe  Forms                   TCustomForm.WndProc
00bf5904 +020 cMUD.exe  DXSounds      2128   +9 TCustomDXSound.FormWndProc
00bf30a8 +00c cMUD.exe  DXClass        635   +1 TControlSubClass.WndProc
004bacb0 +024 cMUD.exe  Controls                TControl.Perform
004b984a +026 cMUD.exe  Controls                TControl.SetVisible
004a0ebe +03a cMUD.exe  Forms                   TCustomForm.SetVisible
004a0211 +071 cMUD.exe  Forms                   TCustomForm.DoCreate
0049fdb0 +124 cMUD.exe  Forms                   TCustomForm.Create
00520dbd +01d cMUD.exe  CustomForm      60   +2 TzCustomForm.Create
00727655 +029 cMUD.exe  International   41   +3 TInterForm.Create
00728109 +039 cMUD.exe  zsForm          88   +6 TzForm.Create
00a1188c +0d0 cMUD.exe  MultiForm      168  +12 TMultForm.Create
00c57a81 +0bd cMUD.exe  PARENT        8562  +14 TParentForm.Create
004a98ae +06e cMUD.exe  Forms                   TApplication.CreateForm
00dff150 +07c cMUD.exe  CMUD           350  +18 initialization
7c912c21 +069 ntdll.dll                         RtlUnicodeStringToAnsiString


Probably related.. hope it helps?
Trying to exit CMUD.
Code:

date/time         : 2009-07-28, 20:19:19, 984ms
computer name     : DOXMAIN
user name         : Doxedon <admin>
registered owner  : Doxedon
operating system  : Windows XP Service Pack 3 build 2600
system language   : English
system up time    : 4 hours 11 minutes
program up time   : 1 minute 57 seconds
processors        : 2x Intel(R) Pentium(R) 4 CPU 3.20GHz
physical memory   : 382/1014 MB (free/total)
free disk space   : (C:) 22.42 GB
display mode      : 1024x768, 32 bit
process id        : $11e4
allocated memory  : 34.57 MB
executable        : cMUD.exe
exec. date/time   : 2009-07-28 09:09
version           : 3.10.0.0
compiled with     : BCB 2006/07
madExcept version : 3.0h
contact name      : fd
contact email     : sdf@sg.com
callstack crc     : $e35da7e4, $f4fbab7e, $f4fbab7e
exception number  : 2
exception class   : EZSQLException
exception message : Requested database driver was not found.

Main ($1044):
00850f9a +04e cMUD.exe  ZDbcIntfs      967  +3 TZDriverManager.GetConnectionWithParams
0089d667 +173 cMUD.exe  ZConnection    658 +45 TZConnection.Connect
0089d0fb +02b cMUD.exe  ZConnection    368  +7 TZConnection.SetConnected
00daad86 +0e2 cMUD.exe  PkgDM         4841 +14 TPkg.Save
00d59cc7 +00f cMUD.exe  PrefDat       4658  +1 PkgData.Save
00c4e411 +125 cMUD.exe  PARENT        3995 +53 TParentForm.FormDestroy
004a024d +031 cMUD.exe  Forms                  TCustomForm.DoDestroy
004a00d6 +052 cMUD.exe  Forms                  TCustomForm.Destroy
00520dee +012 cMUD.exe  CustomForm      65  +1 TzCustomForm.Destroy
00727691 +019 cMUD.exe  International   47  +2 TInterForm.Destroy
0072813a +012 cMUD.exe  zsForm          93  +1 TzForm.Destroy
00a11dfa +012 cMUD.exe  MultiForm      338  +3 TMultForm.Destroy
0047afbf +047 cMUD.exe  Classes                TComponent.DestroyComponents
0049df76 +032 cMUD.exe  Forms                  DoneApplication
0045151e +026 cMUD.exe  SysUtils               DoExitProc
00405c39 +021 cMUD.exe  System          38  +0 @Halt0
00dff176 +0a2 cMUD.exe  CMUD           358 +26 initialization
7c912c21 +069 ntdll.dll                        RtlUnicodeStringToAnsiString
Reply with quote
Obyron
Novice


Joined: 29 Jan 2006
Posts: 40
Location: Aardwolf

PostPosted: Tue Jul 28, 2009 2:48 pm   
 
Same crash here every time I try to start the program. Useless as tits on a boar.

Code:

date/time         : 2009-07-28, 10:46:21, 76ms
computer name     : STEPHEN-LAPTOP
user name         : Stephen <admin>
registered owner  : Microsoft / Microsoft
operating system  : Windows Vista x64 Service Pack 2 build 6002
system language   : English
system up time    : 13 days
program up time   : 1 second
processors        : 2x AMD Turion(tm) 64 X2 Mobile Technology TL-60
physical memory   : 861/2942 MB (free/total)
free disk space   : (C:) 20.96 GB
display mode      : 1280x800, 32 bit
process id        : $17ac
allocated memory  : 52.76 MB
executable        : cMUD.exe
exec. date/time   : 2009-07-27 19:09
version           : 3.10.0.0
compiled with     : BCB 2006/07
madExcept version : 3.0h
contact name      : adsfa
contact email     : asdfasdf@kdf.acom
callstack crc     : $4671c045, $febb3ac7, $febb3ac7
exception number  : 1
exception class   : EAccessViolation
exception message : Access violation at address 004A0A34 in module 'cMUD.exe'. Read of address 0000001C.

Main ($1820):
004a0a34 +000 cMUD.exe     Forms                   TCustomForm.GetTop
00a265a9 +051 cMUD.exe     Progress        42   +3 OpenProgress
00da1cdf +21b cMUD.exe     PkgDM         1867  +29 TPkg.SetDBFile
00da2766 +1be cMUD.exe     PkgDM         2073  +29 TPkg.Open
00d5946f +11f cMUD.exe     PrefDat       3359  +14 PkgData.Load
00c4a8ad +275 cMUD.exe     PARENT        2584 +111 TParentForm.NewWindow
00c583e3 +04f cMUD.exe     PARENT        8800  +29 TParentForm.FormShow
004a0c1d +015 cMUD.exe     Forms                   TCustomForm.DoShow
00520e20 +01c cMUD.exe     CustomForm      76   +7 TzCustomForm.DoShow
00a11b3e +046 cMUD.exe     MultiForm      264   +2 TMultForm.DoShow
004a4f55 +0a9 cMUD.exe     Forms                   TCustomForm.CMShowingChanged
004bb023 +2bb cMUD.exe     Controls                TControl.WndProc
004bf027 +4fb cMUD.exe     Controls                TWinControl.WndProc
004a1587 +553 cMUD.exe     Forms                   TCustomForm.WndProc
00bf5904 +020 cMUD.exe     DXSounds      2128   +9 TCustomDXSound.FormWndProc
00bf30a8 +00c cMUD.exe     DXClass        635   +1 TControlSubClass.WndProc
004bacb0 +024 cMUD.exe     Controls                TControl.Perform
004be4ee +112 cMUD.exe     Controls                TWinControl.UpdateShowing
004be631 +0e5 cMUD.exe     Controls                TWinControl.UpdateControlState
004c0ee2 +026 cMUD.exe     Controls                TWinControl.CMVisibleChanged
004bb023 +2bb cMUD.exe     Controls                TControl.WndProc
004bf027 +4fb cMUD.exe     Controls                TWinControl.WndProc
004a1587 +553 cMUD.exe     Forms                   TCustomForm.WndProc
00bf5904 +020 cMUD.exe     DXSounds      2128   +9 TCustomDXSound.FormWndProc
00bf30a8 +00c cMUD.exe     DXClass        635   +1 TControlSubClass.WndProc
004bacb0 +024 cMUD.exe     Controls                TControl.Perform
004b984a +026 cMUD.exe     Controls                TControl.SetVisible
004a0ebe +03a cMUD.exe     Forms                   TCustomForm.SetVisible
004a0211 +071 cMUD.exe     Forms                   TCustomForm.DoCreate
0049fdb0 +124 cMUD.exe     Forms                   TCustomForm.Create
00520dbd +01d cMUD.exe     CustomForm      60   +2 TzCustomForm.Create
00727655 +029 cMUD.exe     International   41   +3 TInterForm.Create
00728109 +039 cMUD.exe     zsForm          88   +6 TzForm.Create
00a1188c +0d0 cMUD.exe     MultiForm      168  +12 TMultForm.Create
00c57a81 +0bd cMUD.exe     PARENT        8562  +14 TParentForm.Create
004a98ae +06e cMUD.exe     Forms                   TApplication.CreateForm
00dff150 +07c cMUD.exe     CMUD           350  +18 initialization
76acecc9 +00c kernel32.dll                         BaseThreadInitThunk
Reply with quote
Obyron
Novice


Joined: 29 Jan 2006
Posts: 40
Location: Aardwolf

PostPosted: Tue Jul 28, 2009 3:07 pm   
 
Just to note I'm using regular CMud, not pro. Also, when I check the Packages folder in the install directory there is no default.pkg, just Clickable URLs, English Directions, English Keypad, and pkgcache.db.
Reply with quote
jg1lbert
Wanderer


Joined: 09 Nov 2006
Posts: 55

PostPosted: Tue Jul 28, 2009 3:30 pm   
 
Not sure how you figured that out Moo, I deleted the Packages folder, made a new one and everything is groovy again as far as starting up and exiting the program.

There was a "conversion" going on at first with mapper stuff, the mapper came up but no color/background. (another issue with #look doing nothing and #find crashing) Now that the package folder is new, the mapper is back to the old color. not sure how that folder had any relation to that problem but changed something in there...
Reply with quote
Zugg
MASTER


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

PostPosted: Tue Jul 28, 2009 5:07 pm   
 
In addition to checking the Packages folder, also check the folder above it (the main data files folder). Sounds like there are problems converting existing DEFAULT.PKG files. CMUD/CMUDPro does not distribute any default.pkg file. So any existing default.pkg file is from an older version of CMUD and might be corrupted.

If someone has a DEFAULT.PKG file that is causing this crash, please send it to me so that I can try to reproduce this problem.

Quote:
Also, when I check the Packages folder in the install directory there is no default.pkg, just Clickable URLs, English Directions, English Keypad, and pkgcache.db.

Be sure you are looking in the DATA FILES directory (normally My Documents/My Games/CMUD) and not the Program Files directory.
Reply with quote
Obyron
Novice


Joined: 29 Jan 2006
Posts: 40
Location: Aardwolf

PostPosted: Tue Jul 28, 2009 5:16 pm   
 
Emailed mine.
Reply with quote
Zugg
MASTER


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

PostPosted: Tue Jul 28, 2009 5:19 pm   
 
OK, I think I found this. I created my own DEFAULT.PKG file with v2.37 and was able to reproduce the crash.

The crash is coming from CMUD trying to display the progress window for the conversion of an old package file. Windows is trying to place this popup window as the child of the main application form. But when CMUD is loading the DEFAULT.PKG file, the main application window is not yet created/displayed, so that causes the Windows access violation when it tries to query the "Top" position of the main application form.

I added a test to see if the main application window isn't created and just return a top/left value of zero in that case to allow the program to continue.

I have re-uploaded new copies of v3.10, so download CMUD or CMUDPro again and give it another try to let me know if this is fixed. Note that I didn't change any version information, just the date of the files.
Reply with quote
Obyron
Novice


Joined: 29 Jan 2006
Posts: 40
Location: Aardwolf

PostPosted: Tue Jul 28, 2009 5:41 pm   
 
Fixed for me by the update.
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