From: Mark S Bilk on
On Dec 11, 5:20 am, "Nebojsa Subanovic" <nebojsa.subanovic[makni ovo]
@meteo-info.hr> wrote:
> Here's the output when this script stops to work:
> ./new_prep.sh: line 92: 7514 Segmentation fault ../exe/initbc.exe >

The error message appears to indicate that the failing
program is "initbc.exe". The ".exe" extension usually
indicates a Microsoft-Windows program; these cannot be
run by Linux except through the use of WINE, dosemu,
or other special means.

Attempting to execute a MS program could certainly
cause a segfault error.

You can test initbc.exe to see if it's a MS-Windows
(or MS-DOS) program in two ways. Go to the directory
the file is in and type:

ls initbc.exe

to make sure you're in the right directory.

If you don't know which directory the file is in,
try typing:

locate initbc.exe

Once you're in the right directory, type:

head -c 2 initbc.exe ; echo

If the response is "MZ", then it's a Microsoft program.

You can also type:

file initbc.exe

If the response is "initbc.exe: MS-DOS executable, ...",
then that's what it is.

Please post the results of both tests here.