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

Crash applying new local video #35

Closed
c3n21 opened this issue Nov 1, 2021 · 2 comments
Closed

Crash applying new local video #35

c3n21 opened this issue Nov 1, 2021 · 2 comments

Comments

@c3n21
Copy link
Contributor

c3n21 commented Nov 1, 2021

When applying new local video hidamari crashes.

This is the stacktrace

malloc(): unaligned tcache chunk detected
Traceback (most recent call last):
  File "/home/nezuko/Downloads/github/hidamari.git/main/src/gui.py", line 118, in on_local_video_apply
    self.server.video(self.local_video_list[index])
  File "/usr/lib/python3.9/site-packages/pydbus/proxy_method.py", line 72, in __call__
    ret = instance._bus.con.call_sync(
gi.repository.GLib.Error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying (4)

Sample video
PS: in the video I'm using the main branch of my repo, which is up to date with the master branch.

@c3n21 c3n21 mentioned this issue Nov 1, 2021
@jeffshee
Copy link
Owner

jeffshee commented Nov 1, 2021

Hi @c3n21
It is the first time I had seen this kind of error message. It seems the background service server.py wasn't responsive for some reason...

Some questions:

  1. How much is the reproducibility of this issue? Does it occur randomly/to any video?
  2. Is this issue only occur if the video was just copied to the folder recently?

Some weird things I had noticed:

  1. get_buffer() failed message, definitely doesn't seem right, and could be the cause of this issue. It could be some codec issue. If so, you could try reencoding your video in h264 instead of the original vp9 using FFmpeg.
  2. The thumbnail seems doesn't work in your system, but this should be OK.

@c3n21
Copy link
Contributor Author

c3n21 commented Nov 3, 2021

Hi @c3n21 It is the first time I had seen this kind of error message. It seems the background service server.py wasn't responsive for some reason...

Some questions:

1. How much is the reproducibility of this issue? Does it occur randomly/to any video?

2. Is this issue only occur if the video was just copied to the folder recently?

Some weird things I had noticed:

1. `get_buffer() failed` message, definitely doesn't seem right, and could be the cause of this issue. It could be some codec issue. If so, you could try reencoding your video in h264 instead of the original vp9 using FFmpeg.

2. The thumbnail seems doesn't work in your system, but this should be OK.

I usually download my videos from YouTube using youtube-dl <video url>.

Right now I'm trying again and it seems that this issue is gone.

@c3n21 c3n21 closed this as completed Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants