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


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Fri Mar 06, 2009 11:06 pm   

[3.03 bug] Zugg: Could THIS be the cause of settings being deleted?
 
I don't know if this was fixed in 3.04, and I'd put it with the topic that started it all, but I wanted to point this out and see what you thought, Zugg. Hopefully THIS is what was causing the bug that deleted settings.


Code:
computer name     : HOME
user name         : Charneus <admin>
registered owner  : Charneus
operating system  : Windows NT New build 7000
system language   : English
system up time    : 9 days 13 hours
program up time   : 1 day 7 hours
processor         : Intel(R) Celeron(R) CPU 440 @ 2.00GHz
physical memory   : 152/1023 MB (free/total)
free disk space   : (C:) 27.42 GB
display mode      : 1280x1024, 32 bit
process id        : $16d8
allocated memory  : 174.36 MB
command line      : "C:\Program Files\CMUD\cMUD.exe" Aardwolf
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      : Charneus
contact email     :
callstack crc     : $d2189929, $76794f19, $76794f19
exception number  : 2
exception class   : Exception
exception message : Error saving data in background - INSERT INTO settings (id,kind,parent,pkgid,enabled,idname,options,userval,val,comment,name,subkind,valkind,opt,owner,userint,priority,flag,state) VALUES ('1751','5','0','0','0','_Alarm86','','','newplayer=%null;newclass=%null','','+30','2','0','137','0','','17510','','0') :: SQL Error: PRIMARY KEY must be unique.

Main ($15ec):
00da002d +20d cMUD.exe     PkgDM     4704 +40 TPkg.Save
00d9fde6 +04e cMUD.exe     PkgDM     4651  +6 TPkg.SaveAs
00c1f9f2 +066 cMUD.exe     PkgMain   3182  +7 TPkgMainF.ActionSaveAsExecute
0047b73f +00f cMUD.exe     Classes            TBasicAction.Execute
004cbcb5 +031 cMUD.exe     ActnList           TContainedAction.Execute
004cc97c +050 cMUD.exe     ActnList           TCustomAction.Execute
0047b60b +013 cMUD.exe     Classes            TBasicActionLink.Execute
006adf3e +052 cMUD.exe     dxBar    37239  +5 TdxBarItem.DoClick
006adebb +03b cMUD.exe     dxBar    37227  +4 TdxBarItem.DirectClick
006b214c +154 cMUD.exe     dxBar    39494 +32 TdxBarItemControl.ControlUnclick
006b522a +056 cMUD.exe     dxBar    41412  +6 TdxBarButtonControl.ControlUnclick
0069ad6e +0fe cMUD.exe     dxBar    27163 +24 TCustomdxBarControl.WMLButtonUp
004bb023 +2bb cMUD.exe     Controls           TControl.WndProc
004bf027 +4fb cMUD.exe     Controls           TWinControl.WndProc
006a415a +002 cMUD.exe     dxBar    32032  +0 TdxBarControl.IsInternal
006a8166 +012 cMUD.exe     dxBar    34038  +1 TdxBarSubMenuControl.IsInternal
0069d16f +007 cMUD.exe     dxBar    28314  +1 TCustomdxBarControl.GetEquivalentParentBar
0069c3d2 +01a cMUD.exe     dxBar    27854  +6 TCustomdxBarControl.CanProcessMouseMessage
004be750 +02c cMUD.exe     Controls           TWinControl.MainWndProc
0047c400 +014 cMUD.exe     Classes            StdWndProc
76b4415b +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
755e36d4 +010 kernel32.dll                    BaseThreadInitThunk

error details:
Closing out CMUD after saving package under a different name.


Charneus
Reply with quote
Zugg
MASTER


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

PostPosted: Sat Mar 07, 2009 12:20 am   
 
That could certainly be related. That is a case where the record status is set to "Inserted" so CMUD is trying to do an SQL INSERT statement, but the record already exists in the database. So this has the same property that the record status is getting messed up somehow.

Is this reproduceable in any way?

But it might also be related to the bug where settings were not getting deleted (causing a future INSERT to give an error), so be sure to try it in 3.04 to see if it's fixed.
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Mon Mar 09, 2009 6:03 am   
 
I haven't reinstalled 3.03 yet, but in 3.04, I've been able to successfully close and reopen, making new settings along the way, without it once deleting, duplicating, or any other form of corruption. I think the fix you did for the handling of deletions is what ultimately fixed this problem. I'll keep you updated if I run into it again, though.

Thanks for all the hard work you put into this release!

Charneus
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Mar 09, 2009 5:44 pm   
 
Thanks VERY much for letting me know about this. Definitely keep testing and let me know if you see the problem re-occur.
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