Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28863 Discussions

ifx: segfault with cyrillyc letters as flags

foxtran
New Contributor I
323 Views

Dear,

I got a SegFault with ifx when I accidently write a flag with cyrillic letters. My locale is the following:

 

$ env | grep LC_
LC_CTYPE=C.UTF-8
LC_TERMINAL=iTerm2
LC_TERMINAL_VERSION=3.4.15

 

Then, let me show that cyrillic filenames works properly:

 

$ touch аффа.f
$ ifx аффа.f -c
аффа.f: remark #5133: The input stream is empty

 

 Then, it is a time to add a flag with cyrillyc letters:

 

$ ifx аффа.f -c -аффа
Segmentation fault (core dumped)

 

However, leading `-f` before cyrillyc letters saves compiler:

 

$ ifx аффа.f -c -fаффа
ifx: command line warning #10006: ignoring unknown option '-fаффа'
аффа.f: remark #5133: The input stream is empty

 

 
So, my expectation that compiler will not be segfaulted.
I suppose similar problems may arise with another non-ASCII UTF-8 characters.

My ifx version is ifx (IFX) 2023.2.0 20230721

Best regards,
Igor

0 Kudos
0 Replies
Reply