-
Notifications
You must be signed in to change notification settings - Fork 7
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
segfault on specific series #5
Comments
Can you get me a stack trace? You don't need a debug build, the regular release should have symbols. |
i would love to, but im not exactly sure how, could you point me in the right direction? |
Sure! Install gdb and run If you get to a breakpoint (set by some included library, there are none in jftui) just enter |
|
Sorry, I have a couple ideas on what could be wrong but I'd like a few more pieces of information from you. Could you please install
from a terminal session? There won't be any sensible information (or I guess at most the path of the file on your server, feel free to edit that out, I don't need it). Also, are you using the AUR package, did you checkout the master branch or did you download the 2.0 release? Finally, I don't think this is the case but would the crashes happen to show up while the server was in the middle of updating the library with the episodes? |
I am using the AUR package. After a while when jellyfin was done with another library scan jftui started working, and jq gave me output like this: Apparently it detected the format as webm now? im pretty sure its just mkv there.
|
Okay, this is something I've noticed can happen. I don't know why trying to access those files would trigger a library refresh (does it happen with the web client too?) but basically, while the server is in the middle of refreshing it sends clients incomplete information about the items it's currently updating. Whether this is reasonable of the server or not (I'd argue it shouldn't show items at all until it's done, but that's not important now), jftui can't handle it and spazzes out. Try updating the AUR package (I made a mistake and it's tracking master instead of the releases, gotta fix that :P ), you'll get a patch I wrote a while ago but had forgotten to push that will make jftui exit with an unhelpful error instead of just crash. Which is... not a lot a better but at least a step forwards. I'll figure out a more graceful way to handle this case in the meantime, if possible I'd like not to show incomplete items at all. Thanks for the report. |
After updating the package and replicating the crash again, i got
before the crash. Accessing the files could have triggered the scan becouse i have
option enabled in jellyfin, so once i put new files in media dir, it adds them right away. From the webclient i can play those files without issues. I am not sure if they trigger the scan too, but its rather likely becouse thats probably how i fixed it with previous episodes (it crashed jftui, so i would go and watch it through the browser.. and next time i tried it would play in jftui properly). PS. Thanks for making jftui! a proper terminal/desktop client was the one thing that was missing from emby/jellyfin |
From my testing I should have made it so jftui will not show items the server's currently scanning. That means you will have to wait a little bit longer than you would on the web interface (jftui needs some more information in order to properly support split-files). If you could double check your series now works fine you'd do me a favour. Also I had misunderstood, I thought you meant just listing the new items in jftui caused the library refresh. Changing the content of a monitored library will automatically trigger a scan, yeah. And you're welcome! I wrote it precisely because I felt the same need :) |
Indeed, after updating to jftui 0.2.1, Ascendance of a Bookworm is not being listed now when in broken state. I think it will actually never be listed unless i execute full library rescan now, but that can easily be fixed by scheduling automatic scans in jellyfin more often. |
When selecting Next Up option, and then 'Ascendance of a Bookworm - S1E8 Lutz's Main' i am getting Segmentation fault (core dumped)
It used to happen randomly with previous episodes from this series (Ascendance of a Bookworm) too, but it would randomly start after couple attempts before.
With other series that i tested, I did not encounter any issues.
It happens from Latest Unplayed menu too.
There are no logs in jellyfin.
The text was updated successfully, but these errors were encountered: