Bugs / design glitches

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

User avatar
fgagnon
Site Admin
Site Admin
Posts: 3737
Joined: 2003 Sep 08, 19:56
Location: Springfield

x2 process hangs after WMP runs in QV

Post by fgagnon »

nikos,
I (finally) have come upon a reproducible case where x2 process stays open after closing all windows.
It happens every time, if I have viewed a media file in QuickView pane, where x2 calls WMP.

[edit:]I got a dbmon spew as described in PM I sent.

PS - following is the "tail" of that dbmon output, likely when problem was triggered:
...
...
4072: >>>>> TREE: expanding node...
4072: *** TID=ac4, Generating folder instance '::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\C:\Documents and Settings\Dan'
4072: Filesystem path = C:\Documents and Settings\Dan
4072: Shell attributes: (0x7080017f) FILESYSANCESTOR | FILESYSTEM | STORAGEANCESTOR |
4072: DESCRIPTIONID: 3(FS_DIRECTORY) : {00000000-0000-0000-0000-000000000000}
4072: Assigned folder type: FITYPE_NORMAL [forced]
4072: Folder CLSID: {F3364BA0-65B9-11CE-A9BA-00AA004AE837}
4072: Enumerated 16 objects in the folder, code=1
4072: <<<<< TREE: node expanded (ok)
*********** At this point, noted 8 threads in kenny process
*********** selected a .mpg file, winMediaPlayer then shows blank "screen in QV pane, still 8 threads in process
*********** Next L-Click on playarrow in QView pane; threads=11, then 12 & video plays in QV pane
*********** threads go as high as 13 and back to 11 when video finishes, then get following dbmon output:
4072: @@@ thread_ac4 unexpected WM_NULL for 0
4072: Thread ac4 pump: unrecognized message 0 ignored
4072: @@@ thread_ac4 unexpected WM_NULL for 0
4072: Thread ac4 pump: unrecognized message 0 ignored
*********** Now I close x2, * get following dbmon output:
4072: ThreadID=ac4: Destroying frame 0x002001ae 'ATL:ExplorerFrame' [xplorer? - Dan's Documents @ C:\...]
*********** At this point x2 application is closed (no open windows) but threads=8

ABOVE IS VERY REPEATABLE
WMP 9.000.00.3075 ON XP-PRO, SP1
{x2 debug version 1.0.0.2 executable dated 7/4/04}
[/edit]

____________________________________________________________________________________________
User avatar
nikos
Site Admin
Site Admin
Posts: 16296
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

i can't reproduce that with wmp 7.1
what happens if you close the previewer pane before quitting x2?
User avatar
fgagnon
Site Admin
Site Admin
Posts: 3737
Joined: 2003 Sep 08, 19:56
Location: Springfield

Post by fgagnon »

If I close the preview pane; then quit x2, the process stays open, but nthreads drops to 7.

PS: I cannot duplicate the problem on w98 with wmp 6.4
... nor with wmp 7.01 on another w98 machine, so problem must be interfacing with a new "feature" in wmp 8 or 9 :(
Last edited by fgagnon on 2004 Jul 18, 18:56, edited 1 time in total.
User avatar
nikos
Site Admin
Site Admin
Posts: 16296
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

right, i have installed the latest wmp 9 on w2000 and sure enough i can see the problem

it's case closed hunting this bug it seems, thanks fred!
(let's hope it is fixable though :o)
ckit
Silver Member
Silver Member
Posts: 269
Joined: 2004 Jun 10, 12:24

Post by ckit »

nikos wrote:right, i have installed the latest wmp 9 on w2000 and sure enough i can see the problem

it's case closed hunting this bug it seems, thanks fred!
(let's hope it is fixable though :o)
I can reproduce this bug as well using Process Explorer v8.41. xplorer2.exe keeps running with 0-1% CPU usage, this is terrible :(

xplorer2 lite v1.0.0.2, WMP 9 build 3128 (very latest patches) and Win2k SP4 (very latest hotfixes)
User avatar
nikos
Site Admin
Site Admin
Posts: 16296
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

this isn't going to be easy to fix either
wmp9 somehow hijacks x2's message pump (the heart of the program) to do some useless visual effects -- or whatever else it's trying to do -- and as a result messages get lost, including the all important quit message; it never reaches the intended recipient and x2 hangs

god damn you balmer!
(i bet it's all his fault since he is the stingy clown behind money cutting exercises at m$; pay peanuts get monkeys for programmers :x )
ckit
Silver Member
Silver Member
Posts: 269
Joined: 2004 Jun 10, 12:24

Post by ckit »

You couldn't dump Microsoft's previewing engine for XnView's GFL SDK - http://perso.wanadoo.fr/pierre.g/xnview/engfl.html

Only problem is I'm not sure it's supports video/audio playback.
User avatar
nikos
Site Admin
Site Admin
Posts: 16296
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

most computers have wmp, anything else must be installed separately
User avatar
nikos
Site Admin
Site Admin
Posts: 16296
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

here's the fixed version:
www.ps.ic.ac.uk/~umeca74/dbmon.zip (700K)
it is in debug mode and only unicode, but most people should be able to run it

please let me know if there are any problems
User avatar
fgagnon
Site Admin
Site Admin
Posts: 3737
Joined: 2003 Sep 08, 19:56
Location: Springfield

Post by fgagnon »

nikos wrote:here's the fixed version:
www.ps.ic.ac.uk/~umeca74/dbmon.zip (700K)
it is in debug mode and only unicode, but most people should be able to run it
please let me know if there are any problems
excellent! :D
That corrects the issue for me with wmp 9.00.00.3075 on w2k.
[edit]I checked with same wmp version on XP-pro SP1 at home & it's good too.:D [/edit]
timtr
New Member
Posts: 2
Joined: 2004 Jul 22, 00:53

Post by timtr »

here's the fixed version:
www.ps.ic.ac.uk/~umeca74/dbmon.zip (700K)
it is in debug mode and only unicode, but most people should be able to run it
please let me know if there are any problems
I had been hoping I wasn't imagining this problem for quite some time, and it's great to hear there is a fix, but I'm not sure how dbmon "fixes" this. Maybe I'm dumb :)

~Tim
User avatar
fgagnon
Site Admin
Site Admin
Posts: 3737
Joined: 2003 Sep 08, 19:56
Location: Springfield

Post by fgagnon »

It was not yor imagination, timtr -- If you have been watching the board closely, you should have noted that there has been an ongoing search for a specific 'trigger' to this issue, for a month or more.

And, no, dbmon does not fix the problem. It's just that nikos put a "debug build" of a candidate update for x2 in that dbmon.zip file (along with the debug monitor software & a readme file for explanation)

Initial indications are that nikos has found a solution, and we will likely see the result in a bugfix release by month's end (pending further testing).
timtr
New Member
Posts: 2
Joined: 2004 Jul 22, 00:53

Post by timtr »

Ok, great, thanks! I look forward to it and great work Nikos ;)
User avatar
nikos
Site Admin
Site Admin
Posts: 16296
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

timtr, don't be misled by the download name, this is xplorer2 1003
please try it yourself to confirm that it doesn't hang anymore