stashapp / stash

An organizer for your porn, written in Go. Documentation: https://docs.stashapp.cc
https://stashapp.cc/
GNU Affero General Public License v3.0
9.32k stars 801 forks source link

[Bug Report] Severe program failure #5484

Closed onlyhooops closed 2 hours ago

onlyhooops commented 3 hours ago

Describe the bug I don't know why, but my stash suddenly crashes whenever I switch between tabs and returns to normal after refreshing the page. The exact error message is below: SyntaxError: Invalid regular expression: /?/gm: Nothing to repeat at Q (http://192.168.1.5:9999/assets/GalleryCard-e38da4e6.js:1:1219) at div at st (http://192.168.1.5:9999/assets/GalleryList-9ba9892c.js:1:9860) at An (http://192.168.1.5:9999/assets/ItemList-20c3aa7d.js:1:34558) at div at Xn (http://192.168.1.5:9999/assets/ItemList-20c3aa7d.js:1:35222) at ob2 (http://192.168.1.5:9999/assets/index-e7ce1972.js:44:420331) at lb2 (http://192.168.1.5:9999/assets/index-e7ce1972.js:44:420983) at m32 (http://192.168.1.5:9999/assets/index-e7ce1972.js:44:419850) at cb2 (http://192.168.1.5:9999/assets/index-e7ce1972.js:44:420125) at m32 (http://192.168.1.5:9999/assets/index-e7ce1972.js:44:419850) at Jn (http://192.168.1.5:9999/assets/ItemList-20c3aa7d.js:1:37017) at ht (http://192.168.1.5:9999/assets/GalleryList-9ba9892c.js:1:10422) at Ii (http://192.168.1.5:9999/assets/Galleries-836bd95f.js:1:24846) at t (http://192.168.1.5:9999/assets/index-e7ce1972.js:40:9217) at t (http://192.168.1.5:9999/assets/index-e7ce1972.js:40:11169) at Ta (http://192.168.1.5:9999/assets/Galleries-836bd95f.js:1:24894) at t (http://192.168.1.5:9999/assets/index-e7ce1972.js:40:9217) at t (http://192.168.1.5:9999/assets/index-e7ce1972.js:40:11169) at Suspense at MI (http://192.168.1.5:9999/assets/index-e7ce1972.js:44:527633) at div at po2 (http://192.168.1.5:9999/assets/index-e7ce1972.js:54:51419) at W02 (http://192.168.1.5:9999/assets/index-e7ce1972.js:49:3901) at B32 (http://192.168.1.5:9999/assets/index-e7ce1972.js:44:436983) at Suspense at F32 (http://192.168.1.5:9999/assets/index-e7ce1972.js:44:435063) at u32 (http://192.168.1.5:9999/assets/index-e7ce1972.js:44:416296) at t (http://192.168.1.5:9999/assets/index-e7ce1972.js:40:75570) at MI (http://192.168.1.5:9999/assets/index-e7ce1972.js:44:527633) at Object.apply (http://192.168.1.5:9999/assets/index-e7ce1972.js:44:433487) at Vy2 (http://192.168.1.5:9999/assets/index-e7ce1972.js:64:196511) at mj (http://192.168.1.5:9999/assets/index-e7ce1972.js:19:183832) at t (http://192.168.1.5:9999/assets/index-e7ce1972.js:40:5733) at t (http://192.168.1.5:9999/assets/index-e7ce1972.js:40:12243) To Reproduce Steps to reproduce the behavior:

I'm getting the above glitch when switching tabs (between pictures, videos, gallery), and I'm running the program in debian (I've tested it in docker and it's doing the same thing), even if I downgrade or upgrade to a beta version.

onlyhooops commented 2 hours ago

I uploaded the video of the malfunction:https://www.youtube.com/watch?v=E1cdfEoAgAw

DogmaDragon commented 2 hours ago

Duplicate of https://github.com/stashapp/stash/issues/5481

DogmaDragon commented 2 hours ago

As of v0.27.0, tagger configuration was moved from browser storage to config.yml to make it persistent. You can remove invalid regex from config.yml file.

Search for

    taggerConfig:
        blacklist: