[MacPorts] #57726: pgplot demo 'cpgdemo' segfaults with variant gcc8, ok with gcc7

MacPorts noreply at macports.org
Mon Dec 24 19:40:15 UTC 2018


#57726: pgplot demo 'cpgdemo' segfaults with variant gcc8, ok with gcc7
---------------------+---------------------------------
  Reporter:  d-lamb  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  pgplot  |
---------------------+---------------------------------

Comment (by MarcusCalhoun-Lopez):

 Calling Fortran subroutines from C functions is a tricky business,
 especially when strings are passed between them.\\
 The last release of PGPOT was almost eight years ago, so GCC 8 was never
 tested.

 The problem seems to be when {{{cpgmtxt}}} is called more than once from
 different functions.\\
 I have no idea why this might be the case, but I will patch the demo
 program to call {{{cpgmtxt}}} only once.

 I believe that is the best we can do without a great deal of time and
 effort.

-- 
Ticket URL: <https://trac.macports.org/ticket/57726#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list