View Issue Details

IDProjectCategoryView StatusLast Update
0008099MMW v4Framework: Scripts/Extensionspublic2011-10-09 02:08
Reporterrusty Assigned To 
PriorityurgentSeveritycrashReproducibilitysometimes
Status closedResolutionfixed 
Product Version4.0 
Target Version4.0Fixed in Version4.0 
Summary0008099: Thread creation error: not enough storage space to process this command
DescriptionScript that worked fine in MM3 is now generating this error after being used for a few minutes. Beta users report similar experiences with other scripts.

To replicate:
Install RightClickForWeb
Tag lyrics or comments of several tracks
-->Error pops up endlessly. MM must be terminated using task manager.
OR
-->MM makes a short buzz and then crashes

Debug log attached.
Additional Informationhttp://www.mediamonkey.com/forum/viewtopic.php?f=6&t=58314
TagsNo tags attached.
Attached Files
Thread creation error.LOG (524,786 bytes)
WebSearch.xml (929 bytes)   
<?xml version="1.0" encoding="ISO-8859-15"?>
<configuration>

  <site>
    <name>terraletras</name>
    <caption>Terra Letras</caption>
    <description>Search current title's lyrics in Terra Letras</description>
    <start>about:blank</start>
    <url>http://letras.terra.com.br/winamp.php?musica=%title%&amp;artista=%artist%</url>
  </site>
 
    <site>
    <name>lyricwiki</name>
    <caption>LyricWiki.org</caption>
    <description>Search for lyrics on LyricWiki.org</description>
    <start>about:blank</start>
    <url>http://lyricwiki.org/api.php?artist=%artist%&amp;song=%title%&amp;fmt=html</url>
  </site>

   <site>
    <name>GoogleLyrics</name>
    <caption>Google Lyrics</caption>
    <description>Search lyrics in Google</description>
    <start>http://www.google.com</start>
    <url>http://www.google.com/search?q=allinurl:+"%artist%"+"%title%"+lyrics</url>
  </site>

</configuration>
WebSearch.xml (929 bytes)   
Fixed in build1427

Relationships

related to 0006734 closedLudek UPnP starts >10 threads 
has duplicate 0004828 closedLudek Thread creation error: Not enough storage is available to process this command. 
related to 0008323 closedLudek DLNA Crash 

Activities

rusty

2011-07-08 02:04

administrator   ~0026628

Comment from Nyn:
Unfortunately I do not know how to reproduce this one, it happens sporadically and the only consistent thing about it is it happens when I am editing tracks and/or album art and trying to either move to the next track or save the track at the same time the playing track moves to the next track to play. Or sometimes it can happen when the now playing track is moving to the next track when another program takes the focus away from mm, something that takes more than a few seconds. I will try to create a debug but it is going to be hard to try to pin down.

Ludek

2011-07-10 19:31

developer   ~0026686

Where I can download the script?

jiri

2011-07-10 21:56

administrator   ~0026690

Just search the forum: http://www.mediamonkey.com/forum/viewtopic.php?f=2&t=26875

Ludek

2011-07-12 09:58

developer   ~0026731

Fixed in build 1406.

Ludek

2011-08-01 14:38

developer   ~0027043

Last edited: 2011-08-01 15:07

Re-opened as this issue re-appears in last MM4 builds, see this EL: http://www.ventismedia.com/mantis/file_download.php?file_id=838&type=bug and this link:
http://www.mediamonkey.com/forum/viewtopic.php?f=6&t=58314&hilit=thread+creation&start=15#p306905

User wrote: "Switched to a playlist from web view.", I have some suspicions, but I need more info.

gege

2011-08-01 19:08

reporter   ~0027046

I have reproduced this with 1413, using "WebSearch Panels" script (http://www.mediamonkey.com/forum/viewtopic.php?f=2&t=11254)

Ludek

2011-08-02 11:50

developer   ~0027054

Gege, could you give me some exact steps to reproduce?
1. I downloaded websearchpanels.2007-05-14.mmip from http://code.google.com/p/mm-scripts/downloads/list
2. Installed the script
3. Clicked 'Web Lookup' button -> Now Playing -> ...
=> Something opened in IE

but I believe that these are not the right steps to reproduce this issue.

What are yours?

gege

2011-08-03 00:49

reporter   ~0027058

OK, I'll try to explain how I reproduce the error.

It occurs when I use WebSearch panels to tag lyrics in my tracks. I like to view various lyrics sources at once, so I can choose the best lyrics. Thus, my usual scenario is MM with Lyrics Viewer panel open, plus two or three panels for WebSearch (which means, up to four IE instances!).

My normal tagging process is this:
- Play a song and wait for the lyrics to appear in the panels.
- Select the lyrics in one of the panels and press corresponding "Lyrics" button.
- Wait for the lyrics to appear in Lyrics Viewer panel, just to check if everything went fine.
- Press Next song button and start the process again.

In general, the error appears when I change from one track to another, with all those panels open, but this reproducibility is kinda erratic. I mean, sometimes the error appears, other times it doesn't.

Pressing "OK" to dismiss the error message allows me to proceed with my activities. But then MM will not close nicely. Only way to close it is by killing the process in Task Manager.


Other useful info:
- IE 9.0.8112.16421 32bit
- Reproduced in 1408 and 1413
- WebSearch installer is a bit old, so I installed it as administrator, for all users, as it used to be in MM3, just to ensure compatibility.
- Bundled panels in WebSearch installer may be outdated, so I suggest using the WebSearch.xml file I'm attaching to this issue.

petr

2011-08-08 15:25

developer   ~0027098

Added names to all gen threads so we'll see what thread(s) causing problems.

rusty

2011-08-09 02:46

administrator   ~0027120

Last edited: 2011-08-09 02:48

This error occurred for me with build 1415, simply by scrolling through videos in AA view (no addons installed).

Elog posted.

petr

2011-08-09 11:42

developer   ~0027125

Fixed in 1416

Ludek

2011-09-01 13:41

developer   ~0027433

Last edited: 2011-09-01 13:41

The 'thread creation error' still appears in 1424 as note here:
http://www.mediamonkey.com/forum/viewtopic.php?f=6&t=58314&p=310124#p310121

And also Martin experienced it here:
http://www.ventismedia.com/mantis/view.php?id=8323#c27432

Ludek

2011-09-02 01:36

developer   ~0027439

Last edited: 2011-09-02 12:39

Fixed in build 1427 and enhanced debug messages for better debugging.

Also reduced stack size for UPnP.dll threads as suggested here: http://msdn.microsoft.com/en-us/library/ms686774(v=vs.85).aspx , this is because of issue 0006734

peke

2011-10-09 02:08

developer   ~0028151

Verified 1441