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
JQuilici
Adept


Joined: 21 Sep 2005
Posts: 250
Location: Austin, TX

PostPosted: Tue Jan 20, 2009 4:15 pm   

[3.03a] Crash creating new map in offline session
 
While attempting to create a test case for another bug, I managed to find this one. I have crashed CMUD 3.03a three times in a row while trying to create a new map in a (new) offline session:

PROCEDURE
  1. Start CMUD 3.03a
  2. Create a new session 'sess1'. Don't fill in any hostname, port, etc. info (I had only intended to use this offline for testing).
  3. Open sess1 offline.
  4. Click the Map button in the toolbar to bring up the map window

When I do this, the Map window appears (docked to the right of the sess1 window, and it starts in to create a new map for this session. Partway through, it crashes as follows:
Code:
date/time         : 2009-01-20, 10:03:37, 108ms
computer name     : LAURALAPTOP
user name         : Jeff Q <admin>
registered owner  : Jeff Q
operating system  : Windows XP Service Pack 3 build 2600
system language   : English
system up time    : 18 hours 41 minutes
program up time   : 1 minute 9 seconds
processor         : Intel(R) Pentium(R) M processor 1.80GHz
physical memory   : 1275/2047 MB (free/total)
free disk space   : (C:) 5.17 GB
display mode      : 1400x1050, 32 bit
process id        : $638
allocated memory  : 30.95 MB
executable        : cMUD.exe
exec. date/time   : 2008-12-16 13:08
version           : 3.3.0.1
compiled with     : BCB 2006/07
madExcept version : 3.0h
contact name      : Jeff Quilici
callstack crc     : $90adb537, $4e9aac2c, $4e9aac2c
exception number  : 1
exception class   : EAccessViolation
exception message : Access violation at address 00A5314E in module 'cMUD.exe'. Read of address 00000420.

Main ($c9c):
00a5314e +04a cMUD.exe     MapFrame3       5433  +2 TMapFr.ShowHint
00c669b7 +07b cMUD.exe     PARENT          6507 +28 TParentForm.DoShowHint
006d11c6 +01a cMUD.exe     AppEvnts         256  +0 TCustomApplicationEvents.DoShowHint
006d1b62 +046 cMUD.exe     AppEvnts         256  +0 TMultiCaster.DoShowHint
004aacd8 +1fc cMUD.exe     Forms                    TApplication.ActivateHint
004aa7bd +02d cMUD.exe     Forms                    TApplication.HintTimerExpired
004a794a +022 cMUD.exe     Forms                    HintTimerProc
7e4196c2 +00a USER32.dll                            DispatchMessageA
004a96fc +0fc cMUD.exe     Forms                    TApplication.ProcessMessage
004a971e +00a cMUD.exe     Forms                    TApplication.ProcessMessages
00a1ea4e +046 cMUD.exe     MakeMapDb3        45  +2 Progress
00a22115 +05d cMUD.exe     MakeMapDb3       490  +5 DoIndex
00a22175 +031 cMUD.exe     MakeMapDb3       497  +4 CreateIndexes
00d34227 +0db cMUD.exe     MapList3        1081 +12 TMapNode.LoadMap
00d3bdec +030 cMUD.exe     MapList3        3858  +3 AddMapDB
00d3be17 +013 cMUD.exe     MapList3        3867  +2 GetMapDB
00d3be7e +03e cMUD.exe     MapList3        3879  +6 UpdateMapDB
00a573d0 +010 cMUD.exe     MapFrame3       7099  +2 TMapFr.UpdateDB
00cfabfd +19d cMUD.exe     MapNew3         1843 +17 TNewMapF.NewMap
00cfadff +10b cMUD.exe     MapNew3         1873 +15 TNewMapF.LoadNewMap
00c6de8a +1d6 cMUD.exe     PARENT         11103 +37 TParentForm.WMShowMap
004bb023 +2bb cMUD.exe     Controls                 TControl.WndProc
004bf027 +4fb cMUD.exe     Controls                 TWinControl.WndProc
004a1587 +553 cMUD.exe     Forms                    TCustomForm.WndProc
00beefec +020 cMUD.exe     DXSounds        2128  +9 TCustomDXSound.FormWndProc
00bec790 +00c cMUD.exe     DXClass          635  +1 TControlSubClass.WndProc
004be750 +02c cMUD.exe     Controls                 TWinControl.MainWndProc
0047c400 +014 cMUD.exe     Classes                  StdWndProc
7e42a993 +016 USER32.dll                            CallWindowProcA
006d3e4f +0a7 cMUD.exe     aqDockingUtils  1728  +7 CallDefWndProc
006d3f3d +0dd cMUD.exe     aqDockingUtils  1776 +41 TaqWindowEventFilter.WndProc
0047c400 +014 cMUD.exe     Classes                  StdWndProc
7e4196c2 +00a USER32.dll                            DispatchMessageA
004a96fc +0fc cMUD.exe     Forms                    TApplication.ProcessMessage
004a9736 +00a cMUD.exe     Forms                    TApplication.HandleMessage
004a9a2b +0b3 cMUD.exe     Forms                    TApplication.Run
00df3228 +088 cMUD.exe     CMUD             352 +20 initialization
7c912c01 +069 ntdll.dll                             RtlUnicodeStringToAnsiString
7c812c24 +0b6 kernel32.dll                          GetVersionExA

error details:
1) Start CMUD 3.03a
2) Create new session "sess1"
3) Open sess1 offline
4) Click Map button to open mapper
.
Program crashes as shown, with the message 'Creating database...' in the status bar of the mapper window.

Crash dump also submitted through the program, along with screenshot.

If I start up the program again, and simply open sess1 offline, I can open the mapper, but I can't create any rooms in it. If I delete the session, and delete the folder for the session, then reproduce the steps above, it will crash again.
_________________
Come visit Mozart Mud...and tell an imm that Aerith sent you!
Reply with quote
Zugg
MASTER


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

PostPosted: Tue Jan 20, 2009 5:46 pm   
 
I am having a heck of a time trying to reproduce this one. The instructions seem straight-forward, but it doesn't cause any problem on any of my systems here. Can anyone else reproduce this?
Reply with quote
JQuilici
Adept


Joined: 21 Sep 2005
Posts: 250
Location: Austin, TX

PostPosted: Tue Jan 20, 2009 6:01 pm   
 
*grumble*

And now it's not happening on mine anymore either. Happened three times in a row, now gone. A pox on all intermittent bugs.

FWIW, I have not rebooted since the bug was first discovered, but I have restarted CMUD 3.03a several times, fiddled with the mapper in working sessions, etc.

I guess this goes in the WTF file until I can find something more reproduceable.
_________________
Come visit Mozart Mud...and tell an imm that Aerith sent you!
Reply with quote
Zugg
MASTER


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

PostPosted: Tue Jan 20, 2009 6:27 pm   
 
Given that the crash was in the "ShowHint" routine in CMUD, it's possible this bug depends upon exactly where the mouse cursor is when you create the new map. I put it on my bug list to look at the ShowHint routine to see how it might crash in weird cases.
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