0.33 - bug report

Chitchat about x² / 2X products

Moderators: fgagnon, nikos, Site Mods

User avatar
Morning Star
Bronze Member
Bronze Member
Posts: 114
Joined: 2003 Feb 21, 04:26
Location: Australia

0.33 - bug report

Post by Morning Star »

Hi Nikos,

This happened in x2 0.33 when I right-click-dragged a file from a pane over to a folder shown in the tree, waited for the little menu thingy to pop up, then clicked back on the pane with the left mouse button (without selecting anything from the popup menu)....

Here is the debug-mon output:


2516: ------------------------------------------------------------------------
2516: 'C:\Program Files\xplorer2\xplorer2.exe' build 0.0.0.33 (Ansi) beginning execution
2516: English translation
2516: Windows version: 5.1, build 2600
2516: Platform: VER_PLATFORM_WIN32_NT
2516: Info: Service Pack 1
2516: Shell32.dll version: 6.0.2800.1106
2516: COMCTL32.DLL version: 5.82.2800.1106
2516: COMDLG32.DLL version: 6.0.2800.1106
2516: SHDOCVW.DLL version: 6.0.2800.1106
2516: zipfldr.dll version: 6.0.2800.1106
2516: Build flags: WINVER=400, _WIN32_IE=500, _RICHEDIT_VER=100, _WIN32_WINNT=500, _WIN32_WINDOWS=0
2516: MB code page: 0, locale C
2516: ------------------------------------------------------------------------
2516: SYSTEM INFORMATION: page=4096, granularity=65536, CPUs=1
2516: Q235630 patch is OFF
2516: *** TID=0, Generating folder instance '::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\C:\'
2516: Filesystem path = C:\
2516: Shell attributes: (0x70800000) FILESYSANCESTOR | FILESYSTEM | STORAGEANCESTOR |
2516: Assigned folder type: FITYPE_NORMAL [forced]
2516: Folder CLSID: {F3364BA0-65B9-11CE-A9BA-00AA004AE837}
2516: Typical FS folder clsid: {F3364BA0-65B9-11CE-A9BA-00AA004AE837}
2516: arg[0] = 'C:\Program Files\xplorer2\xplorer2.exe'
2516: List view 3302a0 created, sty=56000349, ex=4020, depth=16
2516: List view 220298 created, sty=46300349, ex=4020, depth=16
2516: TREE::OnShowWindow(1, 0)
2516: [TREE]-SPY(00000521): Installed on ''
2516: ThreadID=a60: Adding frame 0x00520108 'ATL:ExplorerFrame' [xplorer▓]
2516: >>> ThreadID=a60: Beginning execution
2516: Santa's little helper starting, ThreadID=df4
2516: Thread a60 pump: unrecognized message 49394 ignored
2516: *** TID=a60, Generating folder instance '::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\C:\Program Files\xplorer2'
2516: Filesystem path = C:\Program Files\xplorer2
2516: Shell attributes: (0x7080017f) FILESYSANCESTOR | FILESYSTEM | STORAGEANCESTOR |
2516: Assigned folder type: FITYPE_FILESYSTEM [deciphered]
2516: Folder CLSID: {F3364BA0-65B9-11CE-A9BA-00AA004AE837}
2516: Enumerated 5 objects in the folder, code=1
2516: @@@ column 27 doesn't have a name
2516: @@@ column 28 doesn't have a name
2516: @@@ column 29 doesn't have a name
2516: Caching the column info of this shellfolder
2516: Delay-creating column handler...IShellFolder2; Columns = 35 (cached)
2516: SPY(00000522): Installed on '::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\C:\Program Files\xplorer2'
2516: >>>>> TREE: expanding node...
2516: *** TID=a60, Generating folder instance ''
2516: Filesystem path = C:\Documents and Settings\MJordan\Desktop
2516: Shell attributes: (0x7080017f) FILESYSANCESTOR | FILESYSTEM | STORAGEANCESTOR |
2516: Assigned folder type: FITYPE_NORMAL [forced]
2516: Folder CLSID: {00021400-0000-0000-C000-000000000046}
2516: Enumerated 4 objects in the folder, code=1
2516: <<<<< TREE: node expanded (ok)
2516: >>>>> TREE: expanding node...
2516: *** TID=a60, Generating folder instance '::{20D04FE0-3AEA-1069-A2D8-08002B30309D}'
2516: Filesystem path =
2516: Shell attributes: (0x30000000) FILESYSANCESTOR |
2516: Assigned folder type: FITYPE_NORMAL [forced]
2516: Folder CLSID: {20D04FE0-3AEA-1069-A2D8-08002B30309D}
2516: MINI-ASSERT: GetPidlType fails for: A:\
2516: MINI-ASSERT: GetPidlType fails for: W:\
2516: Enumerated 14 objects in the folder, code=1
2516: <<<<< TREE: node expanded (ok)
2516: Thread a60 pump: unrecognized message 49394 ignored
2516: >>>>> TREE: expanding node...
2516: *** TID=a60, Generating folder instance '::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\D:\'
2516: Filesystem path = D:\
2516: Shell attributes: (0x70800000) FILESYSANCESTOR | FILESYSTEM | STORAGEANCESTOR |
2516: Assigned folder type: FITYPE_NORMAL [forced]
2516: Folder CLSID: {F3364BA0-65B9-11CE-A9BA-00AA004AE837}
2516: Enumerated 23 objects in the folder, code=1
2516: <<<<< TREE: node expanded (ok)
2516: Thread a60 pump: unrecognized message 49394 ignored
2516: >>>>> TREE: expanding node...
2516: *** TID=a60, Generating folder instance '::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\D:\download'
2516: Filesystem path = D:\download
2516: Shell attributes: (0x7080017f) FILESYSANCESTOR | FILESYSTEM | STORAGEANCESTOR |
2516: Assigned folder type: FITYPE_NORMAL [forced]
2516: Folder CLSID: {F3364BA0-65B9-11CE-A9BA-00AA004AE837}
2516: Enumerated 12 objects in the folder, code=1
2516: <<<<< TREE: node expanded (ok)
2516: *** TID=a60, Generating folder instance '::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\D:\download\Incoming'
2516: Filesystem path = D:\download\Incoming
2516: Shell attributes: (0x7080017f) FILESYSANCESTOR | FILESYSTEM | STORAGEANCESTOR |
2516: Assigned folder type: FITYPE_FILESYSTEM [deciphered]
2516: Folder CLSID: {F3364BA0-65B9-11CE-A9BA-00AA004AE837}
2516: Enumerated 14 objects in the folder, code=1
2516: SPY(00000523): Installed on '::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\D:\download\Incoming'
2516: Thread a60 pump: unrecognized message 49394 ignored
2516: In CShellDropTarget::DragEnter(7), examining source data object
2516: Dumping data object 0x001726E0...
2516: {Shell IDList Array, 00000000, DVASPECT_CONTENT, -1, TYMED_HGLOBAL | }
2516: {InShellDragLoop, 00000000, DVASPECT_CONTENT, -1, TYMED_HGLOBAL | }
2516: {DragImageBits, 00000000, DVASPECT_CONTENT, -1, TYMED_HGLOBAL | }
2516: {DragContext, 00000000, DVASPECT_CONTENT, -1, TYMED_ISTREAM | }
2516: {CF_HDROP, 00000000, DVASPECT_CONTENT, -1, TYMED_HGLOBAL | }
2516: {FileName, 00000000, DVASPECT_CONTENT, -1, TYMED_HGLOBAL | }
2516: {FileNameW, 00000000, DVASPECT_CONTENT, -1, TYMED_HGLOBAL | }
2516: Preferred DropEffect = 4294967295
2516: Performed DropEffect = 4294967295
2516: Logical Performed DropEffect = 4294967295
2516: InShellDragLoop = 1
2516: TREE: drop target = 'D:\download\Graphics'
2516: TREE: drop target = 'D:\download\Incoming'
2516: TREE: drop target = 'D:\download\Temporary'
2516: In CShellDropTarget::Drop()
2516: Final drop effect = 0
2516: c:\windows\profiles\nikos\my documents\c++\kenny\shelldroptarget.h(562) : Assertion failed: cnt_ == m_xrefDataObj_+1 && m_bRefsMismatchOS_
It is my job to comfort the disturbed,
and to disturb the comfortable.
User avatar
Morning Star
Bronze Member
Bronze Member
Posts: 114
Joined: 2003 Feb 21, 04:26
Location: Australia

Post by Morning Star »

On second thoughts, this assert occurs whenever I use the right-click-drag menu at all... :(
It is my job to comfort the disturbed,
and to disturb the comfortable.
User avatar
nikos
Site Admin
Site Admin
Posts: 16341
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

this doesn't happen on my w2000
this could be an indication of leaking objects during drag-drop, which a few XP users have also observed, or it may just be x2 being too touchy

the only way to be sure would be to open a scrap frame, put in 2 files (each from a different folder), select+right drag them and see what happens (click on Ignore button to get rid of the assertion message box).

If there is no leak, you'll see in the debug output window that the object reference count has reached zero and no memory leaks will be reported by x2 when the program ends. Otherwise there's a real problem!
User avatar
Morning Star
Bronze Member
Bronze Member
Posts: 114
Joined: 2003 Feb 21, 04:26
Location: Australia

Post by Morning Star »

Ok. So I have two files from different directories in a scrap frame. If I right-click-drag to the other pane of the dual scrap frame, and select insert-here ot cancel, no problem. If I drag them into a folder back in the main pane or tree, the same assert message appears...

I hope that helps...
It is my job to comfort the disturbed,
and to disturb the comfortable.
User avatar
Morning Star
Bronze Member
Bronze Member
Posts: 114
Joined: 2003 Feb 21, 04:26
Location: Australia

Post by Morning Star »

I just noticed, that assert comes up whenever I drag'n'drop, independant of which mouse button is used... so its not just right-click-drags that cause it...
It is my job to comfort the disturbed,
and to disturb the comfortable.
User avatar
nikos
Site Admin
Site Admin
Posts: 16341
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

i tried it on my XP and there were no problems, so the issue is fishy
wrt the little experiment with the 2 files in the scrap frame, please drag-drop to a target that is going to generate the assertion error. When it occurs click on Ignore button and see the output in the DBMON window. You'll see some lines like

MDOB(xxxx): Release, current lock count = xx

where all these xx will be some numbers
if the lock count goes down to zero, you're ok, otherwise there's a leak
also, when you quit x2 after this experiment, you can check the dbmon output right at the end for any reports of memory leaks that should reinforce the results of the experiment