Opened 10 years ago

Last modified 10 years ago

#6582 closed bug

MediaPlayer crash with mp4 file — at Version 8

Reported by: luroh Owned by: stippi
Priority: normal Milestone: R1
Component: Applications/MediaPlayer Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description (last modified by luroh)

Rev 38606, gcc2, VMware and real hw.

This file plays in hrev38547 but causes MP to crash in hrev38563 and later (the intermediate revisions don't build): (20 MB)

May be a dupe of #6561.

Change History (9)

by luroh, 10 years ago

Attachment: gdb.txt added

comment:1 by luroh, 10 years ago

Description: modified (diff)

comment:2 by stippi, 10 years ago

Cannot reproduce, the file plays fine here (GCC4 image).

comment:3 by luroh, 10 years ago

You are right, it only affects gcc2 and gcc2h builds, not gcc4 or gcc4h ones.

comment:4 by stippi, 10 years ago

Description: modified (diff)

Some optimizations are turned off for the GCC2 build. Or GCC2 may generate invalid code from some assembler.

comment:5 by stippi, 10 years ago

Can you make your own builds? If so, you could revert individual changes from hrev38562. Start with the run-time CPU detection (revert it if it doesn't have any effect), the registers, then SSE and so on, until the file plays again. Then we know what we have to disable for GCC2.

comment:6 by luroh, 10 years ago

Thanks for the suggestion, I'll try that and revert.

comment:7 by luroh, 10 years ago

#define CONFIG_RUNTIME_CPUDETECT 0 makes MP stop crashing to gdb as described above ("corrupt stack?"). Instead, it exits silently. When running MP from a Terminal window, the following output can be observed:

~> MediaPlayer 
MainWin::MessageReceived: B_SIMPLE_DATA
open playlist item: jambalaya.mp4
asfReader::Sniff: unsupported file type
Killed (by death)

Reverting any of the other changes in hrev38562 does seemingly not make any difference.

comment:8 by luroh, 10 years ago

Description: modified (diff)

Regression range updated.

Note: See TracTickets for help on using tickets.