View Issue Details

IDProjectCategoryView StatusLast Update
0004239FreeCADBugpublic2020-12-08 20:35
Reporterxxxajk Assigned To 
PriorityhighSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version0.18 
Summary0004239: Segfault on changing between tabs
DescriptionSwitching between 2 projects causes segfault.
Steps To Reproduce
  1. Start a new project, crate a cube from part module.
  2. Start another new project, crate a cube from part module.
  3. Switch project tabs. Eventually it will crash.
Additional InformationInstalled from dev ppa.


freecad:
  Installed: 2:0.18.4+dfsg1~201911060029~ubuntu18.04.1
  Candidate: 2:0.18.4+dfsg1~201911060029~ubuntu18.04.1
  Version table:
 *** 2:0.18.4+dfsg1~201911060029~ubuntu18.04.1 500
        500 http://ppa.launchpad.net/freecad-maintainers/freecad-stable/ubuntu bionic/main amd64 Packages
        500 http://ppa.launchpad.net/freecad-maintainers/freecad-stable/ubuntu bionic/main i386 Packages
        100 /var/lib/dpkg/status
     0.16.6712+dfsg1-1ubuntu2 500
        500 http://mirror.clarkson.edu/ubuntu bionic/universe amd64 Packages


Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7f14bbc18f20]
#1  0x7f14bce3116b in QWidgetPrivate::setSystemClip(QPaintDevice*, QRegion const&) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x2b
0000002  0x7f14bce437cc in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x5dc
0000003  0x7f14bce443c0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x360
0000004  0x7f14bce43366 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x176
0000005  0x7f14bce443c0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x360
0000006  0x7f14bce43366 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x176
0000007  0x7f14bce443c0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x360
0000008  0x7f14bce43366 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x176
0000009  0x7f14bce443c0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x360
0000010  0x7f14bce43366 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x176
0000011  0x7f14bce443c0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x360
0000012  0x7f14bce43366 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x176
0000013  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x163dfe) [0x7f14bce1adfe]
0000014  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x1640a5) [0x7f14bce1b0a5]
0000015  0x7f14bce3267f in QWidgetPrivate::syncBackingStore() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x4f
0000016  0x7f14bce4a1b8 in QWidget::event(QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x368
0000017  0x7f14bcf5dc6b in QMainWindow::event(QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x15b
0000018  0x7f14beac137b in Gui::MainWindow::event(QEvent*) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x18b
0000019  0x7f14bce0b83c in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x9c
0000020  0x7f14bce13104 in QApplication::notify(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x2a4
0000021  0x7f14be809a98 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x88
0000022  0x7f14bc7f69c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x118
0000023  0x7f14bc7f913d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x1ed
0000024  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(+0x2e4353) [0x7f14bc850353]
0000025  /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x2e7) [0x7f14b6a76417]
0000026  /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4c650) [0x7f14b6a76650]
0000027  /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7f14b6a766dc]
0000028  0x7f14bc84f97f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x5f
0000029  0x7f14bc7f49fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x13a
0000030  0x7f14bc7fdaa4 in QCoreApplication::exec() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x94
0000031  0x7f14be798fcf in Gui::Application::runApplication() from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x148f
0000032  freecad(main+0x6a2) [0x555d3ed015e2]
0000033  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f14bbbfbb97]
0000034  freecad(_start+0x2a) [0x555d3ed022aa]
TagsNo tags attached.
FreeCAD InformationFreeCAD 0.18.4 Revision:

Activities

xxxajk

2020-01-04 06:06

reporter   ~0013977

Additional information, forgot:
Linux Mint 19.3 Tricia

Kunda1

2020-01-04 13:26

administrator   ~0013979

Forum thread opened by OP post-ticket at https://forum.freecadweb.org/viewtopic.php?f=3&t=42168

Kunda1

2020-01-06 15:46

administrator   ~0013987

@xxxajk per the instructions please always post your Help > About FreeCAD > Copy to clipboard information to the ticket.

xxxajk

2020-01-06 15:56

reporter  

Screenshot_20200106_105352.png (46,905 bytes)   
Screenshot_20200106_105352.png (46,905 bytes)   

xxxajk

2020-01-06 15:56

reporter   ~0013991

Last edited: 2020-01-06 15:58

I did exactly that. The revision does not show up when using freecad -v
(which is what the instructions say to do)

Here's what help-about shows--- it is missing the revision too. :-)
OS: Linux Mint 19.3
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4.
Build type: Release
Python version: 3.6.8
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)

openBrain

2020-03-17 14:25

developer   ~0014235

@xxxajk : could you please update on this ? Do you still have the problem with latest 0.19 and up-to-date distro ? I can't reproduce.

xxxajk

2020-03-18 13:16

reporter   ~0014238

2:0.18.4+dfsg1~201911060029~ubuntu18.04.1 is the broken package.
Latest 0.19 is fine, the package needs to be updated.

openBrain

2020-03-19 14:52

developer   ~0014242

@xxxajk : I have the exact same package :
$ dpkg -l | grep freecad-common
ii  freecad-common           2:0.18.4+dfsg1~201911060029~ubuntu18.04.1
And not able to reproduce. I guess this is something specific to Mint or your openGL...

xxxajk

2020-03-19 22:15

reporter   ~0014244

Last edited: 2020-03-19 22:16

$ dpkg -l | grep 'libqt5widgets5'
ii  libqt5widgets5:amd64                            5.9.5+dfsg-0ubuntu2.5                               amd64        Qt 5 widgets module
ii  libqt5widgets5:i386                             5.9.5+dfsg-0ubuntu2.5                               i386         Qt 5 widgets module
Distro: Linux Mint 19.3 Tricia
base: Ubuntu 18.04 bionic

Kunda1

2020-03-20 14:05

administrator   ~0014250

@xxxajk can you reproduce on the 0.19 AppImage ?

openBrain

2020-03-20 19:59

developer   ~0014252

@Kunda1 : AppImages are OK (cf. forum discussion). Hmmm, in the forum thread, this question was asked by ... Kunda1. :p :D

xxxajk

2020-03-21 00:37

reporter   ~0014253

Yes app image works fine, as stated in the forum discussion.

Kunda1

2020-12-08 20:35

administrator   ~0015119

Looks like this issue is fixed.

Issue History

Date Modified Username Field Change
2020-01-04 06:04 xxxajk New Issue
2020-01-04 06:06 xxxajk Note Added: 0013977
2020-01-04 13:26 Kunda1 Note Added: 0013979
2020-01-04 13:27 Kunda1 Tag Attached: #pending-forum
2020-01-06 15:46 Kunda1 Note Added: 0013987
2020-01-06 15:56 xxxajk File Added: Screenshot_20200106_105352.png
2020-01-06 15:56 xxxajk Note Added: 0013991
2020-01-06 15:57 xxxajk Note Edited: 0013991
2020-01-06 15:58 xxxajk Note Edited: 0013991
2020-03-17 14:25 openBrain Note Added: 0014235
2020-03-18 13:16 xxxajk Note Added: 0014238
2020-03-19 14:52 openBrain Note Added: 0014242
2020-03-19 22:15 xxxajk Note Added: 0014244
2020-03-19 22:15 xxxajk Note Edited: 0014244
2020-03-19 22:16 xxxajk Note Edited: 0014244
2020-03-20 14:05 Kunda1 Note Added: 0014250
2020-03-20 14:05 Kunda1 Status new => feedback
2020-03-20 19:59 openBrain Note Added: 0014252
2020-03-21 00:37 xxxajk Note Added: 0014253
2020-03-21 00:37 xxxajk Status feedback => new
2020-12-08 20:35 Kunda1 Tag Detached: #pending-forum
2020-12-08 20:35 Kunda1 Status new => closed
2020-12-08 20:35 Kunda1 Resolution open => fixed
2020-12-08 20:35 Kunda1 Note Added: 0015119