[MacPorts] #56508: qt5XX-qtwebkit dependency on leveldb causes crashes

MacPorts noreply at macports.org
Sat May 19 07:10:16 UTC 2018

#56508: qt5XX-qtwebkit dependency on leveldb causes crashes
  Reporter:  Veence        |      Owner:  MarcusCalhoun-Lopez
      Type:  defect        |     Status:  accepted
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  qt5-qtwebkit  |

Comment (by Veence):

 I have at that point no clue as to the culprit. It seemed to me that the
 current version of qtwebkit, when compiled with an external leveldb,
 reports using both the internal and third party code, but that might be
 misinterpreting something. I’ll try again this morning and let you know.

 Other hypothesis: “gperftools” is buggy and Qt-internal leveldb doesn’t
 use it. Is there a way to compile leveldb without using gperftool’s
 tcmalloc library?

 Other possibility: “gperftools”, if used internally by Qt, is compiled
 with less stringent behavorial rules and does not abort on freeing wrong
 addresses (which may give rise to leaks, but otherwise don’t plague the
 application behavior).

 I’d have to look into this, but that entails recompling all those ports
 with “-g -O0” flags and using XCode/LLDB/Instruments to monitor the
 defects. It’s not unfeasable, but there may be simplier way to address
 this rather than going the whole hog.

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

More information about the macports-tickets mailing list