2008-08-26 04:41:31 Help required - SIGSEGV
John Joseph (INDIA)
Message: 61084
I have an optimized WMA decoder implementation which I want to integrate into libavcodec and use with mplayer.
I was able to build an independent WMA decoder application using the source and run it on target (BF548 Ez-Kit).
I could also build mplayer with the modified libavcoded (the one that calls my WMA decoder APIs).
But when I load mplayer, I get the following message
Unable to load executable
SIGSEGV
Why is this so?
I found that I could get rid of this by commending some of my WMA decoder functions and moving few others to one of the native libavcodec file.
Since I am totally new to uClinux I don't know how to proceed with the debugging.
Kindly help. Thanks in advance.
- John
QuoteReplyEditDelete
2008-08-26 06:21:12 Re: Help required - SIGSEGV
Yi Li (CHINA)
Message: 61091
What is your kernel version? What is your toolchain version? You can run "version" on your board to get that information.
"root:/> version "
Are you using FDPIC or FLAT format?
QuoteReplyEditDelete
2008-08-26 06:32:46 Re: Help required - SIGSEGV
John Joseph (INDIA)
Message: 61093
Kernal : 2.6.22.18
toolchain: bfin-linux-uclibc-gcc version 4.1.2
I am using FDPIC format.
-John
QuoteReplyEditDelete
2008-08-26 09:38:45 Re: Help required - SIGSEGV
Mike Frysinger (UNITED STATES)
Message: 61102
we really dont have the expertise to assist in ffmpeg/mplayer integration ... so you may want to inquire about those steps in the respective upstream mailing lists
as for the SIGSEGV, you should run things through gdb. if that fails, this document may assist you in finding out where the crash is:
http://docs.blackfin.uclinux.org/doku.php?id=debuging_applications#analyzing_traces
QuoteReplyEditDelete
2008-08-26 15:51:40 Re: Help required - SIGSEGV
Robin Getz (UNITED STATES)
Message: 61126
John:
>optimized WMA decoder implementation which I want to integrate into libavcodec and use with mplayer.
Umm, techinical issues aside - depending on where you got your WMA decoder - it may not be license compatible with libavcodec and mplayer. If your WMA decoder is GPL - please post it, and we can have someone try to help out.
-Robin