Closed gevialex closed 7 years ago
Hi @gevialex I can't reproduce it on my mipsel ASUS RT-N66U. What's the output of:
uname -a
strace ffmpeg
If strace
is missing, install it via ipkg
Thanks
Hi there thanks for the reply,
I've pasted the commands and outputs at this site
http://paste.ofcode.org/35EgNU76etSg9Ad4M8HdFcg
Cheers Alex
From: alllexx88 notifications@github.com Sent: Sunday, December 4, 2016 9:57 AM To: Optware/Optware-ng Cc: gevialex; Mention Subject: Re: [Optware/Optware-ng] Illegal instruction when attempting tu run ffmpeg in mipsel arch under WDTV device (with the wdlxtv firmware) (#172)
Hi @gevialexhttps://github.com/gevialex I can't reproduce it on my mipsel ASUS RT-N66U. What's the output of:
uname -a strace ffmpeg
If strace is missing, install it via ipkg
Thanks
- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Optware/Optware-ng/issues/172#issuecomment-264694447, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APdNMEbkYv89S3TpR2I88YnZ2HfnYI_Fks5rEo5_gaJpZM4K9Mm-.
@gevialex nothing in strace
output catches the eye for me... So we'll have to use gdb
. Please do this:
ipkg update
ipkg upgrade
ipkg install -force-overwrite gdb
then, we'll need unstripped binaries for sensible gdb
output. I've created a tarball with unstripped uclibc-ng, ffmpeg, and all recursive lib dependencies, do this to install (this will overwrite stripped binaries, installed using ipkg):
cd /tmp
wget http://ipkg.nslu2-linux.org/optware-ng/testing/ffmpeg%2Bdeps-unstripped.tar.bz2
tar -C / -xjvf ffmpeg+deps-unstripped.tar.bz2
finally, launch gdb
:
gdb ffmpeg
run
(ffmpeg crashes here)
bt full
I hope that the proper backtrace output you should get after this will shed some light on what's wrong
Alex
Hey,
I copied the output of gdb in the link below, just a comment, the ffmpeg%2Bdeps-unstripped.tar.bz2 file is actually a tar.gz file, but named as tar.bz2.
Link to the gdb output:
Thanks
From: alllexx88 notifications@github.com Sent: Sunday, December 4, 2016 1:00 PM To: Optware/Optware-ng Cc: gevialex; Mention Subject: Re: [Optware/Optware-ng] Illegal instruction when attempting tu run ffmpeg in mipsel arch under WDTV device (with the wdlxtv firmware) (#172)
@gevialexhttps://github.com/gevialex nothing in strace output catches the eye for me... So we'll have to use gdb. Please do this:
ipkg update ipkg upgrade ipkg install -force-overwrite gdb
then, we'll need unstripped binaries for sensible gdb output. I've created a tarball with unstripped uclibc-ng, ffmpeg, and all recursive lib dependencies, do this to install (this will overwrite stripped binaries, installed using ipkg):
cd /tmp wget http://ipkg.nslu2-linux.org/optware-ng/testing/ffmpeg%2Bdeps-unstripped.tar.bz2 tar -C / -xjvf ffmpeg+deps-unstripped.tar.bz2
finally, launch gdb:
gdb ffmpeg run (ffmpeg crashes here) bt full
I hope that the proper backtrace output you should get after this will shed some light on what's wrong
Alex
- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Optware/Optware-ng/issues/172#issuecomment-264702615, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APdNMCHgBl_t9aUVzU0PpZ3xw9Ee9tQ9ks5rErl_gaJpZM4K9Mm-.
Hi Alex,
just wondering if you got my last mail with the gdb ffmpeg output.
Thanks
Regards
(The other) Alex
From: Alex M gevi_alex@hotmail.com Sent: Monday, December 5, 2016 12:26 AM To: Optware/Optware-ng Subject: Re: [Optware/Optware-ng] Illegal instruction when attempting tu run ffmpeg in mipsel arch under WDTV device (with the wdlxtv firmware) (#172)
Hey,
I copied the output of gdb in the link below, just a comment, the ffmpeg%2Bdeps-unstripped.tar.bz2 file is actually a tar.gz file, but named as tar.bz2.
Link to the gdb output:
Thanks
From: alllexx88 notifications@github.com Sent: Sunday, December 4, 2016 1:00 PM To: Optware/Optware-ng Cc: gevialex; Mention Subject: Re: [Optware/Optware-ng] Illegal instruction when attempting tu run ffmpeg in mipsel arch under WDTV device (with the wdlxtv firmware) (#172)
@gevialexhttps://github.com/gevialex nothing in strace output catches the eye for me... So we'll have to use gdb. Please do this:
ipkg update ipkg upgrade ipkg install -force-overwrite gdb
then, we'll need unstripped binaries for sensible gdb output. I've created a tarball with unstripped uclibc-ng, ffmpeg, and all recursive lib dependencies, do this to install (this will overwrite stripped binaries, installed using ipkg):
cd /tmp wget http://ipkg.nslu2-linux.org/optware-ng/testing/ffmpeg%2Bdeps-unstripped.tar.bz2 tar -C / -xjvf ffmpeg+deps-unstripped.tar.bz2
finally, launch gdb:
gdb ffmpeg run (ffmpeg crashes here) bt full
I hope that the proper backtrace output you should get after this will shed some light on what's wrong
Alex
- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Optware/Optware-ng/issues/172#issuecomment-264702615, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APdNMCHgBl_t9aUVzU0PpZ3xw9Ee9tQ9ks5rErl_gaJpZM4K9Mm-.
Hi Alex Sorry, very busy this week, will look at the log as soon as I have some free time
Alex
8 груд. 2016 р. 15:51 "gevialex" notifications@github.com пише:
Hi Alex,
just wondering if you got my last mail with the gdb ffmpeg output.
Thanks
Regards
(The other) Alex
From: Alex M gevi_alex@hotmail.com Sent: Monday, December 5, 2016 12:26 AM To: Optware/Optware-ng Subject: Re: [Optware/Optware-ng] Illegal instruction when attempting tu run ffmpeg in mipsel arch under WDTV device (with the wdlxtv firmware) (#172)
Hey,
I copied the output of gdb in the link below, just a comment, the ffmpeg%2Bdeps-unstripped.tar.bz2 file is actually a tar.gz file, but named as tar.bz2.
Link to the gdb output:
Thanks
From: alllexx88 notifications@github.com Sent: Sunday, December 4, 2016 1:00 PM To: Optware/Optware-ng Cc: gevialex; Mention Subject: Re: [Optware/Optware-ng] Illegal instruction when attempting tu run ffmpeg in mipsel arch under WDTV device (with the wdlxtv firmware) (#172)
@gevialexhttps://github.com/gevialex nothing in strace output catches the eye for me... So we'll have to use gdb. Please do this:
ipkg update ipkg upgrade ipkg install -force-overwrite gdb
then, we'll need unstripped binaries for sensible gdb output. I've created a tarball with unstripped uclibc-ng, ffmpeg, and all recursive lib dependencies, do this to install (this will overwrite stripped binaries, installed using ipkg):
cd /tmp wget http://ipkg.nslu2-linux.org/optware-ng/testing/ffmpeg% 2Bdeps-unstripped.tar.bz2 tar -C / -xjvf ffmpeg+deps-unstripped.tar.bz2
finally, launch gdb:
gdb ffmpeg run (ffmpeg crashes here) bt full
I hope that the proper backtrace output you should get after this will shed some light on what's wrong
Alex
- You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/ Optware/Optware-ng/issues/172#issuecomment-264702615, or mute the thread< https://github.com/notifications/unsubscribe-auth/APdNMCHgBl_ t9aUVzU0PpZ3xw9Ee9tQ9ks5rErl_gaJpZM4K9Mm->.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Optware/Optware-ng/issues/172#issuecomment-265744183, or mute the thread https://github.com/notifications/unsubscribe-auth/AGSEfIFdEuiyqbQZ0jJ06sRFeBl6NRyzks5rGAtvgaJpZM4K9Mm- .
Ok cool no prob thanks for the support cheers
I've pasted the commands and outputs at this site
It's still ambiguous. This time, please try this ffmpeg ipk: http://ipkg.nslu2-linux.org/optware-ng/testing/ffmpeg_2.5.4%2Bgit20150217-rev075178-6_mipsel.ipk
It's compiled without optimization, and with the most extensive debug info (-ggdb flag). Run gdb
the same way as the last time. Let's see if it gets clearer now.
Thanks
Closing due to no response
Hi, I really like optware-ng, helps to add some more functionality to my WD TV Live PLus device :) I'm getting an "Illegal instruction" message when trying to run ffmpeg or ffprobe or ffserver in the mipsel arch in my wdtv (wdlxtv firmware). Other software downloaded via ipkg from the optware-ng repo appears to run fine. Any ideas or things I could check to assist? Thanks a lot Cheers Alex