Inconsistent error output from DRAWEXE

I have a test file that runs fine when loaded with "source test" in DRAWEXE, but fails in a weird ay with -f oprion form command line. I'd appreciate someone to confirm the problem or help me to solve it.

$ cat test
pload MODELING VISUALIZATION

vertex  A 0 0 0
vertex  B 0 0 25
vertex  C 0 0 0
vertex  D 0 0 5

edge e1 A B
edge e2 C D

wire w1 e1 e2

revol s1 w1 -5 5 0 0 0 1 360

vdisplay s1 

vfit

localhost:/home/przemo/software/FreeCAD/OCCT
$ DRAWEXE -f test
corrupted size vs. prev_size in fastbins
Przerwane (zrzut pamięci)
localhost:/home/przemo/software/FreeCAD/OCCT
$ DRAWEXE -f test
corrupted size vs. prev_size in fastbins
Przerwane (zrzut pamięci)
localhost:/home/przemo/software/FreeCAD/OCCT
$ DRAWEXE -f test
corrupted size vs. prev_size in fastbins
Przerwane (zrzut pamięci)
localhost:/home/przemo/software/FreeCAD/OCCT
$ DRAWEXE -f test
*** Abort *** an exception was raised, but no catch was found.
	... The exception is:SIGSEGV 'segmentation violation' detected. Address 269
malloc(): unsorted double linked list corrupted
Przerwane (zrzut pamięci)
localhost:/home/przemo/software/FreeCAD/OCCT
$ DRAWEXE -f test
*** Abort *** an exception was raised, but no catch was found.
	... The exception is:SIGSEGV 'segmentation violation' detected. Address 1d9
localhost:/home/przemo/software/FreeCAD/OCCT
$ DRAWEXE -f test
*** Abort *** an exception was raised, but no catch was found.
	... The exception is:SIGSEGV 'segmentation violation' detected. Address 89
localhost:/home/przemo/software/FreeCAD/OCCT
$ DRAWEXE -f test
corrupted size vs. prev_size in fastbins
Przerwane (zrzut pamięci)
localhost:/home/przemo/software/FreeCAD/OCCT
$ which DRAWEXE
/usr/bin/DRAWEXE
localhost:/home/przemo/software/FreeCAD/OCCT
$ rpm -qf /usr/bin/DRAWEXE 
opencascade-draw-7.4.0-3.fc32.x86_64
localhost:/home/przemo/software/FreeCAD/OCCT
$ uname -a
Linux localhost.localdomain 5.6.7-300.fc32.x86_64 #1 SMP Thu Apr 23 14:13:50 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux