LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-26-2021, 01:51 AM   #1
gksrb500
LQ Newbie
 
Registered: Feb 2021
Posts: 2

Rep: Reputation: Disabled
I got an error "Error termination. Backtrace."


After I compiled a file by gfortran, I tried to run the exe file. And I got an error following;

At line 94 of file eee.f (unit = 21, file = 'fort.21')
Fortran runtime error: End of file

Error termination. Backtrace:
#0 0x7f035c6dbeea
#1 0x7f035c6dca45
#2 0x7f035c6dd1fc
#3 0x7f035c7a92a3
#4 0x7f035c7a97f7
#5 0x7f035c7a69b3
#6 0x7f035c7ab644
#7 0x4790fc
#8 0x4010fc
#9 0x7f035bae1bf6
#10 0x40112c
#11 0xffffffffffffffff

Also, the line 94 of file eee.f is
read (21,'(a200)')qstrana1

The source code files are written by fortran 77, but I have just used gfortran compiler because of difficulty of download fortran 77 compiler.

How can I solve this problem? And could you guys let me know when backtrace error occurs?

Is it caused by compiling procedure? or the lack of input file?

I'm a newbie in Linux, so I'm not sure I give an enough information to figure out this problem. I'll upload more information if you want.
 
Old 02-26-2021, 10:07 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
The source code files are written by fortran 77, but I have just used gfortran compiler because of difficulty of download fortran 77 compiler.
77 is part of gcc-3.3

and should be in almost every distro there is

use your package manager to install it

Quote:
Fortran runtime error: End of file
is there a blank line at the end of the file ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
On step 5.10, backtrace error udinIMM Linux From Scratch 5 04-13-2018 06:14 AM
[SOLVED] GDB internal-error using backtrace kronmiller Programming 10 08-03-2010 10:50 AM
PHP compile error - bug report needs backtrace - how to do this? jpmad4it Linux - Software 0 02-20-2009 02:17 AM
Help With Java Problem Please"""""""""""" suemcholan Linux - Newbie 1 04-02-2008 06:02 PM
"backtrace appears to be useless" ungua SUSE / openSUSE 2 11-13-2005 12:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration