Generated ffplay gives segmentation fault when executed on beagleboard

Hi Folks,

I have resolved the sdl dependancy for ffplay but when this ffplay is
executed on beagleboard it gives segmentation fault,we have angstrom
linux ported on the board...please help ..Thanks in advance...

Thanks and Best Regards,
Lucky Narang

Lucky Narang wrote:

Hi Folks,

I have resolved the sdl dependancy for ffplay but when this ffplay is
executed on beagleboard it gives segmentation fault,we have angstrom
linux ported on the board...please help ..Thanks in advance...

use gdb and find out why it segfaults

Can you please let me know the steps to how to make use of gdb for
beagle board .....

Thanks in advance....

And also the possible reason we have found using av_logs is
SDL_SetVideo Mode used in the ffplay....

Are we going wrong in configuring the ffmpeg for beagleboard.......the
command we use is as follows:

./configure --arch=arm --target-os=linux --enable-cross-compile --
cross-prefix=arm-none-linux-gnueabi- --cc=arm-none-linux-gnueabi-gcc

Can you do a dmesg and see if there's anything there? If you see a
traceback or any other error message on execution, then the problem
could be in the particular driver. There are a myriad techniques like
kgdb, ftrace, kprobes etc that can help you narrow down your problem.

thanks,
Joel

Hi Lucky Narang,

Please see this message:
http://groups.google.com/group/beagleboard/msg/c056255205e73e85

Cheers,
Max.

Hi Max Galemin,

Thanks for this but we are stuck at finding the solution to make use
of gdb and gdb_server for beagleboard....please see if one can
provide the gdb,gdbserver executable or steps to make it available for
arm...

Thanks and Best Regards,
Lucky Narang

Hi,

How dmesg helps to determine whether there is any driver
dependancy ,it will give you the boot messages but there is no error
in those logs....have you used sdl anywhere....

Hi Max Galemin,

Thanks for this but we are stuck at finding the solution to make use
of gdb and gdb_server for beagleboard....please see if one can
provide the gdb,gdbserver executable or steps to make it available for
arm...

Since you have Angstrom on the board, did you try to just install it?
   # opkg update
   # opkg install gdb

Hi Gary,
Thanks for reply,but here also we are stuck in making beagleboard
connect to internet,it's mac address keeps on changing....so we are
not able to connect to internet

Hi Gary,
Thanks for reply,but here also we are stuck in making beagleboard
connect to internet,it's mac address keeps on changing....so we are
not able to connect to internet

Hi Lucky Narang,

I hope your host PC has connection to the Internet?

http://www.angstrom-distribution.org/repo/?pkgname=gdb
http://www.angstrom-distribution.org/repo/?pkgname=gdbserver

And use scp to copy *.ipk to the board.

Cheers,
Max.

Hi Max,

Actually we were going by compiling the gdb source code for arm,thanks
for links for already available executables....
I have a new query ie ...

Why the mac address keeps on changing for beagleboard xm rev B...any
solution for it so that i can have fixed mac address which will help
me to connect to the internet....

Hi Lucky Narang,

If you are talking about changing MAC address after reboot - try to
add "hwaddress ether" parameter to your "/etc/network/interfaces":

auto eth0
iface eth0 inet static
address 192.168.1.123
netmask 255.255.255.0
gateway 192.168.1.254
hwaddress ether 00:11:22:33:44:55

Cheers,
Max.

Lucky Narang wrote:

Hi Max,

Actually we were going by compiling the gdb source code for arm,thanks
for links for already available executables....
I have a new query ie ...

Why the mac address keeps on changing for beagleboard xm rev B...any
solution for it so that i can have fixed mac address which will help
me to connect to the internet....

http://www.google.com/search?q=beagleboard+fixed+mac+address

Thanks Max

After installation when i am about to use gdb it says......libc.so.6
not found..please provide inputs..

I think this is the 5th time I see this question :slight_smile: Did you actually
try "opkg install" and the other suggestions people have made? I think
the more descriptive you are about your problem, the better your
chances of getting an answer.

cheers,
Joel

Thanks gdb is working on beagleboard.....the reason opkg was failing
is due to the package it was searching on the angstrom distribution
was not available in feeds,so i manually downloaded the packages from
it another version,can we configure opkg installer to download from
some other location....