(RÉSOLU) Plantage aléatoire dans Sketcher

Forum destiné aux questions et discussions en français
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
User avatar
StarBootics
Posts: 23
Joined: Sun Sep 29, 2019 6:48 pm
Location: Québec, Canada

(RÉSOLU) Plantage aléatoire dans Sketcher

Post by StarBootics »

Bonjour à tous,

Comme le titre l'indique, j'éprouve des plantages aléatoire dans Sketcher sans tambour ni trompette. Ce que je fais quand ça plante :
  • Déplacer une cote
  • Ajouter une cote
  • Ajouter une contrainte (Tangence, Horizontal, Vertical, etc)
  • Faire une sélection multiple
  • Rien et ça plante tout seul
Je suis bien embêté pour produire un rapport de bogue parce que c'est complètement aléatoire. Par exemple j'ajoute parfois jusque 6 contraintes de suite et quand j'ajoute la 7e ça plante. Malheureusement le truc que je dois faire c'est d'ajouter une contrainte et cliquer sur enregistrer en alternance.

Avant d'aller plus loin, j'aimerais savoir si je suis le seul qui fait l'expérience de plantage aléatoire dans Sketcher avec la version suivante :

OS: Ubuntu 19.04
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.3.
Build type: Release
Python version: 3.7.3
Qt version: 5.12.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/Canada (fr_CA)

Merci à l'avance.
StarBootics
Last edited by StarBootics on Mon Oct 14, 2019 9:51 pm, edited 1 time in total.
openBrain
Veteran
Posts: 9034
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: Plantage aléatoire dans Sketcher

Post by openBrain »

Déjà ça veut dire quoi plantage ? Ça freeze ? Ça crash ?
User avatar
StarBootics
Posts: 23
Joined: Sun Sep 29, 2019 6:48 pm
Location: Québec, Canada

Re: Plantage aléatoire dans Sketcher

Post by StarBootics »

openBrain wrote: Wed Oct 09, 2019 10:25 pm Déjà ça veut dire quoi plantage ? Ça freeze ? Ça crash ?
FreeCAD se ferme tout seul sans afficher le moindre message d'erreur ou d'avertissement (sans tambour ni trompette).
User avatar
papyblaise
Veteran
Posts: 7869
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: Plantage aléatoire dans Sketcher

Post by papyblaise »

Salut
en l'absence de détails probant il me semble que ça ressemble au fait que tu as surement un message de redondance (après modif de 5 ou 6 cotes), et tu veux passer outre
L'image de l'écran pâli , :?: la petite moulinette tourne :?: puis s'éteint :?:
User avatar
Forthman
Veteran
Posts: 2650
Joined: Fri Apr 27, 2018 11:23 am
Location: Tarn-et-Garonne (82)

Re: Plantage aléatoire dans Sketcher

Post by Forthman »

Je n'ai pas ce problème (et heureusement ! :shock: )
La première chose que je ferais, ça serait d'effacer (ou de renommer) le répertoire caché .FreeCAD

Si ça ne change rien, essaye la version 0.19 (chez moi elle est un peu moins stable mais je suis sous Mint)
User avatar
rockn
Veteran
Posts: 1791
Joined: Wed Sep 28, 2011 10:39 am
Location: Toulouse, France
Contact:

Re: Plantage aléatoire dans Sketcher

Post by rockn »

Bonjour,

Démarre FreeCAD depuis un terminal pour obtenir plus d'info (les fameux tambours et trompette).

Ouvre un terminal avec le raccourcis Ctrl+Alt+T sur Ubuntu.
Tape freecad ou FreeCAD puis appui sur Entrée.

FreeCAD devrait démarré, puis quand ça plante, le terminal restera affiché et tu pourras copié collé le texte du terminal ici pour qu'on ai plus d'information.
Formations - Assistance - Développement : https://freecad-france.com
User avatar
DeeJayOne
Posts: 332
Joined: Thu Sep 05, 2019 9:18 am

Re: Plantage aléatoire dans Sketcher

Post by DeeJayOne »

Jeu des comparaisons :
Je suis sous Windows 10 et je constate qu'il y a des différences avec les releases sous Linux :
- Versions de QT et de Python plus récentes sous Linux
- Sous Windows nous avons la version de build qui est prise en compte dans la "version" et les infos de "Hash" et de "branche" sont présentes en plus.
Ce qui est même rigolo, c'est que tes versions de QT et de Python sont plus récentes avec la release FC v0.18.3 sous Linux que la release FC v0.19_pre sous Windows.

Code: Select all

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16131 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 3129ae4296e40ed20e7b3d460b86e6969acbe1c3
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)

Code: Select all

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18234 (Git)
Build type: Release
Branch: master
Hash: 3af5d97e9b2a60823815f662aba25422c4bc45bb
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)
Last edited by DeeJayOne on Thu Oct 10, 2019 4:27 pm, edited 1 time in total.
L'important est de ne pas arrêter de poser des questions. La curiosité a sa propre raison d'exister
The important thing is not to stop questioning. Curiosity has its own reason for existing.
Albert Einstein
User avatar
StarBootics
Posts: 23
Joined: Sun Sep 29, 2019 6:48 pm
Location: Québec, Canada

Re: Plantage aléatoire dans Sketcher

Post by StarBootics »

Bonjour à tous,

Et bien voilà, j'étais entrain de dessiner un Sketch avec une polyligne quand ça a planté :

Code: Select all

Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x43f60) [0x7f91eda6af60]
#1  /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so(+0x897e60) [0x7f91dcb90e60]
#2  /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so(+0x5a6ceb) [0x7f91dc89fceb]
#3  /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so(+0x63dd69) [0x7f91dc936d69]
#4  0x7f91ed7bb012 in SoText2::GLRender(SoGLRenderAction*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x852
#5  0x7f91ed671021 in SoSeparator::GLRenderBelowPath(SoGLRenderAction*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x3d1
#6  0x7f91ed671021 in SoSeparator::GLRenderBelowPath(SoGLRenderAction*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x3d1
#7  0x7f91ed671021 in SoSeparator::GLRenderBelowPath(SoGLRenderAction*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x3d1
#8  0x7f91ed6583e4 in SoGroup::GLRender(SoGLRenderAction*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x1a4
#9  0x7f91ed485b54 in SoAction::traverse(SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x64
#10  0x7f91ed60f6c8 in SoChildList::traverse(SoAction*, int, int) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0xe8
#11  0x7f91ed674c5f in SoSwitch::doAction(SoAction*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x26f
#12  0x7f91ed671021 in SoSeparator::GLRenderBelowPath(SoGLRenderAction*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x3d1
#13  0x7f91ed671021 in SoSeparator::GLRenderBelowPath(SoGLRenderAction*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x3d1
#14  0x7f91ef905e01 in Gui::SoFCUnifiedSelection::GLRenderBelowPath(SoGLRenderAction*) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x21
#15  0x7f91ed671021 in SoSeparator::GLRenderBelowPath(SoGLRenderAction*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x3d1
#16  0x7f91ed485b54 in SoAction::traverse(SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x64
#17  0x7f91ed48ce55 in SoGLRenderAction::beginTraversal(SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x185
#18  0x7f91ed48c53d in SoGLRenderActionP::renderSingle(SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0xbd
#19  0x7f91ed48cb78 in SoGLRenderActionP::render(SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x108
#20  0x7f91ed48cd6f in SoGLRenderAction::beginTraversal(SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x9f
#21  0x7f91ed4860e2 in SoAction::apply(SoNode*) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x372
#22  0x7f91ef909e49 in Gui::SoBoxSelectionRenderAction::apply(SoNode*) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x29
#23  0x7f91ed730cb0 in SoRenderManager::renderScene(SoGLRenderAction*, SoNode*, unsigned int) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0xd0
#24  0x7f91ed731cf8 in SoRenderManager::actuallyRender(SoGLRenderAction*, int, int, int) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x68
#25  0x7f91ed731e92 in SoRenderManager::renderSingle(SoGLRenderAction*, int, int, int) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0xc2
#26  0x7f91ed732505 in SoRenderManager::render(SoGLRenderAction*, int, int, int) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x105
#27  0x7f91ed73048b in SoRenderManager::render(int, int) from /usr/lib/x86_64-linux-gnu/libCoin.so.80c+0x8b
#28  0x7f91ef99eb13 in Gui::View3DInventorViewer::renderScene() from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x163
#29  0x7f91ef96f225 in SIM::Coin3D::Quarter::QuarterWidget::paintEvent(QPaintEvent*) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x85
#30  0x7f91ef9769ed in SIM::Coin3D::Quarter::SoQTQuarterAdaptor::paintEvent(QPaintEvent*) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x1d
#31  0x7f91ee4d8b58 in QWidget::event(QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x1d8
#32  0x7f91ee57d6ce in QFrame::event(QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x1e
#33  0x7f91ee7c9d23 in QGraphicsView::viewportEvent(QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x163
#34  0x7f91ef96f3e7 in SIM::Coin3D::Quarter::QuarterWidget::viewportEvent(QEvent*) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x97
#35  0x7f91ee0825fb in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x9b
#36  0x7f91ee499541 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x71
#37  0x7f91ee4a0930 in QApplication::notify(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x210
#38  0x7f91ef7723e8 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x88
#39  0x7f91ee0828e9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x179
#40  0x7f91ee4d1795 in QWidgetPrivate::sendPaintEvent(QRegion const&) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x35
#41  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x170ec2) [0x7f91ee4a8ec2]
#42  /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x171729) [0x7f91ee4a9729]
#43  0x7f91ee4c1035 in QWidgetPrivate::syncBackingStore() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0xa5
#44  0x7f91ee4d8c88 in QWidget::event(QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x308
#45  0x7f91ee5e0cd4 in QMainWindow::event(QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x64
#46  0x7f91efa0202b in Gui::MainWindow::event(QEvent*) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x18b
#47  0x7f91ee499551 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x81
#48  0x7f91ee4a0930 in QApplication::notify(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x210
#49  0x7f91ef7723e8 in Gui::GUIApplication::notify(QObject*, QEvent*) from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x88
#50  0x7f91ee0828e9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x179
#51  0x7f91ee085927 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x1c7
#52  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5(+0x2c6a43) [0x7f91ee0d6a43]
#53  /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x2ae) [0x7f91eb94e9ee]
#54  /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4ec88) [0x7f91eb94ec88]
#55  /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7f91eb94ed1c]
#56  0x7f91ee0d6047 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x67
#57  0x7f91ee0815bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x13b
#58  0x7f91ee0895e2 in QCoreApplication::exec() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5+0x92
#59  0x7f91ef70fc56 in Gui::Application::runApplication() from /usr/lib/freecad-python3/lib/libFreeCADGui.so+0x14c6
#60  freecad(main+0x6a6) [0x555918486776]
#61  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7f91eda4db6b]
#62  freecad(_start+0x2a) [0x555918486a7a]
Edit : Je viens de tester avec la 0.19 et j'ai le même plantage.

A+
StarBootics
openBrain
Veteran
Posts: 9034
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: Plantage aléatoire dans Sketcher

Post by openBrain »

Visiblement c'est un problème de support openGL de la carte graphique ou du driver. ;)
Est-ce que tu pourrais essayer avec le driver propriétaire plutôt qu'avec le libre ?
Sinon il y a de l'historique sur le forum mais il va falloir chercher un peu. ;)
User avatar
StarBootics
Posts: 23
Joined: Sun Sep 29, 2019 6:48 pm
Location: Québec, Canada

Re: Plantage aléatoire dans Sketcher

Post by StarBootics »

openBrain wrote: Thu Oct 10, 2019 5:29 pm Visiblement c'est un problème de support openGL de la carte graphique ou du driver. ;)
Est-ce que tu pourrais essayer avec le driver propriétaire plutôt qu'avec le libre ?
Sinon il y a de l'historique sur le forum mais il va falloir chercher un peu. ;)
J'ai fait un essai tout à l'heure et c'est toute l'interface graphique (login + Gnome-Shell) qui ne fonctionne plus. J'ai dû faire une réinstallation d'Ubuntu deux fois afin de pouvoir aller faire un Backup de mes fichiers importants. (Ce que je fais pendant que je compose ce message) Dès que j'aurai terminé le backup, c'est le formatage du disque dur et Setup complet à partir du SCRATCH. Ubuntu, les extensions Gnome-Shell, Wine et Rhinoceros 3D ainsi que les autres logiciels (Meld, FreeCAD, FreeMat, j'en passe et des meilleurs). Une belle soirée en perspective...

A+
StarBootics
Post Reply