View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002527 | FreeCAD | Bug | public | 2016-04-28 10:05 | 2017-06-29 05:07 |
Reporter | adrien-courty | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | Mac | OS | OSX | OS Version | 10.11.3 |
Product Version | 0.15 | ||||
Summary | 0002527: crash when selecting workbench if no workbench is selected on startup | ||||
Description | When selecting the workbench <none> as the startup workbench in FreeCAD preferences, the next time FreeCAD will be started there will be now workbench but also no "view" panels (Selection View, Combo View). If you then try to select a workbench via the dropdown menu, the program crashes. tested with FreeCAD 0.15 and 0.16. | ||||
Steps To Reproduce | - FreeCAD > Preference, select <none> as startup workbench. - close and relaunch FreeCAD. - select a workbench via the dropdown menu. | ||||
Additional Information | Problem happened as well with older versions of OSX. | ||||
Tags | macOS | ||||
FreeCAD Information | |||||
|
The "none" workbench indeed has no side panels, that is normal. The crash doesn't happen for me on linux, it is probably specific to Mac OS... |
|
Thank you for the information, is there any procedure that I could use to get a log output ? Additional note : when I say "crash" I mean the program exits, no menu is available from the menubar apart from the FreeCAD menu (from where I can access "About FreeCAD..", "Preferences" or quit the app), although the FreeCAD icon is still present in the Mac dock, and right click to quit is possible. |
|
I don't know anything about Mac, so I don't really know how to do that, but you can try starting FreeCAD from the terminal, with the -l switch (freecad -l). That will produce a freecad.log file inside your FreeCAD user folder (not sure where it is on mac) that might contain useful info. It should also be possible to use gdb to get a backtrace, which willpoint to the exact component of FreeCAD where the crash originated. There are several mac users on the FreeCAD forum at http://forum.freecadweb.org , I suggest you post there for better help... |
|
I have checked the forum but did not know where to post issues/bugs, nor could I find an existing discussion related to this bug, that's why I've headed to the bug tracker. Below is the ouput of "open -n /Applications/FreeCAD.app --args -l" which creates a log file at /Users/[username]/Library/Preferences/FreeCAD/FreeCAD.log : http://pastebin.com/5vU7jKxS The end is perhaps interesting : Log: Init: Loading FreeCAD GUI Log: Init: Running FreeCADGuiInit.py start script... done Log: Init: Activating default workbench StartWorkbench Log: Init: Showing main window Log: Main window restored Log: Show main window Log: Toolbars restored Log: 3Dconnexion framework not found! Log: Init: Entering event loop Log: Init: Processing command line files Log: Loading GUI of Drawing module... done Log: Hide main window Log: Finish: Event loop left Log: Destruct Gui::Application Log: FreeCAD terminating... Log: Saving system parameter... Log: Saving system parameter...done Log: Saving user parameter... Log: Saving user parameter...done |
|
This is strange... it looks like a normal FreeCAD exit, not a crash.. |
|
my bad, it is because I quit the application after (right click on the icon). If I don't, the end of the log stops here : Log: Init: Loading FreeCAD GUI Log: Init: Running FreeCADGuiInit.py start script... done Log: Init: Activating default workbench StartWorkbench Log: Init: Showing main window Log: Main window restored Log: Show main window Log: Toolbars restored Log: 3Dconnexion framework not found! Log: Init: Entering event loop Log: Init: Processing command line files Log: Loading GUI of Drawing module... done Log: Hide main window looks like it does not actually crash but is stuck somewhere trying to load some views, which could explains why no menus are loaded (because available menus depend of the workbench used). |
|
I can confirm that this bug is not reproducable in linux. |
|
Still an issue. It behaved exactly as adrien-courty described with: OS: Mac OS X [10.12] Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.17.9642 (Git) Build type: DEBUG Branch: master Hash: 2f66ff69293ed14a0a7ba5032036bd7b8c8cdcde Python version: 2.7.13 Qt version: 4.8.7 Coin version: 3.1.3 OCC version: 7.0.0 |
|
I was not able to reproduce this issue using: OS: Mac OS X Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.17.9794 (Git) Build type: Release Branch: (detached from 26c7cd9) Hash: 26c7cd9faae31ca539bee9ff914cc38fe9b32456 Python version: 2.7.13 Qt version: 5.6.2 Coin version: 3.1.3 OCC version: 7.0.0 |
|
@blacey thanks @peter94 can you update trunk and retest ? |
|
@peter94 do you think this might have to do with 0002886 ? |
|
I meant @peterl94 |
|
I guess this can be closed. It looks like qt 5 fixed it. The issue does not happen with: (release from github) OS: Mac OS X Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.17.11084 (Git) Build type: Release Branch: (detached from fa00b4f) Hash: fa00b4f06a0c96de57a777d6532467dfd8e5d141 Python version: 2.7.13 Qt version: 5.6.2 Coin version: 4.0.0a OCC version: 7.1.0 However it still happens with: (self compiled) OS: Mac OS X Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.17.5235 (Git shallow) Build type: Release Branch: master Hash: fa00b4f06a0c96de57a777d6532467dfd8e5d141 Python version: 2.7.13 Qt version: 4.8.7 Coin version: 4.0.0a OCC version: 7.1.0 After trying to open a workbench the process does not crash, but the window disappears and I see this in the console: "modalSession has been exited prematurely - check for a reentrant call to endModalSession". |
|
What's the verdict? Do we care about Qt4 builds enough to fix it? |
|
Ping @wmayer any need to back port a fix for Qt4 ? |
|
@wmayer backport or close? |
|
The thing is the problem went a way with qt5 without us changing anything (as far as I know), so there is nothing to "backport" unless you are talking about patching qt4. We would have to figure out what is causing the issue with qt4 on macOS and develop a workaround. Certainly not worth it to me considering the qt5 version has significant UX improvements and it is all I use. If it was up to me, I would close this issue. |
|
Got it. Closing ticket. |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-04-28 10:05 | adrien-courty | New Issue | |
2016-04-28 13:26 | yorik | Note Added: 0007017 | |
2016-04-28 13:39 | adrien-courty | Note Added: 0007018 | |
2016-04-28 13:45 | yorik | Note Added: 0007019 | |
2016-04-28 15:42 | adrien-courty | Note Edited: 0007018 | |
2016-04-28 15:48 | adrien-courty | Note Added: 0007020 | |
2016-04-28 15:50 | yorik | Note Added: 0007021 | |
2016-04-28 15:51 | adrien-courty | Note Edited: 0007020 | |
2016-04-28 15:58 | adrien-courty | Note Added: 0007022 | |
2016-04-28 16:00 | adrien-courty | Note Edited: 0007018 | |
2016-05-09 00:04 | ezzieyguywuf | Note Added: 0007072 | |
2017-01-10 13:57 | Kunda1 | Tag Attached: MacOSX | |
2017-01-15 23:52 | peterl94 | Note Added: 0007802 | |
2017-01-16 02:35 | Kunda1 | Status | new => confirmed |
2017-02-15 22:42 | blacey | Note Added: 0008316 | |
2017-02-15 22:43 | blacey | Note Edited: 0008316 | |
2017-02-15 22:45 | Kunda1 | Note Added: 0008317 | |
2017-02-15 22:45 | Kunda1 | Tag Attached: #pending | |
2017-02-15 23:44 | Kunda1 | Note Added: 0008318 | |
2017-05-14 14:25 | Kunda1 | Note Added: 0009005 | |
2017-05-14 20:46 | peterl94 | Note Added: 0009016 | |
2017-05-14 21:14 | Kunda1 | Note Added: 0009017 | |
2017-05-14 21:30 | Kunda1 | Note Added: 0009018 | |
2017-06-28 22:39 | Kunda1 | Assigned To | => wmayer |
2017-06-28 22:39 | Kunda1 | Status | confirmed => assigned |
2017-06-28 22:40 | Kunda1 | Note Added: 0009587 | |
2017-06-29 02:55 | peterl94 | Note Added: 0009595 | |
2017-06-29 05:05 | Kunda1 | Assigned To | wmayer => |
2017-06-29 05:05 | Kunda1 | Status | assigned => closed |
2017-06-29 05:05 | Kunda1 | Resolution | open => no change required |
2017-06-29 05:05 | Kunda1 | Note Added: 0009596 | |
2017-06-29 05:07 | Kunda1 | Tag Detached: #pending | |
2020-11-13 14:08 | Kunda1 | Tag Renamed | MacOSX => macOS |