View Issue Details

IDProjectCategoryView StatusLast Update
0004587FreeCADBugpublic2021-03-07 21:46
ReporterPainTER4711 Assigned To 
PrioritynormalSeveritycrashReproducibilitysometimes
Status newResolutionopen 
PlatformPCOSUbuntu 20.10OS Version20.10
Product Version0.19 
Summary0004587: Freecad crashes after starting new File
DescriptionWhen i try to start a new drawing and use the Field "new", Freecad crashes.
Steps To ReproduceStart Freecad
Click "New ..."
Additional InformationA crash after trying to create a new file:


$ ./FreeCAD_0.19-24267-Linux-Conda_glibc2.12-x86_64.AppImage 
FreeCAD 0.19, Libs: 0.19R24267 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2021
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x46210) [0x7f40025b3210]
#1  /lib/x86_64-linux-gnu/libdrm_nouveau.so.2(+0x4c0c) [0x7f3ffcc85c0c]
0000002  /lib/x86_64-linux-gnu/libdrm_nouveau.so.2(+0x5291) [0x7f3ffcc86291]
0000003  /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so(+0xa7ff43) [0x7f3ff7323f43]
0000004  /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so(+0xa8003b) [0x7f3ff732403b]
0000005  /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so(+0x9ca3c8) [0x7f3ff726e3c8]
0000006  /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so(+0x15bc79) [0x7f3ff69ffc79]
0000007  0x7f4002fc2a91 in QPlatformBackingStore::composeAndFlush(QWindow*, QRegion const&, QPoint const&, QPlatformTextureList*, bool) from /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Gui.so.5+0x46f
0000008  /tmp/.mount_FreeCAR4zAIv/usr/plugins/platforms/../../lib/libQt5XcbQpa.so.5(+0x54ca4) [0x7f3ffe56dca4]
0000009  /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Widgets.so.5(+0x17ccec) [0x7f40032dccec]
0000010  /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Widgets.so.5(+0x17de6a) [0x7f40032dde6a]
0000011  /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Widgets.so.5(+0x17ed2b) [0x7f40032ded2b]
0000012  /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Widgets.so.5(+0x17efaf) [0x7f40032defaf]
0000013  0x7f40032efdd4 in QWidgetPrivate::syncBackingStore() from /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Widgets.so.5+0x66
0000014  0x7f40032ffcd9 in QWidget::event(QEvent*) from /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Widgets.so.5+0x91f
0000015  0x7f40033aa34f in QMainWindow::event(QEvent*) from /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Widgets.so.5+0xdd
0000016  0x7f40051cafcc in Gui::MainWindow::event(QEvent*) from /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libFreeCADGui.so+0x7c
0000017  0x7f40032d47f2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Widgets.so.5+0xdc
0000018  0x7f40032da31d in QApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Widgets.so.5+0x1ac9
0000019  0x7f4004dbf169 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libFreeCADGui.so+0x89
0000020  0x7f4002aae606 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Core.so.5+0x86
0000021  /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Widgets.so.5(+0x17f695) [0x7f40032df695]
0000022  /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Widgets.so.5(+0x17fd53) [0x7f40032dfd53]
0000023  0x7f40033013a3 in void QWidgetPrivate::repaint<QRect>(QRect) from /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Widgets.so.5+0x7d
0000024  0x7f40032f3270 in QWidget::repaint() from /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Widgets.so.5+0x24
0000025  0x7f40033d0df3 in QProgressBar::setValue(int) from /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Widgets.so.5+0xe5
0000026  /tmp/.mount_FreeCAR4zAIv/usr/lib/WebGui.so(+0x2639c) [0x7f3f684d839c]
0000027  0x7f4002ac4a18 in QMetaObject::activate(QObject*, int, int, void**) from /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Core.so.5+0x6c0
0000028  0x7f3fd2ac4cdd in QWebEngineView::loadProgress(int) from /tmp/.mount_FreeCAR4zAIv/usr/plugins/designer/../../lib/libQt5WebEngineWidgets.so.5+0x31
0000029  0x7f4002ac494d in QMetaObject::activate(QObject*, int, int, void**) from /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Core.so.5+0x5f5
0000030  0x7f3fd2abc181 in QWebEnginePage::loadProgress(int) from /tmp/.mount_FreeCAR4zAIv/usr/plugins/designer/../../lib/libQt5WebEngineWidgets.so.5+0x31
0000031  /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Core.so.5(+0x1ca9ba) [0x7f4002acb9ba]
0000032  0x7f4002ac3533 in QObject::event(QEvent*) from /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Core.so.5+0x5b
0000033  0x7f40032d47f2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Widgets.so.5+0xdc
0000034  0x7f40032da31d in QApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Widgets.so.5+0x1ac9
0000035  0x7f4004dbf169 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libFreeCADGui.so+0x89
0000036  0x7f4002aae606 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Core.so.5+0x86
0000037  0x7f4002adc8a4 in QTimerInfoList::activateTimers() from /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Core.so.5+0x24c
0000038  /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Core.so.5(+0x1dbf54) [0x7f4002adcf54]
#39  /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/./libglib-2.0.so.0(g_main_context_dispatch+0x27d) [0x7f3fff9fb98d]
#40  /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/./libglib-2.0.so.0(+0x54c21) [0x7f3fff9fbc21]
0000041  /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/./libglib-2.0.so.0(g_main_context_iteration+0x31) [0x7f3fff9fbcc1]
0000042  0x7f4002add0e8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Core.so.5+0x5e
0000043  0x7f4002aab019 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Core.so.5+0x187
0000044  0x7f4002aaee8f in QCoreApplication::exec() from /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libQt5Core.so.5+0xfd
0000045  0x7f4004d356b1 in Gui::Application::runApplication() from /tmp/.mount_FreeCAR4zAIv/usr/bin/../lib/libFreeCADGui.so+0x1631
0000046  /tmp/.mount_FreeCAR4zAIv/usr/bin/freecad(+0x37cd) [0x55af7532c7cd]
0000047  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f40025940b3]
0000048  /tmp/.mount_FreeCAR4zAIv/usr/bin/freecad(+0x4559) [0x55af7532d559]
Tags#pending-forum, 0.19, appimage
FreeCAD InformationOS: Ubuntu 20.04.2 LTS (MATE/mate)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24267 (Git) AppImage
Build type: Release
Branch: master
Hash: b2ca86d8d72b636011a73394bf9bcdedb3b109b7
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: German/Germany (de_DE)

Activities

PainTER4711

2021-03-05 08:35

reporter  

grafik.png (3,201 bytes)   
grafik.png (3,201 bytes)   

chennes

2021-03-05 18:20

administrator   ~0015490

Have you posted about this in the forums? Based on the location of the crash (inside libdrm_noeveau) this has the smell of a graphics card driver problem. What card and driver are you using?

PainTER4711

2021-03-07 09:12

reporter   ~0015492

Hi,
No, i didn't post in the Forum. Somehow i overlooked the first point - sorry.
I was confused because the 0.18 is working fine.

Should i do this instead or additional to this issue?

$ lspci -nnk | grep "VGA\|'Kern'\|3D\|Display" -A2
08:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM206 [GeForce GTX 960] [10de:1401] (rev a1)
    Subsystem: ASUSTeK Computer Inc. GM206 [GeForce GTX 960] [1043:8528]
    Kernel driver in use: nouveau

Thank you,
Stephan

chennes

2021-03-07 17:18

administrator   ~0015493

It looks like there is at least one other person experiencing this, why don't you add your info to this forum discussion:
https://forum.freecadweb.org/viewtopic.php?f=4&t=56394

If we can find out what you have in common that will give devs a chance to debug.

yorik

2022-03-03 13:55

administrator   ~0017003

This ticket has been migrated to GitHub as issue 6171.

Issue History

Date Modified Username Field Change
2021-03-05 08:35 PainTER4711 New Issue
2021-03-05 08:35 PainTER4711 Tag Attached: 0.19
2021-03-05 08:35 PainTER4711 Tag Attached: appimage
2021-03-05 08:35 PainTER4711 File Added: grafik.png
2021-03-05 18:20 chennes Note Added: 0015490
2021-03-07 09:12 PainTER4711 Note Added: 0015492
2021-03-07 17:18 chennes Note Added: 0015493
2021-03-07 21:45 Kunda1 Additional Information Updated
2021-03-07 21:46 Kunda1 Tag Attached: #pending-forum