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

SEGV on input MP4A file #1368

Open
emarsden opened this issue Mar 12, 2024 · 1 comment
Open

SEGV on input MP4A file #1368

emarsden opened this issue Mar 12, 2024 · 1 comment
Assignees
Labels
type: bug Something isn't working correctly
Milestone

Comments

@emarsden
Copy link

System info

Operating System: Linux/AMD64
Shaka Packager Version: 5ee2b7f-release (v3.0.2 from Github release)

Issue and steps to reproduce the problem

Packager Command:

% shaka-packager --dump_stream_info in=/tmp/dashmpd-audioEwbifj9.mp4
I0312 15:46:00.222750 216451 demuxer.cc:94] Demuxer::Run() on file '/tmp/dashmpd-audioEwbifj9.mp4'.
I0312 15:46:00.223042 216451 demuxer.cc:160] Initialize Demuxer for file '/tmp/dashmpd-audioEwbifj9.mp4'.

File "/tmp/dashmpd-audioEwbifj9.mp4":
Found 1 stream(s).
Stream [0] type: Audio
codec_string: mp4a.40.2
time_scale: 48000
duration: 18446744073709551615 (-0.0 seconds)
is_encrypted: false
codec: AAC
sample_bits: 16
num_channels: 2
sampling_frequency: 48000
language: und
zsh: segmentation fault shaka-packager --dump_stream_info in=/tmp/dashmpd-audioEwbifj9.mp4

The input file (emailed to shaka-packager-issues@google.com) plays fine with ffmpeg and worked fine with shaka-packager v2.6.1-634af65-release.

@rlaphoenix
Copy link

rlaphoenix commented Mar 25, 2024

I'm also getting a Segmentation fault on v3.0.0, v3.0.1, v3.0.2, and v3.0.3 when decrypting an mp4a.40.2, which has almost the exact same stats as you, but unlike you my file succeeds with dump_stream_info:

I0324 18:44:34.674327   15661 demuxer.cc:94] Demuxer::Run() on file '/tmp/devine/Audio_2f4bf1f5.mp4'.
I0324 18:44:34.674452   15661 demuxer.cc:160] Initialize Demuxer for file '/tmp/devine/Audio_2f4bf1f5.mp4'.

File "/tmp/devine/Audio_2f4bf1f5.mp4":
Found 1 stream(s).
Stream [0] type: Audio
 codec_string: mp4a.40.2
 time_scale: 48000
 duration: 84737472 (1765.4 seconds)
 is_encrypted: false
 codec: AAC
 sample_bits: 16
 num_channels: 2
 sampling_frequency: 48000
 language: kor

When decrypting:

I0324 18:50:19.184362   15732 demuxer.cc:94] Demuxer::Run() on file '/tmp/devine/Audio_2f4bf1f5.mp4'.
I0324 18:50:19.184499   15732 demuxer.cc:160] Initialize Demuxer for file '/tmp/devine/Audio_2f4bf1f5.mp4'.
Segmentation fault (core dumped)

I still have the file but I have no further information other than it works on v2.6.1. The above results were with v3.0.3.

@cosmin cosmin added the type: bug Something isn't working correctly label Apr 26, 2024
@cosmin cosmin self-assigned this Apr 26, 2024
@github-actions github-actions bot added this to the v3.1 milestone Apr 26, 2024
@cosmin cosmin removed this from the v3.1 milestone May 7, 2024
@github-actions github-actions bot added this to the v3.2 milestone May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working correctly
Projects
None yet
Development

No branches or pull requests

3 participants