Bug 359927 - Cantor crashes when "Integrate plots in Worksheet" is checked (python2)
Summary: Cantor crashes when "Integrate plots in Worksheet" is checked (python2)
Status: RESOLVED WORKSFORME
Alias: None
Product: cantor
Classification: Applications
Component: python2-backend (other bugs)
Version First Reported In: 0.5
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Filipe Saraiva
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-29 14:19 UTC by Simone Gaiarin
Modified: 2016-04-08 20:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
attachment-26395-0.html (1.04 KB, text/html)
2016-04-08 20:32 UTC, Simone Gaiarin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simone Gaiarin 2016-02-29 14:19:12 UTC
If I enable "Integrate plots in Worksheet" in the python2 backend and then I try to plot something, cantor crashes. Backtrace attached.

I've tried with the git version of Cantor.

(gdb)  thread apply all backtrace

Thread 2 (Thread 0x7fffe60d7700 (LWP 25451)):
#0  0x00007ffff1aa9e5d in poll () from /usr/lib/libc.so.6
#1  0x00007fffed5eeae2 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007fffed5f0757 in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007fffe7a02379 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4  0x00007ffff26a9b8e in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007ffff033c4a4 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007ffff1ab2dcd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7ffff7e2a800 (LWP 25445)):
#0  0x00007ffff19fd3c8 in raise () from /usr/lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
#1  0x00007ffff19fe84a in abort () from /usr/lib/libc.so.6
#2  0x00007ffff26971e1 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/libQt5Core.so.5
#3  0x00007fffc67db9a2 in ?? () from /usr/lib/python2.7/site-packages/PyQt5/QtCore.so
#4  0x00007fffc67e173d in ?? () from /usr/lib/python2.7/site-packages/PyQt5/QtCore.so
#5  0x00007fffc67e2017 in ?? () from /usr/lib/python2.7/site-packages/PyQt5/QtCore.so
#6  0x00007ffff28b94d0 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#7  0x00007ffff28c6238 in QTimer::timerEvent(QTimerEvent*) () from /usr/lib/libQt5Core.so.5
#8  0x00007fffc66cc30b in ?? () from /usr/lib/python2.7/site-packages/PyQt5/QtCore.so
#9  0x00007ffff28ba193 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#10 0x00007fffc66cc26b in ?? () from /usr/lib/python2.7/site-packages/PyQt5/QtCore.so
#11 0x00007ffff317d9ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#12 0x00007ffff3182e86 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
---Type <return> to continue, or q <return> to quit---
#13 0x00007ffff288abab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#14 0x00007ffff28e036d in QTimerInfoList::activateTimers() () from /usr/lib/libQt5Core.so.5
#15 0x00007ffff28e0871 in ?? () from /usr/lib/libQt5Core.so.5
#16 0x00007fffeee8edc7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0x00007fffeee8f020 in ?? () from /usr/lib/libglib-2.0.so.0
#18 0x00007fffeee8f0cc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#19 0x00007ffff28e154f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#20 0x00007ffff288857a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#21 0x00007ffff289053c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#22 0x00000000004183ce in main (argc=1, argv=0x7fffffffdd58) at /media/dataHD/development/kde/bugs/cantor/src/main.cpp:138


Reproducible: Always
Comment 1 Filipe Saraiva 2016-04-08 18:06:27 UTC
Hello Simone, I can not to reproduce this bug. Please, can you verify if you have this bug yet?

I run the follow commands:

x = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
from matplotlib import pylab
pylab.clf()

pylab.plot(x)

pylab.show()
Comment 2 Simone Gaiarin 2016-04-08 20:32:35 UTC
Created attachment 98298 [details]
attachment-26395-0.html

I've tried now and it works correctly. Maybe updating some python packages
fixed the problem.

On Fri, Apr 8, 2016 at 8:06 PM Filipe Saraiva via KDE Bugzilla <
bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=359927
>
> --- Comment #1 from Filipe Saraiva <filipe@kde.org> ---
> Hello Simone, I can not to reproduce this bug. Please, can you verify if
> you
> have this bug yet?
>
> I run the follow commands:
>
> x = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
> from matplotlib import pylab
> pylab.clf()
> pylab.plot(x)
> pylab.show()
>
> --
> You are receiving this mail because:
> You reported the bug.