Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-18947

Running configure executable(in Mac) results in internal error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 4.8.0
    • 4.7.2, 4.8.x, 5.0.0
    • Build System
    • None
    • Mac OSX 10.6
    • macOS
    • 4875ecd930e47048a49eb17e4dadfa5d75e01a84

    Description

      Running configure in Mac(OSX 10.6) causes following internal error:
      >>qmake(8096,0xa076d540) malloc: *** error for object 0xbfffcb60: pointer being freed was not allocated

      It looks like that the memory was supposed to be allocated in
      src/corelib/io/qfilesystemengine_unix.cpp
      While calling:
      ret = realpath(entry.nativeFilePath().constData(), (char*)0);

      Debugger points to line, where we are calling free(ret).

      On same file we have comment that :
      // Mac OS X 10.5.x doesn't support the realpath(X,0) extension we use here.

      And it looks like that Mac OS X 10.6 doesn't support that either.

      This does not occur with older Mac OSX versions.

      Other issues related to this is that documentation claims(http://doc.qt.nokia.com/4.7-snapshot/configure-options.html) that "-arch" argument of configure executable is meant only for Windows even it has been used always also in Mac so documentation must be updated to reflect real situation.
      "-arch <arch>Specify an architecture.Available values for <arch>: * windows, windowsce, symbian, boundschecker, generic."

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              falt Simo Fält
              tarmo Tarmo Lehto (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 4 days
                  4d
                  Remaining:
                  Remaining Estimate - 4 days
                  4d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified

                  Gerrit Reviews

                    There are no open Gerrit changes