[MPlayer-users] mplayer quit unexpectedly
Zongyao Qu
zongyao.qu at gmail.com
Wed Feb 15 05:08:46 CET 2012
> > MPlayer UNKNOWN-4.2.1 (C) 2000-2012 MPlayer Team
>
> Hm, not so very useful version information.
I was using clang,
export CC="clang"
before I did anything.
> I made a few improvements to Matroska seeking in FFmpeg not
> long ago, you can try if updating helps...
although it is a clang but I think, the latest ffmpeg just crash this
compiler. I will post the crash log below.
and I found if I revert the commit,
00ab9cdae1a96dfea33cd505076a83823f390aa4
jpeglsdec: Prevent out of array write.
clang did not crash anymore.
but when linking, this error
--------
Undefined symbols for architecture x86_64:
"_ff_librtmp_protocol", referenced from:
_av_register_all in libavformat.a(allformats.o)
ld: symbol(s) not found for architecture x86_64
--------
occurs.
then I tried to use gcc as the compiler.
export CC="gcc-4.2 -m64"
the same link error occurs.
Appe. the crash log of clang.
CC libavcodec/jpeglsdec.o
0 clang 0x000000010df0a312 _ZL15PrintStackTracePv + 34
1 clang 0x000000010df0a7e9 _ZL13SignalHandleri + 633
2 libsystem_c.dylib 0x00007fff908bbcfa _sigtramp + 26
3 libsystem_c.dylib 0x0000000000000003 _sigtramp + 18446603338091086627
4 clang 0x000000010dd9a6ab
llvm::LiveRangeEdit::eliminateDeadDefs(llvm::SmallVectorImpl<llvm::
MachineInstr*>&, llvm::LiveIntervals&, llvm::VirtRegMap&,
llvm::TargetInstrInfo const&) + 2155
5 clang 0x000000010d56a967 (anonymous
namespace)::InlineSpiller::spill(llvm::LiveRangeEdit&) + 11799
6 clang 0x000000010d3c4a94 (anonymous
namespace)::RAGreedy::selectOrSplit(llvm::LiveInterval&,
llvm::SmallVectorImpl<llvm::LiveInterval*>&) + 628
7 clang 0x000000010d353652
llvm::RegAllocBase::allocatePhysRegs() + 402
8 clang 0x000000010d352868 (anonymous
namespace)::RAGreedy::runOnMachineFunction(llvm::MachineFunction&) +
1144
9 clang 0x000000010d26adae
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 110
10 clang 0x000000010d25b655
llvm::FPPassManager::runOnFunction(llvm::Function&) + 325
11 clang 0x000000010d26019b
llvm::FPPassManager::runOnModule(llvm::Module&) + 139
12 clang 0x000000010d25bdd4
llvm::MPPassManager::runOnModule(llvm::Module&) + 276
13 clang 0x000000010d25b958
llvm::PassManagerImpl::run(llvm::Module&) + 280
14 clang 0x000000010d25b83d
llvm::PassManager::run(llvm::Module&) + 13
15 clang 0x000000010d72a62d
clang::EmitBackendOutput(clang::Diagnostic&, clang::CodeGenOptions
const&, clang::TargetOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 4381
16 clang 0x000000010d2431f6
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 246
17 clang 0x000000010d16b076 clang::ParseAST(clang::Sema&,
bool) + 422
18 clang 0x000000010d169aaf
clang::CodeGenAction::ExecuteAction() + 671
19 clang 0x000000010d15589b
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 875
20 clang 0x000000010d153918
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2696
21 clang 0x000000010d148115 cc1_main(char const**, char
const**, char const*, void*) + 5333
22 clang 0x000000010d12b27b main + 667
23 clang 0x000000010d12afd4 start + 52
Stack dump:
0. Program arguments: /usr/bin/clang -cc1 -triple
x86_64-apple-macosx10.6.0 -emit-obj -disable-free -disable-llvm-verifier
-main-file-name jpeglsdec.c -pic-level 1 -mdisable-fp-elim
-relaxed-aliasing -masm-verbose -munwind-tables -target-cpu core2
-target-linker-version 127.2 -coverage-file libavcodec/jpeglsdec.o
-resource-dir /usr/bin/../lib/clang/3.0 -dependency-file
libavcodec/jpeglsdec.d -MT libavcodec/jpeglsdec.o -sys-header-deps -MP
-D HAVE_AV_CONFIG_H -D _ISOC99_SOURCE -D _BSD_SOURCE -D
_LARGEFILE_SOURCE -D _FILE_OFFSET_BITS=64 -D _LARGEFILE64_SOURCE -D PIC
-I . -I ./ -I libdvdread4 -I . -I ffmpeg -I /usr/X11/include -I
/usr/local/include/freetype2 -I /usr/local/include -O3 -ferror-limit 19
-fmessage-length 100 -stack-protector 1 -fblocks
-fdiagnostics-show-option -fcolor-diagnostics -o libavcodec/jpeglsdec.o
-x c libavcodec/jpeglsdec.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module
'libavcodec/jpeglsdec.c'.
4. Running pass 'Greedy Register Allocator' on function
'@ls_decode_line'
clang: error: unable to execute command: Segmentation fault: 11
clang: error: clang frontend command failed due to signal 2 (use -v to
see invocation)
make[1]: *** [libavcodec/jpeglsdec.o] Error 254
More information about the MPlayer-users
mailing list