stack-fault in rtl_fm.exe

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-sdr@lists.osmocom.org/.

Gisle Vanem gisle.vanem at gmail.com
Wed Jan 22 16:54:12 UTC 2014


The rtl_fm program uses approx 1.8 MByte for it's stack. Mostly used
for 'stuct fm_state'. The default stack-size for a Windows program is
4kB (it can dynamically grow). I've compiled using MSVC v16 and option
'-GS'. Ref: http://support.microsoft.com/kb/100775

Adding '-stack:2000000' to the link stage works fine here. Or alloca() or malloc()
could be used? Or 'fm' could be made static?

--gv





More information about the osmocom-sdr mailing list