Bug 333516

Summary: KAlgebra crashes on exporting image
Product: [Applications] kalgebra Reporter: Saikrishna <saiarcot895>
Component: generalAssignee: Aleix Pol <aleixpol>
Status: RESOLVED WORKSFORME    
Severity: crash CC: justin.zobel, shlomif
Priority: NOR Keywords: drkonqi
Version First Reported In: 0.11   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Saikrishna 2014-04-16 17:35:14 UTC
Application: kalgebra (0.11)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-generic x86_64
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I had opened KAlgebra and entered a 3D function to be plotted. I went up to the 3D Graph menu to save the image as a graph. After clicking the save button in the dialog box, KAlgebra crashed. The crash is not specific to a function.

The crash can be reproduced every time.

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

Thread 5 (Thread 0x7f8b9a5bb700 (LWP 11847)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8bb009981d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f8bb0099859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f8bac34c182 in start_thread (arg=0x7f8b9a5bb700) at pthread_create.c:312
#4  0x00007f8bac89930d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f8b57783700 (LWP 11848)):
#0  __tls_get_addr (ti=0x7f8bb106da50) at dl-tls.c:775
#1  0x00007f8bb0c05044 in get_thread_data () at thread/qthread_unix.cpp:188
#2  QThreadData::current () at thread/qthread_unix.cpp:219
#3  0x00007f8bb0d35af5 in postEventSourcePrepare (s=0x7f8b50001350, timeout=0x7f8b57782c64) at kernel/qeventdispatcher_glib.cpp:263
#4  0x00007f8babe6c68d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f8babe6cf03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f8babe6d0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f8bb0d357be in QEventDispatcherGlib::processEvents (this=0x7f8b500008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#8  0x00007f8bb0d070af in QEventLoop::processEvents (this=this@entry=0x7f8b57782e20, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f8bb0d073a5 in QEventLoop::exec (this=this@entry=0x7f8b57782e20, flags=...) at kernel/qeventloop.cpp:204
#10 0x00007f8bb0c03c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#11 0x00007f8bb0c0632f in QThreadPrivate::start (arg=0x102c430) at thread/qthread_unix.cpp:349
#12 0x00007f8bac34c182 in start_thread (arg=0x7f8b57783700) at pthread_create.c:312
#13 0x00007f8bac89930d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f8b55801700 (LWP 11849)):
#0  0x00007f8bac88a6bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f8babeadc20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8babe6cb14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8babe6cf7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f8babe6d0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f8bb0d357be in QEventDispatcherGlib::processEvents (this=0x7f8b480008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f8bb0d070af in QEventLoop::processEvents (this=this@entry=0x7f8b55800de0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f8bb0d073a5 in QEventLoop::exec (this=this@entry=0x7f8b55800de0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f8bb0c03c5f in QThread::exec (this=this@entry=0x17ffe50) at thread/qthread.cpp:537
#9  0x00007f8bb0ce8823 in QInotifyFileSystemWatcherEngine::run (this=0x17ffe50) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f8bb0c0632f in QThreadPrivate::start (arg=0x17ffe50) at thread/qthread_unix.cpp:349
#11 0x00007f8bac34c182 in start_thread (arg=0x7f8b55801700) at pthread_create.c:312
#12 0x00007f8bac89930d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f8b5487d700 (LWP 11879)):
#0  0x00007f8bac88a6bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f8babeadc20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8babe6cb14 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8babe6cf7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f8babe6d0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f8bb0d357be in QEventDispatcherGlib::processEvents (this=0x7f8b4c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f8bb0d070af in QEventLoop::processEvents (this=this@entry=0x7f8b5487cde0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f8bb0d073a5 in QEventLoop::exec (this=this@entry=0x7f8b5487cde0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f8bb0c03c5f in QThread::exec (this=this@entry=0x19bcb60) at thread/qthread.cpp:537
#9  0x00007f8bb0ce8823 in QInotifyFileSystemWatcherEngine::run (this=0x19bcb60) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f8bb0c0632f in QThreadPrivate::start (arg=0x19bcb60) at thread/qthread_unix.cpp:349
#11 0x00007f8bac34c182 in start_thread (arg=0x7f8b5487d700) at pthread_create.c:312
#12 0x00007f8bac89930d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f8bb1ee37c0 (LWP 11846)):
[KCrash Handler]
#6  0x00007f8ba7ffbe9c in ?? () from /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
#7  0x00007f8bae14c014 in Analitza::Plotter3D::drawPlots (this=0x13767c8) at ../../analitzaplot/plotter3d.cpp:300
#8  0x00007f8bade45760 in QGLWidget::glDraw (this=0x13767a0) at qgl.cpp:4626
#9  0x00007f8bae374aa8 in Analitza::PlotsView3D::resizeGL (this=this@entry=0x13767a0, newwidth=<optimized out>, newheight=newheight@entry=387) at ../../analitzagui/plotsview3d.cpp:92
#10 0x00007f8bade457f8 in QGLWidget::glDraw (this=0x13767a0) at qgl.cpp:4624
#11 0x00007f8bade4e3f4 in QGLWidget::renderPixmap (this=0x13767a0, w=w@entry=0, h=h@entry=0, useContext=useContext@entry=false) at qgl.cpp:4527
#12 0x00000000004147b0 in KAlgebra::save3DGraph (this=0xf70080) at ../../src/kalgebra.cpp:577
#13 0x00007f8bb0d1c87a in QMetaObject::activate (sender=sender@entry=0x16bc610, m=m@entry=0x7f8bb1ce3de0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff32cbba00) at kernel/qobject.cpp:3539
#14 0x00007f8bb1233a62 in QAction::triggered (this=this@entry=0x16bc610, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#15 0x00007f8bb1235433 in QAction::activate (this=this@entry=0x16bc610, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#16 0x00007f8bb1663489 in QMenuPrivate::activateCausedStack (this=this@entry=0x16ad750, causedStack=..., action=action@entry=0x16bc610, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038
#17 0x00007f8bb16679b9 in QMenuPrivate::activateAction (this=0x16ad750, action=0x16bc610, action_e=QAction::Trigger, self=<optimized out>) at widgets/qmenu.cpp:1130
#18 0x00007f8bb128950a in QWidget::event (this=this@entry=0x16bce50, event=event@entry=0x7fff32cbc040) at kernel/qwidget.cpp:8376
#19 0x00007f8bb166b7bb in QMenu::event (this=0x16bce50, e=0x7fff32cbc040) at widgets/qmenu.cpp:2481
#20 0x00007f8bb1239e2c in QApplicationPrivate::notify_helper (this=this@entry=0xddd650, receiver=receiver@entry=0x16bce50, e=e@entry=0x7fff32cbc040) at kernel/qapplication.cpp:4567
#21 0x00007f8bb12405dd in QApplication::notify (this=this@entry=0x7fff32cbc860, receiver=receiver@entry=0x16bce50, e=e@entry=0x7fff32cbc040) at kernel/qapplication.cpp:4110
#22 0x00007f8bad54abaa in KApplication::notify (this=0x7fff32cbc860, receiver=0x16bce50, event=0x7fff32cbc040) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00007f8bb0d084dd in QCoreApplication::notifyInternal (this=0x7fff32cbc860, receiver=receiver@entry=0x16bce50, event=event@entry=0x7fff32cbc040) at kernel/qcoreapplication.cpp:953
#24 0x00007f8bb123fd93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x16bce50, event=event@entry=0x7fff32cbc040, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x16bce50, buttonDown=buttonDown@entry=0x7f8bb1d1f318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#26 0x00007f8bb12b4cfc in QETWidget::translateMouseEvent (this=this@entry=0x16bce50, event=event@entry=0x7fff32cbc390) at kernel/qapplication_x11.cpp:4568
#27 0x00007f8bb12b4269 in QApplication::x11ProcessEvent (this=0x7fff32cbc860, event=event@entry=0x7fff32cbc390) at kernel/qapplication_x11.cpp:3627
#28 0x00007f8bb12dbb02 in x11EventSourceDispatch (s=0xdda700, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#29 0x00007f8babe6ce04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f8babe6d048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f8babe6d0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f8bb0d357a1 in QEventDispatcherGlib::processEvents (this=0xdb29a0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#33 0x00007f8bb12dbbb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007f8bb0d070af in QEventLoop::processEvents (this=this@entry=0x7fff32cbc760, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007f8bb0d073a5 in QEventLoop::exec (this=this@entry=0x7fff32cbc760, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007f8bb0d0cb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#37 0x00007f8bb123837c in QApplication::exec () at kernel/qapplication.cpp:3828
#38 0x000000000040f589 in main (argc=1, argv=0x7fff32cbc998) at ../../src/main.cpp:41

Reported using DrKonqi
Comment 1 Shlomi Fish 2014-04-17 16:14:00 UTC
I can reproduce and confirm that here ( kalgebra-4.12.97-1.mga5 on KDE-4.12.97 on Mageia Linux x86-64 5 Cauldron).
Comment 2 Justin Zobel 2020-12-14 01:31:18 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 3 Bug Janitor Service 2020-12-29 04:34:20 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2021-01-13 04:33:52 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!