[Solved] UMS 3.0+ producing negative buffer
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
[Solved] UMS 3.0+ producing negative buffer
Hi UMS team. First off I'd just like to thank you guys for this marvelous program. Keep up the great work!
I just have a couple issues with the recent versions of UMS 3.0 and higher. Now when playing certain streams on Jumpy or navi-X I am getting a lot of negative buffers for the videos and they just seem to hang on a black screen. I've provided an example illustrated in the picture attached. I am also getting multiple Java errors that you can see in my debug log; heap space, out of memory, bound exceptions...etc.
My laptop is Windows 8 64 bit with the latest Java, running UMS 3.1.2.1 and 3.0 prior both producing the same errors. I also have PMS 1.80 running with no buffer or java errors.
On my desktop my system is Vista 32 bit with the latest version of Java. On that system I have UMS 2.5.1 and PMS 1.70 running with no buffer or Java errors. I've tried to adjust buffer size and heap space but nothing has worked. Any help is appreciated
I just have a couple issues with the recent versions of UMS 3.0 and higher. Now when playing certain streams on Jumpy or navi-X I am getting a lot of negative buffers for the videos and they just seem to hang on a black screen. I've provided an example illustrated in the picture attached. I am also getting multiple Java errors that you can see in my debug log; heap space, out of memory, bound exceptions...etc.
My laptop is Windows 8 64 bit with the latest Java, running UMS 3.1.2.1 and 3.0 prior both producing the same errors. I also have PMS 1.80 running with no buffer or java errors.
On my desktop my system is Vista 32 bit with the latest version of Java. On that system I have UMS 2.5.1 and PMS 1.70 running with no buffer or Java errors. I've tried to adjust buffer size and heap space but nothing has worked. Any help is appreciated
- Attachments
-
- negative buffer.jpg (89.24 KiB) Viewed 13801 times
-
- ums_dbg.zip
- (41.99 KiB) Downloaded 519 times
Re: UMS 3.0+ producing negative buffer and multiple Java err
Hi R9deLima Can you please try the alpha and beta versions of 3.0.0? That way we can try to see when exactly the problem started. You can find all the old releases here
Re: UMS 3.0+ producing negative buffer and multiple Java err
Code: Select all
INFO 2013-11-30 19:58:31.274 [StartPlaying Event] Started playing The Avengers ** 2012 ** (mHD-720p) on your PlayStation 3
DEBUG 2013-11-30 19:58:31.280 [StartPlaying Event] The full filename of which is: http://v03.hugefiles.net:182/d/ljo3kdtrfo6xvoksl6xonuet33ixgitazxmmwwlflnja7os3vgbiwpes/video.mkv and the address of the renderer is: 192.168.1.115
DEBUG 2013-11-30 19:58:32.748 [Request Handler] Setting InputStream new position to: 9,223,372,034,706,767,871
INFO 2013-11-30 19:58:48.289 [Request Handler] Exception in thread "Request Handler" java.lang.OutOfMemoryError: Java heap space
INFO 2013-11-30 19:58:48.293 [Request Handler] at java.util.Arrays.copyOf(Unknown Source)
INFO 2013-11-30 19:58:48.294 [Request Handler] at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
INFO 2013-11-30 19:58:48.295 [Request Handler] at java.lang.AbstractStringBuilder.ensureCapacityInternal(Unknown Source)
INFO 2013-11-30 19:58:48.296 [Request Handler] at java.lang.AbstractStringBuilder.append(Unknown Source)
INFO 2013-11-30 19:58:48.297 [Request Handler] at java.lang.StringBuilder.append(Unknown Source)
INFO 2013-11-30 19:58:48.298 [Request Handler] at java.util.Arrays.toString(Unknown Source)
INFO 2013-11-30 19:58:48.299 [Request Handler] at net.pms.io.BufferedOutputFileImpl.read(BufferedOutputFileImpl.java:725)
INFO 2013-11-30 19:58:48.301 [Request Handler] at net.pms.io.WaitBufferedInputStream.read(WaitBufferedInputStream.java:54)
INFO 2013-11-30 19:58:48.304 [Request Handler] at net.pms.io.WaitBufferedInputStream.read(WaitBufferedInputStream.java:64)
INFO 2013-11-30 19:58:48.305 [Request Handler] at net.pms.network.Request.sendBytes(Request.java:862)
INFO 2013-11-30 19:58:48.306 [Request Handler] at net.pms.network.Request.answer(Request.java:829)
INFO 2013-11-30 19:58:48.307 [Request Handler] at net.pms.network.RequestHandler.run(RequestHandler.java:245)
INFO 2013-11-30 19:58:48.308 [Request Handler] at java.lang.Thread.run(Unknown Source)
is this file hosted on something that you only have access to?
Please remember to Upload your debug logs!
Universal Media Server Wiki!
"...functionality before beautification..."
Re: UMS 3.0+ producing negative buffer and multiple Java err
@Subjunk, thanks for the quick response. As soon as I get a chance to test out the alpha and beta versions I will post some logs.
@Deflanko, that was just a stream that I played from Navi-x so I'm not sure why the ip address is invalid? It should be opened to anybody. Maybe the person hosting that file on Navi-x removed it recently?
I'll get back on here as quick as I can with some results. Thanks guys.
@Deflanko, that was just a stream that I played from Navi-x so I'm not sure why the ip address is invalid? It should be opened to anybody. Maybe the person hosting that file on Navi-x removed it recently?
I'll get back on here as quick as I can with some results. Thanks guys.
Re: UMS 3.0+ producing negative buffer and multiple Java err
R9deLima wrote:@Subjunk, thanks for the quick response. As soon as I get a chance to test out the alpha and beta versions I will post some logs.
@Deflanko, that was just a stream that I played from Navi-x so I'm not sure why the ip address is invalid? It should be opened to anybody. Maybe the person hosting that file on Navi-x removed it recently?
I'll get back on here as quick as I can with some results. Thanks guys.
The same goes for the other files tried in the error logs too, i got a "Forbidden" on both
Please remember to Upload your debug logs!
Universal Media Server Wiki!
"...functionality before beautification..."
Re: UMS 3.0+ producing negative buffer and multiple Java err
Hi Subjunk,
So I did some testing and this is one what I found running the same two streams on each version of UMS and one for PMS. I've included logs to compare all of them.
-UMS 2.5.1 & PMS 1.80- Streams ran perfectly. No negative buffering or java errors
-UMS 3.0.0-a1- Streams ran perfectly, but took a bit longer to load up than UMS 2.5.1/PMS 1.80. No negative buffering or java errors.
-UMS 3.0.0-b1-Negative buffering and multiple java errors. Same results as versions 3.0 and 3.1.2.1. So between alpha 1 and beta 1 I'm not sure what changed.
DeFlanko, the streams I used are from regular Jumpy addons and run perfect on my end on various versions. Maybe they are restricted to certain regions?? If you'd like me to test something else let me know.
Thanks again guys!
So I did some testing and this is one what I found running the same two streams on each version of UMS and one for PMS. I've included logs to compare all of them.
-UMS 2.5.1 & PMS 1.80- Streams ran perfectly. No negative buffering or java errors
-UMS 3.0.0-a1- Streams ran perfectly, but took a bit longer to load up than UMS 2.5.1/PMS 1.80. No negative buffering or java errors.
-UMS 3.0.0-b1-Negative buffering and multiple java errors. Same results as versions 3.0 and 3.1.2.1. So between alpha 1 and beta 1 I'm not sure what changed.
DeFlanko, the streams I used are from regular Jumpy addons and run perfect on my end on various versions. Maybe they are restricted to certain regions?? If you'd like me to test something else let me know.
Thanks again guys!
- Attachments
-
- UMS 2.5.1 & PMS 1.80 debug.rar
- (69.85 KiB) Downloaded 526 times
-
- UMS 3.0.0-a1 debug.rar
- (37.83 KiB) Downloaded 527 times
-
- UMS 3.0.0-b1 debug.rar
- (60.73 KiB) Downloaded 521 times
Re: UMS 3.0+ producing negative buffer and multiple Java err
If it works for you then I guess its ok
Please remember to Upload your debug logs!
Universal Media Server Wiki!
"...functionality before beautification..."
- Optimus_prime
- Posts: 678
- Joined: Fri Jun 01, 2012 6:39 pm
- Location: Sydney, Australia
Re: UMS 3.0+ producing negative buffer and multiple Java err
What about 3.2.0 R9deLima, are you getting the same results?
How Ask For Support
Remember, Debug Log's Can/Will Help and Explain your issues, we're not mind reader's but here to help
OS's I Use And Can Assist With: Windows 7/8, Mac OS-X 10.8 & 10.9
Mac OS-X Java 7 Builds Mac OS-X Java 7 Forum
Remember, Debug Log's Can/Will Help and Explain your issues, we're not mind reader's but here to help
OS's I Use And Can Assist With: Windows 7/8, Mac OS-X 10.8 & 10.9
Mac OS-X Java 7 Builds Mac OS-X Java 7 Forum
Re: UMS 3.0+ producing negative buffer and multiple Java err
Hi Optimus,
I just tested 3.2 and I'm getting the same negative buffers and java errors. 3.0.0-a1 works perfect, but I haven't tested anything between alpha 2 to 5. Beta version 1 is giving me errors so maybe that's where the root of the problem is. If it would help to test some of the other alpha versions let me know. Thanks!!
I just tested 3.2 and I'm getting the same negative buffers and java errors. 3.0.0-a1 works perfect, but I haven't tested anything between alpha 2 to 5. Beta version 1 is giving me errors so maybe that's where the root of the problem is. If it would help to test some of the other alpha versions let me know. Thanks!!
Re: UMS 3.0+ producing negative buffer and multiple Java err
Hey guys, just thought i'd update you on the problems I have been having. I tried using UMS 3.4 and the results are a bit different from that of 3.2 or 3.3. In the previous versions when playing streams I was getting negative buffers in the billions. Sometimes the streams will play after a while or just hang.
Now using UMS 3.4 the buffer fluctuates rapidly between 0 and a positive number. The streams i'm attempting will try to play, but stutter and skip to the next video or stream on the playlist. Here is a debug of streams from the veetle addon. Its the same issue with all the addons . Hopefully someone can take a look and identify what's going on. Thanks in advance!
Now using UMS 3.4 the buffer fluctuates rapidly between 0 and a positive number. The streams i'm attempting will try to play, but stutter and skip to the next video or stream on the playlist. Here is a debug of streams from the veetle addon. Its the same issue with all the addons . Hopefully someone can take a look and identify what's going on. Thanks in advance!
- Attachments
-
- dbg_ums.rar
- (89.58 KiB) Downloaded 506 times