View Issue Details

IDProjectCategoryView StatusLast Update
0004136FreeCADBugpublic2019-10-10 22:17
Reportersopwith Assigned Toyorik  
PriorityhighSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSLinux (Fedora Core)OS Version30
Summary0004136: Crash in Addons manager Workbenches tab
DescriptionHitting down arrow repeatedly in the list of workbenches eventually causes a fatal QT error ("QThread: Destroyed while thread is still running").
Steps To Reproduce
  1. Open up Tools -> Addons manager. Make sure to be on the Workbenches tab.
  2. Click on the first item in the workbench list. Wait a second for it to load the description.
  3. Press down arrow and wait for the description to load.
  4. Repeat step 3 until the crash happens, usually within 10-15 times for me.
Additional InformationThis is with 0.19pre commit #18236.

(gdb) where
#0  0x00007ffff4fdfe35 in raise () at /lib64/libc.so.6
#1  0x00007ffff4fca895 in abort () at /lib64/libc.so.6
0000002  0x00007ffff5409b05 in qt_message_fatal (context=..., message=<synthetic pointer>...) at global/qlogging.cpp:1904
0000003  0x00007ffff5409b05 in QMessageLogger::fatal(char const*, ...) const (this=this@entry=0x7fff02ffdc70, msg=msg@entry=0x7ffff56b87a0 "QThread: Destroyed while thread is still running")
    at global/qlogging.cpp:888
0000004  0x00007ffff540a2fb in QThread::~QThread() (this=0x555558b253a0, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qlogging.h:91
0000005  0x00007fff85560798 in  () at /usr/lib64/python3.7/site-packages/PySide2/QtCore.cpython-37m-x86_64-linux-gnu.so
0000006  0x00007fff8570e300 in  () at /lib64/libshiboken2.cpython-37m-x86_64-linux-gnu.so.5.12
0000007  0x00007ffff65d42a9 in subtype_dealloc (self=
    <ShowWorker(info_label=<unknown at remote 0x7fff07e66710>, addon_repos=<PySide2.QtCore.SignalInstance at remote 0x7fff07e4abf0>, progressbar_show=<PySide2.QtCore.SignalInstance at remote 0x7fff07e4ac10>, repos=[['3D_Printing_Tools', 'https://github.com/mark1791/3D_Printing_Tools', 0, '<h1><a id="user-content-freecad-3d-printing-tools" class="anchor" aria-hidden="true" href="#freecad-3d-printing-tools"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>FreeCAD 3D Printing Tools</h1>\n

A FreeCAD Workbench for working on imported Meshes.

\n<h1><a id="user-content-description"...(truncated)) at /usr/src/debug/python3-3.7.4-1.fc30.x86_64/Objects/typeobject.c:1278 0000008 0x00007ffff65c1f08 in method_dealloc (im=0x7fffa44cd2d0) at /usr/src/debug/python3-3.7.4-1.fc30.x86_64/Objects/classobject.c:197 0000009 0x00007fff855603c6 in () at /usr/lib64/python3.7/site-packages/PySide2/QtCore.cpython-37m-x86_64-linux-gnu.so 0000010 0x00007ffff543f786 in QThreadPrivate::start(void*) (arg=0x555558b253a0) at thread/qthread_unix.cpp:361 0000011 0x00007ffff45d04c0 in start_thread () at /lib64/libpthread.so.0 0000012 0x00007ffff50a4553 in clone () at /lib64/libc.so.6 (gdb) frame 3 0000003 QMessageLogger::fatal (this=this@entry=0x7fff02ffdc70, msg=msg@entry=0x7ffff56b87a0 "QThread: Destroyed while thread is still running") at global/qlogging.cpp:888 888 qt_message_fatal(QtFatalMsg, context, message);
Tagsaddon-manager, crash
FreeCAD Information

Activities

Kunda1

2019-09-19 01:17

administrator   ~0013637

Forum thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=37721

uwestoehr

2019-10-10 16:18

manager   ~0013736

I noticed the same in current 0.19.18506:
https://forum.freecadweb.org/viewtopic.php?f=3&t=39992

This is a regression to FC 0.18

Kunda1

2019-10-10 18:23

administrator   ~0013740

Last edited: 2019-10-10 18:23

FreeCAD master 77550e0d may have fixed it

uwestoehr

2019-10-10 20:04

manager   ~0013742

> FreeCAD master 77550e0d may have fixed it

I can confirm that the crash is now fixed. Many thanks!

Kunda1

2019-10-10 22:17

administrator   ~0013743

Thanks! Closing ticket

Related Changesets

FreeCAD: master 77550e0d

2019-10-10 17:56:28

yorik

Details Diff
AddonManager: Fixed crash when quickly clicking through addons Affected Issues
0004136
mod - src/Mod/AddonManager/AddonManager.py Diff File
mod - src/Mod/AddonManager/addonmanager_workers.py Diff File

Issue History

Date Modified Username Field Change
2019-09-18 01:50 sopwith New Issue
2019-09-18 01:50 sopwith Tag Attached: addon-manager
2019-09-18 01:50 sopwith Tag Attached: crash
2019-09-19 01:17 Kunda1 Note Added: 0013637
2019-09-19 01:18 Kunda1 Priority normal => high
2019-09-19 01:18 Kunda1 Status new => confirmed
2019-09-19 01:18 Kunda1 Target Version => 0.19
2019-10-10 16:18 uwestoehr Note Added: 0013736
2019-10-10 18:23 Kunda1 Note Added: 0013740
2019-10-10 18:23 Kunda1 Note Edited: 0013740
2019-10-10 18:24 Kunda1 Changeset attached => FreeCAD master 77550e0d
2019-10-10 18:24 Kunda1 Assigned To => yorik
2019-10-10 18:24 Kunda1 Status confirmed => assigned
2019-10-10 20:04 uwestoehr Note Added: 0013742
2019-10-10 22:17 Kunda1 Status assigned => closed
2019-10-10 22:17 Kunda1 Resolution open => fixed
2019-10-10 22:17 Kunda1 Fixed in Version => 0.19
2019-10-10 22:17 Kunda1 Note Added: 0013743