Issue #6767- [Bug] Draft big Scale Multiplier with 2d text causes crash (was: Freecad and really big dimension)

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Freecad and really big dimension

Post by thomas-neemann »

chrisb wrote: Tue Apr 19, 2022 11:00 am Even if there are more important things to fix, it should be reported if FreeCAD crashes. The tickets are not a wish list what to tackle first.
that sounds good
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Issue #6767- [Bug] Draft big Scale Multiplier with 2d text causes crash (was: Freecad and really big dimension)

Post by Kunda1 »

issue #6767 "[Bug] Draft big Scale Multiplier with 2d text causes crash" should probably be fixed before v0.20 release.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: Issue #6767- [Bug] Draft big Scale Multiplier with 2d text causes crash (was: Freecad and really big dimension)

Post by uwestoehr »

m1cha1 wrote: Fri Apr 15, 2022 10:42 pm I'm experimenting with Freecad and I've found some problems (problem with displaying or crashing) with big dimension
Problem with displaying-step to reproduce (Part workbench)
1. Insert Cube
2. Change dimension for example Length by adding 0 to the default size (10mm)
From 100000000 mm there are problem with displaying cube,
Can you please attach a file with which the crash you see can be reproduced?

Here with

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.28840 (Git)
Build type: Release
Branch: master
Hash: 936b51bbc95ea3e6d6fcee137606338438644cda
Python 3.8.6+, Qt 5.15.2, Coin 4.0.1, OCC 7.5.3
Locale: English/United States (en_US) [ OS: German/Germany (de_DE) ]
I get no crash and the cube is correctly displayed.
m1cha1
Posts: 24
Joined: Sun Oct 28, 2018 8:55 am

Re: Issue #6767- [Bug] Draft big Scale Multiplier with 2d text causes crash (was: Freecad and really big dimension)

Post by m1cha1 »

uwestoehr wrote: Wed May 11, 2022 2:32 pm I get no crash and the cube is correctly displayed.
With the latest version no crash with a Part/Cube but I still have a crash with Draft/Text. In the log file I have:

Code: Select all

Log: Draft workbench activated.
Msg: ----------------
Msg: GuiCommand: Text
Msg: Pick location point
Log: make_text
Msg: ----------------
Msg: Text
Msg: string: ['HELLO']
Msg: placement: Placement [Pos=(-0.286788,0.496732,0.819152), Yaw-Pitch-Roll=(29.9999,-1.66922e-05,55)]
Err: Unhandled Base::Exception caught in GUIApplication::notify.
The error message is: Access violation
Log: The event type 12 was sent to QOpenGLWidget
Object tree:
	QOpenGLWidget is child of
	SIM::Coin3D::Quarter::QuarterWidget is child of
	QStackedWidget is child of
	Gui::View3DInventor is child of
	QMdiSubWindow is child of
	QWidget is child of
	QMdiArea is child of
	Gui::MainWindow

Code: Select all

OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.28872 (Git)
Build type: Release
Python 3.8.13, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Freecad and really big dimension

Post by Kunda1 »

chrisb wrote: Tue Apr 19, 2022 11:00 am Even if there are more important things to fix, it should be reported if FreeCAD crashes. The tickets are not a wish list what to tackle first.
+1
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: Issue #6767- [Bug] Draft big Scale Multiplier with 2d text causes crash (was: Freecad and really big dimension)

Post by uwestoehr »

Also with your example you attached to the first post I cannot reproduce the crash nor anything else special.
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: Issue #6767- [Bug] Draft big Scale Multiplier with 2d text causes crash (was: Freecad and really big dimension)

Post by uwestoehr »

I see that you use a special build of FreeCAD. Can you try out this build:
https://github.com/FreeCAD/FreeCAD-Bund ... /0.20beta1

Maybe then the crash goes away for you?
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Issue #6767- [Bug] Draft big Scale Multiplier with 2d text causes crash (was: Freecad and really big dimension)

Post by Kunda1 »

@m1cha1 see above
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Issue #6767- [Bug] Draft big Scale Multiplier with 2d text causes crash (was: Freecad and really big dimension)

Post by Kunda1 »

@m1cha1 ping
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply