This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/79231] New: [Regression on 7.0.1] Run time error: malloc on valid code


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79231

            Bug ID: 79231
           Summary: [Regression on 7.0.1] Run time error: malloc on valid
                    code
           Product: gcc
           Version: 7.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: juergen.reuter at desy dot de
  Target Milestone: ---

The following case (part of our unit test suite) throws run time errors (61 out
of 110 tests), and _all_ of the functional tests. I assume that they are all
related to the same 'feature' (change in the gfortran code). In the tarball, do 
make, and then 
./rt_error --check evaluators
Using r244868, all older gfortran versions since 4.8.5 are working. 
The code is rather lengthy (but still not the complete testsuite). I try to
provide 
a smaller test case if possible, but also a complete test suite. 

This is the error:
Running test: evaluator_1rt_error(56542,0x7fffb05123c0) malloc: *** error for
object 0x7fb4ebf00110: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

Program received signal SIGABRT: Process abort signal.

Backtrace for this error:
#0  0x10cdfd7c9
#1  0x10cdfcb63
#2  0x7fffa78d2bb9
Abort trap: 6

Up to now I couldn't produce a proper backtrace.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]