|
xekon Apprentice
Joined: 11 Oct 2007 Posts: 154
|
Posted: Sat Dec 15, 2007 8:05 am
[2.18] Crash when zoning while speedwalking |
This is another unrelated error I get after upgrading, it happens on a speedwalk when it goes from one zone to another.
Code: |
date/time : 2007-12-15, 00:03:39, 0ms
computer name : SANOS
user name : Sano <admin>
operating system : Windows XP Service Pack 2 build 2600
system language : English
system up time : 2 days 10 hours
program up time : 3 minutes 24 seconds
processors : 2x Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
physical memory : 1523/2046 MB (free/total)
free disk space : (C:) 3.98 GB
display mode : 1280x1024, 32 bit
process id : $b74
allocated memory : 64.66 MB
executable : cMUD.exe
exec. date/time : 2007-12-14 12:39
version : 2.18.0.0
madExcept version : 3.0b
contact name : Xekon
contact email : none@gmail.com
callstack crc : $8e13e184, $48f636b2, $48f636b2
exception number : 2
exception class : EAccessViolation
exception message : Access violation at address 00D49198 in module 'cMUD.exe'. Read of address 776472A9.
Main ($6a0):
00d49198 +0b0 cMUD.exe PrefDat 10891 +10 TCacheNode.Execute
00d45678 +228 cMUD.exe PrefDat 9348 +40 PrefRec.InternalExecute
00d458cf +01f cMUD.exe PrefDat 9404 +2 PrefRec.Execute
00ca5133 +14f cMUD.exe MAIN 6177 +14 TMUDForm.ExecThread
00cabb85 +4b9 cMUD.exe MAIN 8460 +94 TMUDForm.ExecTrig
00ca9747 +fe7 cMUD.exe MAIN 7668 +326 TMUDForm.HandleTrigger
00ca824e +00e cMUD.exe MAIN 7168 +1 TMUDForm.UserOutNewLine
00a20cf5 +039 cMUD.exe term 8882 +3 TTerm.DoTriggerLine
00a1f758 +200 cMUD.exe term 8452 +34 HandleNewLine
00a1ff3f +6d7 cMUD.exe term 8576 +104 TTerm.PutText
00a204e9 +049 cMUD.exe term 8682 +2 TTerm.Add
00c94939 +0b1 cMUD.exe MAIN 1575 +8 TMUDForm.OutputStr
00c94c2c +0f4 cMUD.exe MAIN 1653 +23 TMUDForm.NextMUDLine
00c950a9 +019 cMUD.exe MAIN 1727 +4 TMUDForm.DoNextLine
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
004e6120 +034 cMUD.exe Controls 6237 +3 TWinControl.MainWndProc
00480398 +014 cMUD.exe Classes 10966 +8 StdWndProc
7e4196b2 +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
7c812bb4 +0b6 kernel32.dll GetVersionExA
error details:
speedwalking between zones
|
|
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Sat Dec 15, 2007 6:04 pm |
Hmmm, not 100% sure what's happening here. Do you have any room enabled? Is it any zone crossing, or just a particular one? Did you run the compatibility report to check for any problems (it also has the side effect of recompiling all of your scripts)?
|
|
_________________ Asati di tempari! |
|
|
|
xekon Apprentice
Joined: 11 Oct 2007 Posts: 154
|
Posted: Sat Dec 15, 2007 8:08 pm |
Do you have any room enabled?
What do you mean by this?
Is it any zone crossing, or just a particular one?
Any zone crossing, however i can manually press direction to cross zone, its only when a speed walk between zones is trying.
Did you run the compatibility report to check for any problems
No problems found. |
|
|
|
xekon Apprentice
Joined: 11 Oct 2007 Posts: 154
|
Posted: Sat Dec 15, 2007 8:32 pm |
I downgraded version by version untill I found one that did not cause this error, the problem was gone once i reached 2.14a.
The versions that did not cause the crash were versions 2.05-2.14a |
|
Last edited by xekon on Sat Dec 15, 2007 8:51 pm; edited 1 time in total |
|
|
|
xekon Apprentice
Joined: 11 Oct 2007 Posts: 154
|
Posted: Sat Dec 15, 2007 8:44 pm |
Going even farther back to resolve another issue, I found that switching zones also causes this crash in 2.04 - 2.00
|
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Sun Dec 16, 2007 12:25 am |
I meant to say 'room scripts' enabled.
I'm not sure why zone crossing were the problem but you probably don't want to go back to a beta version. It's an odd thing, compacting the map does help sometimes.
Is you mapper window docked? Are you using multiple monitors? Any theming engines like window blinds?
Did you try disabling your map related triggers? |
|
_________________ Asati di tempari! |
|
|
|
xekon Apprentice
Joined: 11 Oct 2007 Posts: 154
|
Posted: Sun Dec 16, 2007 12:47 am |
Not using any room scripts
Version 2.14a is now the version i went back to, im able to stably play. compacting the map did not fix anything.
mapper window is docked. not using multiple monitors, no theme engines, for the most part its a fresh install of windows with all windows updates.
I have disabled ALL scripts i use to make sure this was not the issue. |
|
Last edited by xekon on Tue Dec 18, 2007 10:30 pm; edited 1 time in total |
|
|
|
Dumas Enchanter
Joined: 11 Feb 2003 Posts: 511 Location: USA
|
Posted: Tue Dec 18, 2007 2:00 pm |
Hmm, there was an old bug where zone crossing crashed CMUD all the time, but that had been fixed. Haven't tested my own yet.
|
|
|
|
xekon Apprentice
Joined: 11 Oct 2007 Posts: 154
|
Posted: Tue Dec 18, 2007 10:21 pm |
OK so i did some further testing, I really really really would like the opportunity to be able to use the newer cmud but im still crashing when i go from one zone to another on a speedwalk.
So i made a NEW character on aardwolf, changed 2 character settings:
brief 2 (hides room description unless manually typing look)
prompt [ %h/%Hhp %m/%Mmn %v/%Vmv %Xtnl] >%c (only difference from standard prompt is carriage return on the end)
I then configured the mapper with the autoconfig wizard where it goes south and waits 5 seconds, I unchecked description, since i dont map those.
Also I went into the config and unchecked "Allow blank line to trigger speedwalking as prompt" (this makes directions wait for the prompt when in slow walk mode)
Next I opened a NEW map and mapped several rooms, i put a couple rooms into their own zone. so now i have two zones
Next I attempted a #walk to the other zone. AND i get the crash message thing, this happens regardless of speedwalk mode i am in.
ALSO the strange thing is when it pops up the error message i can click continue application and everything actually seems to be working just fine.
I can send you both the new settings and map database i have created if anyone would like it.
Would really like to figure this out.
After doing these tests with version 2.18 I downgraded to 2.14a which is the latest version i can use without getting these error exceptions. |
|
|
|
Rorso Wizard
Joined: 14 Oct 2000 Posts: 1368
|
Posted: Tue Dec 18, 2007 10:37 pm |
xekon wrote: |
I can send you both the new settings and map database i have created if anyone would like it.
|
I am not sure if I'll be able to look at it. |
|
Last edited by Rorso on Sun Jan 25, 2009 2:27 pm; edited 1 time in total |
|
|
|
Rorso Wizard
Joined: 14 Oct 2000 Posts: 1368
|
Posted: Tue Dec 18, 2007 11:02 pm |
The file you sent me appears to work. It speedwalks on the map through zones. Something you can try is to connect "offline" and try speedwalk then. Does that work?
Edit: I have also tested to make similar map setting described in your post on Aardwolf(near the starting rooms) and tried speedwalking online. That also seem to work between zones. |
|
|
|
xekon Apprentice
Joined: 11 Oct 2007 Posts: 154
|
Posted: Wed Dec 19, 2007 1:00 am |
could this be crashing because of my computers files? like the drivers i use for my hardware, etc?
I dont know anything about debugging access violations... but there has to be an explanation why it works with 2.14a and not 2.18 |
|
|
|
Rorso Wizard
Joined: 14 Oct 2000 Posts: 1368
|
Posted: Wed Dec 19, 2007 10:54 am |
xekon wrote: |
could this be crashing because of my computers files? like the drivers i use for my hardware, etc?
I dont know anything about debugging access violations... but there has to be an explanation why it works with 2.14a and not 2.18 |
It is odd. It could be something like an unitialized pointer causing it. If it is set to different value on our systems it might not crash for everyone.
You could try the PRO version and see if you get different result. |
|
|
|
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: Wed Dec 19, 2007 5:32 pm |
I have noticed a few errors when speedwalking across zones in this version. If I continue though there isn't any problem.
It is a sporadic thing for me however. I will see if I can find a case that I can narrow down the cause for this evening. |
|
_________________ Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram |
|
|
|
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: Thu Dec 20, 2007 4:09 am |
Well, it turns out that this was someone else's map and that the errors were occurring in rooms with Room scripts in my case so I guess I'm no help here sorry.
|
|
_________________ Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram |
|
|
|
xekon Apprentice
Joined: 11 Oct 2007 Posts: 154
|
Posted: Sat Dec 22, 2007 10:21 pm |
Cmud version 2.14a seems to be a pretty solid version. I think i can live with using this version for now, ill just wait till the next version to see if anything has changed. If anyone needs any more information concerning this crash let me know, if not im content for now with this older version.
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Jan 07, 2008 10:13 pm |
v2.14a certainly isn't "pretty solid". There are many problems related to the Threading system in CMUD that will cause you sporadic crashes in that version.
According to your crash dump, you have a trigger running when you cross the zone boundary and that is where the crash is happening. Try disabling all of your triggers and then enable them one by one in v2.18 to determine which one is causing the crash.
On the MUD that I play I have hundreds of zones and am crossing zones with speedwalks *all* the time and don't have any problems. So it's not the zone that is causing the problem...it's an interaction between switching zones and having one of your triggers fire at the same time. |
|
|
|
ReedN Wizard
Joined: 04 Jan 2006 Posts: 1279 Location: Portland, Oregon
|
Posted: Mon Jan 07, 2008 10:30 pm |
I've have this crash on zone transition as well, but I hadn't had the time to debug it as much as Xekon. The particulars he mentioned match my situation perfectly. I believe I've sent in a few crash logs when this has happened so perhaps there are some similarities that can be seen between the two.
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Jan 07, 2008 10:57 pm |
If this happens, then I'd need to see the exact trigger that is causing the crash. The Crash Dump report (like the one shown above) only shows me that a trigger was executing...it doesn't give me the script of the trigger that caused the problem.
|
|
|
|
xekon Apprentice
Joined: 11 Oct 2007 Posts: 154
|
Posted: Wed Feb 13, 2008 9:54 pm I have discovered what causes the crash but cant remove or automapper breaks |
I have a folder called "system" in my settings, no doubt I got it back when I was using an older version of zmud or cmud.
If I disable this folder than CMUD does not crash between zones, HOWEVER without this folder the automapper does not keep up.
For Example:
If I move one room, wait for mud output, then move one room, wait for mud output etc, then the automapper works.
But I tend to move more quickly than that, I will hit wwwseesw because I know exactely where this will take me in the mud, with the system folder enabled the automapper is able to keep up with multiple directions sent at once but without the sytem folder the automapper does not track correctly, it moves one room on the map and then gives up tracking.
Also I should note that I have tried right clicking on and disabling the system folder and then reconfiguring the mapper, but it does not solve the issue of not tracking.
To be perfectly honest I had given up on using the new version of CMUD and have been using cmud 2.14a happily since I last posted without any issues at all, however I am now trying to use CMUD under Linux Ubuntu and from what I hear it works better with the theme engine removed so I am once again trying to use the newer version of CMUD. Please help me out, if you require me to track anything else down I would be more than happy to.
Below is the exported XML for the folder "system" from my settings:
Code: |
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
<window name="kazuma.mud" usesession="false">
<uid>{028BD340-EA8C-4700-BBBA-3CC01B4A8640}</uid>
<packages>English Keypad|English Directions|kazuma.mud</packages>
<class name="System">
<class name="Automapper">
<notes>Triggers used by the automapper while in Map mode</notes>
</class>
<class name="Keypad" initenable="true">
<notes>Movement macros assigned to the keypad (cardinal directions)</notes>
</class>
<class name="AutomapperAll" initenable="true">
<notes>Settings used by the automapper while in any mode</notes>
</class>
<class name="Directions" initenable="true">
<notes>Default direction settings (cardinal directions)</notes>
</class>
<class name="DirectionsDiag" initenable="true">
<notes>Default direction settings (diagonal directions)</notes>
</class>
<class name="KeypadDiag" initenable="true">
<notes>Movement macros assigned to the keypad (diagonal directions)</notes>
</class>
<class name="Pueblo">
<trigger name="_AutoPueblo" priority="71740">
<pattern>^This world is Pueblo (*) enhanced</pattern>
<value>#PUEBLO</value>
</trigger>
<trigger name="_AutoPueblo" priority="172790">
<pattern>^This world is Pueblo (*) enhanced</pattern>
<value>#PUEBLO</value>
</trigger>
</class>
</class>
</window>
<window name="Friend" commandline="false" statusbar="false" dockalign="3" dockwith="0" host="-2" usesession="false">
<uid>{5371A8ED-CB93-4E63-ACAB-7812ABC7D1A9}</uid>
<packages>English Keypad|English Directions|kazuma.mud</packages>
</window>
<window name="group" commandline="false" statusbar="false" dockwith="567" host="-2" usesession="false">
<uid>{DDE9F963-6733-4BA2-9A0C-CBE8ABD5D91B}</uid>
<packages>English Keypad|English Directions|kazuma.mud</packages>
</window>
<window name="Tell" commandline="false" statusbar="false" dockwith="567" host="-2" usesession="false">
<uid>{FE327A43-7889-4BA9-8129-EF22AD598EFE}</uid>
<packages>English Keypad|English Directions|kazuma.mud</packages>
</window>
<window name="gear" commandline="false" statusbar="false" dockwith="567" host="-2" usesession="false">
<uid>{A5D95329-2070-429F-9BCE-C2458A4E9542}</uid>
<packages>English Keypad|English Directions|kazuma.mud</packages>
</window>
</cmud>
|
|
|
|
|
ReedN Wizard
Joined: 04 Jan 2006 Posts: 1279 Location: Portland, Oregon
|
Posted: Thu Feb 14, 2008 1:18 am |
I had this error as well and for me it went away when I unselected "Match Room Name" in the mapper settings. I then had to substitute some other method of sending an "#OK" when a successful room change had occurred.
|
|
|
|
xekon Apprentice
Joined: 11 Oct 2007 Posts: 154
|
Posted: Thu Feb 14, 2008 3:12 am |
Interesting got any good ideas for sending #ok?
|
|
|
|
ReedN Wizard
Joined: 04 Jan 2006 Posts: 1279 Location: Portland, Oregon
|
Posted: Fri Feb 15, 2008 3:41 am |
In Achaea with ATCP support this was pretty easy, but in general if your MUD has a unique line for the room name you can trigger off of, you can use that. There seems to be something associated with CMUD doing the regex search for the room name which was causing the problem for me. When I made a trigger for the room name and put an #OK in it, it worked fine for me thereafter.
|
|
|
|
|
|