stack-fault in rtl_fm.exe
Gisle Vanem
gisle.vanem at gmail.com
Wed Jan 22 17:54:12 CET 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