Fwd: Building math/octave with QT4?

Steve Kargl sgk at troutmask.apl.washington.edu
Fri Jun 22 21:17:35 UTC 2018


On Wed, Jun 20, 2018 at 10:50:10AM +0200, Adriaan de Groot wrote:
> On Tuesday, 19 June 2018 23:05:39 CEST Montgomery-Smith, Stephen wrote:
> > Dear Gleb,
> > 
> > I am the maintainer of the math/octave port.  The following error was
> > reported to me, which seems to be related to the devel/qt5-core port.
> > Do you think it is likely that this problem is fixed by r472242 and
> > r472262 which you committed recently?  I'm still using qt5-core-5.9.4_2,
> > and I am unable to reproduce the error.
> > 
> 
> I think I was the one who recommended switching octave to Qt5 (since kde@ 
> would like Qt4 to go away, really). I don't actually know what octave does, 

octave segfaults ;-).

Stephen asked me to try qt5-core-5.10.1_2 as I had qt5-core-5.10.1_1
installed.  So, the sequence went as follows.

% su
% pkg delete octave
(removes all things octave)
% cd /usr/ports
% svn update
% make fetchindex
% svn revert -R math/octave
(Remove my reverting qt4 to qt5 change)
% portmaster math/octave
(this installed qt5-core-5.10.1_2)
% portmaster math/octave-forge-netcdf
% portmaster math/octave-forge-signal
% exit
(leave su to root)
% octave --gui
(lauched octave and watch it die)
% gdb81 $PATH_TO/octave-gui octave-gui.core
warning: Unexpected size of section `.reg-xstate/100615' in core file.
Core was generated by `/usr/local/libexec/octave/4.4.0/exec/amd64-portbld-freebsd12.0/octave-gui --gui'.
Program terminated with signal SIGSEGV, Segmentation fault.

warning: Unexpected size of section `.reg-xstate/100615' in core file.
#0  0x00000002056b294d in QVariant::QVariant(QVariant const&) ()
   from /usr/local/lib/qt5/libQt5Core.so.5
[Current thread is 1 (LWP 100615)]
(gdb) bt
#0  0x00000002056b294d in QVariant::QVariant(QVariant const&) ()
   from /usr/local/lib/qt5/libQt5Core.so.5
[Current thread is 1 (LWP 100615)]
(gdb) bt
#0  0x00000002056b294d in QVariant::QVariant(QVariant const&) ()
   from /usr/local/lib/qt5/libQt5Core.so.5
#1  0x0000000227e0d3c9 in ?? ()
   from /usr/local/lib/qt5/plugins/sqldrivers/libqsqlite.so
#2  0x0000000227e08ba2 in ?? ()
   from /usr/local/lib/qt5/plugins/sqldrivers/libqsqlite.so
#3  0x0000000205117351 in QSqlResult::execBatch(bool) ()
   from /usr/local/lib/qt5/libQt5Sql.so.5
#4  0x0000000203cf9ca2 in ?? () from /usr/local/lib/qt5/libQt5Help.so.5
#5  0x0000000203cfbd42 in ?? () from /usr/local/lib/qt5/libQt5Help.so.5
#6  0x00000002054b272a in ?? () from /usr/local/lib/qt5/libQt5Core.so.5
#7  0x0000000200d7e426 in thread_start (curthread=0x2049bae00)
    at /usr/src/lib/libthr/thread/thr_create.c:291
#8  0x0000000000000000 in ?? ()
Backtrace stopped: Cannot access memory at address 0x7fffbf5f9000

-- 
Steve


More information about the kde-freebsd mailing list