Jump to content


mp3 recording applet creates huge amount of temp files


  • You cannot reply to this topic
3 replies to this topic

#1 Ron

    Member

  • Members
  • PipPip
  • 11 posts

Posted 10 December 2008 - 10:43 AM

The log file tells me:

Java Plug-in 1.6.0_07
Using JRE version 1.6.0_07 Java HotSpot™ Client VM
User home directory = C:\Users\Person
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
OS: Windows Vista
VERSION:1.3.20.1
Mp3 Dll version
DEMO_VERSION
Maximal time of record is 0:0:20
current Java specification version: 1.6
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Loading library C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar...
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win0.tar
Cannot delete file C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win0.tar. Try another name.
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win1.tar
Cannot delete file C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win1.tar. Try another name.
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win2.tar
Cannot delete file C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win2.tar. Try another name.
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win3.tar
Cannot delete file C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win3.tar. Try another name.
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win4.tar
Cannot delete file C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win4.tar. Try another name.
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win5.tar
Cannot delete file C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win5.tar. Try another name.
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win6.tar
Cannot delete file C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win6.tar. Try another name.
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win7.tar
Cannot delete file C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win7.tar. Try another name.
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win8.tar
Cannot delete file C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win8.tar. Try another name.
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win9.tar
Cannot delete file C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win9.tar. Try another name.
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win10.tar
Cannot delete file C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win10.tar. Try another name.
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win11.tar
Cannot delete file C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win11.tar. Try another name.
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win12.tar
Cannot delete file C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win12.tar. Try another name.
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win13.tar
Cannot delete file C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win13.tar. Try another name.
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win14.tar
Cannot delete file C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win14.tar. Try another name.
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win15.tar
Cannot delete file C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win15.tar. Try another name.
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win16.tar
Cannot delete file C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win16.tar. Try another name.
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win17.tar
Cannot delete file C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win17.tar. Try another name.
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win18.tar
Cannot delete file C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win18.tar. Try another name.
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win19.tar
Cannot delete file C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win19.tar. Try another name.
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win20.tar
Cannot delete file C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win20.tar. Try another name.
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win21.tar
Cannot delete file C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win21.tar. Try another name.
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win22.tar
Loading library C:\Users\Person\AppData\Local\Temp\\Vimas\\jaudioMp3Win22.tar...
Library loaded...
Library version : 8
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a

This has probably something to do with user rights management under Windows Vista? I'm running Windows Vista Ultimate X64. The test was done using Firefox 3.0.4



#2 Sergey

    Advanced Member

  • Moderators
  • PipPipPip
  • 298 posts
  • Gender:Male
  • Location:Kyiv, Ukraine

Posted 17 December 2008 - 04:58 PM

Hi Ron,
sorry for delayed response.
I reviewed the Java console content.
Applet finally loaded the library from audio module. So, it is not the bug, but success loading was done after a few attempts. Probably you reloaded web page with applet before it. Isn't it? How frequently it happens?

#3 Ron

    Member

  • Members
  • PipPip
  • 11 posts

Posted 17 December 2008 - 05:22 PM

Hi, no problem. I appreciate your help.

In this particular case, the next time the applet is run, a file, jaudioMp3Win23.tar will be created. The next time a file jaudioMp3Win24.tar will be created etc. For each call of the applet an incremental file is created.

This error occurs only when the applet is already running in another browser window. For some reason it does not load the library which is already in use by the other applet (jaudioMp3Win.tar) but starts creating a new library.

The applet then works fine however, but it's not very nice to have so many temporary files.

#4 Ron

    Member

  • Members
  • PipPip
  • 11 posts

Posted 26 March 2009 - 11:07 AM

Reproducing this problem:

- open 2 browser windows
- in one window surf to: http://vimas.com/mp3.php
- in the other window surf to a applet on a different URL

Now you see this appearing:

OS: Windows Vista
VERSION:1.3.20.4
Mp3 Dll version
DEMO_VERSION
Maximal time of record is 0:0:20
current Java specification version: 1.6
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Loading library C:\Users\Ron\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar...
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Ron\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Ron\AppData\Local\Temp\\Vimas\\jaudioMp3Win0.tar
Loading library C:\Users\Ron\AppData\Local\Temp\\Vimas\\jaudioMp3Win0.tar...
Library loaded...

Library version : 8
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a


- Refresh the second window

OS: Windows Vista
VERSION:1.3.20.4
Mp3 Dll version
DEMO_VERSION
Maximal time of record is 0:0:20
current Java specification version: 1.6
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Loading library C:\Users\Ron\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar...
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Ron\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Ron\AppData\Local\Temp\\Vimas\\jaudioMp3Win0.tar
Cannot delete file C:\Users\Ron\AppData\Local\Temp\\Vimas\\jaudioMp3Win0.tar. Try another name.
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Ron\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Ron\AppData\Local\Temp\\Vimas\\jaudioMp3Win1.tar
Loading library C:\Users\Ron\AppData\Local\Temp\\Vimas\\jaudioMp3Win1.tar...
Library loaded...

Library version : 8
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a


- and refresh again ....

OS: Windows Vista
VERSION:1.3.20.4
Mp3 Dll version
DEMO_VERSION
Maximal time of record is 0:0:20
current Java specification version: 1.6
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Loading library C:\Users\Ron\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar...
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Ron\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Ron\AppData\Local\Temp\\Vimas\\jaudioMp3Win0.tar
Cannot delete file C:\Users\Ron\AppData\Local\Temp\\Vimas\\jaudioMp3Win0.tar. Try another name.
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Ron\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Ron\AppData\Local\Temp\\Vimas\\jaudioMp3Win1.tar
Cannot delete file C:\Users\Ron\AppData\Local\Temp\\Vimas\\jaudioMp3Win1.tar. Try another name.
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
Copy new instance of DLL from C:\Users\Ron\AppData\Local\Temp\\Vimas\\jaudioMp3Win.tar to C:\Users\Ron\AppData\Local\Temp\\Vimas\\jaudioMp3Win2.tar
Loading library C:\Users\Ron\AppData\Local\Temp\\Vimas\\jaudioMp3Win2.tar...
Library loaded...

Library version : 8
local file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a
remote file hash: bc6865f5f6741c5ab07bd0c274ae8359a081d95a


This problem does not occur when the applet is hosted on the same domain!






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users