[mb-bugs] [MusicBrainz Bug Tracker] #3851: Event Handle leak on XP

View: New views
9 Messages — Rating Filter:   Alert me  

[mb-bugs] [MusicBrainz Bug Tracker] #3851: Event Handle leak on XP

by MusicBrainz Bug Tracker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#3851: Event Handle leak on XP
------------------------------------------------+---------------------------
 Reporter:  anonymous                           |        Type:  bug          
   Status:  new                                 |    Priority:  important    
Milestone:                                      |   Component:  Picard Tagger
  Version:  Picard 0.9.0                        |    Keywords:              
  Browser:  Netscape, Firefox, Mozilla (Gecko)  |          Os:  Linux        
------------------------------------------------+---------------------------
 Watching Picard 0.9.0 run under Process Explorer, I noticed that it was
 using ~7000 handles (most of them of type Event) after scanning about 350
 mp3s.  Unfortunately, I don't know Python, so I can't dig into it myself.
 But a bit of searching led me to this blog post that could describe this
 problem:

 http://www.voidspace.org.uk/python/weblog/arch_d7_2008_01_05.shtml#e917

 I can't tag my full collection until this is fixed, so I'm looking forward
 to a fix. Thanks!

--
Ticket URL: <http://bugs.musicbrainz.org/ticket/3851>
MusicBrainz Bug Tracker <http://musicbrainz.org>
MusicBrainz -- the music metadatabase
_______________________________________________
Musicbrainz-bugs mailing list
Musicbrainz-bugs@...
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-bugs

Re: [mb-bugs] [MusicBrainz Bug Tracker] #3851: Event Handle leak on XP

by MusicBrainz Bug Tracker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#3851: Event Handle leak on XP
-------------------------------------------------+--------------------------
  Reporter:  anonymous                           |       Owner:              
      Type:  bug                                 |      Status:  new        
  Priority:  important                           |   Milestone:              
 Component:  Picard Tagger                       |     Version:  Picard 0.9.0
Resolution:                                      |    Keywords:              
   Browser:  Netscape, Firefox, Mozilla (Gecko)  |          Os:  Windows XP  
-------------------------------------------------+--------------------------
Changes (by voiceinsideyou):

  * os:  Linux => Windows XP

Comment:

 Cheers for the bug report. Logging it as non-anonymous would have been
 more helpful again!

 You could tag your collection in chunks of 30-40 releases in any case; a
 Picard restart after each chunk isn't such a big deal (not that I've
 needed to usually, but maybe just because I have lots of memory.

--
Ticket URL: <http://bugs.musicbrainz.org/ticket/3851#comment:1>
MusicBrainz Bug Tracker <http://musicbrainz.org>
MusicBrainz -- the music metadatabase
_______________________________________________
Musicbrainz-bugs mailing list
Musicbrainz-bugs@...
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-bugs

Re: [mb-bugs] [MusicBrainz Bug Tracker] #3851: Event Handle leak on XP

by MusicBrainz Bug Tracker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#3851: Event Handle leak on XP
-------------------------------------------------+--------------------------
  Reporter:  anonymous                           |       Owner:              
      Type:  bug                                 |      Status:  new        
  Priority:  important                           |   Milestone:              
 Component:  Picard Tagger                       |     Version:  Picard 0.9.0
Resolution:                                      |    Keywords:              
   Browser:  Netscape, Firefox, Mozilla (Gecko)  |          Os:  Windows XP  
-------------------------------------------------+--------------------------
Comment (by OutsideContext):

 Is this related to #3851?

--
Ticket URL: <http://bugs.musicbrainz.org/ticket/3851#comment:2>
MusicBrainz Bug Tracker <http://musicbrainz.org>
MusicBrainz -- the music metadatabase
_______________________________________________
Musicbrainz-bugs mailing list
Musicbrainz-bugs@...
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-bugs

Re: [mb-bugs] [MusicBrainz Bug Tracker] #3851: Event Handle leak on XP

by MusicBrainz Bug Tracker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#3851: Event Handle leak on XP
-------------------------------------------------+--------------------------
  Reporter:  anonymous                           |       Owner:              
      Type:  bug                                 |      Status:  new        
  Priority:  important                           |   Milestone:              
 Component:  Picard Tagger                       |     Version:  Picard 0.9.0
Resolution:                                      |    Keywords:              
   Browser:  Netscape, Firefox, Mozilla (Gecko)  |          Os:  Windows XP  
-------------------------------------------------+--------------------------
Comment (by anonymous):

 Well, this is 3851.

--
Ticket URL: <http://bugs.musicbrainz.org/ticket/3851#comment:3>
MusicBrainz Bug Tracker <http://musicbrainz.org>
MusicBrainz -- the music metadatabase
_______________________________________________
Musicbrainz-bugs mailing list
Musicbrainz-bugs@...
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-bugs

Re: [mb-bugs] [MusicBrainz Bug Tracker] #3851: Event Handle leak on XP

by MusicBrainz Bug Tracker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#3851: Event Handle leak on XP
-------------------------------------------------+--------------------------
  Reporter:  anonymous                           |       Owner:              
      Type:  bug                                 |      Status:  new        
  Priority:  important                           |   Milestone:              
 Component:  Picard Tagger                       |     Version:  Picard 0.9.0
Resolution:                                      |    Keywords:              
   Browser:  Netscape, Firefox, Mozilla (Gecko)  |          Os:  Windows XP  
-------------------------------------------------+--------------------------
Comment (by outsidecontext):

 lol, don't know what I mixed up here.

--
Ticket URL: <http://bugs.musicbrainz.org/ticket/3851#comment:4>
MusicBrainz Bug Tracker <http://musicbrainz.org>
MusicBrainz -- the music metadatabase
_______________________________________________
Musicbrainz-bugs mailing list
Musicbrainz-bugs@...
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-bugs

Re: [mb-bugs] [MusicBrainz Bug Tracker] #3851: Event Handle leak on XP

by MusicBrainz Bug Tracker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#3851: Event Handle leak on XP
-------------------------------------------------+--------------------------
  Reporter:  anonymous                           |       Owner:              
      Type:  bug                                 |      Status:  new        
  Priority:  important                           |   Milestone:              
 Component:  Picard Tagger                       |     Version:  Picard 0.9.0
Resolution:                                      |    Keywords:              
   Browser:  Netscape, Firefox, Mozilla (Gecko)  |          Os:  Windows XP  
-------------------------------------------------+--------------------------
Comment (by davitof):

 from http://forums.musicbrainz.org/viewtopic.php?pid=6357#p6357 this might
 be relevant:

 Tests using XP Sp3 and Picard 0.11.

 First test: When Picard is started, Process Explorer reports it uses 254
 handles. I loaded 47 mp3, analysed them, recovered release data for 36 of
 them from MB, sent PUIDs, wrote them back to disk, then manually cleaned
 both treeviews so that it was as empty as when Picard started. Process
 Explorer reported 464 handles. But the handle list Process Explorer
 displays was almost identical (it contains only about 100 elements) so
 that I can't figure what kind of handles were apparently wasted.

 Second test: I loaded Picard, dragged some already analysed and saved
 files into it and let him to everything automatically. Then I cleaned
 everything manually without saving anything. Before: 254 handles. After:
 496 handles.

 Third test: I loaded Picard (252 handles), dropped 10 never analysed mp3,
 then removed them without analysing them (272 handles), re-dropped the
 same mp3 again and removed them again (still 272 handles), re-dropped the
 10 files, clustered them and removed them (324 handles), dropped 10 new
 files and removed them again (back to 302 handles!!!). So it seems the
 left-hand treeview is not responsible for the handle leak. Then I loaded
 94 mp3 (it happened I had a 94 tracks release to send to MB :-)
 http://musicbrainz.org/show/release/?releaseid=555234 for those who are
 curious), I clustered them and I asked Picard to analyse them. Since the
 release has no PUIDs currently in MB, Picard could not retrieve the
 release from MB. Then I cleared the treeview manually and I checked
 Process Explorer: 568 handles! Just to be sure there was not some kind of
 delayed garbage collection, I waited t few minutes, asked Picard to
 minimize and restore, but still Picard kept those handles. 568-302 = 266.
 I don't see any obvious relation to the number of tracks loaded.

 Fourth test: I reloaded Picard (252 handles) and dropped the 94 mp3 in it,
 but this time I did not cluster them. I asked Picard to analyse the list.
 Picard claimed 579 handles. I cleared the treeview and the number of
 handles fell back to 294 :-(

 Fifth test: I loaded Picard, dropped the 94 mp3, clustered them and asked
 Picard to analyse them. Picard reached 566 handles. Then I deleted the
 cluster and Picard stayed at 566 handles.

--
Ticket URL: <http://bugs.musicbrainz.org/ticket/3851#comment:5>
MusicBrainz Bug Tracker <http://musicbrainz.org>
MusicBrainz -- the music metadatabase
_______________________________________________
Musicbrainz-bugs mailing list
Musicbrainz-bugs@...
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-bugs

Re: [mb-bugs] [MusicBrainz Bug Tracker] #3851: Event Handle leak on XP

by MusicBrainz Bug Tracker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#3851: Event Handle leak on XP
-------------------------------------------------+--------------------------
  Reporter:  anonymous                           |       Owner:              
      Type:  bug                                 |      Status:  new        
  Priority:  important                           |   Milestone:              
 Component:  Picard Tagger                       |     Version:  Picard 0.9.0
Resolution:                                      |    Keywords:              
   Browser:  Netscape, Firefox, Mozilla (Gecko)  |          Os:  Windows XP  
-------------------------------------------------+--------------------------
Comment (by UpSa):

 Some more information taken from WinDbg.

 All the unclosed handles looks like this one :


 {{{
 --------------------------------------
 Handle 4a8
   Type          Event
   Attributes    0
   GrantedAccess 0x1f0003:
          Delete,ReadControl,WriteDac,WriteOwner,Synch
          QueryState,ModifyState
   HandleCount   2
   PointerCount  3
   Name          <none>
   Object Specific Information
     Event Type Auto Reset
     Event is Waiting
 --------------------------------------
 Handle = 0x000004a8 - OPEN
 Thread ID = 0x00000f88, Process ID = 0x00000aa0
 0x018a249e: _qt!qt_plugin_instance_qjpeg+0x00449db6
 0x0186b027: _qt!qt_plugin_instance_qjpeg+0x0041293f
 0x01880484: _qt!qt_plugin_instance_qjpeg+0x00427d9c
 0x018804d5: _qt!qt_plugin_instance_qjpeg+0x00427ded
 0x010b7951: _qt+0x00027951
 --------------------------------------
 }}}

--
Ticket URL: <http://bugs.musicbrainz.org/ticket/3851#comment:6>
MusicBrainz Bug Tracker <http://musicbrainz.org>
MusicBrainz -- the music metadatabase
_______________________________________________
Musicbrainz-bugs mailing list
Musicbrainz-bugs@...
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-bugs

Re: [mb-bugs] [MusicBrainz Bug Tracker] #3851: Event Handle leak on XP

by MusicBrainz Bug Tracker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#3851: Event Handle leak on XP
-------------------------------------------------+--------------------------
  Reporter:  anonymous                           |       Owner:            
      Type:  bug                                 |      Status:  new        
  Priority:  important                           |   Milestone:            
 Component:  Picard Tagger                       |     Version:  Picard 0.11
Resolution:                                      |    Keywords:            
   Browser:  Netscape, Firefox, Mozilla (Gecko)  |          Os:  Windows XP
-------------------------------------------------+--------------------------
Changes (by UpSa):

  * version:  Picard 0.9.0 => Picard 0.11

--
Ticket URL: <http://bugs.musicbrainz.org/ticket/3851#comment:7>
MusicBrainz Bug Tracker <http://musicbrainz.org>
MusicBrainz -- the music metadatabase
_______________________________________________
Musicbrainz-bugs mailing list
Musicbrainz-bugs@...
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-bugs

Re: [mb-bugs] [MusicBrainz Bug Tracker] #3851: Event Handle leak on Windows OS

by MusicBrainz Bug Tracker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#3851: Event Handle leak on Windows OS
----------------------------+-----------------------------------------------
  Reporter:  anonymous      |       Owner:                                    
      Type:  bug            |      Status:  new                              
  Priority:  important      |   Milestone:  Picard 0.12                      
 Component:  Picard Tagger  |     Version:  Picard 0.12.0beta2                
Resolution:                 |    Keywords:                                    
        Os:  Windows 7      |     Browser:  Netscape, Firefox, Mozilla (Gecko)
----------------------------+-----------------------------------------------
Changes (by UpSa):

  * summary:  Event Handle leak on XP => Event Handle leak on Windows OS
  * os:  Windows XP => Windows 7
  * version:  Picard 0.11 => Picard 0.12.0beta2
  * milestone:  => Picard 0.12

--
Ticket URL: <http://bugs.musicbrainz.org/ticket/3851#comment:8>
MusicBrainz Bug Tracker <http://musicbrainz.org>
MusicBrainz -- the music metadatabase
_______________________________________________
Musicbrainz-bugs mailing list
Musicbrainz-bugs@...
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-bugs