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


Joined: 17 Jun 2006
Posts: 1201

PostPosted: Mon Mar 03, 2008 12:40 pm   

[2.18] Crash When Placing an %if Caption on Button Inside of a Module
 
1. Open a blank session.
2. Create a variable call TestBalance
3. Create a Module called Test
4. Create a button inside of the Test Module with ID btn_testbal
5. Enter this code into the caption of the button

Code:
%if(@TestBalance, %if( %btncol( btn_testbal, green, black) == 0, Yes, ),%if( %btncol( btn_testbal, red, black) == 0, No, ))


6. Now enter TestBalance=1 or TestBalance=0 on the command line and CMUD crashes.

It only crashes if the button is INSIDE of a module.
Reply with quote
JQuilici
Adept


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

PostPosted: Mon Mar 03, 2008 4:10 pm   
 
Confirmed. My CMud crashed immediately after typing TestBalance=1 at the command-line. Sending the bug report by e-mail failed (possibly related?). In any case, here is the report:
Code:
date/time         : 2008-03-03, 09:35:06, 58ms
computer name     : QTOP
user name         : <munched> <admin>
operating system  : Windows XP Service Pack 2 build 2600
system language   : English
system up time    : 18 days 6 hours
program up time   : 19 minutes 34 seconds
processor         : Intel(R) Pentium(R) M processor 1.80GHz
physical memory   : 986/2047 MB (free/total)
free disk space   : (C:) 1.97 GB
display mode      : 1400x1050, 32 bit
process id        : $3258
allocated memory  : 29.80 MB
executable        : cMUD.exe
exec. date/time   : 2007-12-14 14:39
version           : 2.18.0.0
madExcept version : 3.0b
contact name      : <munched>
contact email     : <munched>
callstack crc     : $687c72d0, $e3444d69, $e3444d69
exception number  : 1
exception class   : EAccessViolation
exception message : Access violation at address 00D430A6 in module 'cMUD.exe'. Read of address 00000224.

Main ($2be0):
00d430a6 +492 cMUD.exe     PrefDat         8614  +83 ButtonRec.Invalidate
00c6f968 +0fc cMUD.exe     PARENT         11680  +26 TParentForm.WMInvalidatePref
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
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:
Reproducing bug reported in thread: http://forums.zuggsoft.com/forums/viewtopic.php?p=125534#125534
Crash occurred immediately after typing TestBalance=1 at command line.


In case it matters, my system is a Dell Inspiron 600m laptop.
_________________
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: Mon Mar 03, 2008 5:34 pm   
 
Confirmed and added to bug list. Good find.
Reply with quote
Arminas
Wizard


Joined: 11 Jul 2002
Posts: 1265
Location: USA

PostPosted: Thu May 08, 2008 2:57 am   
 
This is fixed in 2.24
_________________
Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram
Reply with quote
Araadan
Wanderer


Joined: 07 Jun 2009
Posts: 65

PostPosted: Mon Feb 13, 2012 11:59 pm   
 
The problem still exists in 3.34 and also relates to the status bar.

edit: I did not pay attention, that the answer to a post in the `beta` ... I can not delete the post.
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