Skip to content

[BUG] Segfault when filename_template = "" #524

@bbreennsca

Description

@bbreennsca

Describe your environment

  • RTLSDR-Airband version you are using (stable release number or branch/commit):
  • make options used to build the program:
  • Hardware platform (eg. x86_64, Raspberry Pi v4):
  • Operating system name and version:

What happened?

Segfault

What you expected to happen?

Program would write to a file based on datestamp alone, no prefix.

Steps to Reproduce

compile, create configure file with filename_template = "", run

Additional context
Add any other relevant information about the problem here.

Your rtl_airband.conf file
Remove passwords, server addresses and other private information.

fft_size = 512;
localtime = true;
devices: (
{
type = "rtlsdr";
index = 0;
gain = 25;
centerfreq = 453.05;
correction = 80;
channels:
(
{
freq = 453.0875;
outputs: (
{
type = "file";
filename_template = "";
directory = "/opt/shared/sambashare/http/fddet";
dated_subdirectories = false;
# continuous = false;
# split_on_transmission = false;
# include_freq = false;
# append = true;
}
);
}
);
}
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions