From: Lloyd W. <llo...@ya...> - 2019-06-09 12:32:37
|
I'm dealing with the odd situation on linux where geomview -run savi works just fine if geomview and savi are installed as ubuntu packages, but if I compile savi 1.5.1 (matching the package) SaVi segfaults on first attempting to write to the pipe to geomview via fprintf. stdout is set up to point to geomview and dup'd, and there's a lot of error checking in that code to test for failures during setup. Those checks pass, but as soon as you fprintf to the pipe - boom, goodbye your compiled savi. This code hasn't changed (ie I'm not smart enough to change it) in years... Has something changed in stdlib or in how file pointers can be used and abused in gcc? Ideas to investigate welcome. thanks Lloyd Wood http://savi.sf.net/ |