[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: building on macOS?

From: Ben Abbott
Subject: Re: building on macOS?
Date: Mon, 12 Nov 2018 14:53:22 -0800

On Nov 7, 2018, at 11:36 PM, Carlo de Falco <address@hidden> wrote:

Il giorno gio 8 nov 2018, 06:40 Ben Abbott <address@hidden> ha scritto:

The last working version is a00379f6f8c4 (fminsearch.m: Accept problem structure for Matlab compatibility).

Changesets 332be8be16eb thru 56ac36b5f7b0 are unable to build __init_qt__.la.

56ac36b5f7b0: eliminate unnecessary use of this-> in member function

        clang: error: linker command failed with exit code 1 (use -v to see invocation)
        make[2]: *** [libgui/graphics/__init_qt__.la] Error 1

Changeset 14e844f1459a fixes the __init_qt__.la build problem.

14e844f1459a: fix linking of __init_qt__.la on Windows systems (bug #54881)

After fixing this problem, when the qt toolkit is used, Octave seg-faults when exiting.

        fatal: caught signal Segmentation fault: 11 -- stopping myself...
        make[2]: *** [doc/interpreter/convhull.txt] Segmentation fault: 11
        make[2]: *** Deleting file `doc/interpreter/convhull.txt’

Speculation on my part, but this may be related to the problem with cleaning up qt before exiting.



I can confirm all inservations reported by Ben so the issue is not related to the Mojave upgrade but it's a general problem for qt on the Mac.

Some additional info.

1) The seg-fault is producible manually, and only happens when the qt toolkit is used.

2) The seg-fault does not occur when the gui is run manually. The seg-fault does occur when using —eval “…”.

The log attached results with  ...

./run-octave --gui --norc --silent --no-history --path /Users/bpabbott/Development/mercurial/default/sources/doc/interpreter/ --eval "interpimages ('doc/interpreter/', 'interpn', 'txt');”


Attachment: octave-gui.log
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]