Commit 2e026d6
radio,uhd: catch exception returned when parsing bad device args string
fix segfault when device args are malformed
Warning: Scheduling priority of UHD not changed. Cause: Not enough privileges.
terminate called after throwing an instance of 'uhd::value_error'
what(): ValueError: invalid args string: type=b200,num_recv_frames=64,num_send_frames=64 --otw_format=sc12
Stack trace (most recent call last):
| Source "./nptl/pthread_kill.c", line 78, in __pthread_kill_implementation
Source "./nptl/pthread_kill.c", line 44, in __pthread_kill [0x7faa57cb1a7c]1 parent 2d85da6 commit 2e026d6
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
| |||
0 commit comments