Opened 12 hours ago

Last modified 12 hours ago

#19420 new bug

Buffer overrun when decoding some MP4s

Reported by: waddlesplash Owned by: pulkomandy
Priority: normal Milestone: Unscheduled
Component: Audio & Video/Codecs Version: R1/beta5
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

First reported in #13554. This doesn't happen with all MP4 files (I have some here that work fine under the guarded heap), but it does with some, apparently.

Attachments (1)

MediaPlayer-4084-debug-14-02-2025-18-32-02.report (34.5 KB ) - added by smallstepforman 12 hours ago.

Download all attachments as: .zip

Change History (4)

comment:1 by smallstepforman, 12 hours ago

LD_PRELOAD=libroot_debug.so MALLOC_DEBUG=g MediaPlayer ~/Desktop/Media/MediaTest/IMG_2895.MOV

Attaching crash in ffmpeg

comment:2 by smallstepforman, 12 hours ago

File plays fine with MediaPlayer when not using guarded head.

Captured on iPhone 5 Resolution: 1920x1080 Frame Rate: 29.970 Number frames: 514 Video Duration: 17s:156ms Codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10

comment:3 by smallstepforman, 12 hours ago

I really cannot stop praising Haiku's ability to boot into older state. This is a real diagnostic boot since you can test if issues appear on older revisions.

The above crash happens not only on hrev58639 (the version with the new OpenBSD malloc) but with hrev58583 (Feb 1st 2025).

Note: See TracTickets for help on using tickets.