https://bugs.kde.org/show_bug.cgi?id=390865

            Bug ID: 390865
           Summary: Sometimes Crash When Performing Curve Fitting
           Product: LabPlot2
           Version: 2.4.0
          Platform: Neon Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: alexander.se...@web.de
          Reporter: tyna...@gmail.com
  Target Milestone: ---

Application: labplot2 (2.4.0)

Qt Version: 5.9.3
Frameworks Version: 5.43.0
Operating System: Linux 4.13.0-32-generic x86_64
Distribution: KDE neon User Edition 5.12

-- Information about the crash:
I was repeatedly performing curve fitting with multi-peak Gaussian curves. The
algorithm for determining best fit doesn't work very well, so I have to
manually adjust values to be sorta close and then it seems to work.

Sometimes, however, it just crashes when I finish editing the curve parameters
and apply them. I sadly cannot remember now if it crashed when I hit 'Apply',
or if it crashed when I clicked the button to recalculate the curves.

There are a number of oddities to the version of Labplot2 in the Neon
repositories, though. It reports itself as version 2.4, but has a feature that
the website claims will be new in 2.5 (setting lower/upper limits on curve
fitting parameters).

I am using the 'User Edition' of KDE Neon, installed somewhat shortly before
Plasma 5.12 was released. I remember people saying that the LTS User Edition
got the 5.12 update sooner than the 'regular' User Edition, but now there is
only a single User Edition on the website - so I do not know how relevant this
information might be.

The crash can be reproduced sometimes.

-- Backtrace:
Application: labplot2 (labplot2), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0dcb13e940 (LWP 3464))]

Thread 9 (Thread 0x7f0d9506f700 (LWP 3474)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0d9d1ae3cb in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#2  0x00007f0d9d1ae2e8 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#3  0x00007f0dbf1bf6ba in start_thread (arg=0x7f0d9506f700) at
pthread_create.c:333
#4  0x00007f0dc240841d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f0d95870700 (LWP 3473)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0d9d1ae3cb in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#2  0x00007f0d9d1ae2e8 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#3  0x00007f0dbf1bf6ba in start_thread (arg=0x7f0d95870700) at
pthread_create.c:333
#4  0x00007f0dc240841d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f0d96071700 (LWP 3472)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0d9d1ae3cb in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#2  0x00007f0d9d1ae2e8 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#3  0x00007f0dbf1bf6ba in start_thread (arg=0x7f0d96071700) at
pthread_create.c:333
#4  0x00007f0dc240841d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f0d96872700 (LWP 3471)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0d9d1ae3cb in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#2  0x00007f0d9d1ae2e8 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#3  0x00007f0dbf1bf6ba in start_thread (arg=0x7f0d96872700) at
pthread_create.c:333
#4  0x00007f0dc240841d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f0d97073700 (LWP 3470)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0d9d1ae3cb in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#2  0x00007f0d9d1ae2e8 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#3  0x00007f0dbf1bf6ba in start_thread (arg=0x7f0d97073700) at
pthread_create.c:333
#4  0x00007f0dc240841d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f0d97874700 (LWP 3469)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0d9d1ae3cb in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#2  0x00007f0d9d1ae2e8 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#3  0x00007f0dbf1bf6ba in start_thread (arg=0x7f0d97874700) at
pthread_create.c:333
#4  0x00007f0dc240841d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f0d987dd700 (LWP 3468)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0d9d1ae3cb in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#2  0x00007f0d9d1ae2e8 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#3  0x00007f0dbf1bf6ba in start_thread (arg=0x7f0d987dd700) at
pthread_create.c:333
#4  0x00007f0dc240841d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f0da71a6700 (LWP 3467)):
#0  0x00007f0dc23fc74d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f0dbbffd38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0dbbffd49c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0dc32426cb in QEventDispatcherGlib::processEvents
(this=0x7f0da00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f0dc31eae2a in QEventLoop::exec (this=this@entry=0x7f0da71a5c50,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f0dc30138f4 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:515
#6  0x00007f0dbf989315 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f0dc3018709 in QThreadPrivate::start (arg=0x7f0dbfbfdd40) at
thread/qthread_unix.cpp:368
#8  0x00007f0dbf1bf6ba in start_thread (arg=0x7f0da71a6700) at
pthread_create.c:333
#9  0x00007f0dc240841d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f0dcb13e940 (LWP 3464)):
[KCrash Handler]
#6  CartesianPlot::xMin (this=0x0) at
/workspace/build/src/backend/worksheet/plots/cartesian/CartesianPlot.cpp:514
#7  0x000000000071b25e in AxisPrivate::retransformTickLabelPositions
(this=this@entry=0x86cf560) at
/workspace/build/src/backend/worksheet/plots/cartesian/Axis.cpp:1484
#8  0x000000000071b815 in AxisPrivate::retransformTickLabelStrings
(this=0x86cf560) at
/workspace/build/src/backend/worksheet/plots/cartesian/Axis.cpp:1400
#9  0x0000000000723005 in AxisSetLabelsAutoPrecisionCmd::finalize
(this=0x13a2b5e0) at
/workspace/build/src/backend/worksheet/plots/cartesian/Axis.cpp:712
#10 0x00007f0dc42b5963 in QUndoStack::push (this=0x1db6d90,
cmd=cmd@entry=0x13a2b5e0) at util/qundostack.cpp:639
#11 0x00000000006631d0 in AbstractAspect::exec (this=0x139df850,
cmd=0x13a2b5e0) at /workspace/build/src/backend/core/AbstractAspect.cpp:638
#12 0x0000000000710050 in Axis::setLabelsAutoPrecision (this=0x139df850,
labelsAutoPrecision=<optimized out>) at
/workspace/build/src/backend/worksheet/plots/cartesian/Axis.cpp:716
#13 0x000000000058551e in AxisDock::labelsAutoPrecisionChanged (this=<optimized
out>, state=0) at
/workspace/build/src/kdefrontend/dockwidgets/AxisDock.cpp:1127
#14 0x00007f0dc3219279 in QMetaObject::activate (sender=0xde540b0,
signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x7ffe3d188c10) at kernel/qobject.cpp:3766
#15 0x00007f0dc3219b87 in QMetaObject::activate (sender=<optimized out>,
m=m@entry=0x7f0dc4624e20 <QCheckBox::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe3d188c10)
at kernel/qobject.cpp:3628
#16 0x00007f0dc4052f4e in QCheckBox::stateChanged (this=<optimized out>, _t1=0)
at .moc/moc_qcheckbox.cpp:167
#17 0x00007f0dc4045210 in QAbstractButtonPrivate::click (this=0xde540f0) at
widgets/qabstractbutton.cpp:397
#18 0x00007f0dc4045344 in QAbstractButton::mouseReleaseEvent (this=0xde540b0,
e=0x7ffe3d1890a0) at widgets/qabstractbutton.cpp:1010
#19 0x00007f0dc3f89b08 in QWidget::event (this=0xde540b0, event=0x7ffe3d1890a0)
at kernel/qwidget.cpp:9200
#20 0x00007f0dc3f4ab9c in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0xde540b0, e=0x7ffe3d1890a0) at kernel/qapplication.cpp:3722
#21 0x00007f0dc3f531cb in QApplication::notify (this=<optimized out>,
receiver=0xde540b0, e=0x7ffe3d1890a0) at kernel/qapplication.cpp:3198
#22 0x00007f0dc31ecdf8 in QCoreApplication::notifyInternal2
(receiver=receiver@entry=0xde540b0, event=event@entry=0x7ffe3d1890a0) at
kernel/qcoreapplication.cpp:1018
#23 0x00007f0dc3f51b6f in QCoreApplication::sendEvent (event=<optimized out>,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#24 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0xde540b0,
event=event@entry=0x7ffe3d1890a0, alienWidget=alienWidget@entry=0xde540b0,
nativeWidget=0x1da2440, buttonDown=buttonDown@entry=0x7f0dc464c820
<qt_button_down>, lastMouseReceiver=..., spontaneous=true) at
kernel/qapplication.cpp:2704
#25 0x00007f0dc3fa3b06 in QWidgetWindow::handleMouseEvent
(this=this@entry=0x1f4f260, event=event@entry=0x7ffe3d1894a0) at
kernel/qwidgetwindow.cpp:622
#26 0x00007f0dc3fa6563 in QWidgetWindow::event (this=0x1f4f260,
event=0x7ffe3d1894a0) at kernel/qwidgetwindow.cpp:243
#27 0x00007f0dc3f4ab9c in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x1f4f260, e=0x7ffe3d1894a0) at kernel/qapplication.cpp:3722
#28 0x00007f0dc3f525a7 in QApplication::notify (this=0x7ffe3d189980,
receiver=0x1f4f260, e=0x7ffe3d1894a0) at kernel/qapplication.cpp:3481
#29 0x00007f0dc31ecdf8 in QCoreApplication::notifyInternal2
(receiver=receiver@entry=0x1f4f260, event=event@entry=0x7ffe3d1894a0) at
kernel/qcoreapplication.cpp:1018
#30 0x00007f0dc37dc230 in QCoreApplication::sendSpontaneousEvent
(event=0x7ffe3d1894a0, receiver=0x1f4f260) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#31 QGuiApplicationPrivate::processMouseEvent (e=0x13b5c3b0) at
kernel/qguiapplication.cpp:1949
#32 0x00007f0dc37de195 in QGuiApplicationPrivate::processWindowSystemEvent
(e=e@entry=0x13b5c3b0) at kernel/qguiapplication.cpp:1733
#33 0x00007f0dc37b77cb in QWindowSystemInterface::sendWindowSystemEvents
(flags=...) at kernel/qwindowsysteminterface.cpp:939
#34 0x00007f0daf817470 in userEventSourceDispatch (source=<optimized out>) at
qeventdispatcher_glib.cpp:77
#35 0x00007f0dbbffd197 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f0dbbffd3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f0dbbffd49c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f0dc32426af in QEventDispatcherGlib::processEvents (this=0x1d16180,
flags=...) at kernel/qeventdispatcher_glib.cpp:423
#39 0x00007f0dc31eae2a in QEventLoop::exec (this=this@entry=0x7ffe3d189850,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#40 0x00007f0dc31f3d64 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1291
#41 0x00007f0dc37d3bdc in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1679
#42 0x00007f0dc3f4aaf5 in QApplication::exec () at kernel/qapplication.cpp:2910
#43 0x00000000005545f7 in main (argc=1, argv=<optimized out>) at
/workspace/build/src/kdefrontend/LabPlot.cpp:108

The reporter indicates this bug may be a duplicate of or related to bug 376509.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to