-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I don't know if its vfs.rar but it seems like long folder and file names cause crashes #68
Comments
I will soon see what happens with it and fix it, I hadn't tested that long path yet. Thanks for report. |
Another example: 2020-03-20 16:10:31.855 T:6188 DEBUG: AddOnLog: RAR archive support: CRARControl::ArchiveList: List file from Seems it's always the subtitles that causes issues. |
I have noticed the same problem with the new 2.2.2 version. I think it is caused by rars inside rars. In @kraaa's example, the rar contains a rar which contains a An easy way to trigger the crash: browse the subtitles rar, then attempting to add the
This makes it look like a recursion problem. Looking at my library update logs, I see |
I don't know. I got like 1000 rar in rar with subtitles that don't make Kodi crash hm... |
I also have some that don't make it crash while scanning but please try to browse one that has a rar inside a rar, see if there's a |
Yes it does indeed crash. Hm but I got my scan to exclude sub folders. Dunno why It scans them. |
I tried that too (with and without ending /) but it did not work either :/ <advancedsettings>
<excludefromscan action="prepend">
<regexp>/Subs/</regexp>
</excludefromscan>
</advancedsettings/ |
fairly certain that you are barking up the wrong tree, and that this was fixed in xbmc/xbmc#17347 |
Thanks @notspiff It looks like you're right, I applied this patch and scans apparently don't crash Kodi anymore. |
Well now the scan hangs when it encounters
I've tried removing the contents from the library and re-adding it but it always blocks on this sub file. I've got no other entries in the log, I only see it closing connections to the TVDB: When this happen, "Stop scanning" does nothing and kodi won't close, only SIGKILL closes it. |
@notspiff I don't understand why the Subs folders aren't ignored to begin with since it's hardcoded here: |
The new version is released:
@kraaa @amazingdash it should be fixed, can you test and confirm? |
Still crashing with 2.3.0-Leia for me. |
Do you want the sub files? Because it's not all subs that cause crashing. Still an issue in 2.3.0 As mentioned before I don't understand why subtitle folders get scanned when it's disabled in advancedsettings.xml. Guess it won't mather if the issue is fixed tho :) |
@kraaa If you haven't applied the patch that was listed above, it might be the reason why you still get crashes. @AlwinEsch After the latest plugin update and xbmc/xbmc#17347 applied, there is no crash anymore. I have another problem though: after the last scan, a bunch of I do have this in my config and apparently it wasn't respected (maybe because slashes are URI-encoded inside rar locations?): <video>
<excludetvshowsfromscan>
<regexp>/subs/</regexp>
... |
@amazingdash how do i apply the patch? i need to build my own kodi? |
I guess so, it doesn't look like Kodi provides automated builds :/ |
Have also seen this fix is not included in Leia, I'm force to have them in, on next Leia Release. With the subtitle I'm not sure, maybe related to the |
I'm pretty sure the regex is case-insensitive. It works this way for movies and excluding from view. This wouldn't be a problem if |
Maybe try (?i) before subs to make it 100% case-insensitive. |
Have rechecked about them, the
is fault in Kodi, all addon versions (old and new) bring this, his fix is already in Kodi but not on release now, hope that the Leia 18.7 comes really soon to have this fixed. As only short alternative, until it is released can be a nightly used from here https://kodi.tv/download:
|
I had the crash on Matrix from 8th April as well though |
example while scanning this file it crashes:
2020-03-18 03:04:18.328 T:9388 DEBUG: VideoInfoScanner: Found episode match rar://rar%3a%2f%2fG%253a%255crar3%255ctv%255cThe%2520Americans%25202013%255cSeason%25201%255cThe.Americans.2013.S01E02.720p.BluRay.x264-Counterfeit%255cThe.Americans.2013.S01E02.SUBFIX.720p.BluRay.x264-Counterfeit%255cthe.americans.2013.s01e02.720p.bluray.x264-counterfeit.subfix.rar%2fthe.americans.2013.s01e02.720p.bluray.x264-counterfeit.rar/the.americans.2013.s01e02.720p.bluray.x264-counterfeit.sub (s1e2) [S(\d{1,3})E(\d{1,3})(?:[^\\/]*$)]
The text was updated successfully, but these errors were encountered: