 |
Vijilante SubAdmin

Joined: 18 Nov 2001 Posts: 5187
|
Posted: Tue Nov 13, 2007 7:40 pm
[2.11] Ways to break stuff by pasting settings |
I think all of these are tied to problems with the paste not creating a window correctly when the window is pasted. There are a few different bugs here, and they can all be generated with the same pasting xml.
| Code: |
<?xml version="1.0" encoding="UTF-8" ?>
<cmud>
<window name="break" host="0" usesession="false">
<packages>untitled</packages>
<var name="a">a</var>
</window>
</cmud> |
Procedure A (List index OOB crash)
1. Launch CMud
2. Close Sessions window (ESC)
3. Open Package Editor (CTRL-G)
4. Click in the tree panel of the PE
5. Paste in the xml from above
6. Select File|New from the PE menu, enter a name of break
7. Click the untitled tab in the PE window
8. Drag the break window setting from the untitled package to the break package
9. Close CMud with the big X
10. Launch CMud
11. Close Sessions window (ESC)
12. Open Package Editor (CTRL-G)
13. Select File|Open from the PE menu, navigate to the break.pkg and open it
14. Click the untitled tab in the PE
Procedure B (multiple break windows appear)
1. Launch CMud
2. Close Sessions window (ESC)
3. Open Package Editor (CTRL-G)
4. Click in the tree panel of the PE
5. Paste in the xml from above
6. Select File|New from the PE menu, enter a name of break
7. Click the untitled tab in the PE window
8. Drag the break window setting from the untitled package to the break package
9. Right-click on the break tab in the PE and select Delete tab
10. Answer yes to removing the package
11. Select File|Open from the PE menu, navigate to the break.pkg and open it
Procedure C (untitled window gets vanished)
1. Launch CMud
2. Close Sessions window (ESC)
3. Open Package Editor (CTRL-G)
4. Click in the tree panel of the PE
5. Paste in the xml from above
6. Uncheck the Window is Visible for the break window, click save changes
7. Check the Window is Visible for the break window, click save changes
8. Uncheck the Window is Visible for the break window, click save changes
I had also managed to generate 2 different AV crashes while playing around with all these, but didn't quite get a good procedure for either. Crash dumps from those follow even though they may be useless or possibly unrelated.
| Code: |
date/time : 2007-11-13, 14:04:59, 716ms
operating system : Windows XP Service Pack 2 build 2600
system language : English
system up time : 25 days 7 hours
program up time : 1 minute 59 seconds
processor : AMD Athlon(tm) Processor
physical memory : 152/383 MB (free/total)
free disk space : (C:) 14.64 GB
display mode : 1024x768, 32 bit
process id : $60f4
allocated memory : 28.66 MB
executable : cMUD.exe
exec. date/time : 2007-11-09 21:38
version : 2.11.0.0
madExcept version : 3.0b
callstack crc : $3e9388b6, $8336415b, $8336415b
exception number : 1
exception class : EAccessViolation
exception message : Access violation at address 00805A78 in module 'cMUD.exe'. Read of address 00100005.
Main ($4b7c):
00805a78 +000 cMUD.exe cxTL 10149 +0 TcxTreeListBandViewInfo.GetBand
008062c7 +003 cMUD.exe cxTL 10514 +0 TcxTreeListCellsGroupViewInfo.GetBand
00807f8c +008 cMUD.exe cxTL 11540 +1 CheckFixed
00807ffa +056 cMUD.exe cxTL 11551 +5 TcxTreeListNodeViewInfo.UpdateLinks
00807aab +017 cMUD.exe cxTL 11330 +3 TcxTreeListNodeViewInfo.UpdatePostCalculate
00808a84 +034 cMUD.exe cxTL 11972 +7 TcxTreeListNodesViewInfo.UpdatePostCalculate
008087fe +00e cMUD.exe cxTL 11875 +3 TcxTreeListNodesViewInfo.PostViewInfoUpdate
00809024 +074 cMUD.exe cxTL 12210 +9 TcxTreeListHitTest.DoCalculate
007ede80 +050 cMUD.exe cxInplaceContainer 4451 +5 TcxCustomHitTestController.ReCalculate
007edf8e +042 cMUD.exe cxInplaceContainer 4512 +4 TcxCustomHitTestController.RecalculateOnMouseEvent
00803912 +01e cMUD.exe cxTL 8909 +1 TcxTreeListController.UpdateHotTrackNode
008038ec +01c cMUD.exe cxTL 8904 +2 TcxTreeListController.UpdateHotTrackNode
008036b4 +144 cMUD.exe cxTL 8839 +27 TcxTreeListController.Scroll
007f1d8c +02c cMUD.exe cxInplaceContainer 7029 +2 TcxEditingControl.Scroll
007fdee6 +16e cMUD.exe cxTL 6328 +32 TcxTreeListColumn.MakeVisible
008032a2 +00a cMUD.exe cxTL 8732 +4 TcxTreeListController.MakeFocusedItemVisible
007ef267 +063 cMUD.exe cxInplaceContainer 5343 +13 TcxCustomControlController.SetFocusedItem
007ef66f +073 cMUD.exe cxInplaceContainer 5474 +7 TcxCustomControlController.SetFocusedRecordItem
00803707 +01f cMUD.exe cxTL 8848 +2 TcxTreeListController.SetFocusedRecordItem
007eebed +10d cMUD.exe cxInplaceContainer 5097 +20 TcxCustomControlController.DoMouseDown
0080274f +06f cMUD.exe cxTL 8456 +8 TcxTreeListController.DoMouseDown
007f16ef +077 cMUD.exe cxInplaceContainer 6800 +9 TcxEditingControl.MouseDown
00506309 +091 cMUD.exe Controls 4728 +7 TControl.DoMouseDown
0050636c +054 cMUD.exe Controls 4737 +5 TControl.WMLButtonDown
00561444 +0d8 cMUD.exe cxControls 2441 +15 TcxControl.WndProc
007f18f6 +01e cMUD.exe cxInplaceContainer 6861 +3 TcxEditingControl.WndProc
005098d0 +034 cMUD.exe Controls 6237 +3 TWinControl.MainWndProc
0047fef8 +014 cMUD.exe Classes 10966 +8 StdWndProc
77d4bcc7 +00a USER32.dll DispatchMessageA
0052ee84 +0ac cMUD.exe Forms 6873 +13 TApplication.ProcessMessage
0052eecb +00f cMUD.exe Forms 6892 +1 TApplication.HandleMessage
0052f166 +0a6 cMUD.exe Forms 6976 +16 TApplication.Run
00dc60d8 +088 cMUD.exe CMUD 344 +18 initialization
7c91312f +069 ntdll.dll RtlUnicodeStringToAnsiString
7c812907 +0b6 kernel32.dll GetVersionExA
date/time : 2007-11-13, 14:25:44, 205ms
operating system : Windows XP Service Pack 2 build 2600
system language : English
system up time : 25 days 7 hours
program up time : 11 minutes 7 seconds
processor : AMD Athlon(tm) Processor
physical memory : 151/383 MB (free/total)
free disk space : (C:) 14.64 GB
display mode : 1024x768, 32 bit
process id : $4e8c
allocated memory : 30.33 MB
executable : cMUD.exe
exec. date/time : 2007-11-09 21:38
version : 2.11.0.0
madExcept version : 3.0b
callstack crc : $d2d3f782, $c87cc2a9, $c87cc2a9
exception number : 1
exception class : EAccessViolation
exception message : Access violation at address 00C59A4D in module 'cMUD.exe'. Read of address 00000010.
Main ($4c70):
00c59a4d +129 cMUD.exe PARENT 2073 +12 TParentForm.DockModule
00c59c8c +07c cMUD.exe PARENT 2119 +7 InitWindow
00c59ee4 +214 cMUD.exe PARENT 2194 +64 NewWindow
00c5a01e +08a cMUD.exe PARENT 2234 +12 TParentForm.CreateWindows
00d310ac +014 cMUD.exe PrefDat 3119 +1 PkgData.CreateWindows
00c5a545 +465 cMUD.exe PARENT 2580 +314 TParentForm.NewWindow
00daf1e7 +073 cMUD.exe WindowFrame 331 +6 TWindowF.wmUpdateVisible
00505fcf +1df cMUD.exe Controls 4645 +53 TControl.WndProc
00509cfe +18e cMUD.exe Controls 6342 +33 TWinControl.WndProc
005098d0 +034 cMUD.exe Controls 6237 +3 TWinControl.MainWndProc
0047fef8 +014 cMUD.exe Classes 10966 +8 StdWndProc
77d4bcc7 +00a USER32.dll DispatchMessageA
0052ee84 +0ac cMUD.exe Forms 6873 +13 TApplication.ProcessMessage
0052eecb +00f cMUD.exe Forms 6892 +1 TApplication.HandleMessage
0052f166 +0a6 cMUD.exe Forms 6976 +16 TApplication.Run
00dc60d8 +088 cMUD.exe CMUD 344 +18 initialization
7c91312f +069 ntdll.dll RtlUnicodeStringToAnsiString
7c812907 +0b6 kernel32.dll GetVersionExA |
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Tue Nov 13, 2007 9:11 pm |
Added to bug list.
|
|
|
|
 |
|
|
|
|
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
|
|