Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault on ARM #5

Open
Baggypants opened this issue May 20, 2020 · 1 comment
Open

Segfault on ARM #5

Baggypants opened this issue May 20, 2020 · 1 comment

Comments

@Baggypants
Copy link

Trying to get it to run on ARM and it segfaults. I compiled it with -g and heres a gdb output, hope it's helpful. it runs fine on x86_64

Starting program: /root/rtlmic/rtlmic -e 1 -M 50 97700000
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0x76a4d440 (LWP 19010)]
[New Thread 0x769cc440 (LWP 19012)]

Thread 1 "rtlmic" received signal SIGSEGV, Segmentation fault.
0x000111b8 in generate_lpf (taps=0x0, ntaps=21, fs=300000, width=100000) at rtlmic.c:139
139	    taps[M] = fwT0;
(gdb) backtrace
#0  0x000111b8 in generate_lpf (taps=0x0, ntaps=21, fs=300000, width=100000) at rtlmic.c:139
#1  0x000116f4 in init_channel (c=0) at rtlmic.c:194
#2  0x00013c18 in main (argc=6, argv=0x7effedd4) at rtlmic.c:700
@mark-mdgam
Copy link

Any new insight on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants