https://bugs.kde.org/show_bug.cgi?id=409580
Bug ID: 409580 Summary: Cantor crashes upon python2 backend interruption after showin the Mayavi demo Product: cantor Version: 19.04 Platform: Compiled Sources OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: python2-backend Assignee: cantor-b...@kde.org Reporter: d...@bk.ru Target Milestone: --- SUMMARY Cantor crashes upon python2 backend interruption after showin the Mayavi demo PREVIOUS BUGS: Bug 409288, Bug 409523, Bug 409520 _(at the moment me is undecided about the cause)_ STEPS TO REPRODUCE 1. Compile the latest Cantor sources 2. Disable image integration for the python backend, as suggested in Bug 409523 3. Try Mayavi2's demo: ``` python # Create the data. from numpy import pi, sin, cos, mgrid dphi, dtheta = pi/250.0, pi/250.0 [phi,theta] = mgrid[0:pi+dphi*1.5:dphi,0:2*pi+dtheta*1.5:dtheta] m0 = 4; m1 = 3; m2 = 2; m3 = 3; m4 = 6; m5 = 2; m6 = 6; m7 = 4; r = sin(m0*phi)**m1 + cos(m2*phi)**m3 + sin(m4*theta)**m5 + cos(m6*theta)**m7 x = r*sin(phi)*cos(theta) y = r*cos(phi) z = r*sin(phi)*sin(theta) # View it. from mayavi import mlab s = mlab.mesh(x, y, z) mlab.show() ``` _(equivalent to running `env QT_ALL=pyside2 ETS_BACKEND=qt4 gdb cantor` under the debugger; yes `qt4` is confusing as it means in the ETS language either of both Qt4 or Qt5, so don't change it)_ Everything works so far. Then close the VTK/Mayavi window, Cantor is still "Running…". Now interrupt the [python2] backend. OBSERVED RESULT Cantor crashed with the following gdb-backtrace: EXPECTED RESULT The backend interruption. SOFTWARE/OS VERSIONS as reported earlier -- You are receiving this mail because: You are watching all bug changes.