Opened 14 years ago

Closed 14 years ago

#185 closed defect (fixed)

Hang when calling file open dialog once or twice

Reported by: KO Myung-Hun 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 by rudi, 14 years ago

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

comment:2 by KO Myung-Hun, 14 years ago

Ooops...

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

comment:3 by Silvan Scherrer, 14 years ago

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 by Silvan Scherrer, 14 years ago

Milestone: Qt EnhancedQt 4.6.3
Priority: blockermajor
Severity: highesthigh

comment:5 by rudi, 14 years ago

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 by KO Myung-Hun, 14 years ago

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 by Dmitry A. Kuminov, 14 years ago

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 by Dmitry A. Kuminov, 14 years ago

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 by Dmitry A. Kuminov, 14 years ago

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

comment:10 by KO Myung-Hun, 14 years ago

Exactly same.

comment:11 by Dmitry A. Kuminov, 14 years ago

Should be fixed in r805.

comment:12 by Dmitry A. Kuminov, 14 years ago

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

comment:13 by Dmitry A. Kuminov, 14 years ago

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 by KO Myung-Hun, 14 years ago

Ok, it works well here, too.

Thanks.

comment:15 by Dmitry A. Kuminov, 14 years ago

Resolution: fixed
Status: newclosed

Thanks for testing.

Note: See TracTickets for help on using tickets.