Opened 9 years ago

Closed 9 years ago

#185 closed defect (fixed)

Hang when calling file open dialog once or twice

Reported by: komh Owned by:
Priority: major Milestone: Qt 4.6.3
Component: QtGui Version: 4.6.2
Severity: high Keywords:
Cc:

Description

Hi/2.

If using file open dialog once or twice, Qt4 apps hang.

You can reproduce this using SMPlayer like this.

  1. Open a file using file open dialog.
  2. Stop playing.
  3. Open a different file (in a different directory) using file open dialog.
  4. Hang

At r801.

Change History (15)

comment:1 Changed 9 years ago by rudi

Hmm, here this works flawlessly (Just opened about 15 files using SMPlayer 0.6.9, Qt r803).

comment:2 Changed 9 years ago by komh

Ooops...

Am I the only person encountering this problem ? T.T

comment:3 Changed 9 years ago by diver

i also open regulary files in smplayer, but i never had a hang so far.

i always use the non dive mode, as i have panorama

comment:4 Changed 9 years ago by diver

  • Milestone changed from Qt Enhanced to Qt 4.6.3
  • Priority changed from blocker to major
  • Severity changed from highest to high

comment:5 Changed 9 years ago by rudi

Ko,

do you have NetDrive? installed ? If so, does it also hang when NetDrive? is disabled ? Did you check, if the app becomes responsive again after several (5..10) minutes ?

comment:6 Changed 9 years ago by komh

Yes, I'm using NetDrive?. Even though disabling it, the apps hang. But, it sometimes responds after several minutes.

Maybe would you mind providing QtCore4.dll and QtGui4.dll for testing ? And if possible, QtNet4.dll and QtXml4.dll, too.

I want to check whether this is my build environment problem or not.

comment:7 Changed 9 years ago by dmik

I can neither confirm the problem. SMPlayer 0.6.9-b2.Tried it on a NetDrive? too BTW. If you still need binaries, pick them up at ftp://ftp.dmik.org/tmp/qqqttt803.zip.

comment:8 Changed 9 years ago by dmik

But I do have the complete SMPlayer UI freeze (no CPU load) when I open a 1.4G movie for the first time. No matter locally or from NetDrive?/SMB. The freeze may last for several minutes. I think what you see is the same.

comment:9 Changed 9 years ago by dmik

Interesting that this hang here happens before mplayer.exe is even launched, just after you close the Open dialog.

comment:10 Changed 9 years ago by komh

Exactly same.

comment:11 Changed 9 years ago by dmik

Should be fixed in r805.

comment:12 Changed 9 years ago by dmik

The improved file system watcher is new to 4.6.3, this is why it didn't hang with 4.6.2.

comment:13 Changed 9 years ago by dmik

For those who wonders why the problem didn't happen to them, it's timings: in your case, the watcher thread was attempted to stop only once and that's why it worked. A small update in r806, please test this revision if you haven't already done so.

comment:14 Changed 9 years ago by komh

Ok, it works well here, too.

Thanks.

comment:15 Changed 9 years ago by dmik

  • Resolution set to fixed
  • Status changed from new to closed

Thanks for testing.

Note: See TracTickets for help on using tickets.