Project

General

Profile

Bug #24817

RC GUI crashes during configuration selection.

Added by Gennadiy Lukhanin 2 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
High
Start date:
08/18/2020
Due date:
% Done:

100%

Estimated time:
Occurs In:
Co-Assignees:
Duration:

Description

The new version (v1_01_00) of the RC GUI crashes (segfaults) after a user clicks on the “OK” button to confirm the selected sbndaq configuration from the database.
See details in http://dbweb0.fnal.gov/ECL/sbnfd/E/show?e=11264

History

#1 Updated by Iker de Icaza Astiz 2 months ago

Hi Gennadiy,

I don't have access to that log. Would you mind copying the contents in here please?

#2 Updated by Gennadiy Lukhanin 2 months ago

Gennadiy Lukhanin (lukhanin) 08/18/2020 16:23:29
    My tests were completely unsuccessful — artdaq_runcontrol_gui crashes if artdaq_database is enabled. The crash happens right after the configuration is selected.
Gennadiy Lukhanin (lukhanin) 08/18/2020 16:23:52
    gdb) bt

        0×0000000000413bf3 in std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0×20) at /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/include/QtCore/qrefcount.h:66
        QAtomicOps<int>::load<int> (_q_value=…) at /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/include/QtCore/qatomic_cxx11.h:227
        QBasicAtomicInteger<int>::load (this=0×20) at /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/include/QtCore/qbasicatomic.h:103
        QtPrivate::RefCount::deref (this=0×20) at /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/include/QtCore/qrefcount.h:66
        QString::~QString (this=0xc46860, __in_chrg=<optimized out>) at /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/include/QtCore/qstring.h:1135
        0×000000000041d67b in QList<QString>::node_destruct (this=0×7ffffffef8f8, n=0xc46860) at /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/include/QtCore/qlist.h:116
        QList<QString>::erase (it=…, this=0×7ffffffef8f8) at /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/include/QtCore/qlist.h:539
        QList<QString>::removeFirst (this=0×7ffffffef8f8) at /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/include/QtCore/qlist.h:353
        0×0000000000418025 in MainWindow::populateLVComponentsFromDatabase (this=0×7fffffff0750) at /home/nfs/icarus/sbnd_artdaq/work_dirs/runcontrol/artdaq-runcontrol-gui/artdaq-runcontrol/mainwindow.cpp:999
        0×00000000004183f9 in MainWindow::bListDatabaseRunConfigurations (this=0×7fffffff0750) at /home/nfs/icarus/sbnd_artdaq/work_dirs/runcontrol/artdaq-runcontrol-gui/artdaq-runcontrol/mainwindow.cpp:945
        0×00000000004136ed in MainWindow::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /home/nfs/icarus/sbnd_artdaq/work_dirs/runcontrol/build-artdaq-runcontrol-gui/artdaq-runcontrol/artdaqRunControl_autogen/EWIEGA46WW/moc_mainwindow.cpp:246
        0×00007ffff6800b73 in QMetaObject::activate(QObject*, int, int, void**) () from /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/lib/libQt5Core.so.5
        0×00007ffff79d46f2 in QAbstractButton::clicked(bool) () from /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/lib/libQt5Widgets.so.5
        0×00007ffff79d48da in ?? () from /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/lib/libQt5Widgets.so.5
        0×00007ffff79d5bcf in ?? () from /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/lib/libQt5Widgets.so.5
        0×00007ffff79d5d80 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/lib/libQt5Widgets.so.5
        0×00007ffff792e6b8 in QWidget::event(QEvent*) () from /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/lib/libQt5Widgets.so.5
        0×00007ffff78f1641 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/lib/libQt5Widgets.so.5
        0×00007ffff78f9458 in QApplication::notify(QObject*, QEvent*) () from /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/lib/libQt5Widgets.so.5
        0×00007ffff67d8389 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/lib/libQt5Core.so.5
        0×00007ffff78f7cc0 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/lib/libQt5Widgets.so.5
        0×00007ffff794881c in ?? () from /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/lib/libQt5Widgets.so.5
        0×00007ffff794b648 in ?? () from /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/lib/libQt5Widgets.so.5
        0×00007ffff78f1641 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/lib/libQt5Widgets.so.5
        0×00007ffff78f8700 in QApplication::notify(QObject*, QEvent*) () from /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/lib/libQt5Widgets.so.5
        0×00007ffff67d8389 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/lib/libQt5Core.so.5
        0×00007ffff6c88123 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/lib/libQt5Gui.so.5
        0×00007ffff6c894d5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/lib/libQt5Gui.so.5
        0×00007ffff6c649cb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/lib/libQt5Gui.so.5
        0×00007ffff7e70e5a in ?? () from /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/lib/libQt5XcbQpa.so.5
        0×00007ffff3a6c099 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
        0×00007ffff3a6c3f8 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
        0×00007ffff3a6c4ac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
        0×00007ffff6829973 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/lib/libQt5Core.so.5
        0×00007ffff67d719b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/lib/libQt5Core.so.5
        0×00007ffff67dee4e in QCoreApplication::exec() () from /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/lib/libQt5Core.so.5
        0×000000000041323b in main (argc=<optimized out>, argv=0×7fffffff0ca8) at /home/nfs/icarus/sbnd_artdaq/work_dirs/runcontrol/artdaq-runcontrol-gui/artdaq-runcontrol/main.cpp:33

Gennadiy Lukhanin (lukhanin) 08/18/2020 16:27:41
    [icarus@icarus-evb01 DAQInterface]$ which artdaqRunControl
    /daq/software/products_dev/artdaq_runcontrol_gui/v1_01_00/slf7.x86_64.e19.prof/bin/artdaqRunControl
    [icarus@icarus-evb01 DAQInterface]$ ldd /daq/software/products_dev/artdaq_runcontrol_gui/v1_01_00/slf7.x86_64.e19.prof/bin/artdaqRunControl linux-vdso.so.1 => (0×00007ffeba3f2000) libQt5Widgets.so.5 => /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/lib/libQt5Widgets.so.5 (0×00007fed30152000) libxmlrpc_util++.so.8 => /daq/software/products/xmlrpc_c/v1_51_06/Linux64bit+3.10-2.17-e19-prof/lib/libxmlrpc_util++.so.8 (0×00007fed2ff4c000) libxmlrpc_client++.so.8 => /daq/software/products/xmlrpc_c/v1_51_06/Linux64bit+3.10-2.17-e19-prof/lib/libxmlrpc_client++.so.8 (0×00007fed2fd2f000) libxmlrpc++.so.8 => /daq/software/products/xmlrpc_c/v1_51_06/Linux64bit+3.10-2.17-e19-prof/lib/libxmlrpc++.so.8 (0×00007fed2fb1b000) libQt5Gui.so.5 => /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/lib/libQt5Gui.so.5 (0×00007fed2f536000) libQt5Core.so.5 => /daq/software/products/qt/v5_12_3/Linux64bit+3.10-2.17-e19/lib/libQt5Core.so.5 (0×00007fed2ef30000) libstdc++.so.6 => /daq/software/products/gcc/v8_2_0/Linux64bit+3.10-2.17/lib64/libstdc++.so.6 (0×00007fed2ebac000) libm.so.6 => /lib64/libm.so.6 (0×00007fed2e8aa000) libgcc_s.so.1 => /daq/software/products/gcc/v8_2_0/Linux64bit+3.10-2.17/lib64/libgcc_s.so.1 (0×00007fed2e692000) libc.so.6 => /lib64/libc.so.6 (0×00007fed2e2c4000) libpthread.so.0 => /lib64/libpthread.so.0 (0×00007fed2e0a8000) libGL.so.1 => /lib64/libGL.so.1 (0×00007fed2de1c000) libxmlrpc_util.so.4 => /daq/software/products/xmlrpc_c/v1_51_06/Linux64bit+3.10-2.17-e19-prof/lib/libxmlrpc_util.so.4 (0×00007fed2dc16000) libxmlrpc_packetsocket.so.8 => /daq/software/products/xmlrpc_c/v1_51_06/Linux64bit+3.10-2.17-e19-prof/lib/libxmlrpc_packetsocket.so.8 (0×00007fed2da0e000) libxmlrpc_client.so.3 => /daq/software/products/xmlrpc_c/v1_51_06/Linux64bit+3.10-2.17-e19-prof/lib/libxmlrpc_client.so.3 (0×00007fed2d803000) libxmlrpc.so.3 => /daq/software/products/xmlrpc_c/v1_51_06/Linux64bit+3.10-2.17-e19-prof/lib/libxmlrpc.so.3 (0×00007fed2d5ea000) libxmlrpc_xmlparse.so.3 => /daq/software/products/xmlrpc_c/v1_51_06/Linux64bit+3.10-2.17-e19-prof/lib/libxmlrpc_xmlparse.so.3 (0×00007fed2d3db000) libxmlrpc_xmltok.so.3 => /daq/software/products/xmlrpc_c/v1_51_06/Linux64bit+3.10-2.17-e19-prof/lib/libxmlrpc_xmltok.so.3 (0×00007fed2d1af000) libcurl.so.4 => /lib64/libcurl.so.4 (0×00007fed2cf45000) libpng15.so.15 => /lib64/libpng15.so.15 (0×00007fed2cd1a000) libz.so.1 => /lib64/libz.so.1 (0×00007fed2cb04000) libdl.so.2 => /lib64/libdl.so.2 (0×00007fed2c900000) libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0×00007fed2c6fe000) libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0×00007fed2c3e8000) /lib64/ld-linux-x86-64.so.2 (0×00007fed307a3000) libGLX.so.0 => /lib64/libGLX.so.0 (0×00007fed2c1b6000) libX11.so.6 => /lib64/libX11.so.6 (0×00007fed2be78000) libXext.so.6 => /lib64/libXext.so.6 (0×00007fed2bc66000) libGLdispatch.so.0 => /lib64/libGLdispatch.so.0 (0×00007fed2b9b0000) libidn.so.11 => /lib64/libidn.so.11 (0×00007fed2b77d000) libssh2.so.1 => /lib64/libssh2.so.1 (0×00007fed2b550000) libssl3.so => /lib64/libssl3.so (0×00007fed2b2f7000) libsmime3.so => /lib64/libsmime3.so (0×00007fed2b0cf000) libnss3.so => /lib64/libnss3.so (0×00007fed2ada0000) libnssutil3.so => /lib64/libnssutil3.so (0×00007fed2ab70000) libplds4.so => /lib64/libplds4.so (0×00007fed2a96c000) libplc4.so => /lib64/libplc4.so (0×00007fed2a767000) libnspr4.so => /lib64/libnspr4.so (0×00007fed2a529000) libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0×00007fed2a2dc000) libkrb5.so.3 => /lib64/libkrb5.so.3 (0×00007fed29ff3000) libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0×00007fed29dc0000) libcom_err.so.2 => /lib64/libcom_err.so.2 (0×00007fed29bbc000) liblber-2.4.so.2 => /lib64/liblber-2.4.so.2 (0×00007fed299ad000) libldap-2.4.so.2 => /lib64/libldap-2.4.so.2 (0×00007fed29758000) libpcre.so.1 => /lib64/libpcre.so.1 (0×00007fed294f6000) libxcb.so.1 => /lib64/libxcb.so.1 (0×00007fed292ce000) libssl.so.10 => /lib64/libssl.so.10 (0×00007fed2905c000) libcrypto.so.10 => /lib64/libcrypto.so.10 (0×00007fed28bf9000) librt.so.1 => /lib64/librt.so.1 (0×00007fed289f1000) libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0×00007fed287e1000) libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0×00007fed285dd000) libresolv.so.2 => /lib64/libresolv.so.2 (0×00007fed283c4000) libsasl2.so.3 => /lib64/libsasl2.so.3 (0×00007fed281a7000) libXau.so.6 => /lib64/libXau.so.6 (0×00007fed27fa3000) libselinux.so.1 => /lib64/libselinux.so.1 (0×00007fed27d7c000) libcrypt.so.1 => /lib64/libcrypt.so.1 (0×00007fed27b45000) libfreebl3.so => /lib64/libfreebl3.so (0×00007fed27942000)
Gennadiy Lukhanin (lukhanin) 08/18/2020 16:29:00
    [icarus@icarus-evb01 DAQInterface]$ ups active |grep artdaq
    artdaq v3_09_01 -f Linux64bit+3.10-2.17 -q e19:prof:py2:s94 -z /daq/software/products
    artdaq_core v3_06_01 -f Linux64bit+3.10-2.17 -q e19:prof:py2:s94 -z /daq/software/products
    artdaq_daqinterface v3_09_01 -f NULL -z /daq/software/products
    artdaq_database v1_04_88 -f Linux64bit+3.10-2.17 -q e19:prof:py2:s94 -z /daq/software/products
    artdaq_epics_plugin v1_02_14 -f Linux64bit+3.10-2.17 -q e19:prof:py2:s94 -z /daq/software/products
    artdaq_mfextensions v1_05_00 -f Linux64bit+3.10-2.17 -q e19:prof:py2:s94 -z /daq/software/products
    artdaq_pcp_mmv_plugin v1_00_05a -f Linux64bit+3.10-2.17 -q e19:prof:py2:s94 -z /daq/software/products
    artdaq_runcontrol_gui v1_01_00 -f Linux64bit+3.10-2.17 -q e19:prof -z /daq/software/products_dev
    artdaq_utilities v1_05_07 -f Linux64bit+3.10-2.17 -q e19:prof:py2:s94 -z /daq/software/products
    /home/nfs/icarus/DAQ_DevAreas/DAQ_18Aug20/srcs/sbndaq/sbn-fd/DAQInterface/setup_sbn_artdaq_local.sh -f -z
    sbndaq_artdaq_core v0_07_00 -f Linux64bit+3.10-2.17 -q e19:prof:py2:s94 -z /home/nfs/icarus/DAQ_DevAreas/DAQ_18Aug20/localProducts_sbndaq_v0_07_00_e19_prof_s94_py2
    sbndaq_artdaq v0_07_00 -f Linux64bit+3.10-2.17 -q e19:prof:py2:s94 -z /home/nfs/icarus/DAQ_DevAreas/DAQ_18Aug20/localProducts_sbndaq_v0_07_00_e19_prof_s94_py2
Gennadiy Lukhanin (lukhanin) 08/18/2020 20:31:22
    After making improvements to the /daq/software/products/artdaq_daqinterface/v3_09_01/utils/ fhiclize_known_boardreaders_list_file.awk script, we were able to run the console version of sbndaq (./run & ./stop) with artdaq_database enabled (run# 2144). We also confirmed that a valid run history record was created in the artdaq database. However, a new version v1_01_00 of the run control GUI introduced a bug, which causeless the run control GUI to segfault after the user selects a configuration from a database. I filed a redmine issue https://cdcvs.fnal.gov/redmine/issues/24817 

#3 Updated by Iker de Icaza Astiz about 1 month ago

  • Status changed from New to Resolved

Commit #5f5d95be solves this issue.

#4 Updated by Iker de Icaza Astiz about 1 month ago

  • % Done changed from 0 to 100


Also available in: Atom PDF