-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
31a09e1
commit cd222b7
Showing
3 changed files
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd222b7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If used without numeric parameter to -M it fails here. So while
sudo /usr/local/bin/rtl_433 -M 1 >> /tmp/rtl_433.log 2>&1
is fine, this one fails:
sudo /usr/local/bin/rtl_433 -M >> /tmp/rtl_433.log 2>&1
Thanks for adding this!
cd222b7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the feedback. Yes,
-M
will get a help page to list all the possible arguments soon!cd222b7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry my post was probably somewhat too unspecific. It was less about a help page than about the Segvault in strcasecmp:
`
~/rtl_433/build/src $ ./rtl_433 -M
./rtl_433: option requires an argument -- 'M'
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/pi/.rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433.conf"...
Trying conf file at "/etc/rtl_433.conf"...
./rtl_433: option requires an argument -- 'M'
Speicherzugriffsfehler
gdb --args ./rtl_433 -M
r
[..]
Program received signal SIGSEGV, Segmentation fault.
(gdb) bt
#0 __GI___strcasecmp (s1=, s2=) at strcasecmp.c:58
#1 0x0001fc68 in parse_conf_option.constprop ()
#2 0x00012548 in main ()
`
(Raspbian on Raspberry Pi)
Grüße,
cd222b7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh! That's bad. I'll add a check.
cd222b7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed with 81e018f, thanks!