OreCruncher / BetterRain

Based on the BetterRain mod from Wirsbo
20 stars 12 forks source link

Log Spam with Footsteps. #70

Closed Fortist closed 3 years ago

Fortist commented 8 years ago

When walking on a block it doesnt know, It slows the game to a single picture, while spamming the log with this

[05:22:12] [Thread-24/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:         invalid block type
[05:22:12] [Thread-24/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:     STACK TRACE:
[05:22:12] [Thread-24/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:         java.util.zip.InflaterInputStream.read(Unknown Source)
[05:22:12] [Thread-24/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:         paulscode.sound.codecs.CodecJOrbis.readBytes(CodecJOrbis.java:633)
[05:22:12] [Thread-24/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:         paulscode.sound.codecs.CodecJOrbis.readAll(CodecJOrbis.java:381)
[05:22:12] [Thread-24/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:         paulscode.sound.libraries.LibraryLWJGLOpenAL.loadSound(LibraryLWJGLOpenAL.java:393)
MultiMC stopped watching the game log because the log length surpassed 100000 lines.
You may have to fix your mods because the game is still loggging to files and likely wasting harddrive space at an alarming rate!

I think this happened with Footsteps when I tried it before.

Oh, and it was upon entering Random Things' spectral dimension, which is made of spectral block.

OreCruncher commented 8 years ago

Do you happen to know the block?

EDIT: Loaded up RT and when to the Spectral Dimension. Sounds and logging are fine.

[04:40:51] [Client thread/INFO] [dsurround]: Primitive found for stone:1.00_1.00
[04:40:51] [Client thread/INFO] [dsurround]:   Playing acoustic brickstone for event DOWN
[04:40:51] [Client thread/INFO] [dsurround]:     Playing sound dsurround:fs.concrete.concrete_walk (v0.47, p0.98)
[04:40:51] [Client thread/INFO] [dsurround]: Primitive found for stone:1.00_1.00
[04:40:51] [Client thread/INFO] [dsurround]: Primitive found for stone:1.00_1.00
[04:40:51] [Client thread/INFO] [dsurround]:   Playing acoustic brickstone for event LAND
[04:40:51] [Client thread/INFO] [dsurround]:     Playing sound dsurround:fs.concrete.concrete_run (v0.46, p1.05)
[04:40:51] [Client thread/INFO] [dsurround]:     Playing sound dsurround:fs.concrete.concrete_walk (v0.25, p1.00)
[04:40:51] [Client thread/INFO] [dsurround]:   Playing acoustic brickstone for event LAND

(This trace is with the mods debugging turned on.)

Fortist commented 8 years ago

I believe its the [black] spectral block itself. 1.7.10, btw. Though, I had put a layer of cobblestone down. I also had the "Sound filter" mod, and I thought that had caused it, but after removing it, same thing happened.

OreCruncher commented 8 years ago

Same thing - black spectral blocks are working for me. If you can get this to occur reliably can you set the "Enable Debug Logging" in the dsurround.cfg to true, trigger the problem, and then post a link to the log trace?

Fortist commented 8 years ago

Ill try it out in a bit. Could maybe be something down the line, but Im not completely sure.

Fortist commented 8 years ago

I tried to reproduce but It isnt happening, for now. Ill keep using and come back if this happens again. Though there is one thing I havent tried but I dont think it is relevant. .

O13SC3N3 commented 8 years ago

I had a similar error, but I assumed it was cuz my pack runs a custom music pack. So I buffed up the streams and channels and haven't seen it since. Nothing block related yet tho.

Fortist commented 8 years ago
[12:33:06] [Thread-24/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:     ERROR MESSAGE:
[12:33:06] [Thread-24/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:         invalid code lengths set
[12:33:06] [Thread-24/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:     STACK TRACE:
[12:33:06] [Thread-24/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:         java.util.zip.InflaterInputStream.read(Unknown Source)
[12:33:06] [Thread-24/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:         paulscode.sound.codecs.CodecJOrbis.readBytes(CodecJOrbis.java:633)
[12:33:06] [Thread-24/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:         paulscode.sound.codecs.CodecJOrbis.readAll(CodecJOrbis.java:381)
[12:33:06] [Thread-24/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:         com.tmtravlr.soundfilters.ModifiedLWJGLOpenALLibrary.loadSound(ModifiedLWJGLOpenALLibrary.java:321)
[12:33:06] [Thread-24/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:         com.tmtravlr.soundfilters.ModifiedLWJGLOpenALLibrary.newSource(ModifiedLWJGLOpenALLibrary.java:523)
[12:33:06] [Thread-24/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:         paulscode.sound.SoundSystem.CommandNewSource(SoundSystem.java:1800)
[12:33:06] [Thread-24/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:         paulscode.sound.SoundSystem.CommandQueue(SoundSystem.java:2415)
[12:33:06] [Thread-24/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:         paulscode.sound.CommandThread.run(CommandThread.java:121)

Okay, Happened again after updating, which I dont think it caused it but just noting. Same dimension, same things in it. This time I kept the sound filters on, and thus it shows up in the spam. I may try the guy above's method, and see if that does anything. This might actually be Sound filter's fault but It works with downgraded DS, in the same instance and setting.

OreCruncher commented 8 years ago

It looks like it is having trouble reading a sound file from a resource. Unfortunately I don't know which one. If you enable debug there should be information related to which sound is playing (assuming it is the Footsteps stuff).

Fortist commented 8 years ago

It's fine. Again. Looking through the logs myself and nothing is popping out at me in terms of errors. Though, I did manually set channels way higher. (And now that I saw, I didnt turn off Auto Channels) I could post the chunk of log of me running around for a few minutes, but I dont think it's necessary.

OreCruncher commented 8 years ago

If running on Windows you may want to check the event log to see if there are any errors being reported - maybe its a bad read. I can't eliminate there being a bad sound file - just a matter of figuring out which one if it is a problem.

Fortist commented 8 years ago

Back again, and I found a cause for this.

I was in my mesa biome home and there was a Thermal Expansion mob (Basalz or whatever the yellow one is) and it got close to my home in the mountain and then My game started to lag really bad and I had to forcefully close it, getting that log spam. After switching to peaceful and removing them from spawning, Ive never had the problem again. This was a few months ago.

Im gonna delete my configs for this and just try it straight out of the box and test again. Also removed the sound filters mod before the second crash

EDIT: Steam power was breaking sound by itself, disregard

Fortist commented 8 years ago

[17:33:23] [Thread-28/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: invalid block type [17:33:23] [Thread-28/INFO]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: STACK TRACE: [17:33:23] [Thread-28/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: java.util.zip.InflaterInputStream.read(Unknown Source)

Fortist commented 8 years ago

A Blitz and Basalz (White/yellow flying one, and the grey dark one) floating nearby while breaking hard clay blocks in a mesa biome