plasmoapp / plasmo-voice

Proximity voice сhat mod for Minecraft
GNU Lesser General Public License v3.0
225 stars 63 forks source link

Crash when microphone activates in singleplayer #375

Open Conquerix opened 8 months ago

Conquerix commented 8 months ago

Hi,

I'm using plasmo voice 1.20.7 in 1.20.1 and when I activate the micro in single player, the game completely freezes and I have to close it with alt f4.

Haven't connected to a server yet, as I need to make one for the pack I am using.

Apehum commented 8 months ago

Send latest.log after closing the game using alt+f4

Conquerix commented 8 months ago

Here it is, the bug happens exactly when the mod tries to send some sound, either when I activate push to talk, or when it is set on voice detection and it detects some sound coming from the micro.

latest.log

Here is the full mod list used when testing ## Core Mods * [Farmer's Delight](https://modrinth.com/mod/farmers-delight-fabric) * [Expanded Delight](https://modrinth.com/mod/expanded-delight) * [Chef's Delight](https://modrinth.com/mod/chefs-delight) * [Farmer's Knifes](https://modrinth.com/mod/farmers-knives) * [Festive Delight](https://modrinth.com/mod/festive-delight) * [EMI](https://modrinth.com/mod/emi) * [EMI Trades](https://modrinth.com/mod/emitrades) * [EMIffect](https://modrinth.com/mod/emiffect) * [EMI Extra mod integrat](https://modrinth.com/mod/extra-mod-integrations) ## Interface * [Elytra Slot](https://modrinth.com/mod/elytra-slot) * [Totem Slot](https://modrinth.com/mod/charm-of-undying) * [Tool Stats](https://modrinth.com/mod/tool-stats) * [Equipment Compare](https://modrinth.com/mod/equipment-compare) * [Legendary Tooltips](https://modrinth.com/mod/legendary-tooltips) * [Item Highlighter](https://modrinth.com/mod/item-highlighter) * [Durability Tooltips](https://modrinth.com/mod/durability-tooltip) * [Idwtialsimmoedm](https://modrinth.com/mod/idwtialsimmoedm) * [3D Skin Layer](https://modrinth.com/mod/3dskinlayers) * [Traveler's Titles](https://modrinth.com/mod/travelers-titles) * [Effect Tooltips](https://modrinth.com/mod/effect-tooltips) * [AppleSkin](https://modrinth.com/mod/appleskin) * [Disable Insecure Chat Toast](https://modrinth.com/mod/disableinsecurechattoast) * [Fix Keyboard on linux](https://modrinth.com/mod/fix-keyboard-on-linux) * [Stendhal](https://modrinth.com/mod/stendhal) * [BetterF3](https://modrinth.com/mod/betterf3) * [PickUp Notifier](https://modrinth.com/mod/pick-up-notifier) * [MouseTweaks](https://modrinth.com/mod/mouse-tweaks) * [CIT Resewn](https://modrinth.com/mod/cit-resewn) * [Rebind Narrator](https://modrinth.com/mod/rebind-narrator) * [Puzzle](https://modrinth.com/mod/puzzle) * [Mod Menu](https://modrinth.com/mod/modmenu) * [Armor Poser](https://modrinth.com/mod/armor-poser) * [Amecs](https://modrinth.com/mod/amecs) * [Zoomify](https://modrinth.com/mod/zoomify) * [Polymorph](https://modrinth.com/mod/polymorph) * [Visuality](https://modrinth.com/mod/visuality) * [Controlling](https://modrinth.com/mod/controlling) * [Not Enough Animations](https://modrinth.com/mod/not-enough-animations) * [Visual Workbench](https://modrinth.com/mod/visual-workbench) * [Falling Leaves](https://modrinth.com/mod/fallingleaves) * [Ambient Environment](https://modrinth.com/mod/ambient-environment) * [Presence Footsteps](https://modrinth.com/mod/presence-footsteps) * [Ambient Sounds](https://modrinth.com/mod/ambientsounds) * [Custom Splash Screen](https://modrinth.com/mod/custom-splash-screen) * [Suggestion Tweaker](https://modrinth.com/mod/suggestion-tweaker) * [Transmog](https://modrinth.com/mod/transmog) * [Adaptive Tooltips](https://modrinth.com/mod/adaptive-tooltips) * [Trash Slot](https://modrinth.com/mod/trashslot) * [Continuity](https://modrinth.com/mod/continuity) * [LambDynamicLights](https://modrinth.com/mod/lambdynamiclights) * [Craftify](https://modrinth.com/mod/craftify) * [Main Menu Credits](https://modrinth.com/mod/main-menu-credits) * [Xaero's World map](https://modrinth.com/mod/xaeros-world-map) * [Xaero's Mini map](https://modrinth.com/mod/xaeros-minimap) * [More Chat History](https://modrinth.com/mod/morechathistory) * [Name Pain](https://modrinth.com/mod/name-pain) * [Ping Spam](https://modrinth.com/mod/pingspam) ## World Gen / Biomes / Dimensions * [Galosphere](https://modrinth.com/mod/galosphere) * [ChoiceTheorem's Overhauled Village](https://modrinth.com/mod/ct-overhaul-village) * [Farmer's Delight Compat](https://modrinth.com/datapack/ctov-farmers-delight-compat) * [Chef's Delight Compat](https://modrinth.com/datapack/ctov-chefs-delight-compat) * [Beautify Compat](https://modrinth.com/datapack/ctov-beautify-compat) * [VillagersPlus Compat](https://modrinth.com/datapack/ctov-villagers-plus-compat) * [Friends&Foes Compat](https://modrinth.com/datapack/ctov-friends-and-foes-compat) * [Gazebos Compat](https://modrinth.com/datapack/ctov-gazebo-compat) * [Paladins&Priests Compat](https://modrinth.com/datapack/ctov-paladins-n-priests-compat) * Yung's Mod suite * [Better Dungeons](https://modrinth.com/mod/yungs-better-dungeons) * [Better Mineshafts](https://modrinth.com/mod/yungs-better-mineshafts) * [Better Ocean Monuments](https://modrinth.com/mod/yungs-better-ocean-monuments) * [Better Witch Huts](https://modrinth.com/mod/yungs-better-witch-huts) * [Better Desert Temples](https://modrinth.com/mod/yungs-better-desert-temples) * [Better Jungle Temples](https://modrinth.com/mod/yungs-better-jungle-temples) * [Better Nether Fortresses](https://modrinth.com/mod/yungs-better-nether-fortresses) * [Extras](https://modrinth.com/mod/yungs-extras) * [Explorify](https://modrinth.com/datapack/explorify) * [Dungeons and Taverns](https://modrinth.com/datapack/dungeons-and-taverns) * [Philip's ruins](https://modrinth.com/mod/philips-ruins) * [Moog's Voyager Structures](https://modrinth.com/mod/moogs-voyager-structures) * [Moog's End Structures](https://modrinth.com/mod/mes-moogs-end-structures) * [Traverse](https://modrinth.com/mod/traverse) * [The Corners, compatibility to be tested](https://modrinth.com/mod/the-corners) * [Not Just Biomes](https://modrinth.com/mod/not-just-biomes) * [Cinderscape](https://modrinth.com/mod/cinderscapes) * [Stellarity](https://modrinth.com/datapack/stellarity) * [Tectonic](https://modrinth.com/datapack/tectonic) * [Deeper Darker](https://modrinth.com/mod/deeperdarker) * [Promenade](https://modrinth.com/mod/promenade) ## Ores, Items and Blocks * [Brewery](https://modrinth.com/mod/brewery) * [Beautify](https://modrinth.com/mod/beautify-refabricated) * [Mythic Metals](https://modrinth.com/mod/mythicmetals) * [Mythic Metals Decorations](https://modrinth.com/mod/mythicmetals-decorations) * [Artifacts](https://modrinth.com/mod/artifacts) * [Comforts](https://modrinth.com/mod/comforts) * [Just a Baguette](https://modrinth.com/mod/just-a-baguette) * [Consistency+](https://modrinth.com/mod/consistencyplus) * [Supplementaries](https://modrinth.com/mod/supplementaries) * [Mystical Oak Tree](https://www.modrinth.com/mod/mystical-oak-tree) * [Decorative blocks](https://modrinth.com/mod/decorative-blocks) * [Handcrafted](https://modrinth.com/mod/handcrafted) * [Connected Glass](https://modrinth.com/mod/connected-glass) * [Twigs](https://modrinth.com/mod/twigs) * [Another Furniture](https://modrinth.com/mod/another-furniture) * [Additional Lanterns](https://modrinth.com/mod/additional-lanterns) * [Chimes](https://modrinth.com/mod/windchimes) * [Stoneworks](https://modrinth.com/mod/stoneworks) * [Clutter](https://modrinth.com/mod/clutter) * [Infinity Buttons](https://modrinth.com/mod/infinitybuttons) * [Minerally](https://modrinth.com/mod/minerally) * [Modern Dynamics](https://modrinth.com/mod/modern-dynamics) * [Spelunkery](https://modrinth.com/mod/spelunkery) * [Rechiseled](https://modrinth.com/mod/rechiseled) * [Alloy Forgery](https://modrinth.com/mod/alloy-forgery) ## Mobs * [Friends&Foes](https://modrinth.com/mod/friends-and-foes) * [VillagersPlus](https://modrinth.com/mod/villagersplus) * [Ender Zoology](https://modrinth.com/mod/ender-zoology) * [Creeper Overhaul](https://modrinth.com/mod/creeper-overhaul) * [Naturalist](https://modrinth.com/mod/naturalist) * [Nyf's Spiders](https://modrinth.com/mod/nyfs-spiders) * [Bosses of Mass Destruction](https://modrinth.com/mod/bosses-of-mass-destruction) * [Muntant Monsters](https://modrinth.com/mod/mutant-monsters) * [The Graveyard](https://modrinth.com/mod/the-graveyard-fabric) * [AdventureZ](https://modrinth.com/mod/adventurez) * [Mob Captains](https://modrinth.com/datapack/mob-captains) ## Gameplay * [PlasmoVoice](https://modrinth.com/plugin/plasmo-voice) * [SwingThrough](https://modrinth.com/mod/swingthrough) * [VeinMine Enchant](https://modrinth.com/mod/vein-mining) * [Glowing Ores TO GO IN A RESOURCE PACK CATEGORY](https://www.curseforge.com/minecraft/texture-packs/modded-glowing-ores) * [Frostiful](https://modrinth.com/mod/frostiful) * [Snow! Real Magic](https://modrinth.com/mod/snow-real-magic) * [Dungeon Difficulty](https://modrinth.com/mod/dungeon-difficulty) * [Qu Enchantments](https://modrinth.com/mod/qu-enchantments) * [Scriptor Magicae](https://modrinth.com/mod/scriptor-magicae) * [WTHIT](https://modrinth.com/mod/wthit) * [Yuushya Modelling](https://modrinth.com/mod/yuushya-modelling) * [Fabric Seasons](https://modrinth.com/mod/fabric-seasons) * [HUD](https://modrinth.com/mod/seasonhud-fabric) * [Traverse Compat](https://modrinth.com/mod/fabric-seasons-terraformers-compat) * [Terralith Compat](https://modrinth.com/mod/fabric-seasons-terralith-compat) * [Farmer's Delight Compat](https://modrinth.com/mod/fabric-seasons-delight-compat) * [Crawl](https://modrinth.com/mod/crawl) * [Leaf Decay](https://modrinth.com/mod/accelerated-decay) * [HT'S TreeChop](https://modrinth.com/mod/treechop) * [RPG Series] * [Wizards](https://modrinth.com/mod/wizards) * [Paladins & Priests](https://modrinth.com/mod/paladins-and-priests) * [Gazebos](https://modrinth.com/mod/gazebos) * [Trash Cans](https://modrinth.com/mod/trash-cans) * [Brazier](https://modrinth.com/mod/brazier) * [Slabs into Blocks](https://modrinth.com/mod/craft-slabs-back-into-blocks) * [Do A Barrel Roll](https://modrinth.com/mod/do-a-barrel-roll) * [Numismatic Overhaul](https://modrinth.com/mod/numismatic-overhaul) * [Sanguine](https://modrinth.com/datapack/sanguine) * [Manic](https://modrinth.com/datapack/manic) * [NerverMore](https://modrinth.com/datapack/nevermore) * [DungeonZ](https://modrinth.com/mod/dungeonz) ## Miscellanous * [Simple Discord Rich Presence](https://modrinth.com/mod/simple-discord-rpc) * [AutoTag](https://modrinth.com/mod/autotag) * [Music Maker Mod](https://modrinth.com/mod/music-maker-mod) * [Jump Over Fences](https://modrinth.com/mod/jump-over-fences) * [Fast Move](https://modrinth.com/mod/fastmove) * [Max Health Fix](https://modrinth.com/mod/max-health-fix) * [Every Compat : Wood Good](https://modrinth.com/mod/every-compat) * [Almost Unified](https://modrinth.com/mod/almost-unified) * [Item Model Fix](https://modrinth.com/mod/modelfix) * [LibreExpFix](https://modrinth.com/mod/libre-exp-fix) * [Elytra Aeronautics](https://modrinth.com/mod/elytra-aeronautics) * [Lanterns Belong on Walls](https://modrinth.com/mod/lanterns-bow) * [Carry On](https://modrinth.com/mod/carry-on) * [Gravestones](https://modrinth.com/mod/gravestones) * [Backrooms](https://modrinth.com/mod/backrooms) * [Tempad](https://modrinth.com/mod/tempad) * [No Telemetry](https://modrinth.com/mod/no-telemetry) * [Borderless Mining](https://modrinth.com/mod/borderless-mining) * [Horse Buff](https://modrinth.com/mod/horsebuff) * [Attribute Fix](https://modrinth.com/mod/attributefix) * [Max Enchant X](https://modrinth.com/mod/max-enchant-x) ## Optimisation * [AntiGhost](https://modrinth.com/mod/antighost) * [StarLight](https://modrinth.com/mod/starlight) * [Sodium](https://modrinth.com/mod/sodium) * [Extras](https://modrinth.com/mod/sodium-extra) * [Reese's options](https://modrinth.com/mod/reeses-sodium-options) * [Indium](https://modrinth.com/mod/indium) * [Iris](https://modrinth.com/mod/iris) * [MemoryLeakFix](https://modrinth.com/mod/memoryleakfix) * [Lithium](https://modrinth.com/mod/lithium) * [Lazy Language Loader](https://modrinth.com/mod/lazy-language-loader) * [Krypton](https://modrinth.com/mod/krypton) * [ImmediatelyFast](https://modrinth.com/mod/immediatelyfast) * [FerriteCore](https://modrinth.com/mod/ferrite-core) * [Fast Load](https://modrinth.com/mod/fastload) * [FastAnim](https://modrinth.com/mod/fastanim) * [Exordium](https://modrinth.com/mod/exordium) * [Entity Culling](https://modrinth.com/mod/entityculling) * [Dynamic Fps](https://modrinth.com/mod/dynamic-fps) * [Better Beds](https://modrinth.com/mod/better-beds) * [Hold That Chunk](https://modrinth.com/mod/hold-that-chunk) * [ThreadTweak](https://modrinth.com/mod/threadtweak) * [ForceCloseWorldLoadingScreen](https://modrinth.com/mod/forcecloseworldloadingscreen) * [XXL Packets](https://modrinth.com/mod/xxl-packets) ## Admin Tools * [Scannable](https://modrinth.com/mod/scannable) * [IBE Editor](https://modrinth.com/mod/ibe-editor) * [Yosbr](https://modrinth.com/mod/yosbr) * [Observable](https://modrinth.com/mod/observable) * [KubeJS](https://modrinth.com/mod/kubejs) * [LootJS](https://modrinth.com/mod/lootjs) * [MoreJS](https://modrinth.com/mod/morejs) * [Additions](https://modrinth.com/mod/kubejs-additions) * [Offline Doc](https://modrinth.com/mod/kubejs-offline) * [No Chat Reports](https://modrinth.com/mod/no-chat-reports) * [Better Command Block UI](https://modrinth.com/mod/bettercommandblockui) * [StackDeObfuscator](https://modrinth.com/mod/stackdeobf) * [Switchy](https://modrinth.com/mod/switchy) * [Styled nicknames](https://modrinth.com/mod/styled-nicknames) * [Fabric Tailor](https://modrinth.com/mod/fabrictailor) * [Origins](https://modrinth.com/mod/origins) * [Statures](https://modrinth.com/mod/tinkerers-statures) * [Pehkui](https://modrinth.com/mod/pehkui) * [Better Compatibility Checker](https://modrinth.com/mod/better-compatibility-checker) ## 3rd Party mods * [Backpacked](https://www.curseforge.com/minecraft/mc-mods/backpacked-fabric) * [LICENSE](https://github.com/MrCrayfish/Backpacked/blob/multiloader/1.20.X/LICENSE.txt) * [Framework](https://www.curseforge.com/minecraft/mc-mods/framework) * [LICENSE](https://github.com/MrCrayfish/Framework/blob/multiloader/1.20.X/LICENSE) * [Identity](https://www.curseforge.com/minecraft/mc-mods/identity) * [LICENSE](https://github.com/Draylar/identity/blob/arch-1.20.1/LICENSE) * Macaw's Mods (permission to put in a pack in faq) * [Bridges](https://www.curseforge.com/minecraft/mc-mods/macaws-bridges) * [Fences & Walls](https://www.curseforge.com/minecraft/mc-mods/macaws-fences-and-walls) * [Doors](https://www.curseforge.com/minecraft/mc-mods/macaws-doors) * [Trapdoors](https://www.curseforge.com/minecraft/mc-mods/macaws-trapdoors) * [Roofs](https://www.curseforge.com/minecraft/mc-mods/macaws-roofs) * [Windows](https://www.curseforge.com/minecraft/mc-mods/macaws-windows) * [Lights and Lamps](https://www.curseforge.com/minecraft/mc-mods/macaws-lights-and-lamps) * [Paths & Pavings](https://www.curseforge.com/minecraft/mc-mods/macaws-paths-and-pavings) * [Paintings](https://www.curseforge.com/minecraft/mc-mods/macaws-paintings)
Apehum commented 8 months ago

Does this freeze occurs with only PV installed?

Conquerix commented 8 months ago

Just tested with only PV installed, same problem. latest.log

A friend tested with the same pack as me and doesn't have any issue.

The only difference is that he is using windows, and I use linux (nixos)

Apehum commented 8 months ago

Try to add -Dplasmovoice.disable_natives=true to java args

Conquerix commented 8 months ago

It works! Thank you!

Is there a page in the documentation that references flags like this one ?

Apehum commented 6 months ago

Can you try 2.1.0 version without java arg? https://github.com/plasmoapp/plasmo-voice/releases/tag/2.1.0-SNAPSHOT

Conquerix commented 5 months ago

Hi, sorry for not answering sooner, this version works perfectly !