radeon-profile icon indicating copy to clipboard operation
radeon-profile copied to clipboard

segfault while configuring top bar

Open miiichael opened this issue 4 years ago • 0 comments

Launched radeon-profile for the first time. Attempted to customise the top bar, adding a label pair containing Fan speed and Fan speed RPM. Click Save. Click Okay. SEGV.

GNU gdb (Debian 8.2.1-2+b3) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./radeon-profile...(no debugging symbols found)...done.
(gdb) run
Starting program: /home/michael/src/radeon-profile/radeon-profile/radeon-profile 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff1f2f700 (LWP 25898)]
[New Thread 0x7ffff086a700 (LWP 25899)]
[New Thread 0x7fffebfff700 (LWP 25900)]
[New Thread 0x7fffeb7fe700 (LWP 25901)]
[New Thread 0x7fffeaffd700 (LWP 25902)]
[New Thread 0x7fffea7fc700 (LWP 25903)]
[Detaching after fork from child process 25907]
[New Thread 0x7fffcc2c3700 (LWP 25911)]
[New Thread 0x7fffcbac2700 (LWP 25912)]
[New Thread 0x7fffcb2c1700 (LWP 25913)]
[New Thread 0x7fffcaac0700 (LWP 25914)]
[New Thread 0x7fffca2bf700 (LWP 25915)]
[New Thread 0x7fffc9abe700 (LWP 25916)]
[New Thread 0x7fffc92bd700 (LWP 25917)]
[New Thread 0x7fffc8abc700 (LWP 25918)]
[New Thread 0x7fffabfff700 (LWP 25919)]
[New Thread 0x7fffab7fe700 (LWP 25920)]
[Detaching after fork from child process 25921]
[Detaching after fork from child process 25922]
Daemon is not connected, therefore it can't be configured
[Detaching after fork from child process 25923]
[Detaching after fork from child process 25924]
[Detaching after fork from child process 25935]
[Detaching after fork from child process 25949]

Thread 1 "radeon-profile" received signal SIGSEGV, Segmentation fault.
0x00007ffff616f76e in free () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt full
#0  0x00007ffff616f76e in free () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1  0x00007ffff7b4141d in QtCharts::ChartDataSet::deleteAllSeries (this=this@entry=0x555555e902e0) at chartdataset.cpp:424
        s = 0x555555e8ff08
        _container_ = {c = {<QListSpecialMethods<QtCharts::QAbstractSeries*>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, 
                        static is_always_lock_free = true}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x555555f72e00}, d = 0x555555f72e00}}, i = {i = 0x555555f72e10}, e = {i = 0x555555f72e18}, control = 1}
#2  0x00007ffff7b41727 in QtCharts::ChartDataSet::~ChartDataSet (this=0x555555e902e0, __in_chrg=<optimized out>) at chartdataset.cpp:70
No locals.
#3  0x00007ffff7b41779 in QtCharts::ChartDataSet::~ChartDataSet (this=0x555555e902e0, __in_chrg=<optimized out>) at chartdataset.cpp:68
No locals.
#4  0x00007ffff7b4e1f1 in QtCharts::QChart::~QChart (this=0x555555e8ff20, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:116
No locals.
#5  0x0000555555434425 in PieItem::~PieItem() ()
No symbol table info available.
#6  0x000055555543f1c7 in TopbarManager::createTopbar(QHBoxLayout*) ()
No symbol table info available.
#7  0x000055555543b1f0 in radeon_profile::on_btn_configureTopbar_clicked() ()
No symbol table info available.
#8  0x0000555555481a63 in radeon_profile::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
No symbol table info available.
#9  0x0000555555482025 in radeon_profile::qt_metacall(QMetaObject::Call, int, void**) ()
No symbol table info available.
#10 0x00007ffff6964230 in doActivate<false> (sender=0x5555558fe8b0, signal_index=9, argv=argv@entry=0x7fffffffd190) at /usr/include/c++/10/bits/atomic_base.h:741
        method = <optimized out>
        receiver = 0x7fffffffde90
        td = <optimized out>
        receiverInSameThread = <optimized out>
        senderData = {previous = 0x0, receiver = 0x7fffffffde90, sender = 0x5555558fe8b0, signal = 9}
        c = 0x5555559344f0
        connections = {d = 0x55555591b560}
        list = <optimized out>
        inSenderThread = true
        highestConnectionId = 2
        signalVector = 0x555555934550
        currentThreadId = 0x7ffff32727c0
        sp = <optimized out>
        signal_spy_set = 0x0
        empty_argv = {0x0}
        senderDeleted = false
#11 0x00007ffff695d840 in QMetaObject::activate (sender=sender@entry=0x5555558fe8b0, m=m@entry=0x7ffff7a76180 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fffffffd190)
    at kernel/qobject.cpp:3946
        signal_index = <optimized out>
#12 0x00007ffff7665e32 in QAbstractButton::clicked (this=this@entry=0x5555558fe8b0, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:308
        _a = {0x0, 0x7fffffffd18c}
#13 0x00007ffff766679a in QAbstractButtonPrivate::emitClicked (this=this@entry=0x5555558fe8f0) at widgets/qabstractbutton.cpp:415
        q = 0x5555558fe8b0
        guard = {wp = {d = 0x55555591b390, value = 0x5555558fe8b0}}
#14 0x00007ffff76680ef in QAbstractButtonPrivate::click (this=this@entry=0x5555558fe8f0) at widgets/qabstractbutton.cpp:408
        q = 0x5555558fe8b0
        changeState = <optimized out>
        guard = {wp = {d = 0x55555591b390, value = 0x5555558fe8b0}}
#15 0x00007ffff76682c1 in QAbstractButton::mouseReleaseEvent (this=0x5555558fe8b0, e=0x7fffffffd760) at widgets/qabstractbutton.cpp:1044
--Type <RET> for more, q to quit, c to continue without paging--c
        d = <optimized out>
#16 0x00007ffff75b8f9e in QWidget::event (this=0x5555558fe8b0, event=0x7fffffffd760) at kernel/qwidget.cpp:9019
        d = 0x5555558fe8f0
#17 0x00007ffff757915f in QApplicationPrivate::notify_helper (this=this@entry=0x5555557037f0, receiver=receiver@entry=0x5555558fe8b0, e=e@entry=0x7fffffffd760) at kernel/qapplication.cpp:3632
        consumed = false
        filtered = false
#18 0x00007ffff758004b in QApplication::notify (this=0x7fffffffd460, receiver=0x5555558fe8b0, e=0x7fffffffd760) at kernel/qapplication.cpp:3076
        me = {<QInputEvent> = {<QEvent> = {_vptr.QEvent = 0x7ffff73fc7a0 <vtable for QMouseEvent+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7ffff6af2460 <qt_meta_stringdata_QEvent>, data = 0x7ffff6af1ea0 <qt_meta_data_QEvent>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 3, posted = 0, spont = 1, m_accept = 1, reserved = 2737}, modState = {i = 0}, ts = 135770680}, l = {xp = 113, yp = 10}, w = {xp = 267, yp = 270}, s = {xp = 747, yp = 527}, b = Qt::LeftButton, mouseState = {i = 0}, caps = 0, velocity = {v = {0, 0}}}
        w = 0x5555558fe8b0
        mouse = 0x7fffffffd760
        eventAccepted = <optimized out>
        relpos = {xp = 113, yp = 10}
        pw = {wp = {d = 0x55555591b390, value = 0x5555558fe8b0}}
        d = <optimized out>
        res = false
#19 0x00007ffff692df0a in QCoreApplication::notifyInternal2 (receiver=0x5555558fe8b0, event=0x7fffffffd760) at ../../include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
        selfRequired = true
        result = false
        cbdata = {0x5555558fe8b0, 0x7fffffffd760, 0x7fffffffd52f}
        d = <optimized out>
        threadData = 0x555555703960
        scopeLevelCounter = {threadData = 0x555555703960}
#20 0x00007ffff757f076 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x5555558fe8b0, event=event@entry=0x7fffffffd760, alienWidget=alienWidget@entry=0x5555558fe8b0, nativeWidget=0x7fffffffde90, buttonDown=buttonDown@entry=0x7ffff7a9f9f0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2614
        receiverGuard = {wp = {d = 0x55555591b390, value = 0x5555558fe8b0}}
        nativeGuard = {wp = {d = 0x555555935c90, value = 0x7fffffffde90}}
        alienGuard = {wp = {d = 0x55555591b390, value = 0x5555558fe8b0}}
        activePopupWidget = {wp = {d = 0x0, value = 0x0}}
        graphicsWidget = false
        widgetUnderMouse = <optimized out>
        wasLeaveAfterRelease = true
        result = true
#21 0x00007ffff75d1001 in QWidgetWindow::handleMouseEvent (this=0x555555935a60, event=0x7fffffffda20) at /usr/include/c++/10/bits/atomic_base.h:420
        translated = {<QInputEvent> = {<QEvent> = {_vptr.QEvent = 0x7ffff73fc7a0 <vtable for QMouseEvent+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7ffff6af2460 <qt_meta_stringdata_QEvent>, data = 0x7ffff6af1ea0 <qt_meta_data_QEvent>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 3, posted = 0, spont = 1, m_accept = 1, reserved = 8191}, modState = {i = 0}, ts = 135770680}, l = {xp = 113, yp = 10}, w = {xp = 267, yp = 270}, s = {xp = 747, yp = 527}, b = Qt::LeftButton, mouseState = {i = 0}, caps = 0, velocity = {v = {0, 0}}}
        contextMenuTrigger = QEvent::MouseButtonPress
        widget = 0x5555558fe8b0
        mapped = {xp = 113, yp = 10}
        initialPress = <optimized out>
        receiver = 0x5555558fe8b0
#22 0x00007ffff75d432e in QWidgetWindow::event (this=0x555555935a60, event=0x7fffffffda20) at kernel/qwidgetwindow.cpp:300
No locals.
#23 0x00007ffff757915f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x555555935a60, e=0x7fffffffda20) at kernel/qapplication.cpp:3632
        consumed = false
        filtered = false
#24 0x00007ffff692df0a in QCoreApplication::notifyInternal2 (receiver=0x555555935a60, event=0x7fffffffda20) at ../../include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
        selfRequired = true
        result = false
        cbdata = {0x555555935a60, 0x7fffffffda20, 0x7fffffffd8cf}
        d = <optimized out>
        threadData = 0x555555703960
        scopeLevelCounter = {threadData = 0x555555703960}
#25 0x00007ffff6e91583 in QGuiApplicationPrivate::processMouseEvent (e=0x555556093d40) at kernel/qguiapplication.cpp:2282
        type = QEvent::MouseButtonRelease
        button = Qt::LeftButton
        window = 0x555555935a60
        positionChanged = <optimized out>
        mouseMove = <optimized out>
        mousePress = <optimized out>
        localPoint = {xp = 267, yp = 270}
        globalPoint = {xp = 747, yp = 527}
        doubleClick = false
        ev = {<QInputEvent> = {<QEvent> = {_vptr.QEvent = 0x7ffff73fc7a0 <vtable for QMouseEvent+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7ffff6af2460 <qt_meta_stringdata_QEvent>, data = 0x7ffff6af1ea0 <qt_meta_data_QEvent>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 3, posted = 0, spont = 1, m_accept = 1, reserved = 0}, modState = {i = 0}, ts = 135770680}, l = {xp = 267, yp = 270}, w = {xp = 267, yp = 270}, s = {xp = 747, yp = 527}, b = Qt::LeftButton, mouseState = {i = 0}, caps = 0, velocity = {v = {0, 0}}}
#26 0x00007ffff6e6764c in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
        event = 0x555556093d40
        nevents = 1
#27 0x00007ffff2e277da in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
        xcbEventSource = <optimized out>
        flags = {i = 36}
#28 0x00007ffff53dce3b in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#29 0x00007ffff53dd0e8 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#30 0x00007ffff53dd19f in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#31 0x00007ffff698545f in QEventDispatcherGlib::processEvents (this=0x555555759aa0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
        d = 0x555555708450
        canWait = true
        savedFlags = {i = 0}
        result = <optimized out>
#32 0x00007ffff692c8cb in QEventLoop::exec (this=this@entry=0x7fffffffdd50, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
        d = 0x55555592c8d0
        threadData = <optimized out>
        locker = {val = 93824993998232}
        ref = <optimized out>
        app = <optimized out>
#33 0x00007ffff6934b40 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
        threadData = 0x555555703960
        eventLoop = {<QObject> = {_vptr.QObject = 0x7ffff6bc2888 <vtable for QEventLoop+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7ffff6af6b20 <qt_meta_stringdata_QObject>, data = 0x7ffff6af6a00 <qt_meta_data_QObject>, static_metacall = 0x7ffff6962c70 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x55555592c8d0}, static staticQtMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7ffff6af9ac0 <qt_meta_stringdata_Qt>, data = 0x7ffff6af6c40 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = {direct = 0x7ffff6bba100 <QObject::staticMetaObject>}, stringdata = 0x7ffff6af1320 <qt_meta_stringdata_QEventLoop>, data = 0x7ffff6af12c0 <qt_meta_data_QEventLoop>, static_metacall = 0x7ffff692c610 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}
        returnCode = <optimized out>
#34 0x0000555555419bfd in main ()
No symbol table info available.
(gdb) 

Freshly built from current git on Debian - QT5 5.15.2, gcc 8.4.0.

I hope jumping through all those hoops to get the dbgsym packages wasn't in vain. 😅

miiichael avatar Feb 14 '21 16:02 miiichael