Bug 230072 - devel/qt5-core: qt5 segfaults while using octave
Summary: devel/qt5-core: qt5 segfaults while using octave
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Stephen Montgomery-Smith
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-26 22:37 UTC by sgk
Modified: 2018-09-17 19:20 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sgk 2018-07-26 22:37:57 UTC
On starting octave with its GUI, if one immediately moves the window right after it has appeared, one gets

%  gdb81 /usr/local/libexec/octave/4.4.0/exec/amd64-portbld-freebsd12.0/octave-gui octave-gui.core

warning: Unexpected size of section `.reg-xstate/100808' 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/100808' in core file.
#0  0x0000000204657c4d in QVariant::QVariant(QVariant const&) ()
   from /usr/local/lib/qt5/libQt5Core.so.5
[Current thread #0  0x0000000204657c4d in QVariant::QVariant(QVariant const&) ()
   from /usr/local/lib/qt5/libQt5Core.so.5
#1  0x000000022530c769 in ?? ()
   from /usr/local/lib/qt5/plugins/sqldrivers/libqsqlite.so
#2  0x0000000225307f42 in ?? ()
   from /usr/local/lib/qt5/plugins/sqldrivers/libqsqlite.so
#3  0x00000002007dc941 in QSqlResult::execBatch(bool) ()
   from /usr/local/lib/qt5/libQt5Sql.so.5
#4  0x00000002021c6e32 in ?? () from /usr/local/lib/qt5/libQt5Help.so.5
#5  0x00000002021c8ed2 in ?? () from /usr/local/lib/qt5/libQt5Help.so.5
#6  0x0000000204457a2a in ?? () from /usr/local/lib/qt5/libQt5Core.so.5
#7  0x000000020414d426 in thread_start (curthread=0x2069eae00)
    at /usr/src/lib/libthr/thread/thr_create.c:291
#8  0x0000000000000000 in ?? ()
Backtrace stopped: Cannot access memory at address 0x7fffbf5f9000
is 1 (LWP 100808)]

This is on a month old freebsd-current.

% uname -a
FreeBSD troutmask.apl.washington.edu 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r335642: Mon Jun 25 15:26:32 PDT 2018 :src/amd64.amd64/sys/SPEW  amd64

% pkg info | grep octave
octave-4.4.0_2                 High-level interactive language for numerical computations
octave-forge-base-1.4_3        Octave-forge baseport for all packages
octave-forge-control-3.1.0_1   Octave-forge package control
octave-forge-netcdf-1.0.12_1   Octave-forge package netcdf
octave-forge-signal-1.4.0      Octave-forge package signal

%  pkg info | grep qt5 | awk '{print $1}'
qscintilla2-qt5-2.10.4
qt5-assistant-5.10.1
qt5-buildtools-5.10.1
qt5-core-5.10.1_2
qt5-dbus-5.10.1
qt5-designer-5.10.1
qt5-gui-5.10.1
qt5-help-5.10.1
qt5-linguist-5.10.1
qt5-linguisttools-5.10.1
qt5-network-5.10.1
qt5-opengl-5.10.1
qt5-printsupport-5.10.1
qt5-qmake-5.10.1
qt5-qml-5.10.1_1
qt5-quick-5.10.1
qt5-sql-5.10.1
qt5-sqldrivers-sqlite3-5.10.1
qt5-testlib-5.10.1
qt5-uiplugin-5.10.1
qt5-uitools-5.10.1
qt5-widgets-5.10.1
qt5-xml-5.10.1
qt5-xmlpatterns-5.10.1
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2018-08-02 05:24:52 UTC
Moin moin

I think this is foremost a problem in octave, not Qt.
Stephen, can you take a look?


mfg Tobias
Comment 2 Stephen Montgomery-Smith freebsd_committer freebsd_triage 2018-08-06 20:01:17 UTC
Although one other person has reported this problem to me, I am unable to reproduce it.  So I really don't know what to do.
Comment 3 sgk 2018-08-13 18:49:13 UTC
I have updated to 4.4.1, and the problem persists.

I have submitted a bug report with octave developers.

https://savannah.gnu.org/bugs/index.php?54507
Comment 4 sgk 2018-09-17 19:06:34 UTC
All,

After updating to the newer qt5 ports, the problems seems to have gone away.
I now have 

qscintilla2-qt5-2.10.4    qt5-assistant-5.11.1
qt5-buildtools-5.11.1     qt5-core-5.11.1
qt5-dbus-5.11.1           qt5-designer-5.11.1
qt5-gui-5.11.1            qt5-help-5.11.1
qt5-linguist-5.11.1       qt5-linguisttools-5.11.1
qt5-network-5.11.1        qt5-opengl-5.11.1
qt5-printsupport-5.11.1   qt5-qmake-5.11.1
qt5-qml-5.11.1            qt5-quick-5.11.1
qt5-sql-5.11.1            qt5-sqldrivers-sqlite3-5.11.1
qt5-testlib-5.11.1        qt5-uiplugin-5.11.1
qt5-uitools-5.11.1        qt5-widgets-5.11.1
qt5-x11extras-5.11.1      qt5-xml-5.11.1
qt5-xmlpatterns-5.11.1

This report can probably be closed.
Comment 5 Tobias C. Berner freebsd_committer freebsd_triage 2018-09-17 19:20:23 UTC
Sounds good to me :) -- please feel free to re-open the issue for further investigation if it should re-occur.

mfg Tobias