-
Notifications
You must be signed in to change notification settings - Fork 32
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
"Caught signal 11" - looping after one period #4
Comments
Well, it could be a buffer overflow or a problem with the driver callback (low or no response). |
BTW, thx for reporting this issue. |
Have been running a few tests on the 1B: 110s raw 250 kS IQ and demodulated with csdr to wav with 12k samplerate. I don't own a pi2 so can't do testing on that model. Btw.. demodulation with csdr as I run it via my script it takes 92 seconds just to demod on the 1B.. |
Ok, I will try to fix this using pthread_attr_setschedparam. pthread_attr_t tattr; /* initialized with default attributes */ /* safe to get existing scheduling param */ /* set the priority; others are unchanged */ /* setting the new scheduling param */ /* with new priority specified */ |
Hello, |
Issue not solved, same problem reported (by VE2VAX) |
use the -S (single pass mode, no subtraction (same as original wsprd)). Solved the problem for me. |
The problem , happen when dec_options.subtraction is set =1 |
Is the code pushed? Skickat från min Samsung-enhet -------- Originalmeddelande -------- Hello, Pthread priority added, but I have no RPi-1 to test this functionality. — |
Yep, the code is updated, but I'm not sure if the priority works really. I'll need to take time to check this point carefully. |
I can test code monday night. Utc+1 :) -------- Originalmeddelande -------- Yep, the code is updated, but I'm not sure if the priority works really. I'll need to take time to check this point carefully. @ve2vax : The fano alog take more processing (option substraction). The program crash when the callback is not available. The only way to fix this is using a very low priority. But for now, it don't works... BTW, thanks for helping. — |
Hi all! Finally had the ability to do a quick test on an rpi1b. Seem to get some 73 // David On Sun, Jun 26, 2016 at 1:33 AM, David sm3ulc@gmail.com wrote:
|
Hello, |
I tested this update on RPi 1 during 48h without issue. But some versions of Raspberian react badly with USB, I added a note to the README file : I noticed some disconnection problems with USB port while using Raspbian Jessie (2016-05-27-raspbian-jessie-lite.img). I rollbacked to Raspbian Wheezy (2015-02-16-raspbian-wheezy.img) and the problems solved by themself magically... For now, I have not investigated this issue, but if you experience some "Caught signal 11" error message, it could be this same problem. For now, I would recommend Raspbian Wheezy v2015-02-16. Closing this issue. Thx |
Hello, I see the same problem, using RPi 3 with 2017-01-11-raspbian-jessie.img 73, |
Hi all, Not sure if this code is still being maintained, but this problem appears to be a bug due to unsafe string handling in wsprsim_utils.c. There are several places where something could go wrong, but I have fixed this problem with a combination of stack smashing protection compiler options (which doesn't fix the actual problem) and changing the size of the temporary string message[23] in wsprsim_utils.c to be 24 chars, not 23. Also ensuring that string is properly terminated. So around line 189, change the variable declarations and array initialisation to:
I can send a patch if that is useful. Regards, |
I run "rtlsdr_wsprd -c xxx -l xxxx -g 20 -p -23 -o 125000000 -f 10138.6k" on my rpi-1B and it starts ok and run one period and right after just prints "Caught signal 11" in a loop. Unhandled crash?
Trace of one run can be found here: (started some 77s before interval)
http://www.update.uu.se/~davidl/tmp/wsprd-trace
The text was updated successfully, but these errors were encountered: