Skip to content
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

Loading *.iso forces close Kodi 21 #25105

Closed
6 tasks
Endur opened this issue May 2, 2024 · 8 comments · Fixed by #25156
Closed
6 tasks

Loading *.iso forces close Kodi 21 #25105

Endur opened this issue May 2, 2024 · 8 comments · Fixed by #25156
Labels
Component: FileSystem Filesystem Platform: Android Resolution: Fixed issue was resolved by a code change Triage: Confirmed issue has been reproduced by a team member v21 Omega

Comments

@Endur
Copy link

Endur commented May 2, 2024

Bug report

Describe the bug

Here is a clear and concise description of what the problem is:

If I try to load an .iso file from a directly attached USB3 device Kodi forces close immediality.
Kodi 20.
was working fine - also master/nightly 22alpha is working fine. #24964 doesn't fix that. It's a different issue.

Expected Behavior

Here is a clear and concise description of what was expected to happen:

Simply play the *.iso as usual.

Actual Behavior

Force close of Kodi.

Possible Fix

To Reproduce

Steps to reproduce the behavior:

  1. Open any *.iso file

Debuglog

The debuglog can be found here:

https://paste.kodi.tv/edifeconal.kodi

The log is done with adb debugging over ssh. Also with | grep -i kodi.
Kodi 21 opens the *. iso with OnPlayMedia which forces close
05-01 13:48:53.280 9015 9031 D Kodi : **ERROR: fseeko (): Invalid argument

Kodi 22 master/nighly opens the *. iso with VideoPlayer::OpenFile: which is working well

Screenshots

Here are some links or screenshots to help explain the problem:

Additional context or screenshots (if appropriate)

Here is some additional context or explanation that might help:

It's on Minix NEO U22-XJ Max. Kodi 20 was working fine. Kodi 21 can't play the *.iso even fix #24964 was applied.
Kodi 22alpha of master/nightly is working fine.

Your Environment

Used Operating system:

  • [x ] Android

  • iOS

  • tvOS

  • Linux

  • macOS

  • Windows

  • Windows UWP

  • Operating system version/name:

  • Kodi version: 21

note: Once the issue is made we require you to update it with new information or Kodi versions should that be required.
Team Kodi will consider your problem report however, we will not make any promises the problem will be solved.

@xbmc-gh-bot xbmc-gh-bot bot added the Triage: Needed (managed by bot!) issue that was just created and needs someone looking at it label May 2, 2024
@joseluismarti
Copy link
Contributor

Can confirm that it occurs when opening an .iso file that is stored on the internal storage and only affects v21.

Debug message:

D Kodi : **ERROR: fseeko (): Invalid argument`

This crash is caused by libcdio-gplv3 library when trying to open the file from:

if (!iso->open(url2.GetHostName().c_str()))

I think it's because the fseeko() function is not available before API level 24. We'll have to wait for a workarround.

@Endur
Copy link
Author

Endur commented May 3, 2024

Don't understand this right...The device is running on Android 9 which has API level 28, also shown well on Kodi -> System information.

@thexai thexai added Triage: Confirmed issue has been reproduced by a team member Component: FileSystem Filesystem and removed Triage: Needed (managed by bot!) issue that was just created and needs someone looking at it labels May 3, 2024
@mjoseph81
Copy link

I'm having this same issue. I use Kodi to play DVDs I ripped as ISOs and store on an NFS server. This function is completely broken. I back loaded Kodi to v19.5 where this was working but I had to disable all auto-updates on my chromecast otherwise it keeps loading v21 and breaking the ISO function. Please fix.

@joseluismarti
Copy link
Contributor

@mjoseph81 if the ISOs are on network storage, the cause is different and has been fixed. Try an Omega 21.1 nightly build.

@mjoseph81
Copy link

mjoseph81 commented May 6, 2024 via email

@thexai thexai linked a pull request May 7, 2024 that will close this issue
14 tasks
@joseluismarti
Copy link
Contributor

@Endur tests this build which includes a possible fix

@Endur
Copy link
Author

Endur commented May 8, 2024

Have that build tested. The force close is gone, this error was fixed!
Thanks...
/Matthias

@thexai
Copy link
Member

thexai commented May 14, 2024

Fixed by #25156

@thexai thexai closed this as completed May 14, 2024
@thexai thexai added the Resolution: Fixed issue was resolved by a code change label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: FileSystem Filesystem Platform: Android Resolution: Fixed issue was resolved by a code change Triage: Confirmed issue has been reproduced by a team member v21 Omega
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants